CN111447123B - Smart home configuration method and device, electronic equipment and medium - Google Patents

Smart home configuration method and device, electronic equipment and medium Download PDF

Info

Publication number
CN111447123B
CN111447123B CN202010215141.0A CN202010215141A CN111447123B CN 111447123 B CN111447123 B CN 111447123B CN 202010215141 A CN202010215141 A CN 202010215141A CN 111447123 B CN111447123 B CN 111447123B
Authority
CN
China
Prior art keywords
information
room
equipment
room template
internet
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
CN202010215141.0A
Other languages
Chinese (zh)
Other versions
CN111447123A (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.)
Beijing Kingsoft Cloud Network Technology Co Ltd
Original Assignee
Beijing Kingsoft Cloud Network 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 Beijing Kingsoft Cloud Network Technology Co Ltd filed Critical Beijing Kingsoft Cloud Network Technology Co Ltd
Priority to CN202010215141.0A priority Critical patent/CN111447123B/en
Publication of CN111447123A publication Critical patent/CN111447123A/en
Application granted granted Critical
Publication of CN111447123B publication Critical patent/CN111447123B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • 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/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/283Processing of data at an internetworking point of a home automation network
    • H04L12/2834Switching of information between an external network and a home network
    • 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/084Configuration by using pre-existing information, e.g. using templates or copying from other elements
    • H04L41/0843Configuration by using pre-existing information, e.g. using templates or copying from other elements based on generic templates

Abstract

The embodiment of the application provides a configuration method and device of smart home, electronic equipment and a medium, and relates to the technical field of Internet of things. The embodiment of the application comprises the following steps: the method comprises the steps of obtaining a room template identifier corresponding to a specified room, sending an association request to an Internet of things server, wherein the association request carries the room template identifier, the association request is used for requesting to establish an association relationship between the specified room and the room template corresponding to the room template identifier, receiving an association response sent by the Internet of things server, the association response carries the room template corresponding to the room template identifier, the room template comprises product group information, a plurality of pieces of preset scene information and voice training information, and then, network access binding is carried out on equipment corresponding to equipment information included in the product group information and the Internet of things server so that the room template becomes effective. The implementation period of the smart home can be shortened, and the configuration difficulty is reduced.

Description

