CN103078774B - A kind of home scene control method and device - Google Patents

A kind of home scene control method and device Download PDF

Info

Publication number
CN103078774B
CN103078774B CN201310035083.3A CN201310035083A CN103078774B CN 103078774 B CN103078774 B CN 103078774B CN 201310035083 A CN201310035083 A CN 201310035083A CN 103078774 B CN103078774 B CN 103078774B
Authority
CN
China
Prior art keywords
equipment
scene
plug
unit
status information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310035083.3A
Other languages
Chinese (zh)
Other versions
CN103078774A (en
Inventor
侯正华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TCL Corp
Original Assignee
TCL Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TCL Corp filed Critical TCL Corp
Priority to CN201310035083.3A priority Critical patent/CN103078774B/en
Publication of CN103078774A publication Critical patent/CN103078774A/en
Application granted granted Critical
Publication of CN103078774B publication Critical patent/CN103078774B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention is applied to multimedia application field, there is provided a kind of home scene control method and device, methods described include:The state update event that home equipment is sent by DLNA is received, state update event carries the status information of equipment of renewal;The status information of equipment of renewal is passed to multiple scene control plug-in units, multiple scene control plug-in units is run and obtains scene control information;Scene control information is sent to by corresponding home equipment by DLNA, corresponding home equipment is adjusted working condition according to scene control information.Realize the scene control of the home equipment based on DLNA, be no longer it is simple it is direct home equipment is manipulated in itself, control mode is flexible, and Consumer's Experience is good.Scene control is caused only to need change plug-in unit just to change scene control logic in addition, the scene based on plug-in unit controls, realization is flexible, and being capable of unrestricted choice scene control platform.

Description

A kind of home scene control method and device
Technical field
The invention belongs to multimedia application field, more particularly to a kind of home scene control method and device.
Background technology
With the application of the continuous development of technology, particularly network technology in electronic equipment of various so that people can Multi-screen interactive is realized by various electronic.Home equipment field is also due to the behaviour of the home equipment under realizing multi-screen interactive Control, people are freed from numerous and diverse equipment control, network technology has obtained more and more extensive answer in home equipment With.However, the control of existing home equipment is only that the envirment factor of current environment can be detected by sensor, and by ring After the border factor is sent to home gateway, various equipment are manipulated by home gateway, can only be carried out in itself for home equipment Manipulation, and control mode underaction, Consumer's Experience are bad.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of home scene control method and device, it is intended to solves existing family It is only that after the envirment factor detected is sent into home gateway, various equipment are grasped by home gateway to occupy equipment control The problem of control, can only be manipulated in itself for home equipment, and control mode underaction, and Consumer's Experience is bad.
The embodiment of the present invention is achieved in that a kind of home scene control method, and methods described includes:
Receive the state update event that home equipment is sent by DLNA, the equipment that the state update event carries renewal Status information;
The status information of equipment of the renewal is passed to multiple scene control plug-in units, runs the multiple scene control plug-in unit Obtain scene control information;
The scene control information is sent to by corresponding home equipment by DLNA, makes corresponding home equipment root Working condition is adjusted according to the scene control information.
The another object of the embodiment of the present invention is to provide a kind of home scene control device, and described device includes:
Unit is known in Status Change, the state update event sent for receiving home equipment by DLNA, the state Update event carries the status information of equipment of renewal;
Plug-in unit loading unit, for the status information of equipment of the renewal to be passed into scene control plug-in unit, run the feelings Scape control plug-in unit obtains scene control information;
Device control cell, for the scene control information to be sent into corresponding home equipment by DLNA, make institute State corresponding home equipment and working condition is adjusted according to the scene control information.
In embodiments of the present invention, the status information of equipment of renewal is received by DLNA, and according to more in the form of plug-in unit Scene control information corresponding to new status information of equipment generation, the scene control of the home equipment based on DLNA is realized, no Be again it is simple it is direct home equipment is manipulated in itself, and control mode is flexible, and Consumer's Experience is good.In addition, it is based on plug-in unit The scene of change, which controls, causes scene control only to need change plug-in unit to be set up with regard to that can change scene control logic, equipment(Remove)Only need Installation(Unloading)Corresponding scene controls plug-in unit, realizes flexibly, and being capable of unrestricted choice scene control platform.
Brief description of the drawings
Fig. 1 is the flow chart of home scene control method provided in an embodiment of the present invention;
Fig. 2 is the structure chart of home scene control device provided in an embodiment of the present invention.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
Embodiment one:
The one kind provided as shown in Figure 1 for first embodiment of the invention is based on home scene control method flow chart, in order to It is easy to illustrate, illustrate only the part related to the embodiment of the present invention.
In step S101, pass through DLNA(DIGITAL LIVING NETWORK ALLIANCE, digital living network connection Alliance)Into network, each home equipment subscribes to status information of equipment, and stores all devices status information of subscription.
In embodiments of the present invention, there is provided interface of the control platform as control home scene pattern.First, control By the control point in DLNA, into network, all home equipment subscribes to status information of equipment to platform processed in a broadcast manner.Cause And itself all status information of equipment will be sent to control platform by home equipment all in network, control platform with Storage its subscribe to all home equipments transmitted by status information of equipment into database, in this, as the base of subsequent step Plinth.Wherein, if the home equipment being connected with control platform is not DLNA network equipment, by gateway virtual DLNA set It is standby to make not to be that the home equipment of DLNA network equipment realizes information transfer.
In step s 102, the state update event that home equipment is sent by DLNA, the state update event are received Carry the status information of equipment of renewal.
In embodiments of the present invention, when control of the home equipment because of the control point in DLNA in control platform or household When the reasons such as equipment self-operating logic cause the home equipment state to change, by the status information of equipment of renewal with event Form is sent to control platform by DLNA.Thus, control platform can receive home equipment and be carried by what DLNA was sent The state update event information of the status information of equipment of renewal.
Believe in addition, control platform can also update the equipment state stored according to the status information of equipment of the renewal received Breath.
In step s 103, the status information of equipment of renewal is passed to multiple scenes and controls plug-in unit, run multiple scene controls Plug-in unit processed obtains scene control information.
In embodiments of the present invention, control platform is provided with an its center, controls plug-in unit to realize by multiple scenes and sets The corresponding conversion of standby status information and scene control information.After control platform receives the status information of equipment of renewal, notice is inserted Part center, the status information of equipment of renewal is imported into all scenes control plug-in units as global variable and is separately operable, therewith institute There is scene control plug-in unit to judge that the current scene for whether meeting plug-in unit itself triggers according to the status information of equipment after renewal respectively Condition.Now, after scene control plug-in unit can judge the renewal by being used as the status information of equipment of the renewal of global variable Status information of equipment corresponding to home scene pattern, can know therewith the home scene pattern whether be itself scene triggering Home scene pattern corresponding to condition, it is the scene trigger condition for meeting plug-in unit itself.Wherein, each scene control plug-in unit Corresponding one or more scene trigger conditions, each scene trigger condition correspond to a kind of home scene pattern.Then, when there is one Or multiple scenes control plug-in units are when judging that the status information of equipment after renewal meets the scene trigger condition of itself, by meet from One or more plug-in units generation scene control information of body scene trigger condition.Wherein, because a kind of home scene pattern may Need to control one or more home equipments, and a scene control plug-in unit controls one or more home equipments to differ surely The multiple home equipments for needing to control including the home scene pattern, thus may may require that while there are multiple plug-in units to perform equipment Scene control.
Such as:The renewal status information of equipment received is that the door in study is opened, then study door has been opened into this equipment shape State information is passed to all scene control plug-in units as global variable, thus all scenes control plug-in unit just after operation according to book Door has opened the scene trigger condition that this status information of equipment judges whether to meet itself.Afterwards, judge that study door is opened It is study office contextual model corresponding to this status information of equipment, it is necessary to turn on study lamp and open computer, thus manage lamp The scene control plug-in unit of switch and the scene of management computer switch control plug-in unit to judge to meet itself scene trigger condition, because And manage lamp switch scene control plug-in unit and manage computer switch scene control plug-in unit generation scene control information turn on light and Open computer.
Wherein, in embodiments of the present invention, can be realized by two ways scene control plug-in unit, one kind be with JSPF, Based on the IOC such as OSGI plug-in units or script technology, the generation of scene control information is realized in the form of plug-in, there is provided scene controls Plug-in function.Another kind is so that based on the script technologies such as Lua, JavaScript, status information of equipment importing script to be drawn Hold up and turn into script engine global object to realize the generation of scene control information.
Preferably, multiple scenes in the embodiment of the present invention control plug-in component operation in the household being electrically connected with home equipment Scene control device, and realize scene control plug-in unit freely pacify loading, unloading, and setting.
In step S104, scene control information is sent to by corresponding home equipment by DLNA, makes corresponding household Equipment adjusts working condition according to scene control information.
In embodiments of the present invention, after scene control information is generated, control platform, which will pass through DLNA and control scene, to be believed Control instruction corresponding to breath generation is sent to corresponding one or more home equipments in network, makes these home equipments according to feelings Scape control information adjusts working condition.
Still illustrated with the example in step S103, after being turned on light and being opened the scene control information of computer, will opened The information of lamp generates the switch that instruction of turning on light is sent to lamp, and the instruction that the information for opening computer generation is opened to computer is sent to computer, Then lamp is opened, and computer is opened.
In embodiments of the present invention, the status information of equipment of renewal is received by DLNA, and according to more in the form of plug-in unit Scene control information corresponding to new status information of equipment generation, the scene control of the home equipment based on DLNA is realized, no Be again it is simple it is direct home equipment is manipulated in itself, equipment is set up(Remove)Only need to install(Unloading)Corresponding scene Plug-in unit is controlled, and control mode is flexible, Consumer's Experience is good.In addition, the scene based on plug-in unit controls scene control is only needed Scene control logic can just be changed by changing plug-in unit, be realized flexibly, and being capable of unrestricted choice scene control platform.
Embodiment two:
Fig. 2 is the structural representation provided in an embodiment of the present invention based on home scene control device, for convenience of description, It illustrate only the part related to the embodiment of the present invention.
Status information subscriber units 21, for by DLNA, into network, each home equipment to subscribe to status information of equipment, and Store all devices status information subscribed to.
Unit 22 is known in Status Change, the state update event sent for receiving home equipment by DLNA, the shape State update event carries the status information of equipment of renewal.
State updating unit 23, after the state update event sent by DLNA for receiving home equipment, according to described The status information of equipment of the corresponding renewal storage of the status information of equipment for the renewal that state update event carries.
Plug-in unit loading unit 24, for the status information of equipment of the renewal to be passed into scene control plug-in unit, described in operation Scene control plug-in unit obtains scene control information.
In embodiments of the present invention, the plug-in unit loading unit 24 also includes:
Status information import unit 241, for importing scene using the status information of equipment of the renewal as global variable Control plug-in unit;
Trigger condition identifying unit 242, plug-in unit is controlled respectively according to the equipment shape of the renewal for the multiple scene State information judges whether to meet itself scene trigger condition;
Control information generation unit 243, one or more plug-in units for meeting itself scene trigger condition generate scene Control information.
Scene plug-in unit installs unloading unit 25, peace loading, unloading and management for the scene plug-in unit.
Scene plug-in unit setting unit 26, for scene plug-in unit control association, the setting of operational factor.Described here Control association refers to the association of the corresponding control device of scene plug-in unit.
Device control cell 27, for the scene control information to be sent into corresponding home equipment by DLNA, make Corresponding home equipment adjusts working condition according to the scene control information.
In embodiments of the present invention, the status information of equipment of renewal is received by DLNA, and according to more in the form of plug-in unit Scene control information corresponding to new status information of equipment generation, the scene control of the home equipment based on DLNA is realized, no Be again it is simple it is direct home equipment is manipulated in itself, and control mode is flexible, and Consumer's Experience is good.In addition, it is based on plug-in unit The scene of change, which controls, causes scene control only to need change plug-in unit to be set up with regard to that can change scene control logic, equipment(Remove)Only need Installation(Unloading)Corresponding scene controls plug-in unit, realizes flexibly, and being capable of unrestricted choice scene control platform.
Can be with it will appreciated by the skilled person that realizing that all or part of step in above-described embodiment method is The hardware of correlation is instructed to complete by program, described program can be stored in a computer read/write memory medium In, described storage medium, such as ROM/RAM, disk, CD.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention All any modification, equivalent and improvement made within refreshing and principle etc., should be included in the scope of the protection.

Claims (8)

1. a kind of home scene control method, it is characterised in that methods described includes:
The state update event that home equipment is sent by DLNA is received, the state update event carries the equipment state of renewal Information;
The status information of equipment of the renewal is imported into multiple scene control plug-in units as global variable and run;
The multiple scene control plug-in unit judges whether that meeting itself scene touches according to the status information of equipment of the renewal respectively Clockwork spring part;
Meet one or more plug-in units generation scene control information of itself scene trigger condition;
The scene control information is sent to by corresponding home equipment by DLNA, makes corresponding home equipment according to institute State scene control information adjustment working condition.
2. the method as described in claim 1, it is characterised in that when the state for receiving home equipment and being sent by DLNA Update event, before the state update event carries the status information of equipment of renewal, methods described also includes:
By DLNA, into network, each home equipment subscribes to status information of equipment, and stores all devices status information of subscription.
3. method as claimed in claim 2, it is characterised in that the state renewal for receiving home equipment and being sent by DLNA Event, after the state update event carries the status information of equipment of renewal, methods described also includes:
The status information of equipment of corresponding renewal storage.
4. the method as described in any one of claims 1 to 3, it is characterised in that
Described multiple scenes control plug-in component operation in the home scene control device being electrically connected with home equipment, and realize The scene control plug-in unit freely pacifies loading, unloading, with setting.
5. a kind of home scene control device, it is characterised in that described device includes:
Unit is known in Status Change, the state update event sent for receiving home equipment by DLNA, the state renewal Event carries the status information of equipment of renewal;
Status information import unit, controlled for the status information of equipment of the renewal to be imported into multiple scenes as global variable Plug-in unit is simultaneously run;
Trigger condition identifying unit, sentenced respectively according to the status information of equipment of the renewal for the multiple scene control plug-in unit It is disconnected whether to meet itself scene trigger condition;
Control information generation unit, for meeting one or more plug-in units generation scene control of itself scene trigger condition Information;
Device control cell, for the scene control information to be sent into corresponding home equipment by DLNA, make the phase The home equipment answered adjusts working condition according to the scene control information.
6. device as claimed in claim 5, it is characterised in that described device also includes:
Status information subscriber units, for each home equipment to subscribe to status information of equipment into network by DLNA, and store and order The all devices status information read.
7. device as claimed in claim 6, it is characterised in that described device also includes:
State updating unit, after the state update event sent by DLNA for receiving home equipment, according to the state more The status information of equipment of the corresponding renewal storage of the status information of equipment for the renewal that new events carry.
8. device as claimed in claim 5, it is characterised in that described device also includes:
Scene plug-in unit installs unloading unit, for installing and uninstalling for the scene plug-in unit;
Scene plug-in unit setting unit, control association and the setting of operational factor for the scene plug-in unit.
CN201310035083.3A 2013-01-29 2013-01-29 A kind of home scene control method and device Active CN103078774B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310035083.3A CN103078774B (en) 2013-01-29 2013-01-29 A kind of home scene control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310035083.3A CN103078774B (en) 2013-01-29 2013-01-29 A kind of home scene control method and device

Publications (2)

Publication Number Publication Date
CN103078774A CN103078774A (en) 2013-05-01
CN103078774B true CN103078774B (en) 2017-12-26

Family

ID=48155184

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310035083.3A Active CN103078774B (en) 2013-01-29 2013-01-29 A kind of home scene control method and device

Country Status (1)

Country Link
CN (1) CN103078774B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103970103A (en) * 2014-05-12 2014-08-06 凌彬 Intelligent home scene control method and system and scene controller
CN106376034B (en) * 2016-10-19 2020-02-11 深圳市晟碟半导体有限公司 Method and system for rapidly acquiring state of equipment in wireless Mesh network
CN107168259B (en) * 2017-05-24 2019-06-04 深圳市劳沃智能科技有限公司 The fast synchronization method and device of scene state

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101594251A (en) * 2008-05-30 2009-12-02 当代天启技术(北京)有限公司 Digital family network system and scene mode configuration method thereof
CN102891786A (en) * 2012-09-21 2013-01-23 兴泓昇(福州)智能科技有限公司 Automatically-correlated scene control networking method of intelligent home system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101594251A (en) * 2008-05-30 2009-12-02 当代天启技术(北京)有限公司 Digital family network system and scene mode configuration method thereof
CN102891786A (en) * 2012-09-21 2013-01-23 兴泓昇(福州)智能科技有限公司 Automatically-correlated scene control networking method of intelligent home system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
设备虚拟化技术研究及其家庭物联网应用;张浩等;《第八届和谐人机环境联合学术会议(HHME2012)论文集PCC》;20121123;第4-6页 *

Also Published As

Publication number Publication date
CN103078774A (en) 2013-05-01

Similar Documents

Publication Publication Date Title
US10209693B2 (en) Architecture for providing ubiquitous access to a home automation system
CN103616876B (en) The establishment method of a kind of intelligence household centralized control equipment and intelligence home scene pattern
CN107294793B (en) Replacement method, device and equipment of intelligent household equipment and storage medium
CN104854816B (en) The device and method of content backup are used in domestic network system
US20160109864A1 (en) Wireless Building Automation
CN105765899B (en) The method and apparatus of household equipment are controlled based on group in domestic network system
CN104823411A (en) Voice-controlled configuration of an automation system
CN107078930A (en) User for home automation limits scene
CN105847067A (en) Method and device for upgrading Zigbee equipment
JP2016518669A (en) Intelligent remote control method, router, terminal, device, program, and recording medium
CN110535824A (en) Smart home interlock method, system, terminal device and storage medium
CN104320480A (en) Control method for intelligent home equipment and cloud server
EP2917793A1 (en) Logical sensor server for logical sensor platforms
CN103477590B (en) Method and device for configuring on the basis of management rules
CN103970081A (en) Intelligent home control method, intelligent home control device and intelligent home control system
CN103078774B (en) A kind of home scene control method and device
CN102332205A (en) Home appliance control terminal
CN113055255A (en) Scene configuration method and device of intelligent household appliance, storage medium and electronic equipment
CN104461584B (en) AllJoyn network asynchronous event-action triggering method and device
CN111487884A (en) Storage medium, and intelligent household scene generation device and method
US20170187809A1 (en) Method and electronic apparatus for controlling smart home device
CN110062288A (en) Application management method, device, user terminal, multimedia terminal and storage medium
US20150052444A1 (en) Method of displaying a dlna apparatus, and mobile terminal
CN104518890B (en) Network service processing method, information broadcast and control method and device
KR20150036694A (en) A method for establishing an authorized communication between a physical object and a communication device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant