CN112925216A - Configuration method and system of intelligent household scene template and computer equipment - Google Patents
Configuration method and system of intelligent household scene template and computer equipment Download PDFInfo
- Publication number
- CN112925216A CN112925216A CN202110096612.5A CN202110096612A CN112925216A CN 112925216 A CN112925216 A CN 112925216A CN 202110096612 A CN202110096612 A CN 202110096612A CN 112925216 A CN112925216 A CN 112925216A
- Authority
- CN
- China
- Prior art keywords
- scene
- equipment
- template
- information
- scene template
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- 230000015654 memory Effects 0.000 claims description 19
- 238000004590 computer program Methods 0.000 claims description 3
- 238000009434 installation Methods 0.000 abstract description 24
- 238000005516 engineering process Methods 0.000 abstract description 6
- 238000010276 construction Methods 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 4
- 239000000284 extract Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000011900 installation process Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B15/00—Systems controlled by a computer
- G05B15/02—Systems controlled by a computer electric
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/26—Pc applications
- G05B2219/2642—Domotique, domestic, home control, automation, smart house
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Manufacturing & Machinery (AREA)
- Quality & Reliability (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a method, a system and computer equipment for configuring an intelligent home scene template, wherein the configuration method comprises the following steps: acquiring naming information of at least one actual device; inquiring whether consistent equipment name information exists in a preset scene template or not according to the name information; and if the consistent equipment name information exists, generating a scene file according to the name information of each actual equipment, the equipment address information of each actual equipment and a preset scene template. By implementing the method and the device, the problems of low installation efficiency and high installation error rate caused by manual configuration in the related technology are solved. By combining the scene file generated according to the preset scene template, the equipment address information of the actual equipment and the preset scene template, the complicated process that an installer manually edits the scene configuration equipment on a construction site can be avoided, the intelligent home scene can be automatically edited, and the configuration of the intelligent home equipment can be efficiently and accurately completed.
Description
Technical Field
The invention relates to the field of intelligent home, in particular to a method and a system for configuring an intelligent home scene template and computer equipment.
Background
With the development of smart home technology, the application of smart internet of things devices is becoming more and more common in residential areas, commercial areas and other building buildings, for example, smart devices in building buildings generally include: intelligence switch, intelligent lamp, intelligent sensor, intelligent clothes hanger that dries in air, intelligent (window) curtain, intelligence push away window ware etc. in fact, the smart machine quantity in one set of house is more, and some probably reach dozen several, tens even, and these smart machine all need the developer when the installation to dispose a plurality of use scenes in advance and improve owner's experience, for example the use scene can be: the entrance door is configured to be opened to trigger the lighting of the hall lamp and the like.
However, the problem also comes along, when the intelligent device is not actually installed at a specified house location, the corresponding relationship between the intelligent device and the house facility cannot be determined (for example, the corresponding relationship between the door magnetic sensor and the door, the corresponding relationship between the lamp and the living room, and the like cannot be determined under the condition of no installation), and for the problem of uncertainty between the intelligent device and the actual location, the solution in the prior art is that after all devices are installed and network access is performed, installation workers manually configure the devices one by one and network access is performed one by one, but due to the fact that the network access and configuration processes are complicated, in the manual installation of the whole building, workload is undoubtedly greater, the error rate in the installation process is higher, the installation efficiency is lower, and user experience is affected.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, a system, and a computer device for configuring a scene template of an intelligent home, so as to solve the problems of low installation efficiency and high installation error rate caused by manual configuration.
According to a first aspect, an embodiment of the present invention provides a method for configuring an intelligent home scene template, including: acquiring naming information of at least one actual device; inquiring whether consistent equipment name information exists in a preset scene template or not according to the name information; and if the consistent equipment name information exists, generating a scene file according to the name information of each actual equipment, the equipment address information of each actual equipment and a preset scene template, wherein the scene file is used for representing the connection relation between each actual equipment.
Optionally, the naming information of the actual device is determined according to a name list of the target device in the preset scene template.
Optionally, the process of generating the preset scene template includes: acquiring a target instruction, and determining scene content information according to the target instruction; and generating a preset scene template according to the scene content information and the initial scene template, wherein the preset scene template is used for representing the connection relation between the target devices.
According to a second aspect, an embodiment of the present invention provides a configuration system of an intelligent home scene template, including: the naming information acquisition module is used for acquiring naming information of at least one piece of actual equipment; the query module is used for querying whether consistent equipment name information exists in a preset scene template according to the naming information; and the scene file generation module is used for generating a scene file according to the naming information of each actual device, the device address information of each actual device and a preset scene template if the consistent device name information exists, and the scene file is used for representing the connection relation between each actual device.
Optionally, the system further comprises: the selecting module is used for determining the naming information of the actual equipment according to the name list of the target equipment in the preset scene template; the preset scene template generating module is used for acquiring a target instruction, determining scene content information according to the target instruction, and generating a preset scene template according to the scene content information and the initial scene template, wherein the preset scene template is used for representing the connection relation between target devices.
Optionally, the system further comprises: first upload unit and front-end equipment, wherein:
the first uploading unit is used for uploading the scene file to a server;
the front-end device includes:
the instruction acquisition unit is used for acquiring a target instruction and determining scene content information according to the target instruction; the template generating unit is used for generating a preset scene template according to the scene content information and the initial scene template; and the second uploading unit uploads the preset scene template to a server for the naming information acquisition module, the query module and the scene file generation module to acquire.
Optionally, the system further comprises: a server and a gateway device; the server is used for storing the preset scene template, acquiring the naming information by the naming information acquisition module, the query module and the scene file generation module, and storing the scene file for the gateway device to download; and the gateway equipment is used for downloading the scene file and configuring each actual equipment according to the scene file.
Optionally, the scene file generating module is specifically configured to: and calling a preset scene generation program according to the naming information of each actual device, the device address information of each actual device and a preset scene template to generate a scene file.
According to a third aspect, an embodiment of the present invention provides a computer device, including: at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the processor, and the instructions are executed by the at least one processor, so that the at least one processor executes the steps of the method for configuring the smart home scene template according to the first aspect or any one of the embodiments of the first aspect.
According to a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the method for configuring a smart home scene template described in the first aspect or any one of the implementation manners of the first aspect.
The technical scheme of the invention has the following advantages:
the invention provides a method, a system and computer equipment for configuring an intelligent home scene template, wherein the configuration method comprises the following steps: acquiring naming information of at least one actual device; inquiring whether consistent equipment name information exists in a preset scene template or not according to the name information; and if the consistent equipment name information exists, generating a scene file according to the name information of each actual equipment, the equipment address information of each actual equipment and a preset scene template, wherein the scene file is used for representing the connection relation between each actual equipment. By implementing the method and the device, the problems of low installation efficiency and high installation error rate caused by manual configuration in the related technology are solved. By combining the scene file generated according to the preset scene template, the equipment address information of the actual equipment and the preset scene template, the complicated process that an installer manually edits the scene configuration equipment on a construction site can be avoided, the intelligent home scene can be automatically edited, and the configuration of the intelligent home equipment can be efficiently and accurately completed.
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, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a specific example of a configuration method of an intelligent home scene template in an embodiment of the present invention;
fig. 2 is a schematic block diagram of a specific example of a configuration system of an intelligent home scene template in an embodiment of the present invention;
fig. 3 is a schematic block diagram of a specific example of a configuration system of an intelligent home scene template including a selection module and the like according to an embodiment of the present invention;
fig. 4 is a schematic block diagram of a specific example of a configuration system of an intelligent home scene template including a server, a gateway device, and the like in the embodiment of the present invention;
FIG. 5 is a diagram of an exemplary computer device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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 some, but not all, embodiments of the present invention. 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.
In the smart home field, a user needs to preset a usage scenario through device information before using the smart home, the device information may include a device MAC address, a device type, and the like, and for example, one scenario setting may be: when the entrance door is configured to be opened, the living room lamp is triggered to light. When each device is not actually installed at a designated house location, it is not known which door sensor is installed at the entrance door location and which lamp is installed at the living room location.
Due to uncertainty between the device position and the scene configuration, multiple use scenes of the intelligent home device cannot be preset before the device is installed in place, and in the related technology, after the device is completely installed and the network is connected, the position of each device is determined, for example, a door sensor of an entrance door is a door magnet number 1, a lamp at the living room position is a lamp number 1, that is, after the positions of all the intelligent devices are determined, and the device information is determined, the designated device can be edited into the designated scene through the configuration APP. However, the method needs all the intelligent home devices to be ready to access the network, and then the intelligent home devices can be manually edited one by one, so that the editing process is complicated, the efficiency and the accuracy are low, and based on the background, the embodiment of the invention provides a method and a device for configuring an intelligent home scene template and computer equipment.
The embodiment of the invention provides a method for configuring an intelligent home scene template, which comprises the following steps of:
s11: acquiring naming information of at least one actual device;
in this embodiment, the actual device may be a device used in an actual smart home application scenario, and for example, may include smart home devices such as a plurality of lamps, a plurality of electronic switches, and a plurality of door sensors; the naming information of the actual device may be information for representing an actual installation location of each device, for example, the smart home device may include a door magnetic sensor No. 1 and a door magnetic sensor No. 2, and then the naming information of the door magnetic sensor No. 1 may be a door magnetic sensor for entrance, and the naming information of the door magnetic sensor No. 2 may be a door magnetic sensor for master bedroom. Specifically, naming information of each actual device in an actual smart home application scene is acquired.
S12: inquiring whether consistent equipment name information exists in a preset scene template or not according to the name information;
in this embodiment, the preset scene template may be generated according to a user instruction and a user requirement, and is used for representing linkage logic between the smart home devices determined according to the user instruction; for example, the user instruction may be that when the door magnetic sensor of the entrance door senses that a user appears, a living room and the like automatically light up, the preset scene template may be that the door magnetic sensor of the entrance door is in communication connection with a living room lamp, a living room lamp opening signal is generated when the door magnetic sensor senses a signal, the signal is sent to a living room lamp controller, and then the living room lamp is controlled to light up, wherein the preset scene template further includes names of the smart home devices related to the linkage logic.
Specifically, the naming information may be a door sensor of the entrance door, and is used for inquiring whether the device name information in the preset scene template is consistent with the naming information.
S13: and if the consistent equipment name information exists, generating a scene file according to the name information of each actual equipment, the equipment address information of each actual equipment and a preset scene template, wherein the scene file is used for representing the connection relation between each actual equipment.
In this embodiment, when the obtained naming information of the actual device is consistent with the device name in the preset scene template, it is determined that the device is a corresponding device in the preset scene template, and at this time, the device address information of each actual device is obtained, according to the preset scene template. And generating a scene file by the device address and the naming information of each actual device.
Specifically, the scene file is a scene file of a scene available for execution, and represents linkage logic between respective actual devices.
The invention provides a method for configuring an intelligent home scene template, which comprises the following steps: acquiring naming information of at least one actual device; inquiring whether consistent equipment name information exists in a preset scene template or not according to the name information; and if the consistent equipment name information exists, generating a scene file according to the name information of each actual equipment, the equipment address information of each actual equipment and a preset scene template, wherein the scene file is used for representing the connection relation between each actual equipment. By implementing the method and the device, the problems of low installation efficiency and high installation error rate caused by manual configuration in the related technology are solved. By combining the scene file generated according to the preset scene template, the equipment address information of the actual equipment and the preset scene template, the complicated process that an installer manually edits the scene configuration equipment on a construction site can be avoided, the intelligent home scene can be automatically edited, and the configuration of the intelligent home equipment can be efficiently and accurately completed.
As an optional implementation manner of the present invention, the naming information of the actual device in the foregoing embodiment is determined according to a name list of the target device in the preset scene template.
In this embodiment, the preset scene template may be generated according to a user instruction and a user requirement, and is used for representing linkage logic between the smart home devices determined according to the user instruction; the name list of the target device can be a name list of each device determined according to a user instruction, such as a door magnetic sensor of an entrance door and a hall lamp; and naming each actual device according to the name list of the target device in the preset scene template, namely determining the naming information of each actual device.
Specifically, the name information of the door magnetic sensor and the lamp is determined to be the door magnetic sensor and the hall lamp of the entrance door according to the preset scene template, then the name information of the door magnetic sensor No. 1 can be the door magnetic sensor of the entrance door, the name information of the lamp No. 1 is the hall lamp, namely, the equipment name of the door magnetic sensor No. 1 is set to be the door magnetic sensor of the entrance door, and the name of the lamp No. 1 is set to be the hall lamp.
As an optional implementation manner of the present invention, the process of generating the preset scene template includes:
acquiring a target instruction, and determining scene content information according to the target instruction; and generating a preset scene template according to the scene content information and the initial scene template, wherein the preset scene template is used for representing the connection relation between the target devices.
In this embodiment, the target instruction may be a user instruction for representing a user requirement, and the content of a specific scene meeting the user requirement may be determined according to the target instruction, for example, the scene content information may be that when a door magnetic sensor of an entrance door senses a person, a living room lamp is automatically controlled to be turned on; and then generating a preset scene template according to the scene content information and the initial scene template, wherein the initial scene template can be a blank scene template.
An embodiment of the present invention provides a configuration system of an intelligent home scene template, as shown in fig. 2, including:
a naming information obtaining module 21, configured to obtain naming information of at least one actual device; the detailed implementation can be referred to the related description of step S11 in the above method embodiment.
The query module 22 is configured to query whether consistent device name information exists in the preset scene template according to the naming information; the detailed implementation can be referred to the related description of step S12 in the above method embodiment.
And the scene file generating module 23 is configured to, if consistent device name information exists, generate a scene file according to the name information of each actual device, the device address information of each actual device, and a preset scene template, where the scene file is used to represent a connection relationship between the actual devices. The detailed implementation can be referred to the related description of step S13 in the above method embodiment.
The invention provides a configuration system of an intelligent home scene template, which comprises the following steps: a naming information obtaining module 21, configured to obtain naming information of at least one actual device; the query module 22 is configured to query whether consistent device name information exists in the preset scene template according to the naming information; and the scene file generating module 23 is configured to generate a scene file according to the naming information of each actual device, the device address information of each actual device, and a preset scene template if consistent device name information exists, where the scene file is used to represent a connection relationship between the actual devices.
By implementing the method and the device, the problems of low installation efficiency and high installation error rate caused by manual configuration in the related technology are solved. By combining the scene file generated according to the preset scene template, the equipment address information of the actual equipment and the preset scene template, the complicated process that an installer manually edits the scene configuration equipment on a construction site can be avoided, the intelligent home scene can be automatically edited, and the configuration of the intelligent home equipment can be efficiently and accurately completed.
As an alternative embodiment of the present invention, as shown in fig. 3, the system further includes:
the selecting module 24 is configured to determine naming information of the actual device according to a name list of the target device in the preset scene template; in this embodiment, the preset scene template may be generated according to a user instruction and a user requirement, and is used for representing linkage logic between the smart home devices determined according to the user instruction; the name list of the target device can be a name list of each device determined according to a user instruction, such as a door magnetic sensor of an entrance door and a hall lamp; and naming each actual device according to the name list of the target device in the preset scene template, namely determining the naming information of each actual device.
Specifically, the name information of the door magnetic sensor and the lamp is determined to be the door magnetic sensor and the hall lamp of the entrance door according to the preset scene template, then the name information of the door magnetic sensor No. 1 can be the door magnetic sensor of the entrance door, the name information of the lamp No. 1 is the hall lamp, namely, the equipment name of the door magnetic sensor No. 1 is set to be the door magnetic sensor of the entrance door, and the name of the lamp No. 1 is set to be the hall lamp.
The preset scene template generating module 25 is configured to obtain a target instruction, determine scene content information according to the target instruction, and generate a preset scene template according to the scene content information and the initial scene template, where the preset scene template is used to represent a connection relationship between target devices.
In this embodiment, the target instruction may be a user instruction for representing a user requirement, and the content of a specific scene meeting the user requirement may be determined according to the target instruction, for example, the scene content information may be that when a door magnetic sensor of an entrance door senses a person, a living room lamp is automatically controlled to be turned on; and then generating a preset scene template according to the scene content information and the initial scene template, wherein the initial scene template can be a blank scene template.
As an alternative embodiment of the present invention, as shown in fig. 4, the system further includes: first upload unit and front-end equipment, wherein:
a first uploading unit 26, configured to upload the scene file to a server; in this embodiment, the first uploading unit may upload the scene file generated by the scene file generation template to the server, that is, upload the scene file to the cloud server, so as to be downloaded and used by other devices, for example, may be downloaded and used by the gateway device.
The front-end apparatus 27 includes:
the instruction obtaining unit 271 is configured to obtain a target instruction, and determine scene content information according to the target instruction; in this embodiment, the target instruction may be instruction information meeting the user's requirement, and the scene content information may be information for automatically controlling the hall lantern to light up when a person is sensed by the door magnetic sensor of the entrance door.
A template generating unit 272, configured to generate a preset scene template according to the scene content information and the initial scene template; in this embodiment, a preset scene template is generated according to the blank scene template and the scene content information.
The second uploading unit 273 uploads the preset scene template to the server for the name information obtaining module, the query module, and the scene file generating module to obtain.
As an optional embodiment of the present invention, the system further comprises: a server and a gateway device;
the server 28 is used for storing a preset scene template, acquiring the naming information acquisition module, the query module and the scene file generation module, and storing a scene file for downloading by the gateway device; in this embodiment, a server user stores a preset scene template generated by a front-end device, which is used for an installation device to obtain, that is, for a naming information obtaining module, a query module and a scene file generating module to obtain; the server is also used for storing the scene file for downloading by an external device, for example, the scene file can be downloaded by a gateway device.
And the gateway device 29 is used for downloading the scene file and configuring each actual device according to the scene file.
As an optional implementation manner of the present invention, the scene file generation module is specifically configured to: and calling a preset scene generation program according to the name information of each actual device, the device address information of each actual device and a preset scene template to generate a scene file.
The configuration system of the smart home scene template according to the embodiment is described in detail below with reference to a specific embodiment, where the configuration system includes a front-end device, a server, an installation device, and a gateway device.
The front-end equipment edits and generates a preset scene template according to the actual scene requirement, the user requirement and the initial blank scene template, and then uploads the preset scene template to the server, wherein the preset scene template can be in a json mode. When the actual equipment starts to be distributed with a network, the installation equipment (installation APP) downloads a preset scene template from the server, extracts name information of each equipment in the preset scene template, names each actual equipment in the actual application scene according to the extracted name information, namely determines the name information of each actual equipment, calls a preset scene file generation program after each actual equipment is named, generates a scene file according to the preset scene template and the equipment name information of each actual equipment, and uploads the scene file to the server; and then after the gateway equipment is electrified and networked, downloading the scene file on the server.
Specifically, the installation device may download the preset scene template file in the corresponding gateway device according to the ID information of the gateway device, or download the corresponding preset scene template file according to the ID information of the server; then, the installation equipment extracts equipment name information in the preset scene template file to generate an equipment name list, then after each actual equipment is distributed with a network, the naming information of each actual equipment is determined according to the equipment name list and the actual installation position of the equipment, then each actual equipment is named, then the installation equipment calls a preset scene file generation program, namely, the equipment name in the preset scene template is replaced by the equipment address (equipment MAC address) of each actual equipment to generate a scene file.
The configuration system of the intelligent home scene template provided by the embodiment of the invention solves the problem of complexity in editing the configuration scene on site, automatically generates the scene file through the scene template, and can realize the pre-editing of the configuration scene file after the gateway device downloads the scene file, thereby improving the configuration efficiency and the configuration accuracy.
An embodiment of the present invention further provides a computer device, as shown in fig. 5, the computer device may include a processor 31 and a memory 32, where the processor 31 and the memory 32 may be connected by a bus 30 or in another manner, and fig. 5 takes the connection by the bus 30 as an example.
The processor 31 may be a Central Processing Unit (CPU). The Processor 31 may also be other general purpose processors, 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, or combinations thereof.
The memory 32, which is a non-transitory computer-readable storage medium, may be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as program instructions/modules corresponding to the configuration method of the smart home scene template in the embodiment of the present invention. The processor 31 executes various functional applications and data processing of the processor by running the non-transitory software programs, instructions and modules stored in the memory 32, that is, implements the configuration method of the smart home scene template in the above method embodiment.
The memory 32 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created by the processor 31, and the like. Further, the memory 32 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 32 may optionally include memory located remotely from the processor 31, and these remote memories may be connected to the processor 31 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The one or more modules are stored in the memory 32, and when executed by the processor 31, perform a configuration method of the smart home scene template as in the embodiment shown in fig. 1.
The details of the computer device can be understood with reference to the corresponding related descriptions and effects in the embodiment shown in fig. 1, and are not described herein again.
The embodiment of the present invention further provides a non-transitory computer readable medium, where the non-transitory computer readable storage medium stores a computer instruction, and the computer instruction is used to enable a computer to execute the method for configuring the smart home scene template described in any one of the above embodiments, where the storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, abbreviated as HDD), or a Solid-State Drive (SSD); the storage medium may also comprise a combination of memories of the kind described above.
It should be understood that the above examples are only for clarity of illustration and are not intended to limit the embodiments. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. And obvious variations or modifications therefrom are within the scope of the invention.
Claims (10)
1. A method for configuring a scene template of an intelligent home is characterized by comprising the following steps:
acquiring naming information of at least one actual device;
inquiring whether consistent equipment name information exists in a preset scene template or not according to the name information;
and if the consistent equipment name information exists, generating a scene file according to the name information of each actual equipment, the equipment address information of each actual equipment and a preset scene template, wherein the scene file is used for representing the connection relation between each actual equipment.
2. The method according to claim 1, wherein the naming information of the actual device is determined according to a name list of the target device in the preset scene template.
3. The method of claim 1, wherein the process of generating the preset scene template comprises:
acquiring a target instruction, and determining scene content information according to the target instruction;
and generating a preset scene template according to the scene content information and the initial scene template, wherein the preset scene template is used for representing the connection relation between the target devices.
4. The utility model provides a configuration system of intelligence house scene template which characterized in that includes:
the naming information acquisition module is used for acquiring naming information of at least one piece of actual equipment;
the query module is used for querying whether consistent equipment name information exists in a preset scene template according to the naming information;
and the scene file generation module is used for generating a scene file according to the naming information of each actual device, the device address information of each actual device and a preset scene template if the consistent device name information exists, and the scene file is used for representing the connection relation between each actual device.
5. The system of claim 4, further comprising:
the selecting module is used for determining the naming information of the actual equipment according to the name list of the target equipment in the preset scene template;
the preset scene template generating module is used for acquiring a target instruction, determining scene content information according to the target instruction, and generating a preset scene template according to the scene content information and the initial scene template, wherein the preset scene template is used for representing the connection relation between target devices.
6. The system of claim 4, further comprising: first upload unit and front-end equipment, wherein:
the first uploading unit is used for uploading the scene file to a server;
the front-end device includes:
the instruction acquisition unit is used for acquiring a target instruction and determining scene content information according to the target instruction;
the template generating unit is used for generating a preset scene template according to the scene content information and the initial scene template;
and the second uploading unit uploads the preset scene template to a server for the naming information acquisition module, the query module and the scene file generation module to acquire.
7. The system of claim 6, further comprising: a server and a gateway device;
the server is used for storing the preset scene template, acquiring the naming information by the naming information acquisition module, the query module and the scene file generation module, and storing the scene file for the gateway device to download;
and the gateway equipment is used for downloading the scene file and configuring each actual equipment according to the scene file.
8. The system of claim 4, wherein the scene file generation module is specifically configured to: and calling a preset scene generation program according to the naming information of each actual device, the device address information of each actual device and a preset scene template to generate a scene file.
9. A computer device, comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to cause the at least one processor to perform the steps of the method of configuring a smart home scene template of any one of claims 1 to 3.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method for configuring a smart home scene template according to any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110096612.5A CN112925216A (en) | 2021-01-25 | 2021-01-25 | Configuration method and system of intelligent household scene template and computer equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110096612.5A CN112925216A (en) | 2021-01-25 | 2021-01-25 | Configuration method and system of intelligent household scene template and computer equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112925216A true CN112925216A (en) | 2021-06-08 |
Family
ID=76166589
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110096612.5A Pending CN112925216A (en) | 2021-01-25 | 2021-01-25 | Configuration method and system of intelligent household scene template and computer equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112925216A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113692095A (en) * | 2021-10-26 | 2021-11-23 | 广州中大中鸣科技有限公司 | Intelligent lighting wall control panel configuration method and intelligent lighting wall control panel |
CN113759734A (en) * | 2021-08-05 | 2021-12-07 | 珠海市晶讯物联技术有限公司 | Internet of things equipment intelligent linkage realization method and device and Internet of things equipment platform |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102904958A (en) * | 2012-10-19 | 2013-01-30 | 蒋学敏 | Equipment and service management method and platform |
CN104330974A (en) * | 2014-10-16 | 2015-02-04 | 纳普(上海)软件有限公司 | Intelligent home platform control system |
CN104460328A (en) * | 2014-10-29 | 2015-03-25 | 小米科技有限责任公司 | Intelligent device control method and device based on set scenario mode |
US20160277203A1 (en) * | 2013-11-12 | 2016-09-22 | Zhuhai Unitech Power Technology Co., Ltd. | Smart home scene switching method and system |
CN106100891A (en) * | 2016-06-30 | 2016-11-09 | 北京小米移动软件有限公司 | The method and device that intelligent scene is quickly shared |
CN107577151A (en) * | 2017-08-25 | 2018-01-12 | 谢锋 | A kind of method, apparatus of speech recognition, equipment and storage medium |
CN108732936A (en) * | 2018-05-09 | 2018-11-02 | 青岛海信智慧家居系统股份有限公司 | A kind of method and apparatus creating linkage scene information |
CN111142456A (en) * | 2020-02-26 | 2020-05-12 | 杭州涂鸦信息技术有限公司 | Internet of things automation smart home linkage method and system |
CN111176133A (en) * | 2020-02-11 | 2020-05-19 | 青岛海信智慧家居系统股份有限公司 | Method and device for determining smart home scene |
CN111459439A (en) * | 2020-04-08 | 2020-07-28 | 深圳康佳电子科技有限公司 | Information display method, intelligent home server and storage medium |
-
2021
- 2021-01-25 CN CN202110096612.5A patent/CN112925216A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102904958A (en) * | 2012-10-19 | 2013-01-30 | 蒋学敏 | Equipment and service management method and platform |
US20160277203A1 (en) * | 2013-11-12 | 2016-09-22 | Zhuhai Unitech Power Technology Co., Ltd. | Smart home scene switching method and system |
CN104330974A (en) * | 2014-10-16 | 2015-02-04 | 纳普(上海)软件有限公司 | Intelligent home platform control system |
CN104460328A (en) * | 2014-10-29 | 2015-03-25 | 小米科技有限责任公司 | Intelligent device control method and device based on set scenario mode |
CN106100891A (en) * | 2016-06-30 | 2016-11-09 | 北京小米移动软件有限公司 | The method and device that intelligent scene is quickly shared |
CN107577151A (en) * | 2017-08-25 | 2018-01-12 | 谢锋 | A kind of method, apparatus of speech recognition, equipment and storage medium |
CN108732936A (en) * | 2018-05-09 | 2018-11-02 | 青岛海信智慧家居系统股份有限公司 | A kind of method and apparatus creating linkage scene information |
CN111176133A (en) * | 2020-02-11 | 2020-05-19 | 青岛海信智慧家居系统股份有限公司 | Method and device for determining smart home scene |
CN111142456A (en) * | 2020-02-26 | 2020-05-12 | 杭州涂鸦信息技术有限公司 | Internet of things automation smart home linkage method and system |
CN111459439A (en) * | 2020-04-08 | 2020-07-28 | 深圳康佳电子科技有限公司 | Information display method, intelligent home server and storage medium |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113759734A (en) * | 2021-08-05 | 2021-12-07 | 珠海市晶讯物联技术有限公司 | Internet of things equipment intelligent linkage realization method and device and Internet of things equipment platform |
CN113692095A (en) * | 2021-10-26 | 2021-11-23 | 广州中大中鸣科技有限公司 | Intelligent lighting wall control panel configuration method and intelligent lighting wall control panel |
CN113692095B (en) * | 2021-10-26 | 2022-02-22 | 广州中大中鸣科技有限公司 | Intelligent lighting wall control panel configuration method and intelligent lighting wall control panel |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104852975B (en) | Household equipment calling method and device | |
EP3557339A1 (en) | Linked control method for internet-of-things gateway and internet-of-things gateway | |
CN112925216A (en) | Configuration method and system of intelligent household scene template and computer equipment | |
CN109040200B (en) | Access method and device of Internet of things equipment | |
CN110794693B (en) | Device configuration method, device, electronic device and storage medium | |
CN110687811B (en) | Method and device for scene configuration of smart home offline voice equipment | |
CN110687805A (en) | Intelligent household equipment linkage control method and device, storage medium and equipment | |
CN108919657B (en) | Automatic configuration method and device of panel and panel | |
CN112350907A (en) | Scene linkage control method, terminal and computer readable storage medium | |
JP2018129021A (en) | Field device control management method and device based on industrial internet operating system | |
CN107219766B (en) | Control method and device of intelligent household equipment | |
CN114244644B (en) | Control method and device for intelligent home, storage medium and electronic device | |
CN104267701B (en) | The control method and device of smart home newly added equipment | |
CN110618614A (en) | Control method and device for smart home, storage medium and robot | |
EP3588912A1 (en) | Device and method for sharing context information | |
CN109407527A (en) | Realize the method and device that smart machine is recommended | |
CN111812993A (en) | Scene linkage control method, device and storage medium | |
CN111142456A (en) | Internet of things automation smart home linkage method and system | |
WO2022105558A1 (en) | Scene configuration method, storage medium and border gateway | |
CN112130458A (en) | Target device control method and device, storage medium and electronic device | |
CN113050446A (en) | Linkage control method and device for intelligent scene and storage medium | |
CN115793481A (en) | Device control method, device, electronic device and storage medium | |
CN110324217B (en) | Equipment triggering control method and device, electronic equipment and storage medium | |
CN112034727A (en) | Smart scene-based home equipment management method and smart home control device | |
CN109407526B (en) | Equipment detection method and device and household appliance |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210608 |