Smart home configuration method and device, electronic equipment and medium
Technical Field
The invention relates to the technical field of Internet of things, in particular to a configuration method and device of smart home, electronic equipment and a medium.
Background
The smart home is characterized in that various devices in a house are intelligently controlled through the Internet of things communication technology, so that the convenience and the comfort of the home are improved. Currently, in order to realize smart homes, a configuration staff is required to perform field configuration on each device in a house. Specifically, a configurator needs to perform networking operations on each device on site, name each device through an Application (APP) after networking the devices, and bind information of each device with a specified account.
After binding of all devices is completed, the configurator needs to configure scene information for the room. Typically, there are many scenarios in a home, each scenario including multiple devices. The configuration personnel needs to configure the trigger conditions among the devices in each scene respectively, and when each trigger condition is met, the devices need to perform the operation and the effective time respectively.
As the smart home is more intelligent, the more scenes are, and the more complex the trigger conditions between devices in the scenes are. Therefore, in the related art, in order to complete the configuration of the scene information of the smart home, a professional configuration person needs to perform field configuration, the requirement on the professional performance of the configuration person is high, and each room needs to be configured separately, which results in a long implementation period and a high configuration difficulty.
Disclosure of Invention
Embodiments of the present invention provide a method, an apparatus, an electronic device and a medium for configuring a smart home, so as to shorten an implementation period of the smart home and reduce a configuration difficulty. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a smart home configuration method, where the method includes:
acquiring a room template identifier corresponding to a specified room;
sending an association request to an internet of things server, wherein the association request carries the room template identifier, and the association request is used for requesting to establish an association relationship between the specified room and a room template corresponding to the room template identifier;
receiving an association response sent by the server of the Internet of things, wherein the association response carries a room template corresponding to the room template identification, and the room template comprises product group information, a plurality of pieces of preset scene information and voice training information;
and performing network access binding on equipment corresponding to the equipment information in the product group information and the Internet of things server so as to enable the room template to take effect.
In a possible implementation manner, the obtaining a room template identifier corresponding to a room includes:
the method comprises the steps of determining the identification of a room template selected by a user based on a first selection operation of the user on the room template preset in a displayed interface.
In one possible implementation manner, after the receiving the association response sent by the internet of things server, the method further includes:
displaying the information of the equipment to be bound in the specified room on an equipment configuration page, wherein the information of the equipment to be bound is the equipment information included in the product group information;
the network access binding of the equipment corresponding to the equipment information in the product group information and the internet of things server comprises the following steps:
identifying a second selection operation of a user on the information of the equipment to be bound, and responding to the second selection operation, sending wireless network information to the equipment to be bound selected by the user so that the equipment to be bound selected by the user is accessed to a wireless network through the wireless network information;
sending the device identification of the device to be bound selected by the user to the Internet of things server so that the Internet of things server binds the device to be bound selected by the user;
and receiving a binding success message sent by the Internet of things server.
In one possible implementation, the product group information includes device information of a plurality of devices; the preset scene information comprises a trigger condition, action information and effective time, wherein the trigger condition is a condition for triggering equipment in a preset scene to execute an action, the action information is an action which is required to be executed by the equipment in response to the trigger condition, and the effective time is the effective time of the preset scene; the voice training information is information used for performing voice training on equipment with a voice recognition function in the equipment corresponding to the equipment information included in the product group.
In a possible implementation manner, before the obtaining of the room template identifier corresponding to the room, the method further includes:
acquiring a room template input by a user;
sending the room template to the Internet of things server;
receiving a room template creation success message sent by the Internet of things server, wherein the room template creation success message comprises an identifier generated by the Internet of things server for the room template;
storing an identification of the room template.
In a second aspect, an embodiment of the present application provides a smart home configuration device, where the smart home configuration device includes:
the acquisition module is used for acquiring a room template identifier corresponding to the specified room;
the sending module is used for sending an association request to an Internet of things server, wherein the association request carries the room template identifier, and the association request is used for requesting to establish an association relationship between the specified room and a room template corresponding to the room template identifier;
the receiving module is used for receiving an association response sent by the internet of things server, the association response carries a room template corresponding to the room template identifier, and the room template comprises product group information, a plurality of pieces of preset scene information and voice training information;
and the network access binding module is used for performing network access binding on the equipment corresponding to the equipment information in the product group information and the Internet of things server so as to enable the room template to take effect.
In a possible implementation manner, the obtaining module is specifically configured to:
the method comprises the steps of determining the identification of a room template selected by a user based on a first selection operation of the user on the room template preset in a displayed interface.
In one possible implementation, the apparatus further includes:
the display module is used for displaying the information of the equipment to be bound in the specified room on an equipment configuration page, wherein the information of the equipment to be bound is the equipment information included in the product group information;
the network access binding module is specifically configured to:
identifying a second selection operation of a user on the information of the equipment to be bound, and responding to the second selection operation, sending wireless network information to the equipment to be bound selected by the user so that the equipment to be bound selected by the user is accessed to a wireless network through the wireless network information;
sending the device identification of the device to be bound selected by the user to the Internet of things server so that the Internet of things server binds the device to be bound selected by the user;
and receiving a binding success message sent by the Internet of things server.
In one possible implementation, the product group information includes device information of a plurality of devices; the preset scene information comprises a trigger condition, action information and effective time, wherein the trigger condition is a condition for triggering equipment in a preset scene to execute an action, the action information is an action which is required to be executed by the equipment in response to the trigger condition, and the effective time is the effective time of the preset scene; the voice training information is information used for performing voice training on equipment with a voice recognition function in the equipment corresponding to the equipment information included in the product group.
In one possible implementation, the apparatus further includes: a storage module;
the acquisition module is also used for acquiring a room template input by a user;
the sending module is further configured to send the room template to the internet of things server;
the receiving module is further configured to receive a room template creation success message sent by the internet of things server, where the room template creation success message includes an identifier generated by the internet of things server for the room template;
the storage module is used for storing the identifier of the room template.
In a third aspect, an embodiment of the present application provides an electronic device, where the electronic device includes a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
a processor configured to implement the method steps of the first aspect when executing the program stored in the memory.
In a fourth aspect, this application further provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the method steps described in the first aspect.
In a fifth aspect, embodiments of the present invention also provide a computer program product including instructions, which when executed on a computer, cause the computer to perform the method steps of the first aspect.
By adopting the technical scheme, the electronic equipment can acquire the room template identification corresponding to the appointed room and then send the association request to the Internet of things server, so that the Internet of things server establishes the association relationship between the appointed room and the room template. And then, an association response sent by the server of the internet of things can be received, the association response carries the room template corresponding to the room template identifier, and the room template can automatically take effect after the devices in the product group information are bound with the server of the internet of things in the network due to the fact that the room template has the preset scene information and the preset voice training information. It can be seen that in the embodiment of the application, configuration personnel are not needed to configure scene information for the room on site, the implementation period is shortened, and the configuration difficulty is low.
Of course, not all of the advantages described above need to be achieved at the same time in the practice of any one product or method of the invention.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart illustrating a configuration method of a smart home according to an embodiment of the present disclosure;
fig. 2 is a flowchart of another smart home configuration method according to an embodiment of the present disclosure;
FIG. 3 is an exemplary diagram of a device configuration interface provided by an embodiment of the present application;
fig. 4 is a flowchart of another smart home configuration method according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a configuration device for smart home according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of another configuration device for smart home according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
An embodiment of the present application provides a smart home configuration method, which is applied to an electronic device, where an application program for configuring a smart home is installed in the electronic device, and as shown in fig. 1, the method includes:
s101, acquiring a room template identifier corresponding to the specified room.
S102, sending an association request to the Internet of things server, wherein the association request carries a room template identifier and is used for requesting to establish an association relationship between a room and a room template corresponding to the room template identifier.
S103, receiving an association response sent by the Internet of things server, wherein the association response carries a room template corresponding to the room template identification, and the room template comprises product group information, a plurality of preset scene information and voice training information.
And S104, performing network access binding on equipment corresponding to each piece of equipment information in the product group information and the Internet of things server to enable the room template to take effect.
By adopting the configuration method of the smart home, the electronic equipment can acquire the room template identification corresponding to the specified room and then send the association request to the internet of things server, so that the internet of things server establishes the association relationship between the specified room and the room template. And then, an association response sent by the server of the internet of things can be received, the association response carries the room template corresponding to the room template identifier, and the room template can automatically take effect after the devices in the product group information are bound with the server of the internet of things in the network due to the fact that the room template has the preset scene information and the preset voice training information. It can be seen that in the embodiment of the application, configuration personnel are not needed to configure scene information for the room on site, the implementation period is shortened, and the configuration difficulty is low.
For the above S101, obtaining the room template identifier corresponding to the specified room, the method may specifically be implemented as follows: the electronic device displays a plurality of preset room templates, then receives a first selection operation of a user on the room templates, and determines the identification of the room template selected by the user based on the first selection operation.
The electronic device may display basic information of each preset room template, for example, a name of the room template, scene information included in the room template, and device information related to the room template.
The configurator may select one room template from the displayed list of preset room templates as the room template for the specified room, and in order to match the room template with the specified room, the devices included in the product group information of the room template selected by the configurator are identical to the devices included in the specified room.
Optionally, the designated room may be one room or multiple rooms, that is, the embodiment of the present application may implement batch operation on multiple rooms, and configure the same room template for the multiple rooms.
For step S103, the product group information includes device information of multiple devices, specifically includes device information of devices in each preset scene, and the device information may specifically be a device name. It is understood that the device information included in the product group information is device information specifying devices present in the room.
The preset scene information comprises a trigger condition, action information and effective time.
The trigger condition is a condition for triggering the device in a preset scene to execute an action, and the trigger condition includes a device trigger condition, a timing trigger condition, a manual trigger condition and the like. For example, in a scenario with body sensors, lights and air conditioning, the trigger conditions may include: the motion of a person is monitored by the body sensor or the motion of no person is monitored by the body sensor.
The action information is an action to be performed by the device in response to a trigger condition. Under the condition that the trigger condition is met, the equipment in the preset scene can execute corresponding actions, such as turning on a lamp, starting an air conditioner, switching a certain automatic scene, executing a certain manual scene and the like. The effective time is the effective time of the preset scene.
The voice training information is information used for performing voice training on equipment having a voice recognition function among the equipment corresponding to the equipment information included in the product group. Optionally, the speech training information includes a relationship between the speech to be recognized and the motion information, and/or a relationship between the speech to be recognized and the speech to be played.
Specifically, the equipment with the voice recognition function is trained through the voice training information, so that when the equipment recognizes a certain voice, the action corresponding to the voice is executed; and/or when the equipment identifies a certain voice, playing the voice to be played corresponding to the voice. For example, if the speaker device recognizes the voice "i come back", the speaker device plays the voice "welcome home".
With reference to the method flow shown in fig. 1, as shown in fig. 2, after receiving the association response sent by the internet of things server in the above step S103, the method further includes:
s201, displaying the information of the equipment to be bound in the specified room on an equipment configuration interface.
The device information to be bound is device information included in the product group information. It is understood that the device to be bound is a device present in a given room.
Optionally, in an embodiment, there may be two applications installed in the electronic device for smart home configuration, where one of the applications is used to perform the above S101-S103, that is, to mainly complete the import operation of the room template and to implement the function of creating the room template; another application is used to perform S201 and S104, i.e., mainly for management of devices in a specified room.
As shown in fig. 3, the names of the devices to be bound, such as small-screen speakers, bedside lamps, gateways, purifiers, etc., may be displayed on the device configuration interface. Optionally, information such as a picture and a model of the device to be bound may also be displayed, which is not limited in the embodiment of the present application.
Optionally, the status information of each device may also be displayed on the device configuration interface, for example, the status information of each device in fig. 3 is the waiting distribution network information.
On this basis, in S104, the network access binding is performed between the device corresponding to each device information included in the product group information and the internet of things server, which may specifically be implemented as the following steps:
s1041, identifying a second selection operation of the user on the information of the device to be bound, responding to the second selection operation, and sending wireless network information to the device to be bound selected by the user, so that the device to be bound selected by the user is accessed to a wireless network through the wireless network information.
In order to improve configuration efficiency, the electronic device supports full-selection or multi-selection operation of the device to be bound in the device configuration interface by the configuration personnel, and then the electronic device sends wireless network information to the device to be bound selected by the configuration personnel, so that each device to be bound is accessed into a wireless network, and a subsequent server of the internet of things can realize intelligent control over each device which is accessed into the network through the wireless network.
And S1042, sending the device identifier of the device to be bound selected by the user to the Internet of things server, so that the Internet of things server binds the device to be bound selected by the user.
Specifically, when the electronic device sends the device identifier of the device to be bound to the internet of things server, the electronic device also carries an account of an application program used for smart home configuration in the electronic device, and the internet of things server can bind the account with the device identifier of the device to be bound, so that the internet of things server can bind the device to be bound.
It can be understood that after the internet of things server completes the binding of the device to be bound, the bound device can be associated with the preset scene information and the voice training information in the room template, and then the intelligent control of the bound device can be realized.
And S1043, receiving a binding success message sent by the Internet of things server.
By adopting the method, compared with the prior art that a configuration worker needs to perform physical operations such as 'pressing a certain key for a long time' and the like on each device to enable the device to be in a to-be-configured state, then network information is sent to the device through the APP, the device information of the device is sent to the Internet of things server after the device is networked, and then the process of network access binding is completed, batch control on each device can be achieved, the configuration worker does not need to perform physical operations on each device respectively, the electronic device can be triggered to perform batch binding operation on each device to be bound through simple selection operation performed on a device configuration interface, and the configuration process is simplified. After the network access binding is completed, the preset scene in the room template automatically takes effect, and the voice training information automatically takes effect after the preset scene takes effect, so that configuration personnel do not need to perform scene configuration and voice training operation, and the field configuration difficulty is reduced.
It should be noted that, in the embodiment of the present application, each room may be associated with a room template, and if another room template is imported for the room again on the basis that one room template is already imported for the room, the first room template imported for the room will be disabled in the room.
Optionally, in another embodiment of the present application, the electronic device may further create a room template, as shown in fig. 4, where the method includes:
s401, a room template input by a user is obtained.
The electronic device may provide a room template management function, and the user may select a device required in the room template from a preset product pool using the room template management function, so as to generate product group information of the room template.
After the product group information is generated, intelligent scenes can be configured according to the equipment information in the product group information, and a plurality of pieces of preset scene information are obtained. And then, configuring voice training for the voice equipment in the product group to generate voice training information. The voice training is to set a relationship between a voice recognized by the device and an action executed by the device, or to set a relationship between a voice recognized by the device and a voice played by the sound box. For example, when the user speaks a certain word to the speaker, the speaker plays a voice set in advance.
And then generating a room template by using the product group information, the preset scene information and the voice training information.
Alternatively, the user may create multiple room templates on demand.
S402, sending the room template to the Internet of things server.
And S403, receiving a room template creation success message sent by the Internet of things server.
And the successful message of the room template creation comprises the identifier generated by the Internet of things server for the room template.
It can be understood that after the room template is successfully created, the room template can be selected when the smart home configuration is performed on the room.
And S404, storing the identification of the room template.
In addition, in the embodiment of the present application, for a room that has completed offline configuration, the electronic device may acquire scene information and voice training information configured by a configuration person for the room, so as to generate a new room template, and then perform the above S402-S404, so that the new room template can be used by other rooms.
Based on the same technical concept, an embodiment of the present application further provides a smart home configuration device, as shown in fig. 5, the device includes:
an obtaining module 501, configured to obtain a room template identifier corresponding to a specified room;
a sending module 502, configured to send an association request to an internet of things server, where the association request carries the room template identifier, and the association request is used to request establishment of an association relationship between the specified room and a room template corresponding to the room template identifier;
a receiving module 503, configured to receive an association response sent by the internet of things server, where the association response carries a room template corresponding to the room template identifier, and the room template includes product group information, a plurality of pieces of preset scene information, and voice training information;
and a network access binding module 504, configured to perform network access binding on the device corresponding to each device information included in the product group information and the internet of things server, so that the room template becomes effective.
Optionally, the obtaining module 501 is specifically configured to:
the method comprises the steps of determining the identification of a room template selected by a user based on a first selection operation of the user on the room template preset in a displayed interface.
Optionally, as shown in fig. 6, the apparatus further includes: a display module 601.
A display module 601, configured to display, on an equipment configuration page, to-be-bound equipment information in the specified room, where the to-be-bound equipment information is equipment information included in the product group information;
the network entry binding module 504 is specifically configured to:
identifying a second selection operation of a user on the information of the equipment to be bound, and responding to the second selection operation, sending wireless network information to the equipment to be bound selected by the user so that the equipment to be bound selected by the user is accessed to a wireless network through the wireless network information;
sending the device identification of the device to be bound selected by the user to the Internet of things server so that the Internet of things server binds the device to be bound selected by the user;
and receiving a binding success message sent by the Internet of things server.
Optionally, the product group information includes device information of a plurality of devices; the preset scene information comprises trigger conditions, action information and effective time, wherein the trigger conditions are conditions for triggering equipment in the preset scene to execute actions, the action information is actions which are required to be executed by the equipment in response to the trigger conditions, and the effective time is the effective time of the preset scene; the voice training information is information used for performing voice training on equipment having a voice recognition function among the equipment corresponding to the equipment information included in the product group.
Optionally, the apparatus further comprises: a storage module 602;
the obtaining module 501 is further configured to obtain a room template input by a user;
a sending module 502, configured to send the room template to the internet of things server;
the receiving module 503 is further configured to receive a room template creation success message sent by the internet of things server, where the room template creation success message includes an identifier generated by the internet of things server for the room template;
a storage module 602, configured to store an identification of the room template.
By adopting the configuration device of the smart home, the room template identification corresponding to the specified room can be obtained, and then the association request is sent to the Internet of things server, so that the Internet of things server establishes the association relationship between the specified room and the room template. And then, an association response sent by the server of the internet of things can be received, the association response carries the room template corresponding to the room template identifier, and the room template can automatically take effect after the devices in the product group information are bound with the server of the internet of things in the network due to the fact that the room template has the preset scene information and the preset voice training information. It can be seen that in the embodiment of the application, configuration personnel are not needed to configure scene information for the room on site, the implementation period is shortened, and the configuration difficulty is low.
An embodiment of the present invention further provides an electronic device, as shown in fig. 7, including a processor 701, a communication interface 702, a memory 703 and a communication bus 704, where the processor 701, the communication interface 702, and the memory 703 complete mutual communication through the communication bus 704,
a memory 703 for storing a computer program;
the processor 701 is configured to implement the method steps in the above-described method embodiments when executing the program stored in the memory 703.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
In another embodiment of the present invention, a computer-readable storage medium is further provided, in which a computer program is stored, and the computer program, when executed by a processor, implements the steps of any one of the above-mentioned smart home configuration methods.
In another embodiment of the present invention, there is provided a computer program product including instructions, which when run on a computer, causes the computer to execute any one of the above-mentioned methods for configuring a smart home.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (12)

