CN107171911A - The control method and device of intelligent home device - Google Patents
The control method and device of intelligent home device Download PDFInfo
- Publication number
- CN107171911A CN107171911A CN201710517750.XA CN201710517750A CN107171911A CN 107171911 A CN107171911 A CN 107171911A CN 201710517750 A CN201710517750 A CN 201710517750A CN 107171911 A CN107171911 A CN 107171911A
- Authority
- CN
- China
- Prior art keywords
- intelligent
- scene
- object run
- control
- intelligent home
- 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 62
- 238000004590 computer program Methods 0.000 claims description 9
- 230000000694 effects Effects 0.000 abstract description 5
- 230000006870 function Effects 0.000 description 19
- 238000003860 storage Methods 0.000 description 18
- 230000004044 response Effects 0.000 description 15
- 230000001960 triggered effect Effects 0.000 description 15
- 230000002123 temporal effect Effects 0.000 description 13
- 230000008859 change Effects 0.000 description 10
- 238000012545 processing Methods 0.000 description 10
- 230000006399 behavior Effects 0.000 description 9
- 238000012217 deletion Methods 0.000 description 8
- 230000037430 deletion Effects 0.000 description 8
- 238000004519 manufacturing process Methods 0.000 description 7
- 230000006854 communication Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 3
- 230000005611 electricity Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 239000007787 solid Substances 0.000 description 3
- 241000894007 species Species 0.000 description 3
- 230000003068 static effect Effects 0.000 description 3
- 240000007594 Oryza sativa Species 0.000 description 2
- 235000007164 Oryza sativa Nutrition 0.000 description 2
- 230000009471 action Effects 0.000 description 2
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 239000011521 glass Substances 0.000 description 2
- 230000005484 gravity Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 235000009566 rice Nutrition 0.000 description 2
- 239000004984 smart glass Substances 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 230000003442 weekly effect Effects 0.000 description 2
- 241000256844 Apis mellifera Species 0.000 description 1
- 241000208340 Araliaceae Species 0.000 description 1
- 241000257303 Hymenoptera Species 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 238000004378 air conditioning Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 239000000686 essence Substances 0.000 description 1
- 238000010304 firing Methods 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012905 input function Methods 0.000 description 1
- 210000003127 knee Anatomy 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000032696 parturition Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000005057 refrigeration Methods 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2807—Exchanging configuration information on appliance services in a home automation network
- H04L12/2814—Exchanging control software or macros for controlling appliance services in a home automation network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2816—Controlling appliance services of a home automation network by calling their functionalities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2823—Reporting information sensed by appliance or service execution status of appliance services in a home automation network
- H04L12/2827—Reporting to a device within the home network; wherein the reception of the information reported automatically triggers the execution of a home appliance functionality
Landscapes
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
- Selective Calling Equipment (AREA)
Abstract
The invention discloses a kind of control method and device of intelligent home device, belong to smart home field.Methods described includes:The facility information and object run mark of intelligent home device are obtained, object run is searched according to facility information and identifies corresponding command code, it is different that the intelligent home device and the object run that there are at least two same types, which identify corresponding command code,;According to facility information and command code generation control instruction;When meeting the trigger condition of the intelligent control scene, the control instruction is sent to the intelligent home device.The present invention solves intelligent control scene upon execution, the problem of intelligent home device normally can not make correct operation because of the command code in wrong identification control instruction;Reach gateway device after the facility information of intelligent home device and object run mark is obtained, it becomes possible to automatically generate the control instruction for the operation that the intelligent home device can be recognized, it is ensured that the effect of the normal operation of intelligent control scene.
Description
Technical field
The present embodiments relate to smart home field, the control method and dress of more particularly to a kind of intelligent home device
Put.
Background technology
In smart home (Smart Home) system, in order to allow intelligent home device therein can be in corresponding condition
Under more quickly perform predetermined operation, generally build several intelligent control scenes.
In the related art, intelligent domestic system has been generally included:Gateway device and at least one intelligent home device, should
Gateway device is used to control at least one intelligent home device to perform the corresponding control instruction of intelligent control scene.When user will make
, it is necessary to set the equipment of the intelligent home device in gateway device when building intelligent control scene with new intelligent home device
Information, so that the gateway device is after intelligent control scenario triggered, control instruction is sent to the intelligent home device.Smart home
Equipment determines that the control instruction is destined to oneself, by recognizing control instruction by recognizing the device id in control instruction
In command code, to determine specifically to need operation to be performed.
Such as, intelligent home device is intelligent lamp, then user needs building a certain intelligent control using the intelligent lamp
The facility information of the intelligent lamp is known during scape, such as then the facility information is arranged on gateway by the device id 001 of intelligent lamp
In equipment.When lighting the intelligent lamp in the case that the intelligent control scene is to meet preparatory condition, gateway device is it is determined that pre-
If condition is satisfied, control instruction is sent to the intelligent lamp according to device id 001, wherein control instruction includes gateway device
The corresponding command code of operation of turning on light of default electric light kind equipment when dispatching from the factory.After intelligent lamp 001 receives control instruction, intelligence
Command code in energy 001 pair of control instruction of lamp is identified, command code and intelligence in the control instruction that gateway device is sent
When the command code prestored in energy home equipment is identical, the corresponding operation (operation of turning on light) of the control instruction is performed.
But with continuing to develop for smart home technology, the intelligent home device that each manufacturer is produced is for same
Different command codes are often set in the control instruction of operation, or even the intelligent family of same major class that same manufacturer is produced
Occupy equipment and also use different command codes for same operation.A kind of operation of turning on light of the LED of model of such as A manufacturer productions
Control instruction in the command code that includes be command code 01, and the operation of turning on light of the LED of another model of A manufacturer productions
The command code included in control instruction is command code 04.Therefore, perform intelligent control scene when, intelligent home device usually because
Wrong identification gateway device send control instruction in command code and can not normally perform correct operation.
The content of the invention
In order to solve intelligent control scene upon execution, the control that intelligent home device is sent by wrong identification gateway device
Command code in instruction and the problem of normally can not make correct operation, set the embodiments of the invention provide a kind of smart home
Standby control method and device.The technical scheme is as follows:
First aspect includes there is provided a kind of control method of intelligent home device, methods described:
The facility information and object run mark of intelligent home device are obtained, the object run identifies described for indicating
Intelligent home device needs the object run performed under intelligent control scene;
The object run is searched according to the facility information and identifies corresponding command code, there are at least two same types
It is different that intelligent home device identifies corresponding command code from the object run;
According to the facility information and command code generation control instruction, the control instruction is used to indicate the intelligence
Home equipment performs the object run;
When meeting the trigger condition of the intelligent control scene, send the control to the intelligent home device and refer to
Order.
Second aspect includes there is provided a kind of performs device of intelligent control scene, described device:
First acquisition module, facility information and object run mark for obtaining intelligent home device, the target behaviour
Make a check mark the object run performed for indicating the intelligent home device to be needed under intelligent control scene;
Searching modul, corresponding command code is identified for searching the object run according to the facility information, exist to
It is different that the intelligent home device of few two same types identifies corresponding command code from the object run;
Generation module, for generating control instruction according to the facility information and the command code, the control instruction is used
The object run is performed in the instruction intelligent home device;
Sending module, for when meeting the trigger condition of the intelligent control scene, being sent out to the intelligent home device
Send the control instruction.
The third aspect is there is provided a kind of control device of intelligent home device, including memory, processor and is stored in
On reservoir and the computer program that can run on a processor, following walk is realized described in the computing device during computer program
Suddenly:
The facility information and object run mark of intelligent home device are obtained, the object run identifies described for indicating
Intelligent home device needs the object run performed under intelligent control scene;
The object run is searched according to the facility information and identifies corresponding command code, there are at least two same types
It is different that intelligent home device identifies corresponding command code from the object run;
According to the facility information and command code generation control instruction, the control instruction is used to indicate the intelligence
Home equipment performs the object run;
When meeting the trigger condition of the intelligent control scene, send the control to the intelligent home device and refer to
Order.
Fourth aspect is stored thereon with computer program, the computer there is provided a kind of computer-readable recording medium
Following steps are realized when program is executed by processor:
The facility information and object run mark of intelligent home device are obtained, the object run identifies described for indicating
Intelligent home device needs the object run performed under intelligent control scene;
The object run is searched according to the facility information and identifies corresponding command code, there are at least two same types
It is different that intelligent home device identifies corresponding command code from the object run;
According to the facility information and command code generation control instruction, the control instruction is used to indicate the intelligence
Home equipment performs the object run;
When meeting the trigger condition of the intelligent control scene, send the control to the intelligent home device and refer to
Order.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:
Identified by the facility information and object run that obtain intelligent home device, the object run is identified for indicating
The intelligent home device needs the object run performed under intelligent control scene;The mesh is searched according to the facility information
The corresponding command code of operation mark is marked, the intelligent home device that there are at least two same types is corresponding with object run mark
Command code be different;According to the facility information and command code generation control instruction, the control instruction is used to refer to
Show that the intelligent home device performs the object run;When meeting the trigger condition of the intelligent control scene, to described
Intelligent home device sends the control instruction;Solve intelligent control scene upon execution, intelligent home device is known because of mistake
Command code in the control instruction that other gateway device is sent and the problem of normally can not make correct operation;Gateway device is made to exist
After the facility information and object run mark that obtain intelligent home device, it becomes possible to which automatically generating the intelligent home device can recognize
Operation control instruction, it is ensured that the normal operation of intelligent control scene.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, makes required in being described below to embodiment
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for
For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings
Accompanying drawing.
Fig. 1 is the structural representation for the intelligent domestic system that one embodiment of the invention is provided;
Fig. 2 is the structural representation for the gateway device 200 that one embodiment of the invention is provided;
Fig. 3 is a kind of flow chart of the control method for intelligent home device that one embodiment of the invention is provided;
Fig. 4 is the flow chart of the control method for another intelligent home device that one embodiment of the invention is provided;
Fig. 5 A are a kind of sides for gateway device start caching intelligent control scene information that one embodiment of the invention is provided
The flow chart of method;
Fig. 5 B are that a kind of gateway device that one embodiment of the invention is provided caches intelligent control scene information when running
The flow chart of method;
The flow chart of execution method when Fig. 6 A are a kind of click type scenario triggereds of one embodiment of the invention offer;
Fig. 6 B are the flow charts of execution method when a kind of timed scenario that one embodiment of the invention is provided is triggered;
Fig. 6 C are the flow charts of execution method when a kind of conditional scene that one embodiment of the invention is provided is triggered;
Fig. 7 is a kind of block diagram of the control device for intelligent home device that one embodiment of the invention is provided;
Fig. 8 is the block diagram of the control device for another intelligent home device that one embodiment of the invention is provided;
Fig. 9 is the block diagram for the control terminal 1100 that one embodiment of the invention is provided.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention
Formula is described in further detail.
Fig. 1 is refer to, the structural representation of the intelligent domestic system 100 provided it illustrates one embodiment of the invention.
The intelligent domestic system 100 includes:Control terminal 120, server 140, gateway device 160 and at least one intelligent home device
180。
Control terminal 120 can be intelligent television, smart mobile phone, tablet personal computer, E-book reader, MP3 player
(Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio aspect 3),
MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio aspect
4) player, pocket computer on knee and desktop computer etc..Alternatively, operation has and possesses intelligence in control terminal 120
The control function of home equipment, and for managing the management program of intelligent control scene.Wherein, the management program can be used for creating
Build, change or delete intelligent control scene.Intelligent control scene includes but is not limited to according to type:Click type scene, condition
Scape and timed scenario.When for different types of intelligent control scene, the management program can be used for triggering intelligent control scene
In click type scene, can be used for set conditional scene trigger condition, can be also used for set timed scenario execution
Time.
It is connected between control terminal 120 and server 140 by cable network or wireless network.Alternatively, control terminal
It is connected between 120 and gateway device 160 by cable network or wireless network.
Server 140 is the server for providing background service to management program.Server 140 can be a service
Device, multiple servers, virtual computing module or cloud computing center.
It is connected between server 140 and gateway device 160 by cable network or wireless network.
Gateway device 160 can be router.Alternatively, the router also function with interchanger, NAS (Network
Attached Storage, network attached storage) function, at least one of network television function function.Gateway device 160 is
Gateway device for finding, connecting and managing intelligent home device 180.In some possible embodiments, such as LAN
Scene, directly sets up connection, it is not necessary to pass through the transfer of server 140 between control terminal 120 and gateway device 160;And
In other possible embodiments, gateway device 160 and control terminal 120 are not at same LAN, then control terminal 120
It is connected by transferring to set up between gateway device 160 in server 140.
It is connected between gateway device 160 and intelligent home device 180 by cable network or wireless network.
Intelligent home device 180 can be intelligent electric lamp, intelligent door, smart window, intelligent curtain, intelligent video camera head, infrared
Sensor, intelligent pet feeder, smart jack, intelligent fan, intelligent air condition, intelligent electric rice cooker, intelligent refrigerator, intelligent hand
Table, intelligent glasses and intelligent shoe etc..With the raising of scientific and technological level, the species and application field of intelligent home device
Also it is more and more.Alternatively, there is different production firms between each intelligent home device 180.
Wherein, intelligent domestic system can be set up to make the operator of intelligent home device share the habits and customs at family
Intelligent control scene.The intelligent control scene at least includes:Click type scene, conditional scene and timed scenario.
(1) click type scene, click type scene is triggered when control terminal 120 has received the assigned operation of user
Intelligent control scene.
When intelligent control scene is click on formula scene, click type scene releasing the button by point in control terminal 120
When hitting, control terminal 120 sends triggering information to gateway device 160.Gateway device 160 detects the triggering information and met in advance
During the trigger condition of one click type scene of caching, send and control to the corresponding intelligent home device 180 of the click type scene
Instruction, so that intelligent home device 180 makes corresponding operation by the control instruction in time.
(2) conditional scene, conditional scene is the intelligence control triggered when other intelligent home devices 180 meet specified requirements
Scene processed.
When intelligent control scene is conditional scene, gateway device 160 can receive a scenario triggered information, the information
Include the status information of intelligent home device 180.Wherein, the status information includes command code.Alternatively, in the command code pair
When the operation answered has parameter value, the status information can also include operand value.Triggering letter is detected in gateway device 160
Breath meets the trigger condition of the click type scene cached in advance constantly, and gateway device 160 can be into the intelligent control scene
Corresponding intelligent home device 180 sends control instruction, so that intelligent home device 180 is made accordingly by the control instruction in time
Operation.
(3) timed scenario, timed scenario is, when reaching the scheduled time, to specify intelligent home device 180 to perform and set in advance
The intelligent control scene of fixed operation.
When intelligent control scene is timed scenario, and gateway device 160 is detected in current time and timed scenario
When default execution time is identical, gateway device 160 can send control by corresponding intelligent home device 180 into the timed scenario
Instruction, so that intelligent home device 180 makes corresponding operation by the control instruction in time.
Alternatively, in above-mentioned condition scene or timed scenario, constitute the scene hardware device can by one or
The more than one intelligent home device 180 of person can be with built-up.In click type scene, it can be served as by control terminal 120
Receive the equipment of the operation of user, the click type is together constituted with said one or more than one intelligent home device 180
Scene.
Further optionally, intelligent home device 180 has different production firms from gateway device 120.
Alternatively, the procotol that intelligent home device 180 is used includes but is not limited at least one of following agreement:
Procotol based on Zigbee (Zigzag Flying of Bees, purple honeybee) agreement;Based on wireless networking specification Z-Wave's
Procotol;Procotol based on Wi-Fi (Wireless Fidelity, Wireless Fidelity) agreement;Based on BLE
The procotol of (Bluetooth Low Energy, Bluetooth Low Energy) agreement;Based on RF (Radio Frequency, radio frequency)
The procotol of 433 agreements, the procotol uses 433Mhz frequency ranges;Based on the procotol of RF 2.4G agreements, network association
View uses 2.4Ghz frequency ranges;Based on the procotol of radio frequency 5G agreements, the procotol uses 5Ghz frequency ranges.
Fig. 2 is refer to, the structural representation of the gateway device 200 provided it illustrates one embodiment of the invention.The net
Closing equipment 200 includes:Processor 220, memory 240 and at least one network interface card component 260.
Processor 220 is the control centre of gateway device 200, utilizes various interfaces and the whole gateway device of connection
200 various pieces, software program and/or module in memory 240 are stored in by operation or execution, and call storage
Data in memory 240, perform the various functions and processing data of gateway device 200, so as to be carried out to gateway device 200
Overall control.Optionally, processor 220 includes one or more processing cores.
Processor 220 is electrical connected with memory 240.
Memory 240 is used to store software program and module.Processor 220 is stored in memory 240 by operation
Software program and module, so as to perform various function application and data processing.Memory 240 can be by any kind of easy
The property lost or non-volatile memory device or combinations thereof realize that such as static RAM is (English:Static
Random Access Memory, referred to as:SRAM), Electrically Erasable Read Only Memory (English:Electrically
Erasable Programmable Read-Only Memory, referred to as:EEPROM), Erasable Programmable Read Only Memory EPROM (English
Text:Erasable Programmable Read Only Memory, referred to as:EPROM), programmable read only memory (English:
Programmable Read-Only Memory, referred to as:PROM), read-only storage (English:Read Only Memory, letter
Claim:ROM), magnetic memory, flash memory, disk or CD.
Processor 220 is also electrical connected with least two network interface card components 260.
Network interface card component 260 can include:Zigbee network interface cards component, Z-Wave network interface cards component, Wi-Fi network interface cards component, have
At least one of network interface card component and bluetooth network interface card component of RJ45 interfaces.Because gateway device 200 supports different network interface card components,
So can access the network of the gateway device 200 using the intelligent home device 180 of different network protocol.
Fig. 3 is refer to, the flow of the control method of the intelligent home device provided it illustrates one embodiment of the invention
Figure.The present embodiment is applied in the gateway device shown in Fig. 1 illustrate with the control method of the intelligent home device.The party
Method includes:
Step 301, the facility information and object run mark of intelligent home device are obtained, the object run is identified for referring to
Show that the intelligent home device needs the object run performed under intelligent control scene;
In embodiments of the present invention, facility information is used for the identity for identifying intelligent home device.Alternatively, with identity
On the premise of identification capability, the facility information includes:At least one in device type, equipment manufacturer's information and unit type information
Kind.
Device type is the information for the species for representing intelligent home device.Alternatively, device type includes but is not limited to:Intelligence
Can electric light, intelligent door, smart window, intelligent curtain, infrared sensor, intelligent video camera head, intelligent pet feeder, smart jack,
Air purifier, intelligent air condition, intelligent fan, intelligent electric rice cooker, intelligent refrigerator, intelligent watch, intelligent glasses and intelligent shoe
Etc..
Equipment manufacturer's information is the information for the manufacturer for representing intelligent home device.Such as:Producer A, producer B or producer
C。
Unit type information is the information for the model for representing intelligent home device.Unit type information is typically by factory
Family sets regulation.Such as:Intelligent fluorescent tube L-07.
Object run mark can be defined by the both-end agreement between gateway device and control terminal, can also be led to
The both-end agreement crossed between gateway device and server is defined, and the both-end that can also pass through between server and control terminal is assisted
Discuss to define.Alternatively, if having used same agreement between gateway device, server and the end of control terminal three, the target
Operation mark can be defined by the agreement between three ends.Wherein, the type of object run mark includes:Open type, close
Close type, adjustment running parameter type or driving type etc..
Alternatively, object run mark can not bound before the foundation of intelligent control scene, namely in gateway device
During (access) intelligent home device, it is set in advance according to related protocol in gateway device.Such as, user is set buying gateway
When being first powered on after standby, the object run mark of intelligent electric lamp is built-in with gateway device.Wherein, for indicating to light electric light behaviour
The object run mark of work is " open ", and the object run mark for indicating to close lamp operations is " close ".
Alternatively, gateway device can obtain the scene information of intelligent control scene, and the scene information can be a table
At least record has the facility information and object run mark of the intelligent home device in the intelligent control scene in lattice, the form.
Step 302, object run is searched according to facility information and identifies corresponding command code;
In embodiments of the present invention, if the same object run mark of intelligent home device correspondence of at least two same types
Know, then the corresponding command code of the intelligent home device of above-mentioned at least two same type is different.For example, the device id of A manufacturer productions
It is the corresponding same object run mark of " 0009 " intelligent air condition for " 0001 " intelligent air condition and the device id of B manufacturer productions
When " close ", device id is " 00-00 " for the corresponding command code of intelligent air condition of " 0001 ", and device id is the intelligence of " 0009 "
The corresponding command code of air-conditioning is " 01-01 ".
Gateway device is searched corresponding with object run mark according to facility information from the attribute list of intelligent home device
Command code.Wherein, the attribute list of intelligent home device can be that after intelligent home device dispatches from the factory, intelligent family is write on by manufacturer
Occupy the information in the memory of equipment;Can also be the information of manufacturer configuration beyond the clouds in server, gateway device exists
Get after the intelligent home device, the category of above-mentioned intelligent home device can be obtained from the server of manufacturer's operation
Property table, and then command code is determined according to the corresponding relation of object run mark and command code in attribute list.
For example, being intelligent air condition with intelligent home device, facility information is unit type information " 9190002274 ", gateway
Equipment is obtained from the memory of the intelligent air condition exemplified by attribute list, is introduced gateway device and is searched object run according to facility information
Identify a kind of possible implementation of corresponding command code.Table one is referred to, table one shows a kind of attribute of intelligent air condition
Table.
Table one
, wherein it is desired to the explanation, " behaviour that gateway device can be directly in the attribute list of above-mentioned intelligent home device
It is described information ", to determine that object run identifies corresponding command code.Specifically operation can be gateway device, first in operation
Object run mark is matched in description information, after object run mark is matched, by the corresponding operation of the operation description information
Code is defined as object run and identifies corresponding command code.When command code has parameter value, while determining corresponding parameter (i.e.
Data shown in the row of " operand value " one).
For example, device id is " open-c " for the object run mark of the intelligent air condition of " 0001 ", gateway device is according to " behaviour
Be described information " in keyword " open-c " object run identified match the second row data in table one, that is, find
The corresponding command code of object run mark " open-c " is " 01-02 ", and operand value is " 26 ".
Alternatively, " the operation description information " in table one can alternatively be realized by " object run mark ".In this situation
In, gateway device directly determines corresponding command code according to object run mark, when command code has parameter value, determines simultaneously
Corresponding parameter.
Step 303, corresponding control instruction is generated according to facility information and command code, the control instruction is used for indicating intelligent
Home equipment performs the object run;
Be stored with database in gateway device, and the database can be stored in the hard drive space of gateway device.Gateway is set
It is standby can be by facility information and op-code storage in the database.Alternatively, intelligent home device be can not Direct Recognition mesh
Operation mark is marked, intelligent home device performs corresponding operation by recognizing specific control instruction.For example, intelligent electric lamp
Operation of turning on light object run mark be " open ", control instruction is made up of command code " 01 " and device id.If the intelligence electricity
, can be because None- identified be without performing the operation turned on light, intelligent electric lamp when lamp directly receives object run mark " open "
It can only be lighted (operation of turning on light) when receiving control instruction (including device id " 0002 " and command code " 01 ").
Therefore, gateway device is specified in order to control intelligent home device to perform operation or enter the work specified
State is, it is necessary to obtain the attribute list of each intelligent home device in intelligent control scene.Wherein, gateway device can be in intelligence
During home equipment binding (or access) gateway device, or when setting up intelligent control scene, obtain the category of the intelligent home device
Property table.And the equipment that the attribute list is provided, can be the intelligent home device, control terminal, server or gateway device.
Such as, when the storage chip of the intelligent home device is stored with the attribute list of itself, gateway device can be from this
The attribute list is obtained in intelligent home device;When the category that the intelligent home device is preserved in control terminal and/or gateway device
During property table, gateway device obtains the table of manicuring from control terminal or the database of itself;When the intelligent home device, control
When not storing the attribute list in terminal and gateway device, the attribute list can be stored in server, gateway device can root
The attribute list is obtained from server according to the facility information of the intelligent home device.
The attribute list can be stored in database by gateway device after the attribute list is obtained.Needing to generate the intelligence
During the control instruction of energy home equipment, gateway device is according to facility information in the corresponding attribute list of database lookup.Wherein, the category
Being stored with that the intelligent home device is all in property table being capable of the corresponding command code of controlled object run and operand value, quantity
At least one.For example, schematically showing a kind of attribute list of the intelligent home device stored in gateway device in table two.
It should be noted that the information shown in table two is not to contained interior in the attribute list of the intelligent home device of the embodiment of the present invention
Hold to constitute and limit.
Alternatively, the data of " operand value " are classified as optional data, and the operand value is used for the ginseng for indicating the object run
Number, such as object run is that intelligent air condition is opened into refrigeration mode, and the operation has parameter value 24, and implication is the mesh of intelligent air condition
Mark regulation temperature value is 24 DEG C.
Table two
Alternatively, database can also be set in the server, and substituting gateway device by server performs step 302.When
When generating corresponding control instruction according to facility information and command code in server, gateway device sends facility information to server
And command code, the control instruction of the reception server feedback, the control instruction is that server feeds back according to facility information and command code
's.
Control instruction is indicated for the information of the corresponding operation of intelligent home device performance objective operation mark, for example,
Producer A intelligent air condition is the device id " 0001 " comprising the intelligent air condition, the behaviour for indicating closing only in the control instruction of reception
When making the control instruction of code " 00-00 " and corresponding operand value " 00 ", it can just close.In no above-mentioned control instruction of detection
When, the intelligent air condition will not make shutoff operation.
Alternatively, control instruction can include:For opening the open command of intelligent home device, for closing intelligent family
Occupy the closing information of equipment, for indicating intelligent home equipment by the state adjust instruction of assigned work parameter continuous firing or
Driving instruction of assigned operation etc. is completed for indicating intelligent home equipment.
Step 304, when meeting the trigger condition of intelligent control scene, control instruction is sent to intelligent home device.
In embodiments of the present invention, the trigger condition of intelligent control scene can include the operation of user, smart home and set
Standby state change or temporal information.Gateway device is expired in the trigger condition for detecting its intelligent control scene managed
When sufficient, control instruction is sent to the intelligent home device for performing the object run under the intelligent control scene.Wherein, control
The device id of corresponding intelligent home device is carried in instruction, to ensure that the smart home successfully receives control instruction.
In summary, the control method for the intelligent home device that the present embodiment is provided, by obtaining intelligent home device
Facility information and object run mark, object run is identified to be needed to hold for indicating intelligent home equipment under intelligent control scene
Capable object run, searches object run according to facility information and identifies corresponding command code, given birth to according to facility information and command code
Into corresponding control instruction, when meeting the trigger condition of the intelligent control scene, control instruction is sent to intelligent home device;
Solve when performing intelligent control scene, intelligent home device can not because of the control instruction that wrong identification gateway device is sent
It is normal to perform the problem of correctly operating;Gateway device is made to obtain the facility information of intelligent home device and object run mark
Afterwards, it becomes possible to automatically generate the control instruction for the operation that the intelligent home device can be recognized, it is ensured that intelligent control scene is just
Often operation.
In an optional embodiment, on the basis of it can smoothly control intelligent control scene, in order to improve the intelligence
Response speed during scenario triggered can be controlled.The embodiment of the present invention additionally provides a kind of control method of intelligent home device, such as
Shown in Fig. 4, Fig. 4 provide another intelligent home device control method, this method on the basis of embodiment illustrated in fig. 3,
Step 301 can be substituted and be implemented as step 301a, step 303a be performed after step 302 and step 303 is completed, by step
304 are alternatively implemented as step 304a.
Step 301a, obtains in the scene information of intelligent control scene, the intelligent control scene information and includes at least one
The facility information of intelligent home device and object run mark;
Due to usually managing at least one intelligent control scene in a gateway device, gateway device is for normal management
(control) the intelligent control scene is, it is necessary to obtain the scene information of the intelligent control scene.Wherein, comprising extremely in the scene information
The facility information and object run mark of a few intelligent home device.For example, an intelligent control scene is clicked in user
During switch in control terminal, control intelligent electric lamp is lighted.Then in the scene information of the intelligent control scene, the intelligence is included
Can electric light facility information and for indicate the intelligent electric lamp lighting operation object run mark.
Alternatively, the scene information of the intelligent control scene can be generated when creating.Schematically, intelligent control
Scape can be provided by intelligent control scene information table.As shown in Table 3, each intelligent control scene possesses because of function difference
The number of intelligent home device is also differed.For example, 2 pairs of intelligent control scene should have 3 intelligent home devices, gateway device exists
When obtaining intelligent control scene 2, the facility information and object run that obtain above-mentioned 3 intelligent home devices are identified.It is optional
Ground, when the corresponding operation of object run mark has operand value, gateway device will obtain the operand value simultaneously.Example
Such as, gateway device will obtain the object run simultaneously when the object run in obtaining intelligent control scene 2 identifies " Open-C "
The operand value " 26 " of mark.
Table three
Alternatively, gateway device is in order to determine when intelligent control scene triggers, in addition it is also necessary to it is determined that intelligence control
Scene type processed.Now, also include in the scene information of intelligent control scene:Scene type.
Wherein, the scene type of each intelligent control scene can be determined when setting up by user.In the embodiment of the present invention
In, the scene type of intelligent control scene can be click on formula scene, conditional scene or timed scenario.For example, table four is schematic
Ground shows the correspondence pass of scene type, scene ID and the scene title for the intelligent control scene set up in a kind of gateway device
System.
Table four
Scene ID | Scene type | Scene title |
1 | Click type scene | Air conditioner refrigerating scene |
2 | Click type scene | Bedroom rest scene |
3 | Conditional scene | Sensing windowing scene |
4 | Conditional scene | Sense scene of turning on light |
5 | Timed scenario | Preengage hot water scene |
Alternatively, when intelligent control scene is conditional scene or timed scenario, gateway device also needs to judge above-mentioned two
When kind scene, which triggers, can normally control the triggering of intelligent scene.Therefore, when gateway device reads an intelligent control
When scene is timed scenario or conditional scene, gateway device will further obtain the time conditions information of timed scenario,
Or obtain the scene condition information of conditional scene.For example, table five schematically shows a kind of content of scene condition information, table
Six schematically show a kind of content of time conditions information.
Table five
Scene ID | Status indicator | Status values | Trigger device id | Command code | Operand value |
3 | 02 | 26 | 0001 | 01-01 | 26 |
4 | 01 | / | 0004 | C00 | / |
In table five, scene 3 and scene 4 are specified at one of the triggering a specified equipment (intelligent home device) respectively
It is triggered during state.For example, the triggering equipment that it is 0001 in ID that scene 3, which is, is 02 in status indicator, and status values are when being 26
Triggering.And trigger equipment and be generally only capable of providing command code to gateway device.Therefore, gateway device is receiving corresponding command code
When " 01-01 " and operand value " 26 ", it is believed that it is 02 that the triggering equipment, which is in status indicator, and status values are 26 state
In.
Table six
Cyclical patterns | Scene ID | Date | Week | Hour | Minute |
Do not circulate | 5 | 12 days | / | When 15 | 25 points |
Daily circulation | 6 | / | / | When 9 | 30 points |
Circulate weekly | 7 | / | Wednesday | When 17 | 30 points |
Monthly circulate | 8 | 15 days | / | When 18 | 0 point |
There is provided have time conditions information of the scene 5 to 8 four timed scenarios of scene in table six.Gateway device is being read
During time conditions information, " cyclical patterns " one column can be first read, " date " is read according to the different reselections of " cyclical patterns "
And/or " week ", the information in " hour " and " minute " is finally read, during predetermined execution to determine timed scenario
Between.
Such as, in the timed scenario of " not circulating ", gateway device can only read " date " information, in conjunction with " hour "
" minute " information determines the predetermined execution time.Alternatively, can be by the timeline of the scene after execution completes the timed scenario
Number of packages is deleted according to row, so as to avoid the timed scenario from being performed by mistakenly circulation.
For another example, when cyclical patterns is daily circulation, substantial gateway device need not know " date " and " week " number
Value, it is only necessary to obtain the information of " hour " and " minute ".Similarly, when cyclical patterns for when circulating weekly, gateway device is only
The information in " week ", " hour " and " minute " need to be known;When cyclical patterns for when monthly circulating, gateway device only needs to know
The information on " date ", " hour " and " minute ".
Step 302, object run is searched according to facility information and identifies corresponding command code.
Step 303, corresponding control instruction is generated according to facility information and command code, the control instruction is used for indicating intelligent
Home equipment performs the object run;
The implementation procedure of step 302 and step 303 can be found in the description in the embodiment shown in above-mentioned Fig. 3, herein no longer
Repeat.
Step 303a, the corresponding control instruction of at least one intelligent home device is stored;
Gateway device is after the control instruction that intelligent home device can be recognized is generated, in order to be able to control smart home to set
Standby quick perform is operated accordingly, and gateway device can be deposited the corresponding control instruction of at least one intelligent home device
Storage.
Alternatively, the control instruction can be stored in database, and database can both be located in server, can also
In gateway device.
Alternatively, distinguished by the species of storage medium, the control instruction can both be stored in non-volatile memory medium
In (hard disk of such as gateway device), can also be stored in volatile storage medium (internal memory of such as gateway device).When the storage
When instruction is stored in the internal memory of gateway device, the intelligent control scene upon execution, can be with faster speed directly from interior
Middle reading is deposited, the speed for performing intelligent control scene is improved.
Step 304a, when meeting the trigger condition of intelligent control scene, correspondence is sent to by the control instruction stored
Intelligent home device.
In scheme provided in an embodiment of the present invention, gateway device, will when meeting the trigger condition of intelligent control scene
The each control instruction stored is sent to corresponding intelligent home device.For example, 1 couple of intelligent control scene Scene should have intelligence
Energy home equipment 311, intelligent home device 312 and intelligent home device 313 have three intelligent home devices, each intelligence man altogether
Occupy equipment execution control instruction be respectively (311,01-01,24), (312,01) and (313, a).Gateway device is it is determined that intelligence
When control scene Scene 1 meets trigger condition, by the control instruction stored (311,01-01,24), (312,01) and
(313, a), intelligent home device 311, intelligent home device 312 and intelligent home device 313 are sent respectively to, so as to above-mentioned three
Individual intelligent home device is quick to perform corresponding operation after corresponding control instruction is received.
In summary, the control method of intelligent home device provided in an embodiment of the present invention, by obtaining intelligent control
Facility information and object run mark in the scene information of scape, search object run according to facility information and identify corresponding operation
Code, according to facility information and command code, generates corresponding control instruction, and the corresponding control of at least one intelligent home device is referred to
Make and being stored, when meeting the trigger condition of intelligent control scene, each control instruction stored is sent to corresponding
Intelligent home device so that intelligent control scene need not generate the control of the intelligent home device in the scene temporarily in triggering
Instruction, the control instruction for making gateway device will to previously generate and store is sent directly in corresponding intelligent home device,
The response speed of intelligent control scene is improved, the response effect of the intelligent control scene high to delay requirement is improved.
In addition, the control instruction for the intelligent home device that gateway device is generated is stored in internal memory, can save is used for
The time of control instruction is generated, the response speed of intelligent home device is largely improved.And the intelligence for generating gateway device
The control instruction of home equipment is stored in hard drive space, can take into account simultaneously faster intelligent control scene response speed and
The EMS memory occupation of less gateway device, while making the gateway device to have faster response speed, also possesses and more fills
The memory headroom of foot, so that gateway device can handle other events of the intelligent domestic system simultaneously.
Further, can be with most fast speed to intelligence in order to make gateway device in any time of working condition
Energy home equipment sends control instruction, and gateway device needs the corresponding control instruction of caching intelligent control scene information.The present invention
Embodiment will introduce above-mentioned cache control instruction respectively according to the two states of gateway device (open state and running status)
Process.Wherein, the open state refers to after gateway device start, and the shape of the scene information of intelligent control scene is not present in internal memory
State;When the running status refers to gateway device in normal operation, the intelligent control scene information that acquiescence is created is preserved in internal memory
State.
On the one hand, the scene information on intelligent control scene is not present in gateway device in open state, in internal memory.This
When, in order to obtain the intelligent control scene information that acquiescence is created as early as possible.Gateway device needs to perform start caching flow, should
Details are as follows for flow.
As shown in Figure 5A, Fig. 5 A provide a kind of flow of the method for gateway device start caching intelligent control scene information
Figure.This method includes:
Step 401, gateway device reads next intelligent control not read from intelligent control scene information list
The information of scape, has the intelligent control scene information that acquiescence is created in the list;
Wherein, if each intelligent control scene in intelligent control scene information list is read completion, step is performed
After rapid 401, the flow terminates.Acquiescence create intelligent control scene be gateway device before start, be created completion
Intelligent control scene, the acquiescence create intelligent control scene can be user's configured in advance or gateway device
Production firm configured in advance.
Alternatively, the list of intelligent control scene information can be stored in database, can also be stored in gateway device
In internal memory.
Step 402, gateway device judges whether current intelligent control scene information is buffered;
When current intelligent control scene information is without caching, step 403 is performed to step 406.
Current intelligent control scene information it is buffered when, perform return to step 401.
Step 403, gateway device obtains the facility information and object run mark of the intelligent control scene;
Step 404, gateway device searches object run according to facility information and identifies corresponding command code;
Step 405, gateway device generates corresponding control and referred to according to the facility information and command code of the intelligent control scene
Order.
Step 406, gateway device is stored to the corresponding control instruction of intelligent home device of the intelligent control scene.
The executive mode of step 403 to step 406 can be found in holding for step 301, step 302, step 303 and step 303a
Line mode, herein not reinflated narration.
Step 405 is performed after completion, and gateway device, which is returned, performs step 401.
In summary, the control method of intelligent home device provided in an embodiment of the present invention, by gateway device from intelligence
Control in scene information list, the information for the intelligent control scene not read is read one by one, obtain the intelligent control without caching
Facility information and object run mark in scene information, search object run according to facility information and identify corresponding command code,
The facility information and the corresponding control instruction of command code are generated, and the control instruction is cached.Realize in gateway device start
Afterwards, quickly generate and cache the effect for the corresponding control instruction of intelligent control scene information that acquiescence is created so that gateway device
The intelligent control scene that can be created after powering for acquiescence provides the service of quick response, shortens gateway device quick response
The time of intelligent control scene.
On the other hand, in the running of gateway device, intelligent control scene may change.For example, user couple
Existing intelligent control scene enters edlin, and the mode of editor has:Newly-built intelligent control scene and the existing intelligent control of modification
Scene.In addition, user can also delete existing intelligent control scene.In order to cache the intelligent control scene letter after editor in time
Corresponding control instruction is ceased, gateway device performs operation caching flow, and details are as follows for the flow.
As shown in Figure 5 B, Fig. 5 B provide the stream of a kind of method of caching intelligent control scene information when gateway device is run
Cheng Tu.This method includes:
Step 501, gateway device receives the scene information of the intelligent control scene after editor.
Alternatively, the scene information of the intelligent control scene after editor is sent to gateway device by control terminal.
Step 502, gateway device determines the type of the scene included in the scene information.
In embodiments of the present invention, the scene information of the intelligent control scene after the editor includes:Newly-built intelligent control
The scene information of scene, and/or, the information of amended intelligent control scene.
Alternatively, the scene information of intelligent control scene after editor only includes the scene of newly-built intelligent control scene
During information, step 503 is performed.
Alternatively, the scene information of intelligent control scene after editor only includes the letter of amended intelligent control scene
During breath, step 504 is performed.
Alternatively, the scene information of intelligent control scene after editor includes the field of newly-built intelligent control scene simultaneously
During the information of scape information and amended intelligent control scene, step 503 is first carried out, then perform step 504.
Alternatively, when in scene information being deletion information, gateway device performs step 505.
Step 503, the facility information and object run mark in newly-built intelligent control scene are obtained, according to facility information
Search object run and identify corresponding command code, cache the control instruction generated according to the facility information and command code.
Due to during gateway device is run, the newly-built intelligent control scene of user.Therefore, gateway device needs to read and is somebody's turn to do
The scene information of intelligent control scene, generates corresponding control instruction.Wherein, the similar start of flow for generating the control instruction is slow
The flow deposited.
Gateway device by read the intelligent control scene in facility information (i.e. the scenario triggered when want performance objective operation
Intelligent home device information) and object run mark.Then, object run is searched according to facility information and identifies corresponding behaviour
Make code, further according to the said equipment information and command code, it is necessary to the object run that intelligent home device is performed during generation scenario triggered
Control instruction.Then, the control instruction of generation is buffered in internal memory or hard drive space (database).
Step 504, the facility information and object run mark in amended intelligent control scene are obtained, is believed according to equipment
Breath searches object run and identifies corresponding command code, caches the control instruction generated according to the facility information and command code, with for
Repair change before the intelligent control scene control instruction.
Because amended intelligent control scene is changed, therefore need setting according to amended intelligent control scene
Standby information searching object run identifies corresponding command code, and corresponding control is regenerated further according to the facility information and command code
Instruction.And while the newly-generated control instruction is cached, delete the control instruction of the intelligent control scene before modification.
Step 505, when gateway device is received for indicating to delete the deletion information of the intelligent control scene cached,
The mark of intelligent control scene in the deletion information deletes the scene information of the intelligent control scene.
In embodiments of the present invention, in order to which the memory space for reducing gateway device to the full extent takes.In gateway device
Receive after deletion information, by the mark of the intelligent control scene read in deletion information, find the intelligent control scene
Relevant information, the relevant information on the intelligent control scene is deleted.Wherein, the relevant information of the intelligent control scene
In at least include the corresponding control instruction of intelligent control scene.
In summary, a kind of control method of intelligent home device provided in an embodiment of the present invention, is connect by gateway device
Incorporate the newly-built intelligence control of the scene information of the intelligent control scene after the scene information of the intelligent control scene after collecting, the editor into own forces
The information of the scene information of scene processed and/or amended intelligent control scene, gateway device obtains the intelligent control after editor
Facility information and object run mark in the scene information of scene, search object run according to facility information and identify corresponding behaviour
Make code, corresponding control instruction is generated according to the facility information and command code, and cache the control instruction, realize after editor
The corresponding control instruction of intelligent control scene, the effect of operating gateway device is cached in real time, it is ensured that gateway device
The intelligent control scene of management being capable of quick response at any time.
In addition, the embodiment of the present invention is obtained by gateway device deletes information, the intelligence cached according to deletion information deletion
Scene can be controlled, non-essential memory space is released in time and is taken, the memory space utilization ratio of gateway device is improved.
In addition, the execution method of the intelligent home device provided according to embodiments of the present invention, according to intelligent control scene
Type is different and different.Wherein, intelligent control scene includes but is not limited to click type scene, timed scenario and conditional scene.
Fig. 6 A are referred to, it illustrates the flow chart of a kind of execution method during click type scenario triggered.This method includes:
Step 601, control terminal receives the clicking operation of user.
In embodiments of the present invention, trigger and be usually provided with a click type scene, control terminal for the ease of user
One control interface.In the control interface, a touch key-press can be set, control terminal receives user's by the button
Clicking operation.
Step 602, control terminal generation triggering information.
After the clicking operation of user is received, control terminal is raw according to clicking operation of the user to above-mentioned touch key-press
Into corresponding triggering information.
Alternatively, in the triggering information the scene ID that can include the click type scene and triggering is identified.
Step 603, control terminal sends the triggering information to gateway device.
Accordingly, gateway device receives the triggering information.
Step 604, when the triggering information meets the trigger condition of the click type scene, gateway device obtains the click type
The corresponding control instruction of scene.
In embodiments of the present invention, gateway device reads the triggering information received from control terminal.When triggering letter
When contained information meets the trigger condition of the click type scene in breath, gateway device will be obtained from database or from internal memory
Take the corresponding control instruction of the scene.
Alternatively, the triggering information meets the trigger condition of click type scene, can trigger the point contained in information
The triggering mark of formula scene is hit, it is identical with the triggering mark for the click type scene that gateway device is cached.
Step 605, the control instruction is sent to corresponding intelligent home device by gateway device.
Correspondingly, the corresponding intelligent home device of the control instruction receives the control instruction.Wherein, the corresponding intelligent family
The quantity for occupying equipment be one or more than one.
Step 606, intelligent home device is operated according to corresponding control instruction performance objective.
Wherein, due at least one corresponding intelligent home device of a click type scene.Therefore, in the intelligent control scene
During one intelligent home device of correspondence, gateway device sends the control instruction of the intelligent home device.
Alternatively, the sending method can be broadcast transmission mode.
Alternatively, device id and command code comprising the intelligent home device in the control instruction.Therefore, the smart home
Equipment can identify the control instruction, and perform the corresponding object run of command code.
The process of intelligent home device performance objective operation corresponding with intelligent control scene is similar.In the intelligent control
During scene at least two intelligent home device of correspondence, gateway device distinguishes the corresponding control instruction of each intelligent home device
Send.Corresponding intelligent home device identification belongs to the control instruction of itself, and is performed according to the command code in the control instruction
Corresponding object run.
In summary, during click type scenario triggered in the control method of intelligent home device provided in an embodiment of the present invention
Execution method, receive the clicking operation of user by control terminal, generation triggering information sends triggering letter to gateway device
Breath;Gateway device receives the triggering information, when the triggering information meets the trigger condition of the click type scene, obtains the click
The corresponding control instruction of formula scene, corresponding intelligent home device is sent to by the control instruction;Corresponding intelligent home device
The control instruction is received, is operated according to corresponding control instruction performance objective.Because control instruction is previously generated and is cached,
Therefore when click type scene is triggered, the control instruction can be sent in corresponding intelligent home device by gateway device,
The time for generating the control instruction is eliminated, the response speed of click type scene is improved.
Fig. 6 B are referred to, it illustrates the flow chart of execution method during a kind of triggering of timed scenario.This method includes:
Step 701, gateway device obtains current temporal information.
Alternatively, current temporal information can be the system time in gateway device.
Alternatively, current temporal information can also be the high in the clouds time that server is provided, and the high in the clouds time can be by state
The time service center in family or area is provided, such as National Time Service Center, Chinese Academy of Sciences.
Step 702, current temporal information with timed scenario it is default execution temporal information it is identical when, gateway device
Obtain the corresponding control instruction of the timed scenario.
In embodiments of the present invention, gateway device will compare current temporal information and default time in the timed scenario
Information, when above-mentioned two temporal information is identical, gateway device is by the database stored from hard drive space, or from internal memory
Obtain the corresponding control instruction of the timed scenario.
Step 703, the control instruction is sent to corresponding intelligent home device by gateway device.
Accordingly, the corresponding intelligent home device of the control instruction receives the control instruction that gateway device is sent.
Step 704, intelligent home device is operated according to corresponding control instruction performance objective.
The executive mode of step 704 is identical with the executive mode of step 606, and details can be found in the implementation procedure of step 606,
Here is omitted.
In summary, the timed scenario triggering in a kind of control method of intelligent home device provided in an embodiment of the present invention
When execution method, current temporal information is obtained by gateway device, in current temporal information and timed scenario preset
Execution temporal information it is identical when, obtain the corresponding control instruction of the timed scenario, the control instruction be sent to corresponding intelligence
Can home equipment;The corresponding intelligent home device of the control instruction receives the control instruction that gateway device is sent, according to corresponding
Control instruction performance objective is operated.Because the corresponding control instruction of the timed scenario is previously generated and is cached, thus when
Between when reaching the time that the timed scenario is pre-set, the timed scenario can be responded on time, reached raising timed scenario and
When the effect that responds.
Fig. 6 C are referred to, it illustrates the flow chart of execution method during a kind of triggering of conditional scene.This method includes:
Step 801, when the state for triggering equipment changes, triggering equipment is obtained for representing the equipment shape after change
The command code of state.
In embodiments of the present invention, triggering two kinds of smart homes of equipment and response apparatus are at least included in trigger condition scene
Equipment.When triggering equipment variations are to predetermined equipment state, or perform after predetermined operation, triggering equipment obtains itself use
In the command code for representing the equipment state after change.
Alternatively, for the equipment state after the change with parameter value, triggering equipment can also obtain command code pair simultaneously
The operand value answered.
Step 802, command code is sent to gateway device by triggering equipment.
Alternatively, when the command code is to that should have operand value, the operand value is sent to gateway by triggering equipment simultaneously
Equipment.
Accordingly, gateway device will receive the command code that triggering equipment is sent.Alternatively, when the command code has operand
During value, gateway device will receive the operand value simultaneously.
Step 803, when the command code meets the trigger condition for the conditional scene specified, gateway device obtains the condition
The corresponding control instruction of scape.
Alternatively, when the command code is to that should have operand value, gateway device is in the command code and corresponding operand value
When meeting the conditional scene specified simultaneously, the corresponding control instruction of the conditional scene is obtained.
In embodiments of the present invention, gateway device can obtain above-mentioned control instruction from internal memory, can also be empty from hard disk
Between above-mentioned control instruction is obtained in (database).
Step 804, the control instruction is sent to corresponding intelligent home device by gateway device.
Accordingly, the corresponding intelligent home device of the control instruction receives the control instruction that gateway device is sent.
Step 805, intelligent home device is operated according to corresponding control instruction performance objective.
The executive mode of step 805 is identical with the executive mode of step 606, and details can be found in the implementation procedure of step 606,
Here is omitted.
In summary, the conditional scene triggering in a kind of control method of intelligent home device provided in an embodiment of the present invention
When execution method, by trigger equipment state change when, triggering equipment obtain for represent change after equipment
The command code of state, gateway device is sent to by command code;Gateway device will receive the command code that triggering equipment is sent, in the behaviour
When making the trigger condition for the conditional scene that code symbol conjunction is specified, the corresponding control instruction of the conditional scene is obtained, by the control instruction
It is sent to corresponding intelligent home device;The control that the corresponding intelligent home device of the control instruction receives gateway device transmission refers to
Order, is operated according to corresponding control instruction performance objective, due to the control of the intelligent home device for indicating the conditional scene
Instruction is to realize generation, and therefore, the embodiment of the present invention shortens the response time of intelligent control scene.
Fig. 7 is the block diagram of the control device for the intelligent home device that one embodiment of the invention is provided, the intelligence
The control device of home equipment is to apply in the gateway device 160 shown in Fig. 1 for example, as shown in fig. 7, the smart home
The control device of equipment can include:First acquisition module 910, searching modul 920, generation module 930 and sending module 940.
First acquisition module 910, facility information and object run mark for obtaining intelligent home device, object run
Identify needs the object run of execution for indicating intelligent home equipment under intelligent control scene.
Searching modul 920, identifies corresponding command code for searching object run according to facility information, there is at least two
It is different that the intelligent home device of same type identifies corresponding command code from object run.
Generation module 930, for generating control instruction according to facility information and command code, control instruction is used for indicating intelligent
Home equipment performance objective is operated.
Sending module 940, for when meeting the trigger condition of intelligent control scene, sending and controlling to intelligent home device
Instruction.
In summary, the control device for the intelligent home device that the present embodiment is provided, by obtaining intelligent home device
Facility information and object run mark, object run is identified to be needed to hold for indicating intelligent home equipment under intelligent control scene
Capable object run, searches object run according to facility information and identifies corresponding command code, given birth to according to facility information and command code
Into corresponding control instruction, when meeting the trigger condition of the intelligent control scene, control instruction is sent to intelligent home device;
Solve when performing intelligent control scene, intelligent home device can not because of the control instruction that wrong identification gateway device is sent
It is normal to perform the problem of correctly operating;Gateway device is made to obtain the facility information of intelligent home device and object run mark
Afterwards, it becomes possible to automatically generate the control instruction for the operation that the intelligent home device can be recognized, it is ensured that intelligent control scene is just
Often operation.
Fig. 8 is the block diagram of the control device for the intelligent home device that one embodiment of the invention is provided, the intelligence
The control device of home equipment is to apply in the gateway device 160 shown in Fig. 1 for example, as shown in figure 8, the smart home
The control device of equipment can include:First acquisition module 1010, searching modul 1020, generation module 1030 and sending module
1040。
First acquisition module 1010, facility information and object run mark for obtaining intelligent home device, target behaviour
Make a check mark needs the object run of execution for indicating intelligent home equipment under intelligent control scene.
Searching modul 1020, identifies corresponding command code for searching object run according to facility information, there is at least two
It is different that the intelligent home device of individual same type identifies corresponding command code from object run.
Generation module 1030, for generating control instruction according to facility information and command code, control instruction is used to indicate intelligence
Can the operation of home equipment performance objective.
Sending module 1040, for when meeting the trigger condition of intelligent control scene, sending and controlling to intelligent home device
System instruction.
Alternatively, searching modul 1020, including:Acquiring unit 1021 and searching unit 1022.
Acquiring unit 1021, for the attribute list according to apparatus information acquiring intelligent home device, mesh is included in attribute list
Mark the corresponding relation of operation mark and command code;
Searching unit 1022, corresponding command code is identified for according to corresponding relation, searching object run.
Alternatively, the control device of the intelligent home device, in addition to:Memory module 1050.
Memory module 1050, for control store instruction.
Sending module 1040, including:First transmitting element 1041.
First transmitting element 1041, for when meeting the trigger condition of intelligent control scene, the control stored to be referred to
Order is sent to corresponding intelligent home device.
Alternatively, the control device of the intelligent home device, in addition to:Second acquisition module 1060.
Second acquisition module 1060, the operand value for obtaining intelligent home device, operand value is used to aid in determining
The corresponding control instruction of object run with parameter value;
Generation module 1030, including:Generation unit 1031.
Generation unit 1031, for generating corresponding control instruction according to facility information, command code and operand value.
Alternatively, the first acquisition module 1010, including:Acquiring unit 1011.
Acquiring unit 1011, the scene information for obtaining intelligent control scene, scene information includes at least one intelligence
The facility information of home equipment and object run mark.
Acquiring unit 1011, is additionally operable to obtain the scene information for the intelligent control scene that acquiescence is created;
And/or,
Obtain the scene information bag of the intelligent control scene after the scene information of the intelligent control scene after editor, editor
Include:The scene information of newly-built intelligent control scene, and/or, the information of amended intelligent control scene.
Alternatively, intelligent control scene is click on formula scene or conditional scene, click type scene be control terminal by
The intelligent control scene triggered during the assigned operation of user, conditional scene is to meet specified requirements in other intelligent home devices
When the intelligent control scene that triggers, the control device of the intelligent home device, in addition to:Receiving module 1070.
Receiving module 1070, for receiving triggering information.
Sending module 1040, including:Second transmitting element 1042 and the 3rd transmitting element 1043.
Second transmitting element 1042, for when triggering information meets the trigger condition of intelligent control scene, will click on formula
The corresponding control instruction of scene is sent to the intelligent home device in click type scene;
3rd transmitting element 1043, for when triggering information meets the trigger condition of intelligent control scene, by condition
The corresponding control instruction of scape is sent to the intelligent home device in conditional scene.
Alternatively, intelligent control scene is timed scenario, the control device of the intelligent home device, including:3rd obtains
Module 1080.
3rd acquisition module 1080, for obtaining temporal information;
Sending module 1040, including:4th transmitting element 1044.
4th transmitting element 1044, for when temporal information with the default execution time is identical in timed scenario when, will be fixed
When the corresponding control instruction of scene be sent to intelligent home device in timed scenario.
In summary, the control device for the intelligent home device that the present embodiment is provided, by obtaining intelligent home device
Facility information and object run mark, object run is identified to be needed to hold for indicating intelligent home equipment under intelligent control scene
Capable object run, searches object run according to facility information and identifies corresponding command code, given birth to according to facility information and command code
Into corresponding control instruction, when meeting the trigger condition of the intelligent control scene, control instruction is sent to intelligent home device;
Solve when performing intelligent control scene, intelligent home device can not because of the control instruction that wrong identification gateway device is sent
It is normal to perform the problem of correctly operating;Gateway device is made to obtain the facility information of intelligent home device and object run mark
Afterwards, it becomes possible to automatically generate the control instruction for the operation that the intelligent home device can be recognized, it is ensured that intelligent control scene is just
Often operation.
It is stored in internal memory, can be saved for giving birth to by the control instruction for the intelligent home device for generating gateway device
Into the time of control instruction, the response speed of intelligent home device is largely improved.And the intelligent family for generating gateway device
The control instruction for occupying equipment is stored in hard drive space, can take into account simultaneously faster intelligent control scene response speed and compared with
The EMS memory occupation of few gateway device, while making the gateway device to have faster response speed, also possesses more sufficient
Memory headroom, so that gateway device can handle other events of the intelligent domestic system simultaneously.
Obtained by gateway device and delete information, according to the intelligent control scene that information deletion has been cached is deleted, released in time
Put non-essential memory space to take, improve the memory space utilization ratio of gateway device.
It should be noted that:The control device of the intelligent home device provided in above-described embodiment is set in control smart home
, can be as needed and by above-mentioned functions only with the division progress of above-mentioned each functional module for example, in practical application when standby
Distribute and completed by different functional modules, i.e., the internal structure of terminal is divided into different functional modules, retouched with completing the above
The all or part of function of stating.In addition, the control device for the intelligent home device that above-described embodiment is provided is set with smart home
Standby control method embodiment belongs to same design, and it implements process and refers to embodiment of the method, repeats no more here.
The block diagram for the control terminal 1100 that Fig. 9 is provided it illustrates one embodiment of the invention, the control terminal can be wrapped
Include radio frequency (RF, Radio Frequency) circuit 1101, include depositing for one or more computer-readable recording mediums
Reservoir 1102, input block 1103, display unit 1104, sensor 1105, voicefrequency circuit 1106, Wireless Fidelity (WiFi,
Wireless Fidelity) module 1107, include one or processor 1108, the Yi Ji electricity of more than one processing core
The grade part of source 1109.It will be understood by those skilled in the art that the control terminal structure shown in Fig. 9 is not constituted to control terminal
Restriction, can include than illustrating more or less parts, either combine some parts or different parts arrangement.Its
In:
RF circuits 1101 can be used for receive and send messages or communication process in, the reception and transmission of signal, especially, by base station
After downlink information is received, transfer to one or more than one processor 1108 is handled;In addition, being sent to up data are related to
Base station.Generally, RF circuits 1101 include but is not limited to antenna, at least one amplifier, tuner, one or more oscillators,
Subscriber identity module (SIM, Subscriber Identity Module) card, transceiver, coupler, low-noise amplifier
(LNA, Low Noise Amplifier), duplexer etc..In addition, RF circuits 1101 can also by radio communication and network and
Other equipment communicates.The radio communication can use any communication standard or agreement, including but not limited to global system for mobile telecommunications
System (GSM, Global System of Mobile communication), general packet radio service (GPRS, General
Packet Radio Service), CDMA (CDMA, Code Division Multiple Access), wideband code division it is many
Location (WCDMA, Wideband Code Division Multiple Access), Long Term Evolution (LTE, Long Term
Evolution), Email, Short Message Service (SMS, Short Messaging Service) etc..
Memory 1102 can be used for storage software program and module, and processor 1108 is stored in memory by operation
1102 software program and module, so as to perform various function application and data processing.Memory 1102 can mainly include
Storing program area and storage data field, wherein, the application journey that storing program area can be needed for storage program area, at least one function
Sequence (such as sound-playing function, image player function etc.) etc.;Storage data field can be stored to be created according to using for control terminal
Data (such as voice data, phone directory etc.) built etc..In addition, memory 1102 can include high-speed random access memory,
Nonvolatile memory can also be included, for example, at least one disk memory, flush memory device or other volatile solid-states are deposited
Memory device.Correspondingly, memory 1102 can also include Memory Controller, to provide processor 1108 and input block 1103
Access to memory 1102.
Input block 1103 can be used for the numeral or character information for receiving input, and generation to be set with user and function
The relevant keyboard of control, mouse, action bars, optics or the input of trace ball signal.Specifically, in a specific embodiment
In, input block 1103 may include touch sensitive surface and other input equipments.Touch sensitive surface, also referred to as touch display screen or tactile
Control plate, collect user on or near it touch operation (such as user using any suitable object such as finger, stylus or
Operation of the annex on touch sensitive surface or near touch sensitive surface), and filled according to the corresponding connection of formula set in advance driving
Put.Optionally, touch sensitive surface may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus is examined
The touch orientation of user is surveyed, and detects the signal that touch operation is brought, touch controller is transmitted a signal to;Touch controller from
Touch information is received on touch detecting apparatus, and is converted into contact coordinate, then gives processor 1108, and can reception processing
Order that device 1108 is sent simultaneously is performed.Furthermore, it is possible to many using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Type realizes touch sensitive surface.Except touch sensitive surface, input block 1103 can also include other input equipments.Specifically, its
His input equipment can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), track
One or more in ball, mouse, action bars etc..
Display unit 1104 can be used for the information and control terminal for showing the information inputted by user or being supplied to user
Various graphical user interface, these graphical user interface can by figure, text, icon, video and its any combination come structure
Into.Display unit 1104 may include display panel, optionally, can use liquid crystal display (LCD, Liquid Crystal
Display), the form such as Organic Light Emitting Diode (OLED, Organic Light-Emitting Diode) configures display surface
Plate.Further, touch sensitive surface can cover display panel, after touch sensitive surface detects the touch operation on or near it,
Processor 1108 is sent to determine the type of touch event, with preprocessor 1108 according to the type of touch event in display surface
Corresponding visual output is provided on plate.Although in fig .9, touch sensitive surface is to come real as two independent parts with display panel
Now input and input function, but in some embodiments it is possible to by touch sensitive surface and display panel it is integrated and realize input and
Output function.
Control terminal may also include at least one sensor 1105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ring
The light and shade of environmental light adjusts the brightness of display panel, and proximity transducer can close display when control terminal is moved in one's ear
Panel and/or backlight.As one kind of motion sensor, gravity accelerometer can detect in all directions (generally three
Axle) acceleration size, size and the direction of gravity are can detect that when static, available for identification mobile phone posture application (such as
Horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;As for
The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared ray sensor that control terminal can also configure, herein not
Repeat again.
Voicefrequency circuit 1106, loudspeaker, microphone can provide the COBBAIF between user and control terminal.Voicefrequency circuit
Electric signal after the voice data received conversion can be transferred to loudspeaker, it is defeated to be converted to voice signal by loudspeaker by 1106
Go out;On the other hand, the voice signal of collection is converted to electric signal by microphone, by voicefrequency circuit 1106 receive after be converted to audio
Data, then after voice data output processor 1108 is handled, through RF circuits 1101 to be sent to such as another control terminal, or
Person exports voice data to memory 1102 so as to further processing.Voicefrequency circuit 1106 is also possible that earphone jack, with
The communication of peripheral hardware earphone and control terminal is provided.
WiFi belongs to short range wireless transmission technology, and control terminal can help user's transmitting-receiving electricity by WiFi module 1107
Sub- mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 9 shows
Go out WiFi module 1107, but it is understood that, it is simultaneously not belonging to must be configured into for control terminal, completely can be according to need
To be omitted in the essential scope for do not change invention.
Processor 1108 is the control centre of control terminal, utilizes various interfaces and each portion of connection whole mobile phone
Point, by operation or perform and be stored in software program and/or module in memory 1102, and call and be stored in memory
Data in 1102, perform the various functions and processing data of control terminal, so as to carry out integral monitoring to mobile phone.Optionally,
Processor 1108 may include one or more processing cores;It is preferred that, processor 1108 can integrated application processor and modulatedemodulate
Processor is adjusted, wherein, application processor mainly handles operating system, user interface and application program etc., modem processor
Main processing radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 1108.
Control terminal also includes the power supply 1109 (such as battery) powered to all parts, it is preferred that power supply can pass through
Power-supply management system and processor 1108 are logically contiguous, so as to realize management charging, electric discharge, Yi Jigong by power-supply management system
The functions such as consumption management.Power supply 1109 can also include one or more direct current or AC power, recharging system, power supply
The random component such as failure detector circuit, power supply changeover device or inverter, power supply status indicator.
Although not shown, control terminal can also include camera, bluetooth module etc., will not be repeated here.Specifically at this
In embodiment, the processor 1108 in control terminal can run the one or more program being stored in memory 1102
Instruction, so as to realize the control method of the intelligent home device provided in each above-mentioned embodiment of the method.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
To instruct the hardware of correlation to complete by program, the program can be stored in a computer-readable recording medium, the meter
Calculation machine readable storage medium storing program for executing can be the computer-readable recording medium included in the memory in above-described embodiment;Can also
It is individualism, without the computer-readable recording medium in supplying terminal.The computer-readable recording medium storage has one
Or more than one computer program, this or more than one computer program are by one or more than one processor
For performing the execution method of the intelligent home device shown in Fig. 2, Fig. 3 and Fig. 4.
Alternatively, the computer-readable recording medium can include:Read-only storage (ROM, Read Only Memory),
Random access memory (RAM, Random Access Memory), solid state hard disc (SSD, Solid State Drives) or light
Disk etc..Wherein, random access memory can include resistive random access memory body (ReRAM, Resistance Random
Access Memory) and dynamic random access memory (DRAM, Dynamic Random Access Memory).
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can be by hardware
To complete, the hardware of correlation can also be instructed to complete by program, described program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only storage, random access memory, solid state hard disc or CD
Deng.
The schematical embodiment of the present invention is the foregoing is only, is not intended to limit the invention, all essences in the present invention
God is with principle, and any modification, equivalent substitution and improvements made etc. should be included in the scope of the protection.
Claims (10)
1. a kind of control method of intelligent home device, it is characterised in that methods described includes:
The facility information and object run mark of intelligent home device are obtained, the object run is identified for indicating the intelligence
Home equipment needs the object run performed under intelligent control scene;
The object run is searched according to the facility information and identifies corresponding command code, there is the intelligence of at least two same types
It is different that home equipment identifies corresponding command code from the object run;
According to the facility information and command code generation control instruction, the control instruction is used to indicate the smart home
Equipment performs the object run;
When meeting the trigger condition of the intelligent control scene, the control instruction is sent to the intelligent home device.
2. according to the method described in claim 1, it is characterised in that described that the object run is searched according to the facility information
Corresponding command code is identified, including:
The object run is included in the attribute list of intelligent home device according to the apparatus information acquiring, the attribute list
The corresponding relation of mark and the command code;
According to the corresponding relation, search the object run and identify the corresponding command code.
3. method according to claim 1 or 2, it is characterised in that described according to the facility information and the operation
After code generation control instruction, methods described also includes:
Store the control instruction;
It is described when meeting the trigger condition of the intelligent control scene, to the intelligent home device send it is described control refer to
Order, including:
When meeting the trigger condition of the intelligent control scene, the control instruction stored is sent to corresponding intelligence
Home equipment.
4. method according to claim 1 or 2, it is characterised in that methods described also includes:
The operand value of the intelligent home device is obtained, the operand value is used to aid in determining that the target with parameter value is grasped
Make corresponding control instruction;
It is described that control instruction is generated according to the facility information and the command code, including:
Corresponding control instruction is generated according to the facility information, the command code and the operand value.
5. a kind of control device of intelligent home device, it is characterised in that described device includes:
First acquisition module, facility information and object run mark for obtaining intelligent home device, the object run mark
Know the object run performed for indicating the intelligent home device to be needed under intelligent control scene;
Searching modul, identifies corresponding command code for searching the object run according to the facility information, there is at least two
It is different that the intelligent home device of individual same type identifies corresponding command code from the object run;
Generation module, for generating control instruction according to the facility information and the command code, the control instruction is used to refer to
Show that the intelligent home device performs the object run;
Sending module, for when meeting the trigger condition of the intelligent control scene, institute to be sent to the intelligent home device
State control instruction.
6. device according to claim 5, it is characterised in that the searching modul, including:
Acquiring unit, for the attribute list of the intelligent home device according to the apparatus information acquiring, is wrapped in the attribute list
The corresponding relation with the command code is identified containing the object run;
Searching unit, the corresponding command code is identified for according to the corresponding relation, searching the object run.
7. the device according to claim 5 or 6, it is characterised in that described device also includes:
Memory module, for storing the control instruction;
The sending module, including:
First transmitting element, for when meeting the trigger condition of the intelligent control scene, the control stored to be referred to
Order is sent to corresponding intelligent home device.
8. the device according to claim 5 or 6, it is characterised in that described device also includes:
Second acquisition module, the operand value for obtaining the intelligent home device, the operand value is used to aid in determining
The corresponding control instruction of object run with parameter value;
The generation module, including:
Generation unit, for generating corresponding control instruction according to the facility information, the command code and the operand value.
9. a kind of control device of intelligent home device, including memory, processor and store on a memory and can handle
The computer program run on device, it is characterised in that realize following steps during computer program described in the computing device:
The facility information and object run mark of intelligent home device are obtained, the object run is identified for indicating the intelligence
Home equipment needs the object run performed under intelligent control scene;
The object run is searched according to the facility information and identifies corresponding command code, there is the intelligence of at least two same types
It is different that home equipment identifies corresponding command code from the object run;
According to the facility information and command code generation control instruction, the control instruction is used to indicate the smart home
Equipment performs the object run;
When meeting the trigger condition of the intelligent control scene, the control instruction is sent to the intelligent home device.
10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the computer program
Following steps are realized when being executed by processor:
The facility information and object run mark of intelligent home device are obtained, the object run is identified for indicating the intelligence
Home equipment needs the object run performed under intelligent control scene;
The object run is searched according to the facility information and identifies corresponding command code, there is the intelligence of at least two same types
It is different that home equipment identifies corresponding command code from the object run;
According to the facility information and command code generation control instruction, the control instruction is used to indicate the smart home
Equipment performs the object run;
When meeting the trigger condition of the intelligent control scene, the control instruction is sent to the intelligent home device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710517750.XA CN107171911A (en) | 2017-06-29 | 2017-06-29 | The control method and device of intelligent home device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710517750.XA CN107171911A (en) | 2017-06-29 | 2017-06-29 | The control method and device of intelligent home device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107171911A true CN107171911A (en) | 2017-09-15 |
Family
ID=59827161
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710517750.XA Pending CN107171911A (en) | 2017-06-29 | 2017-06-29 | The control method and device of intelligent home device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107171911A (en) |
Cited By (32)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107908115A (en) * | 2017-10-20 | 2018-04-13 | 深圳市艾特智能科技有限公司 | Intelligent home equipment control method, device, mobile terminal and storage medium |
CN108519895A (en) * | 2018-03-30 | 2018-09-11 | 四川斐讯信息技术有限公司 | A kind of control method and system of smart machine |
CN108540356A (en) * | 2018-03-30 | 2018-09-14 | 联想(北京)有限公司 | Processing method and processing equipment |
CN108759026A (en) * | 2018-06-07 | 2018-11-06 | 广州市奥因环保科技有限公司 | Intelligent air manages system |
CN109059218A (en) * | 2018-06-07 | 2018-12-21 | 广州市奥因环保科技有限公司 | Intelligent air monitors purification system and control method |
CN109361641A (en) * | 2017-12-29 | 2019-02-19 | 广州Tcl智能家居科技有限公司 | Method, storage medium and the application server of scene is added in a kind of heterogeneous terminals |
CN109407527A (en) * | 2018-09-14 | 2019-03-01 | 深圳绿米联创科技有限公司 | Realize the method and device that smart machine is recommended |
CN109445848A (en) * | 2018-11-07 | 2019-03-08 | 深圳市云威物联科技有限公司 | Equipment linkage method and device |
CN109756405A (en) * | 2019-02-28 | 2019-05-14 | 上海与德通讯技术有限公司 | Terminal control method, device, smart home system, gateway and readable medium |
CN109979449A (en) * | 2019-02-15 | 2019-07-05 | 江门市汉的电气科技有限公司 | A kind of sound control method of Intelligent lamp, device, equipment and storage medium |
CN110552904A (en) * | 2019-09-23 | 2019-12-10 | 深圳市芯锐智能有限公司 | fan lamp and system thereof |
CN110618627A (en) * | 2019-09-02 | 2019-12-27 | 深圳绿米联创科技有限公司 | Household equipment control method and device, electronic equipment and storage medium |
WO2020029694A1 (en) * | 2018-08-10 | 2020-02-13 | 伍玻 | Device control method and apparatus, and internet-of-things system |
CN111158255A (en) * | 2019-12-31 | 2020-05-15 | 杭州鸿雁电器有限公司 | Method, system and related medium for configuring intelligent device |
CN111538248A (en) * | 2020-04-26 | 2020-08-14 | 康佳集团股份有限公司 | Method and system for sharing information of intelligent household terminal |
CN111913450A (en) * | 2020-08-04 | 2020-11-10 | 青岛海信日立空调系统有限公司 | Control method of intelligent household equipment, intelligent household system and gateway thereof |
CN112469173A (en) * | 2020-12-07 | 2021-03-09 | 深圳市海洋王照明工程有限公司 | Illumination control device based on plan management |
CN113110888A (en) * | 2021-04-07 | 2021-07-13 | 海克斯康制造智能技术(青岛)有限公司 | Multi-device control system and method based on decision configuration table |
CN113132195A (en) * | 2021-04-22 | 2021-07-16 | 深圳绿米联创科技有限公司 | Control method and control gateway for smart home |
CN113341754A (en) * | 2021-06-30 | 2021-09-03 | 青岛海尔科技有限公司 | Scene configuration method, scene engine, user terminal and intelligent home system |
WO2021196585A1 (en) * | 2020-04-02 | 2021-10-07 | 深圳创维-Rgb电子有限公司 | Test method and apparatus, electronic device, and computer-readable storage medium |
CN113498594A (en) * | 2019-05-16 | 2021-10-12 | 深圳市欢太科技有限公司 | Control method and device of intelligent household system, electronic equipment and storage medium |
CN113542022A (en) * | 2021-07-06 | 2021-10-22 | 深圳市联洲国际技术有限公司 | Networking management method and device of networking system, terminal equipment and storage medium |
CN113596235A (en) * | 2021-06-30 | 2021-11-02 | 青岛海尔科技有限公司 | Operation instruction issuing method and device, storage medium and electronic device |
CN114244644A (en) * | 2021-12-16 | 2022-03-25 | 珠海格力电器股份有限公司 | Smart home control method and device, storage medium and electronic device |
CN114285685A (en) * | 2021-11-09 | 2022-04-05 | 珠海格力电器股份有限公司 | Equipment linkage control method and device, storage medium and electronic equipment |
CN114637216A (en) * | 2020-12-16 | 2022-06-17 | 深圳绿米联创科技有限公司 | Scene configuration method and device, control method and device, intelligent equipment and medium |
CN115175109A (en) * | 2022-05-30 | 2022-10-11 | 青岛海尔科技有限公司 | Method and device for sending control command, storage medium and electronic device |
CN115291531A (en) * | 2022-06-28 | 2022-11-04 | 青岛海尔科技有限公司 | Method and device for sending perception result, storage medium and electronic device |
CN115343954A (en) * | 2022-08-05 | 2022-11-15 | 达闼机器人股份有限公司 | Adaptive control method, device, equipment and storage medium |
CN115343961A (en) * | 2022-07-26 | 2022-11-15 | 珠海雷特科技股份有限公司 | Smart Home System Based on Bluetooth Mesh and Its Working Method |
CN115913806A (en) * | 2021-08-17 | 2023-04-04 | 青岛海尔科技有限公司 | Edge scene adjustment method and device, storage medium and electronic device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101848126A (en) * | 2010-04-30 | 2010-09-29 | 中山大学 | Interactive method for controlling intelligent home equipment and home network system |
CN101894452A (en) * | 2010-04-30 | 2010-11-24 | 中山大学 | A method and system for controlling smart home based on mobile communication network |
CN102938729A (en) * | 2012-10-30 | 2013-02-20 | 鸿富锦精密工业(深圳)有限公司 | Remote control method for intelligent gateway, intelligent home system and appliances |
CN105159115A (en) * | 2015-08-31 | 2015-12-16 | 小米科技有限责任公司 | Intelligent device control method and apparatus |
CN105991423A (en) * | 2015-02-27 | 2016-10-05 | 北京海尔广科数字技术有限公司 | Gateway and method for calling device through gateway |
CN106227055A (en) * | 2016-08-31 | 2016-12-14 | 海信集团有限公司 | A kind of control the method for intelligent home device, server and gateway |
-
2017
- 2017-06-29 CN CN201710517750.XA patent/CN107171911A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101848126A (en) * | 2010-04-30 | 2010-09-29 | 中山大学 | Interactive method for controlling intelligent home equipment and home network system |
CN101894452A (en) * | 2010-04-30 | 2010-11-24 | 中山大学 | A method and system for controlling smart home based on mobile communication network |
CN102938729A (en) * | 2012-10-30 | 2013-02-20 | 鸿富锦精密工业(深圳)有限公司 | Remote control method for intelligent gateway, intelligent home system and appliances |
CN105991423A (en) * | 2015-02-27 | 2016-10-05 | 北京海尔广科数字技术有限公司 | Gateway and method for calling device through gateway |
CN105159115A (en) * | 2015-08-31 | 2015-12-16 | 小米科技有限责任公司 | Intelligent device control method and apparatus |
CN106227055A (en) * | 2016-08-31 | 2016-12-14 | 海信集团有限公司 | A kind of control the method for intelligent home device, server and gateway |
Cited By (40)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107908115A (en) * | 2017-10-20 | 2018-04-13 | 深圳市艾特智能科技有限公司 | Intelligent home equipment control method, device, mobile terminal and storage medium |
CN107908115B (en) * | 2017-10-20 | 2021-05-28 | 深圳市艾特智能科技有限公司 | Intelligent household equipment control method and device, mobile terminal and storage medium |
CN109361641B (en) * | 2017-12-29 | 2022-03-11 | 深圳Tcl新技术有限公司 | Method for adding heterogeneous terminal into scene, storage medium and application server |
CN109361641A (en) * | 2017-12-29 | 2019-02-19 | 广州Tcl智能家居科技有限公司 | Method, storage medium and the application server of scene is added in a kind of heterogeneous terminals |
CN108519895A (en) * | 2018-03-30 | 2018-09-11 | 四川斐讯信息技术有限公司 | A kind of control method and system of smart machine |
CN108540356A (en) * | 2018-03-30 | 2018-09-14 | 联想(北京)有限公司 | Processing method and processing equipment |
CN108759026A (en) * | 2018-06-07 | 2018-11-06 | 广州市奥因环保科技有限公司 | Intelligent air manages system |
CN109059218A (en) * | 2018-06-07 | 2018-12-21 | 广州市奥因环保科技有限公司 | Intelligent air monitors purification system and control method |
CN108759026B (en) * | 2018-06-07 | 2020-07-03 | 广州市奥因环保科技有限公司 | Intelligent air management system |
WO2020029694A1 (en) * | 2018-08-10 | 2020-02-13 | 伍玻 | Device control method and apparatus, and internet-of-things system |
CN109407527A (en) * | 2018-09-14 | 2019-03-01 | 深圳绿米联创科技有限公司 | Realize the method and device that smart machine is recommended |
CN109445848A (en) * | 2018-11-07 | 2019-03-08 | 深圳市云威物联科技有限公司 | Equipment linkage method and device |
CN109979449A (en) * | 2019-02-15 | 2019-07-05 | 江门市汉的电气科技有限公司 | A kind of sound control method of Intelligent lamp, device, equipment and storage medium |
CN109756405A (en) * | 2019-02-28 | 2019-05-14 | 上海与德通讯技术有限公司 | Terminal control method, device, smart home system, gateway and readable medium |
CN113498594A (en) * | 2019-05-16 | 2021-10-12 | 深圳市欢太科技有限公司 | Control method and device of intelligent household system, electronic equipment and storage medium |
CN110618627A (en) * | 2019-09-02 | 2019-12-27 | 深圳绿米联创科技有限公司 | Household equipment control method and device, electronic equipment and storage medium |
CN110552904A (en) * | 2019-09-23 | 2019-12-10 | 深圳市芯锐智能有限公司 | fan lamp and system thereof |
CN111158255A (en) * | 2019-12-31 | 2020-05-15 | 杭州鸿雁电器有限公司 | Method, system and related medium for configuring intelligent device |
WO2021196585A1 (en) * | 2020-04-02 | 2021-10-07 | 深圳创维-Rgb电子有限公司 | Test method and apparatus, electronic device, and computer-readable storage medium |
CN111538248A (en) * | 2020-04-26 | 2020-08-14 | 康佳集团股份有限公司 | Method and system for sharing information of intelligent household terminal |
CN111538248B (en) * | 2020-04-26 | 2023-08-18 | 康佳集团股份有限公司 | Method and system for sharing information of intelligent home terminal |
CN111913450A (en) * | 2020-08-04 | 2020-11-10 | 青岛海信日立空调系统有限公司 | Control method of intelligent household equipment, intelligent household system and gateway thereof |
CN112469173A (en) * | 2020-12-07 | 2021-03-09 | 深圳市海洋王照明工程有限公司 | Illumination control device based on plan management |
CN112469173B (en) * | 2020-12-07 | 2023-10-20 | 深圳市海洋王照明工程有限公司 | Lighting control device based on plan management |
CN114637216A (en) * | 2020-12-16 | 2022-06-17 | 深圳绿米联创科技有限公司 | Scene configuration method and device, control method and device, intelligent equipment and medium |
CN113110888A (en) * | 2021-04-07 | 2021-07-13 | 海克斯康制造智能技术(青岛)有限公司 | Multi-device control system and method based on decision configuration table |
CN113132195A (en) * | 2021-04-22 | 2021-07-16 | 深圳绿米联创科技有限公司 | Control method and control gateway for smart home |
CN113596235A (en) * | 2021-06-30 | 2021-11-02 | 青岛海尔科技有限公司 | Operation instruction issuing method and device, storage medium and electronic device |
CN113341754A (en) * | 2021-06-30 | 2021-09-03 | 青岛海尔科技有限公司 | Scene configuration method, scene engine, user terminal and intelligent home system |
CN113542022B (en) * | 2021-07-06 | 2024-07-26 | 深圳市联洲国际技术有限公司 | Networking management method and device of networking system, terminal equipment and storage medium |
CN113542022A (en) * | 2021-07-06 | 2021-10-22 | 深圳市联洲国际技术有限公司 | Networking management method and device of networking system, terminal equipment and storage medium |
CN115913806A (en) * | 2021-08-17 | 2023-04-04 | 青岛海尔科技有限公司 | Edge scene adjustment method and device, storage medium and electronic device |
CN114285685A (en) * | 2021-11-09 | 2022-04-05 | 珠海格力电器股份有限公司 | Equipment linkage control method and device, storage medium and electronic equipment |
CN114244644A (en) * | 2021-12-16 | 2022-03-25 | 珠海格力电器股份有限公司 | Smart home control method and device, storage medium and electronic device |
CN115175109A (en) * | 2022-05-30 | 2022-10-11 | 青岛海尔科技有限公司 | Method and device for sending control command, storage medium and electronic device |
CN115175109B (en) * | 2022-05-30 | 2024-01-26 | 青岛海尔科技有限公司 | Control command sending method and device, storage medium and electronic device |
CN115291531A (en) * | 2022-06-28 | 2022-11-04 | 青岛海尔科技有限公司 | Method and device for sending perception result, storage medium and electronic device |
CN115343961A (en) * | 2022-07-26 | 2022-11-15 | 珠海雷特科技股份有限公司 | Smart Home System Based on Bluetooth Mesh and Its Working Method |
CN115343954A (en) * | 2022-08-05 | 2022-11-15 | 达闼机器人股份有限公司 | Adaptive control method, device, equipment and storage medium |
CN115343954B (en) * | 2022-08-05 | 2025-03-14 | 达闼机器人股份有限公司 | Adaptive control method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107171911A (en) | The control method and device of intelligent home device | |
CN106371324B (en) | operation interface display method and device | |
CN104462128B (en) | The method, apparatus and terminal device of multimedia file processing | |
CN103970554B (en) | A kind of control method of household appliances function upgrading | |
CN107493211A (en) | The control method and device of intelligent home device | |
CN103970553B (en) | A kind of control method of household appliances function upgrading | |
CN105915420A (en) | Adding method and device of smart home devices | |
CN103455603B (en) | Web page contents caching, webpage loading method, device and terminal unit | |
CN107181651A (en) | Intelligent home device collocation method and device | |
CN106528036A (en) | Volume adjusting method and device | |
CN106657398A (en) | Control system, method and device of Internet Of Things (IOT) | |
CN103530115B (en) | Application program display method and device and terminal equipment | |
CN106953785A (en) | Intelligent home device adding method and device | |
CN109145142A (en) | A kind of management method and terminal of the sharing information of picture | |
CN109992398A (en) | Resource management method, device, mobile terminal, and computer-readable storage medium | |
CN106878809A (en) | A kind of video collection method, player method, device, terminal and system | |
CN107548142A (en) | A kind of electricity-saving control method, terminal and computer-readable recording medium | |
CN104951432A (en) | Information processing method and device | |
CN109309696A (en) | Folder sending method, sender, receiver, and storage medium | |
CN110418207A (en) | Information processing method, device and storage medium | |
CN105094809A (en) | Combined picture layout modification method and device and terminal equipment | |
CN104679381A (en) | Method and device for switching chat box | |
CN106371326B (en) | Storage method and device for equipment working scene | |
KR20150120153A (en) | Method for saving and expressing webpage | |
CN107291326A (en) | Icon processing method and terminal |
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 |
Application publication date: 20170915 |
|
RJ01 | Rejection of invention patent application after publication |