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

Method and device for configuring smart home Download PDF

Info

Publication number
CN113556255B
CN113556255B CN202110881163.5A CN202110881163A CN113556255B CN 113556255 B CN113556255 B CN 113556255B CN 202110881163 A CN202110881163 A CN 202110881163A CN 113556255 B CN113556255 B CN 113556255B
Authority
CN
China
Prior art keywords
equipment
gateway
home
information
household
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110881163.5A
Other languages
Chinese (zh)
Other versions
CN113556255A (en
Inventor
李书慧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jingdong Technology Information Technology Co Ltd
Original Assignee
Jingdong Technology 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 Technology Information Technology Co Ltd filed Critical Jingdong Technology Information Technology Co Ltd
Priority to CN202110881163.5A priority Critical patent/CN113556255B/en
Publication of CN113556255A publication Critical patent/CN113556255A/en
Application granted granted Critical
Publication of CN113556255B publication Critical patent/CN113556255B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • 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)
  • Small-Scale Networks (AREA)

Abstract

The embodiment of the disclosure discloses a method and a device for configuring an intelligent 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 activation information and home equipment information; and in response to detecting that the network is connected to the Internet, sending the first corresponding relation and the second corresponding relation to the cloud. According to the method and the device, the interaction times between the terminal equipment and the cloud end are reduced, the network environment is not relied on, and the speed and convenience for configuring the intelligent 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 intelligent home.
Background
The smart home (home automation) takes a home as a platform, integrates facilities related to home life by utilizing a comprehensive wiring technology, a network communication technology, a security technology, an automatic control technology and an audio-video technology, builds an efficient management system of home facilities and family schedule matters, improves home safety, convenience, comfort and artistry, and realizes an environment-friendly and energy-saving living environment.
All functions of home intellectualization are integrated by configuring the smart home, so that the smart 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 the instructions transmitted over the network can be identified as legitimate instructions, rather than illegal intrusions by "hackers".
The existing technology for configuring intelligent home strongly depends on network environment, but most of the technology is a new building in practice, has no WIFI, and the coverage of a cellular network is not very good in many times. This severely affects the construction progress of the delivery personnel, often delaying a long time to solve the network problem.
Disclosure of Invention
The embodiment of the disclosure provides a method and a device for configuring an intelligent home.
In a first aspect, an embodiment of the present disclosure provides a method for configuring an intelligent 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 activation information and the home equipment information; and in response to detecting that the network is connected to the Internet, sending the first corresponding relation and the second corresponding relation to the cloud.
In some embodiments, obtaining gateway device information for a gateway device within a local area network includes: transmitting a first broadcast message for searching for gateway devices within a local area network; and receiving gateway equipment information returned by the gateway equipment.
In some embodiments, the obtaining, in the local area network, home device information of the home device includes: sending a request for searching home equipment to gateway equipment according to the gateway equipment information in a local area network, so that the gateway equipment sends a second broadcast message for searching home equipment; and receiving the household equipment information of at least one household equipment forwarded by the gateway equipment, wherein the household equipment information comprises a hardware identifier and a type.
In some embodiments, the method further comprises: acquiring the 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 includes: optionally selecting one home device as a target home 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 household activation information; if the target household equipment can receive the instruction, confirming that the first corresponding relation is bound correctly, and selecting untested household equipment as target household equipment to execute the test step again; if the target home 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 devices 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 an intelligent home, applied to a cloud, including: pre-distributing an equipment activation information set according to intelligent home planning; transmitting the device activation information set in response to receiving a download request from a terminal device; and finishing binding of the gateway equipment and the household equipment in response to receiving a binding request from the terminal equipment, wherein the binding request comprises a first corresponding relation between gateway activation information and gateway equipment information and a second corresponding relation between household activation information and household equipment information.
In a third aspect, an embodiment of the present disclosure provides an apparatus for configuring an intelligent home, which is applied to a terminal device, including: the acquisition unit is configured to acquire a device activation information set downloaded from the 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 household equipment information of household equipment in the local area network, select household activation information from the equipment activation information set and send the household 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 activation information and the home equipment information; and the sending unit is configured to send the first corresponding relation and the second corresponding relation to the cloud in response to detection of connection to the Internet.
In a fourth aspect, an embodiment of the present disclosure provides a device for configuring an intelligent home, applied to a cloud, including: the distribution unit is configured to pre-distribute equipment activation information sets according to 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; and the binding unit is configured to respond to receiving a binding request from the terminal equipment and complete the binding of the gateway equipment and the household equipment, wherein the binding request comprises a first corresponding relation between gateway activation information and gateway equipment information and a second corresponding relation between household activation information and household equipment information.
In a fifth aspect, embodiments of the present disclosure provide an electronic device for configuring a smart home, including: one or more processors; storage means having stored thereon one or more computer programs which, when executed by the one or more processors, cause the one or more processors to implement the method as described in 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 intelligent home, equipment activation information is downloaded in batches from the cloud under the condition of good network state. And then configuring an intelligent home in the local area network, and uploading the equipment binding information when the network state is good. Therefore, the method reduces the interaction times with the cloud, and achieves that the local area network is completely adopted in the delivery construction process, the network state is not relied on, and the construction efficiency is improved.
Drawings
Other features, objects and advantages of the present disclosure will become more apparent upon reading of the detailed description of non-limiting embodiments, made with reference to the following drawings:
FIG. 1 is an exemplary system architecture diagram in which an embodiment of the present disclosure may be applied;
FIG. 2 is a flow chart of one embodiment of a method of configuring a smart home according to the present disclosure;
Fig. 3 is a flow chart of yet another embodiment of a method of configuring a smart home according to the present disclosure;
fig. 4 is a schematic diagram of one application scenario of a method of configuring a smart home according to the present disclosure;
FIG. 5 is a schematic structural view of one embodiment of an apparatus for configuring a smart home according to the present disclosure;
fig. 6 is a schematic structural view of yet another embodiment of an apparatus for configuring a smart home according to the present disclosure;
Fig. 7 is a schematic diagram of a computer system suitable for use in implementing embodiments of the present disclosure.
Detailed Description
The present disclosure is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings.
It should be noted that, without conflict, the embodiments of the present disclosure and features of the embodiments may be combined with each other. 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 methods of configuring a smart home or devices of 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 external network 103 is used to provide a communication link between the terminal device 102 and the cloud end 101. External network 103 may include various connection types, such as wired, 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. Local area network 104 may include various connection types, such as wired, wireless communication links. The gateway device 105 and the home device 106 may also be communicatively connected through a preset communication technology, for example zigbee.
A user may interact with the cloud 101 through the external network 103 using the terminal device 102 to receive or send messages, etc. Various communication client applications, such as smart home applications, web browser applications, shopping class applications, search class applications, instant messaging tools, mailbox clients, social platform software, and the like, may be installed on the terminal device 101.
Cloud 101 may be a server that provides various services, such as a background configuration server that provides support for a smart home configuration interface displayed on terminal device 102. The background configuration server can analyze and process the received configuration request and other data, feed back the processing result (such as equipment activation information) to the terminal equipment, and bind the gateway equipment information and the home equipment information uploaded by the terminal equipment with the activation information respectively.
It should be noted that, the cloud end 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 the terminal device, and accordingly, the device for configuring the smart home is generally disposed in the terminal device.
It should be understood that the numbers of terminal devices, cloud, gateway devices, home devices in fig. 1 are merely illustrative. Any number of terminal devices, cloud terminals, gateway devices and home devices can be provided according to implementation requirements.
With continued reference to fig. 2, a flow 200 of one embodiment of a method of configuring a smart home according to the present disclosure applied to a terminal device is shown. The method for configuring the intelligent home comprises the following steps:
Step 201, acquiring a device activation information set downloaded from a cloud in advance.
In this embodiment, an execution body (for example, a terminal device shown in fig. 1) of the method for configuring the smart home may download the device activation information set from the cloud end that provides the configuration information of the smart home in advance through a wired connection manner or a wireless connection manner. The cloud may receive a home device plan (e.g., 1 gateway, 3 air conditioning switches, 6 light switches, 2 water heater switches, etc. for a home with a room number of 01) provided by a developer. And then the cloud can distribute equipment activation information for the home equipment in advance, wherein the equipment activation information is the identity of the home equipment and the gateway equipment in the intelligent home platform. The device activation information may be a code in the form of a character string, and may also be named according to room number, location, function, for example, number 1589ACD represents 18 4 units 301-bedroom-air conditioner. If the location of the home appliance is not clear, the number may be substituted, for example, 18 span 4 units 301-air conditioner 2.
Optionally, the cloud end may further distribute device activation information according to the number of home devices exceeding the home device plan, so as to cope with the situation of temporarily adding home devices in the field.
The device activation information set may be downloaded in case of a good network connection status of the external network. When workers enter a building to perform construction, the workers can directly use the pre-downloaded equipment activation information set to perform configuration 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 gateway activation information to the gateway device for storage.
In this embodiment, if the cloud end stores gateway device information (including a room number and a hardware identifier) of each home, the cloud end downloads the device activation information set together. The terminal device can find the gateway device information of the corresponding home by inquiring the room number. Gateway device information may be used 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 allocated gateway activation information to gateway equipment for storage. Gateway activation information not assigned to other devices may be randomly selected. The assigned device activation information may not be reassigned to other devices.
In some optional implementations of this embodiment, obtaining gateway device information of a gateway device within a local area network includes: transmitting a first broadcast message for searching for gateway devices 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, it can access the local area network of the room by wired or wireless means and then send a first broadcast message for searching for gateway devices. The gateway device may return 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 home equipment information of the home equipment in the local area network, selecting 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 end stores the home equipment information (including the room number and the hardware identifier) of each home, the cloud end downloads the equipment activation information set together. The terminal equipment can find the household equipment information of the corresponding household by inquiring the room number. The terminal device may then select home activation information from the set of device activation information to assign to the home device. And then sending the distributed home activation information to home equipment for storage. Home activation information 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 home devices need to be configured, the home activation information needs to be distributed to each home device for a plurality of times. And sending the home activation information to gateway equipment for storage after each household activation information is distributed. When the method is used for controlling the household equipment subsequently, the household equipment can be controlled by sending an instruction through household activation information addressing.
In some optional implementations of this embodiment, obtaining home device information of a home device in a local area network includes: sending a request for searching home equipment to gateway equipment according to the gateway equipment information in a local area network, so that the gateway equipment sends a second broadcast message for searching home equipment; and receiving the household equipment information of at least one household equipment forwarded by the gateway equipment, wherein the household equipment information comprises a hardware identifier and a type. After the gateway device information is obtained, a request to search for home devices may be sent to the gateway device. And the gateway equipment initiates a broadcast message to the household equipment. The home device may return a response message to the gateway device, where the response message includes the home device information. The hardware identification may be used for addressing. Types are used to distinguish home functions, such as air conditioning, switches, etc.
In some optional implementations of the present embodiment, the method further includes: acquiring the 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 searches are required for the same type of home equipment. For example, there are 2 switches, one switch network can be opened first, so that the network can be searched by the gateway, binding is performed after the position information (kitchen) is added, then one switch network is opened, searching is continued, and binding is performed after the position information (toilet) is added. This allows to distinguish between the areas of different switch control. The position information of the household equipment can be manually input. If the home equipment has a positioning function, the home equipment can also add the position information into the returned home equipment information.
Step 204, a first correspondence between gateway activation information and gateway device information and a second correspondence between home activation information and home device information are stored.
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 there are multiple home devices, the binding is repeated multiple times.
In some optional implementations of this embodiment, before the sending the first correspondence and the second correspondence to the cloud, the method further includes: optionally selecting one home device as a target home 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 household activation information; if the target household equipment can receive the instruction, confirming that the first corresponding relation is bound correctly, and selecting untested household equipment as target household equipment to execute the test step again; if the target home 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 devices can receive the instruction, confirming that the second corresponding relation is correctly bound.
The terminal equipment needs to be uploaded to the cloud after being locally bound, but in order to ensure accuracy, whether the binding is correct needs to be checked in advance. And testing the household devices one by one through some test instructions, wherein the test object is the target household device. If the target home equipment cannot receive the control instruction, the gateway activation information may be wrong, or the target home equipment activation information may be wrong. If the gateway does not receive the instruction, the gateway equipment binding error is indicated, and the corresponding relation between the gateway activation information and the gateway equipment information is required to be modified. If the gateway receives the instruction and the target home equipment does not receive the instruction, the activation information of the target home equipment is wrong, the test is carried out after readjustment is needed until the activation information of the instruction is successfully received, and the binding is carried out again.
In step 205, in response to detecting that the connection to the internet is detected, the first correspondence and the second correspondence are sent to the cloud.
In this embodiment, after the terminal device verifies the binding relationship, if it detects that the external network is accessed, the first corresponding relationship and the second corresponding relationship are uniformly sent to the cloud.
The method provided by the embodiment of the disclosure can reduce the interaction times with the cloud, and can completely adopt the local area network in the delivery construction process, thereby improving the delivery construction efficiency.
With further reference to fig. 3, a flow 300 of an embodiment of a method of configuring a smart home applied to a cloud is shown. The process 300 of the method for configuring smart home includes the following steps:
step 301, pre-distributing equipment activation information sets according to intelligent home planning.
In this embodiment, an execution body (for example, a cloud end shown in fig. 1) of the method for configuring an intelligent home may obtain an intelligent home plan in advance through a wired connection manner or a wireless connection manner developer, specifically, which rooms need to be configured, which home devices are in each room, and so on. The cloud can distribute equipment activation information for the home equipment in advance, wherein the equipment activation information is the identity of the home equipment and the gateway equipment in the intelligent home platform. The device activation information may be a character string code, and may also be named according to room number, location, function, for example, number 1589ACD represents 18 4 units 301-bedroom-air conditioner. If the location is not clear, the number may be substituted, for example, 18 span 4 units 301-air conditioner 2.
Some redundant device activation information may be allocated as a spare.
Step 302, in response to receiving a download request from a terminal device, a device activation information set is sent.
In this embodiment, the terminal device sends a download request requesting the downloading device to activate the information set. The cloud end can authenticate the terminal equipment and then send the equipment activation information set in the authority of the terminal equipment. The method can be used for carrying out identity recognition on constructors, for example, through information such as faces, fingerprints and the like. After determining the identity of the constructor, 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. Rights can also be set according to time, authentication is carried out every day, and the device activation information set allocated in the current day needs to be uploaded with binding results in the current day, and is invalidated if the binding results expire. To ensure construction quality, only a portion of the equipment activation information set is allocated daily.
Step 303, in response to receiving the binding request from the terminal device, binding the gateway device and the home device is completed.
In this embodiment, the binding request includes a first correspondence between gateway activation information and gateway device information and a second correspondence between home activation information and home device information. The binding information stored in the terminal equipment is registered in the cloud platform. Later control of the home device requires sending instructions via the activation information. Because the gateway stores the activation information of the home equipment, the corresponding home equipment can be found through the activation information, and even if the position is changed in a room, the binding relation is not required to be changed in the cloud as long as the gateway is not changed.
With continued reference to fig. 4, fig. 4 is a schematic diagram of an application scenario of the method of configuring a smart home according to the present embodiment. In the application scenario of fig. 4, the constructor downloads configuration information from the cloud end in the external network through the engineering APP installed by the terminal device, and the configuration information includes a set of device activation information (feedId) pre-allocated by the cloud end. The configuration information also includes information such as family name, room name, device name, etc. Then constructors enter rooms to work, at the moment, network connection is poor, and the constructors enter a local area network working mode. The terminal device first transmits a first broadcast message for searching the gateway device. And the gateway equipment returns gateway equipment information after receiving the broadcast message. The terminal device selects gateway activation information (feedId) from the device activation information set to the gateway device and writes to the gateway device. The gateway device receives the gateway activation information, stores the gateway activation information locally and returns a success message. And then starts to cyclically execute the step of adding the child device (home device). The constructor can electrify 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, initiating a second broadcast message by the gateway, and returning sub-equipment information to the gateway after the sub-equipment receives the broadcast message. The gateway forwards the data to the terminal device. The terminal device selects home activation information (feedId) from the device activation information set to the sub-device, writes the home activation information into the gateway device, and stores the home activation information in the local after the gateway device receives the home activation information 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 on command with home activation information "12345678" is sent to see if the living room main light is on, and if not, it indicates that the binding fails and needs to be rebinding. After all the sub-equipment verifies that the binding is correct, the constructor can leave the building, find out a place with good signals and upload the binding configuration information to the cloud. After the cloud confirms the binding information, the whole configuration process is completed, an account for controlling the household equipment is set, and the account is handed over to the entruster.
With further reference to fig. 5, as an implementation of the method shown in the foregoing figures, the present disclosure provides an embodiment of an apparatus for configuring a smart home, where the embodiment of the apparatus corresponds to the embodiment of the method shown in fig. 2, and the apparatus may be specifically applied to various electronic devices.
As shown in fig. 5, the apparatus 500 for configuring an intelligent home according to the present 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 in advance from a cloud; 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 to the gateway device for storage; a second allocation unit 503, configured to obtain home device information of the home device in the local area network, and 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 correspondence between the gateway activation information and the gateway device information and a second correspondence between the home activation information and the home device information; and a transmitting unit 505 configured to transmit the first correspondence and the second correspondence to a cloud in response to detecting that the internet is connected.
In this embodiment, specific processes of the acquiring unit 501, the first allocating unit 502, the second allocating unit 503, the storage unit 504, and the transmitting unit 505 of the apparatus 500 for configuring smart home may refer to step 201, step 202, step 203, step 204, and step 205 in the corresponding embodiment of fig. 2.
In some alternative implementations of the present embodiment, the first allocation unit 502 is further configured to: transmitting a first broadcast message for searching for gateway devices; and receiving gateway equipment information returned by the gateway equipment.
In some optional implementations of the present embodiment, the second allocation unit 503 is further configured to: sending a request for searching home equipment to gateway equipment according to the gateway equipment information, so that the gateway equipment sends a second broadcast message for searching home equipment; and receiving the household equipment information of at least one household equipment forwarded by the gateway equipment, wherein the household equipment information comprises a hardware identifier and a type.
In some optional implementations of the present embodiment, the second allocation unit 503 is further configured to: acquiring the 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 implementations of this embodiment, the apparatus 500 further includes a detection unit configured to, before the sending the first correspondence and the second correspondence to the cloud, optionally select one home device as a target home device, 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 household activation information; if the target household equipment can receive the instruction, confirming that the first corresponding relation is bound correctly, and selecting untested household equipment as target household equipment to execute the test step again; if the target home 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 devices can receive the instruction, confirming that the second corresponding relation is correctly bound.
With further reference to fig. 6, as an implementation of the method shown in the foregoing drawings, the present disclosure provides an embodiment of a device for configuring smart home to be applied to a cloud, where the embodiment of the device corresponds to the embodiment of the method shown in fig. 3, and the device may be specifically applied to various electronic devices.
As shown in fig. 6, the apparatus 600 for configuring an intelligent home according to the present embodiment includes: an allocation unit 601 configured to pre-allocate a device activation information set according to an intelligent home plan; a transmitting unit 602 configured to transmit 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 of 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 correspondence between gateway activation information and gateway device information and a second correspondence between home activation information and home device information.
According to an embodiment of the disclosure, the disclosure further provides an electronic device, a readable storage medium.
An electronic device for configuring a smart home, comprising: one or more processors; and 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 flow 200 or 300.
A computer readable medium having stored thereon a computer program, 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 may 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 telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 7, the apparatus 700 includes a computing unit 701 that can perform various appropriate 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 may also be stored. The computing unit 701, the ROM 702, and the RAM 703 are connected to each other through a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
Various components in device 700 are connected to I/O interface 705, including: an input unit 706 such as a keyboard, a mouse, etc.; an output unit 707 such as various types of displays, speakers, and the like; a storage unit 708 such as a magnetic disk, an 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.
The computing unit 701 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of 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, etc. 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 on a machine-readable medium, such as storage unit 708. In some embodiments, part or all of the computer program may be loaded and/or installed onto device 700 via ROM 702 and/or communication unit 709. When the computer program is loaded into RAM 703 and executed by 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 to perform the method of configuring a smart home in any other suitable way (e.g. by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On 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, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code 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 code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. 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. The 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 pointing device (e.g., a mouse or 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 may 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 input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background 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 background, 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 a client and a server. The client and server are typically 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 that incorporates 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 that incorporates 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 appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel or sequentially or in a different order, provided that the desired results of the technical solutions of the present disclosure are achieved, and are not limited herein.
The above detailed description should not be taken as limiting the scope of the present disclosure. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (10)

1. A method for configuring an intelligent home, applied to a terminal device, comprising:
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 activation information and the home equipment information, wherein the home activation information is an identity of the home equipment on an intelligent home platform, the gateway activation information is an identity of the gateway equipment on the intelligent home platform, the gateway equipment information comprises a room number of the gateway equipment and a hardware identifier of the gateway equipment, and the home equipment information comprises the room number of the home equipment and the hardware identifier of the home equipment;
And in response to detecting that the network is connected to the Internet, sending the first corresponding relation and the second corresponding relation to the cloud.
2. The method of claim 1, wherein the obtaining gateway device information for a gateway device within a local area network comprises:
Transmitting a first broadcast message for searching for gateway devices within a local area network;
and receiving gateway equipment information returned by the gateway equipment.
3. The method of claim 1, wherein the obtaining home device information of the home device in the local area network comprises:
Sending a request for searching home equipment to gateway equipment according to the gateway equipment information in a local area network, so that the gateway equipment sends a second broadcast message for searching home equipment;
and receiving the household equipment information of at least one household equipment forwarded by the gateway equipment, wherein the household equipment information comprises a hardware identifier and a type.
4. A method according to claim 3, wherein the method further comprises:
Acquiring the 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 correspondence and the second correspondence to the cloud, the method further comprises:
Optionally selecting one home device as a target home device, and executing the following test steps: transmitting an instruction for testing the target household equipment to gateway equipment in a local area network according to the gateway activation information, wherein the instruction comprises household activation information;
if the target household equipment can receive the instruction, confirming that the first corresponding relation is bound correctly, and selecting untested household equipment as target household equipment to execute the test step again;
If the target home 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 devices can receive the instruction, confirming that the second corresponding relation is correctly bound.
6. A method for configuring smart home, applied to a cloud, comprising:
pre-distributing an equipment activation information set according to intelligent home planning;
Transmitting the device activation information set in response to receiving a download request from a terminal device;
And responding to a binding request from the terminal equipment, and finishing binding of the gateway equipment and the household equipment, wherein the binding request comprises a first corresponding relation between gateway activation information and gateway equipment information and a second corresponding relation between household activation information and household equipment information, the household activation information is an identity of the household equipment on an intelligent household platform, the gateway activation information is an identity of the gateway equipment on the intelligent household platform, the gateway equipment information comprises a room number of the gateway equipment and a hardware identifier of the gateway equipment, and the household equipment information comprises the room number of the household equipment and the hardware identifier of the household equipment.
7. An apparatus for configuring an intelligent home, applied to a terminal device, includes:
The acquisition unit is configured to acquire a device activation information set downloaded from the 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 household equipment information of household equipment in the local area network, select household activation information from the equipment activation information set and send the household 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 activation information and the home equipment information, wherein the home activation information is an identity of the home equipment on the intelligent home platform, the gateway activation information is an identity of the gateway equipment on the intelligent home platform, the gateway equipment information comprises a room number where the gateway equipment is located and a hardware identifier of the gateway equipment, and the home equipment information comprises the room number where the home equipment is located and the hardware identifier of the home equipment;
and the sending unit is configured to send the first corresponding relation and the second corresponding relation to the cloud in response to detection of connection to the Internet.
8. A device for configuring smart home, applied to a cloud, comprising:
the distribution unit is configured to pre-distribute equipment activation information sets according to 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 receiving a binding request from the terminal equipment to complete binding of the gateway equipment and the household equipment, wherein the binding request comprises a first corresponding relation between gateway activation information and gateway equipment information and a second corresponding relation between household activation information and household equipment information, the household activation information is an identity of the household equipment on the intelligent household platform, the gateway activation information is an identity of the gateway equipment on the intelligent household platform, the gateway equipment information comprises a room number of the gateway equipment and a hardware identifier of the gateway equipment, and the household equipment information comprises a room number of the household equipment and a hardware identifier of the household equipment.
9. An electronic device for configuring a smart home, comprising:
one or more processors;
a storage device having one or more computer programs stored thereon,
When executed by the one or more processors, causes the one or more processors to implement the method of any of claims 1-6.
10. A computer readable medium having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the method of any of claims 1-6.
CN202110881163.5A 2021-08-02 2021-08-02 Method and device for configuring smart home Active CN113556255B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110881163.5A CN113556255B (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 CN113556255B (en) 2021-08-02 2021-08-02 Method and device for configuring smart home

Publications (2)

Publication Number Publication Date
CN113556255A CN113556255A (en) 2021-10-26
CN113556255B true CN113556255B (en) 2024-08-20

Family

ID=78105120

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN113556255B (en)

Families Citing this family (1)

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

Citations (2)

* 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

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105721293B (en) * 2016-02-01 2018-12-28 四川长虹电器股份有限公司 A kind of adaptive competing method of Master gateway based on Alljoyn agreement
CN105792208A (en) * 2016-02-29 2016-07-20 华为技术有限公司 Method for controlling device access, related device and system
CN106534364B (en) * 2016-12-15 2019-11-08 新奥科技发展有限公司 A kind of method and gateway of gateway factory reset
CN106878923B (en) * 2017-01-09 2021-04-23 云丁网络技术(北京)有限公司 Quick networking method for ultra-low power consumption intelligent equipment and intelligent home system
US20190007311A1 (en) * 2017-06-30 2019-01-03 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
CN107920005B (en) * 2017-11-17 2020-11-13 南京物联传感技术有限公司 Intelligent terminal device rapid network access installation and debugging system and working method
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
CN111198503B (en) * 2018-11-16 2022-06-07 中兴通讯股份有限公司 Intelligent household control method, intelligent household equipment and storage medium
CN113348725B (en) * 2019-05-16 2023-07-14 深圳市欢太科技有限公司 Device operation method, device, gateway, electronic device and computer readable medium
CN110830336A (en) * 2019-10-30 2020-02-21 青岛海信智慧家居系统股份有限公司 WiFi equipment management method and device for smart home
CN110912789B (en) * 2019-12-27 2021-06-25 无锡青起长升智能科技有限公司 Intelligent household Internet of things communication method based on Alicloud IoT Hub platform
CN111970180B (en) * 2020-08-11 2022-10-28 深圳市欧瑞博科技股份有限公司 Networking configuration method and device for intelligent household equipment, electronic equipment and storage medium
CN111917591B (en) * 2020-08-11 2023-04-28 深圳市欧瑞博科技股份有限公司 Intelligent equipment networking scheme generation method and device and electronic equipment
CN112947098A (en) * 2021-02-01 2021-06-11 杭州雅观科技有限公司 Construction installation deployment method based on artificial intelligence Internet of things equipment

Patent Citations (2)

* 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

Also Published As

Publication number Publication date
CN113556255A (en) 2021-10-26

Similar Documents

Publication Publication Date Title
JP6421220B2 (en) Field device control management method and apparatus based on Industrial Internet Operating System
CN109391699B (en) Equipment network configuration method and device and server
CN112804730B (en) Equipment interconnection method, device, server, intelligent equipment and storage medium
CN110687820B (en) Control method and device of intelligent household equipment, terminal equipment and storage medium
US11792865B2 (en) Device binding method and apparatus, and electronic device
CN107168765B (en) Method and system for remotely compiling software
CN106302448B (en) Remote access control method and device
CN113133086A (en) Intelligent device network distribution method and device, electronic device and storage medium
CN111885144A (en) Equipment binding method and device
CN113672441A (en) Method and device for testing intelligent equipment
CN107580040B (en) Method and device for upgrading communication module in intelligent household terminal
CN112184144A (en) Intelligent equipment delivery method and system in network-free environment
CN114005225A (en) Storage method and device of intelligent cabinet and pickup method and device of intelligent cabinet
CN113556255B (en) Method and device for configuring smart home
CN105208030A (en) Wireless network roaming method
CN109857540A (en) Management method, device, terminal and the computer readable storage medium of server
CN112413826B (en) Device configuration method and device, electronic device and storage medium
JP4838096B2 (en) Home appliance communication control system
CN111953573B (en) Equipment distribution network processing method, equipment distribution network processing device and intelligent panel
US10579545B2 (en) Method for accessing a peripheral device by a host device via an access device
CN108958057A (en) Control method and device of household appliance, storage medium and electronic device
CN112000020A (en) Equipment distribution network processing method, equipment distribution network processing device and intelligent panel
CN108768802B (en) Equipment information deleting method and device, server and mobile terminal
CN111770208A (en) Control method and device for Internet of things equipment
US20220076242A1 (en) Systems and methods for multicomputer data transferring to activate contactless communication

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
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.

GR01 Patent grant
GR01 Patent grant