1. A method for configuring smart home, the method comprising:
acquiring a room template identifier corresponding to a specified room, wherein the specified room is one room or a plurality of rooms, and the rooms correspond to the same room template identifier;
sending an association request to an internet of things server, wherein the association request carries the room template identifier, and the association request is used for requesting to establish an association relationship between the specified room and a room template corresponding to the room template identifier;
receiving an association response sent by the server of the Internet of things, wherein the association response carries a room template corresponding to the room template identification, and the room template comprises product group information, a plurality of pieces of preset scene information and voice training information;
and performing network access binding on equipment corresponding to the equipment information in the product group information and the Internet of things server so as to enable the room template to take effect.
2. The method of claim 1, wherein obtaining a room template identifier corresponding to a room comprises:
the method comprises the steps of determining the identification of a room template selected by a user based on a first selection operation of the user on the room template preset in a displayed interface.
3. The method of claim 1, wherein after the receiving the association response sent by the internet of things server, the method further comprises:
displaying the information of the equipment to be bound in the specified room on an equipment configuration page, wherein the information of the equipment to be bound is the equipment information included in the product group information;
the network access binding of the equipment corresponding to the equipment information in the product group information and the internet of things server comprises the following steps:
identifying a second selection operation of a user on the information of the equipment to be bound, and responding to the second selection operation, sending wireless network information to the equipment to be bound selected by the user so that the equipment to be bound selected by the user is accessed to a wireless network through the wireless network information;
sending the device identification of the device to be bound selected by the user to the Internet of things server so that the Internet of things server binds the device to be bound selected by the user;
and receiving a binding success message sent by the Internet of things server.
4. The method according to any one of claims 1 to 3, wherein the product group information includes device information of a plurality of devices; the preset scene information comprises a trigger condition, action information and effective time, wherein the trigger condition is a condition for triggering equipment in a preset scene to execute an action, the action information is an action which is required to be executed by the equipment in response to the trigger condition, and the effective time is the effective time of the preset scene; the voice training information is information used for performing voice training on equipment with a voice recognition function in the equipment corresponding to the equipment information included in the product group.
5. The method according to any one of claims 1-3, wherein prior to said obtaining the room template identification corresponding to the room, the method further comprises:
acquiring a room template input by a user;
sending the room template to the Internet of things server;
receiving a room template creation success message sent by the Internet of things server, wherein the room template creation success message comprises an identifier generated by the Internet of things server for the room template;
storing an identification of the room template.
6. A smart home configuration device, the device comprising:
the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring a room template identifier corresponding to a specified room, the specified room is one room or a plurality of rooms, and the rooms correspond to the same room template identifier;
the sending module is used for sending an association request to an Internet of things server, wherein the association request carries the room template identifier, and the association request is used for requesting to establish an association relationship between the specified room and a room template corresponding to the room template identifier;
the receiving module is used for receiving an association response sent by the internet of things server, the association response carries a room template corresponding to the room template identifier, and the room template comprises product group information, a plurality of pieces of preset scene information and voice training information;
and the network access binding module is used for performing network access binding on the equipment corresponding to the equipment information in the product group information and the Internet of things server so as to enable the room template to take effect.
7. The apparatus of claim 6, wherein the obtaining module is specifically configured to:
the method comprises the steps of determining the identification of a room template selected by a user based on a first selection operation of the user on the room template preset in a displayed interface.
8. The apparatus of claim 6, further comprising:
the display module is used for displaying the information of the equipment to be bound in the specified room on an equipment configuration page, wherein the information of the equipment to be bound is the equipment information included in the product group information;
the network access binding module is specifically configured to:
identifying a second selection operation of a user on the information of the equipment to be bound, and responding to the second selection operation, sending wireless network information to the equipment to be bound selected by the user so that the equipment to be bound selected by the user is accessed to a wireless network through the wireless network information;
sending the device identification of the device to be bound selected by the user to the Internet of things server so that the Internet of things server binds the device to be bound selected by the user;
and receiving a binding success message sent by the Internet of things server.
9. The apparatus of any of claims 6-8, wherein the product group information comprises device information for a plurality of devices; the preset scene information comprises a trigger condition, action information and effective time, wherein the trigger condition is a condition for triggering equipment in a preset scene to execute an action, the action information is an action which is required to be executed by the equipment in response to the trigger condition, and the effective time is the effective time of the preset scene; the voice training information is information used for performing voice training on equipment with a voice recognition function in the equipment corresponding to the equipment information included in the product group.
10. The apparatus according to any one of claims 6-8, further comprising: a storage module;
the acquisition module is also used for acquiring a room template input by a user;
the sending module is further configured to send the room template to the internet of things server;
the receiving module is further configured to receive a room template creation success message sent by the internet of things server, where the room template creation success message includes an identifier generated by the internet of things server for the room template;
the storage module is used for storing the identifier of the room template.
11. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any one of claims 1 to 5 when executing a program stored in the memory.
12. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of the claims 1-5.
CN202010215141.0A 2020-03-24 2020-03-24 Smart home configuration method and device, electronic equipment and medium Active CN111447123B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010215141.0A CN111447123B (en) 2020-03-24 2020-03-24 Smart home configuration method and device, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010215141.0A CN111447123B (en) 2020-03-24 2020-03-24 Smart home configuration method and device, electronic equipment and medium

Publications (2)

Publication Number Publication Date
CN111447123A CN111447123A (en) 2020-07-24
CN111447123B true CN111447123B (en) 2021-11-05

Family

ID=71649001

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010215141.0A Active CN111447123B (en) 2020-03-24 2020-03-24 Smart home configuration method and device, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN111447123B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111913402A (en) * 2020-08-11 2020-11-10 深圳市欧瑞博科技股份有限公司 Smart home batch configuration method, device and system and electronic equipment
CN114167736B (en) * 2020-10-12 2024-04-19 超级智慧家(上海)物联网科技有限公司 Smart home scene generation method and device
CN112261096B (en) * 2020-10-12 2023-04-18 Oppo(重庆)智能科技有限公司 Control method and device of Internet of things equipment, internet of things equipment and storage medium
CN112737816B (en) * 2020-12-15 2023-08-22 青岛海尔科技有限公司 Equipment binding method and device
CN112561495A (en) * 2020-12-25 2021-03-26 杭州博联智能科技股份有限公司 Template-based intelligent service scene implementation method, device, equipment and medium
CN113206864A (en) * 2021-03-25 2021-08-03 杭州博联智能科技股份有限公司 Equipment batch adding method, device, equipment and medium
CN113139713A (en) * 2021-03-25 2021-07-20 杭州博联智能科技股份有限公司 Intelligent service scene generation method and system based on template
CN113114779B (en) * 2021-04-23 2022-09-02 杭州萤石软件有限公司 Configuration method, terminal and system for linkage of Internet of things equipment
CN113495491A (en) * 2021-06-24 2021-10-12 深圳市晨北科技有限公司 Method and device for displaying equipment linkage relationship, electronic equipment and storage medium
CN113759734A (en) * 2021-08-05 2021-12-07 珠海市晶讯物联技术有限公司 Internet of things equipment intelligent linkage realization method and device and Internet of things equipment platform
CN114019807A (en) * 2021-09-24 2022-02-08 北京声智科技有限公司 Data processing method, device, system, equipment and readable storage medium
CN114124599B (en) * 2021-11-15 2023-06-16 青岛海尔科技有限公司 Initialization method of equipment family information and server
CN114980255A (en) * 2022-05-24 2022-08-30 北京自如信息科技有限公司 Network access method, device, equipment and product of intelligent equipment
CN114816488B (en) * 2022-06-27 2022-09-09 深圳市物语智联科技有限公司 Smart kitchen synchronous updating method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108732936A (en) * 2018-05-09 2018-11-02 青岛海信智慧家居系统股份有限公司 A kind of method and apparatus creating linkage scene information
CN108920046A (en) * 2018-07-17 2018-11-30 珠海格力电器股份有限公司 A kind of control method of smart home device, device computer storage medium
CN109039834A (en) * 2017-06-08 2018-12-18 美的智慧家居科技有限公司 Smart home system, configuration method, equipment and machine readable storage medium
CN109660387A (en) * 2018-12-03 2019-04-19 深圳绿米联创科技有限公司 Management method, device, server and the storage medium of configuration data of device
CN109725541A (en) * 2018-12-12 2019-05-07 深圳绿米联创科技有限公司 Generation method, device, electronic equipment and the storage medium of automation

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10250712B2 (en) * 2014-10-29 2019-04-02 Xiaomi Inc. Method and server of configuring scenario mode for smart devices
US10701781B2 (en) * 2016-07-08 2020-06-30 Signify Holding B.V. Programming rules for controlling lighting based on user interactions with one or more actuators in one or more zones
CN109407538A (en) * 2018-12-24 2019-03-01 南京遍宇联动科技有限公司 Intelligent home furnishing control method and system
CN110601931B (en) * 2019-09-10 2021-12-07 杭州行至云起科技有限公司 Batch configuration method and system of intelligent home system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109039834A (en) * 2017-06-08 2018-12-18 美的智慧家居科技有限公司 Smart home system, configuration method, equipment and machine readable storage medium
CN108732936A (en) * 2018-05-09 2018-11-02 青岛海信智慧家居系统股份有限公司 A kind of method and apparatus creating linkage scene information
CN108920046A (en) * 2018-07-17 2018-11-30 珠海格力电器股份有限公司 A kind of control method of smart home device, device computer storage medium
CN109660387A (en) * 2018-12-03 2019-04-19 深圳绿米联创科技有限公司 Management method, device, server and the storage medium of configuration data of device
CN109725541A (en) * 2018-12-12 2019-05-07 深圳绿米联创科技有限公司 Generation method, device, electronic equipment and the storage medium of automation

Also Published As

Publication number Publication date
CN111447123A (en) 2020-07-24

Similar Documents

Publication Publication Date Title
CN111447123B (en) Smart home configuration method and device, electronic equipment and medium
JP6942755B2 (en) Interaction methods, devices, devices and storage media between smart audio devices
CN107276864B (en) Method, device and system for controlling household appliances by intelligent voice equipment
EP3314876B1 (en) Technologies for conversational interfaces for system control
CN106782526B (en) Voice control method and device
CN109658932B (en) Equipment control method, device, equipment and medium
WO2018133718A1 (en) Method and apparatus for controlling smart device
CN107977236B (en) Question-answering system generation method, terminal device, storage medium and question-answering system
TW201719333A (en) A voice controlling system and method
CN108986821B (en) Method and equipment for setting relation between room and equipment
JP7012883B2 (en) Recommend automated assistant actions for inclusion within automated assistant routines
WO2020135334A1 (en) Television application theme switching method, television, readable storage medium, and device
JP6954981B2 (en) Speech generation methods, devices, equipment and storage media
WO2017094323A1 (en) Operation execution control server, rule generation server, terminal device, linkage system, method for controlling operation execution control server, method for controlling rule generation server, method for controlling terminal device, and control program
US20180048684A1 (en) Managing access to a conference call
CN111258530A (en) Audio playing control method, server and audio playing system
WO2017080243A1 (en) Method, apparatus and system for synchronizing information
CN111339881A (en) Baby growth monitoring method and system based on emotion recognition
WO2023040109A1 (en) Intelligent speech prompt method and device, and storage medium
CN113990312A (en) Equipment control method and device, electronic equipment and storage medium
CN114217715A (en) Rich media playing page control method and device, electronic equipment and storage medium
CN113314115A (en) Voice processing method of terminal equipment, terminal equipment and readable storage medium
CN115242569B (en) Man-machine interaction method and server in intelligent home
CN109960490B (en) Method, device, equipment, medium and question-answering system for generating intelligent question-answering system
JP2019091444A (en) Processing method of smart interactive, device, facility and computer 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
GR01 Patent grant
GR01 Patent grant