CN106814629A - A kind of method and device of control smart home - Google Patents

A kind of method and device of control smart home Download PDF

Info

Publication number
CN106814629A
CN106814629A CN201510849722.9A CN201510849722A CN106814629A CN 106814629 A CN106814629 A CN 106814629A CN 201510849722 A CN201510849722 A CN 201510849722A CN 106814629 A CN106814629 A CN 106814629A
Authority
CN
China
Prior art keywords
user
script file
object run
operational controls
control
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.)
Granted
Application number
CN201510849722.9A
Other languages
Chinese (zh)
Other versions
CN106814629B (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.)
Datang Mobile Communications Equipment Co Ltd
CICT Mobile Communication Technology Co Ltd
Original Assignee
Datang Mobile Communications Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201510849722.9A priority Critical patent/CN106814629B/en
Publication of CN106814629A publication Critical patent/CN106814629A/en
Application granted granted Critical
Publication of CN106814629B publication Critical patent/CN106814629B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house

Abstract

The present invention relates to smart home technology, a kind of method and device of control smart home is disclosed, being used to solve the problems, such as in the prior art can not self-defined smart home application scenarios.The method is:Operation interface is presented to user, include operational controls to be selected in the operation interface, according to the operation behavior of user, determine the object run control that user selectes, and execution sequence and the executive mode of each object run control between each object run control of determination user's setting, and generate corresponding script file;The script file is compiled and run, smart home is controlled according to the content of script file.So, user just, by pulling the operational controls presented in configuration interface, can be configured flexibly internet of things intelligent household application scenarios according to itself use demand, the complexity of smart home monitoring is greatly reduced, the control and monitoring and flexibility of smart home are improve.

Description

A kind of method and device of control smart home
Technical field
The present invention relates to smart home technology, more particularly to a kind of method and device of control smart home.
Background technology
Internet of Things application is to be related to electronics, Automated condtrol, network service, embedded development, computer etc. The integrated application of professional knowledge.Smart home as household's IT application implementation, it has also become social information Change the important component of development.From the point of view of personal, public service and government demand, development intelligence is highlighted The urgency of energy household industry.Industrialization is promoted to change under the overall background for merging with information-based two energetically in country, Smart home will be the real breach of a comparing during Internet of Things industry development.
Existing internet of things intelligent household application scenarios are generally all good by producer's fixed configurations, and user can only make With fixed scene, it is impossible to generate customized scene according to individual demand, thus limit smart home Further apply.
The content of the invention
The embodiment of the present invention provides a kind of method and device of control smart home, is used to solve in the prior art Can not self-defined smart home application scenarios problem.
Concrete technical scheme provided in an embodiment of the present invention is as follows:
A kind of method for controlling smart home, including:
Operation interface is presented to user, operational controls to be selected, the operation are included in the operation interface Control characterizes the smart home that can be steered or characterizes logic event for manipulating smart home;
According to the operation behavior of user, the object run control that user selectes is determined, and determine user's setting Each object run control between execution sequence and each object run control executive mode, and generate phase The script file answered;
The script file is compiled and run, smart home is controlled according to the content of the script file System.
Preferably, according to the operation behavior of user, determining the object run control that user selectes, and determine The executive mode of execution sequence and each object run control between each object run control of user's setting, And generate corresponding script file;
Script file is created, in the script file, the object run control that user is selected is recorded as stream Cheng Jiedian, and the connecting line set between each object run control according to user, record each flow section The order of connection between point, and according to the instruction of user, configure the executive mode of each flow nodes;
Preserve the script file.
Preferably, after preserving the script file, further including:
According to preset standard, respectively to each the object run control for recording and its corresponding executive mode, And the annexation between each object run control is audited, it is determined that in the presence of not meeting the pre- bidding During the configuration content of standard, user is pointed out to modify.
Preferably, further including:
Instruction according to user is obtained and loads user-defined configuration file, in the configuration file at least The identification information that have recorded user-defined operational controls, the operating function having, and each operation The corresponding control command of function;
The corresponding operational controls of the configuration file are added in operation interface.
Preferably, further:
In pretreatment stage, the operational controls setting for each operable device of sign is corresponding certainly respectively Definition mark, and mapping is set up between the device identification of each user-defined identification and corresponding operational controls Relation;
In configuration script file, the sign that the instruction according to user records user's selection in script file can The user-defined identification of each operational controls of operation device;
In Run Script file, respectively according to each user-defined identification and the mapping relations of record, The device identification of corresponding operational controls is obtained, corresponding behaviour is called further according to each device identification for obtaining Make control.
A kind of device of control smart home, including:
Display unit, for operation interface to be presented to user, includes operation to be selected in the operation interface Control, smart home or characterize for manipulating smart home that the operational controls sign can be steered Logic event;
First processing units, for the operation behavior according to user, determine the object run control that user selectes, And execution sequence and each object run control between each object run control of determination user's setting Executive mode, and generate corresponding script file;
Second processing unit, for compiling and runs the script file, according to the content of the script file Smart home is controlled.
Preferably, according to the operation behavior of user, determining the object run control that user selectes, and determine The executive mode of execution sequence and each object run control between each object run control of user's setting, And when generating corresponding script file, the first processing units are used for;
Script file is created, in the script file, the object run control that user is selected is recorded as stream Cheng Jiedian, and the connecting line set between each object run control according to user, record each flow section The order of connection between point, and according to the instruction of user, configure the executive mode of each flow nodes;
Preserve the script file.
Preferably, after preserving the script file, the first processing units are further used for:
According to preset standard, respectively to each the object run control for recording and its corresponding executive mode, And the annexation between each object run control is audited, it is determined that in the presence of not meeting the pre- bidding During the configuration content of standard, user is pointed out to modify.
Preferably, the first processing units are further used for:
Instruction according to user is obtained and loads user-defined configuration file, in the configuration file at least The identification information that have recorded user-defined operational controls, the operating function having, and each operation The corresponding control command of function, and the corresponding operational controls of the configuration file are added in operation interface.
Preferably, the first processing units are further used for:
In pretreatment stage, the operational controls setting for each operable device of sign is corresponding certainly respectively Definition mark, and mapping is set up between the device identification of each user-defined identification and corresponding operational controls Relation;And in configuration script file, the instruction according to user records user's selection in script file Characterize the user-defined identification of each operational controls of operable device;
The second processing unit is further used for:
When the script file is run, each user-defined identification and the mapping respectively according to record are closed System, obtains the device identification of corresponding operational controls, is called accordingly further according to each device identification for obtaining Operational controls.
In the embodiment of the present invention, control device is presented operation interface to user, is included in the operation interface and needed The operational controls of choosing, smart home or characterize for manipulating intelligence that so-called operational controls sign can be steered The logic event of energy household, then, control device determines the mesh that user selectes according to the operation behavior of user Mark operational controls, and determine execution sequence and each target between each object run control of user's setting The executive mode of operational controls, and generate corresponding script file;Finally, control device is compiled and runs pin Presents, is controlled according to the content of script file to smart home.So, just having provided a user with can The configuration interface of the smart home application scenarios depending on changing, makes the user can be according to itself use demand, by dragging The operational controls presented in configuration interface are dragged, internet of things intelligent household application scenarios are configured flexibly, dropped significantly The complexity of low smart home monitoring, improves the control and monitoring and flexibility of smart home.
Brief description of the drawings
Fig. 1 controls smart home schematic flow diagram in implementing for the present invention;
Fig. 2 is smart home application scenarios visual configuration interface schematic diagram in the embodiment of the present invention;
Fig. 3 is the configuration flow figure of smart home application scenarios in the embodiment of the present invention;
Fig. 4 is control device illustrative view of functional configuration in the embodiment of the present invention.
Specific embodiment
In order to solve the problems, such as in the prior art can not self-defined smart home application scenarios.The embodiment of the present invention In, there is provided a kind of new Intelligent housing platform, can provide a user with one visually by the platform The UI environment of change, allows user to select operational controls according to the actual demand of itself, and set each behaviour Logic association between controlling, and the operational attribute of each operational control is set, so as to easily match somebody with somebody glove Networking smart home application scenarios, and the application scenarios can very easily in simulated experimental environments and true Run in environment.
The preferred embodiment of the present invention is described in detail below in conjunction with the accompanying drawings.
Refering to shown in Fig. 1, in the embodiment of the present invention, the flow being controlled to smart home is as follows:
Step 100:Control device is presented operation interface to user, and behaviour to be selected is included in the operation interface Make control, an operational controls sign is steered device or characterizes the logic event manipulated for realization.
For example, in one embodiment, operation interface as shown in Figure 2 can be presented to user, in operation In interface optional all kinds of operational controls are presented to user.
Wherein, operational controls can be by operation device, such as, the intelligent distant control TV of smart home class, intelligence Energy remote control air conditioner, remote control fan, electrically driven curtain etc., and for example, the TEMP for assisting smart home Device, humidity sensor, pressure sensor, acceleration transducer etc., generally a kind of smart home correspondence one Plant sensor;And operational controls can also be the logic event for realizing manipulation, e.g., beginning label, knot Beam mark, condition judgment, connecting line, circulate operation etc..
Step 110:Control device determines the object run control that user selectes according to the operation behavior of user, And execution sequence and each object run control between each object run control of determination user's setting Executive mode, and generate corresponding script file.
After all kinds of operational controls that control device presents to be selected, user can choose institute according to self-demand The operational controls for needing, and selected operational control is dragged to the intermediate blank region of operation interface, control device Flow chart, and the executive mode that each operational controls is set then are constituted as desired.Specifically, holding During row step 110, control device can create script file (e.g., python script files), and in pin In presents, the object run control that user is selected is recorded as flow nodes, and according to user in each mesh The connecting line set between mark operational controls, records the order of connection between each flow nodes, and according to The instruction of user, configures the executive mode of each flow nodes, and finally preserves the script file.
For example, refering to shown in Fig. 2, the operational control that user selectes has " beginning label ", " temperature sensor " " end of identification ", " conditional operation ", " intelligent distant control TV ", " electrically driven curtain ", wherein, correspondence " temperature The executive mode that degree sensor " is set is " carrying out temperature survey upon actuation ", correspondence " conditional operation " The executive mode of setting is performed for " judging whether temperature is more than or equal to 30 degree ", and the interior circulation of 24 hours 24 times, per between twice every other hour;Correspondence " intelligent distant control air-conditioning " set executive mode be more than Opened at 30 degree, closed at no more than 30 degree;The executive mode that correspondence " electrically driven curtain " is set is little Beaten when 30 degree, closed during more than 30 degree.So, overall flow chart has just been drawn and has been finished, control dress Putting can generate python script files (can also be other kinds of script file), by above-mentioned flow chart In each object run control and its corresponding executive mode record in python script files.
Further, control device can be based on preset standard, respectively to note after script file is saved Between each object run control and its corresponding executive mode, and each object run control of record Annexation is audited, it is determined that during in the presence of the configuration content for not meeting the preset standard, pointing out user to enter Row modification.
For example, user is by " electrically driven curtain " and " intelligent distant control air-conditioning ", and the two object run controls are direct Connect together, be then judged as performing, provide modification prompting.
Again for example:User be not provided with the cycle-index of " temperature be more than 30 degree " this object run control with Intercycle, it is generally the case that in order to realize the self-adaptative adjustment of temperature, only will not judge once, Therefore, it is judged as setting unreasonable, provides modification prompting.
User can flexibly be set according to the actual demand of itself, and this is no longer going to repeat them.
Step 120:Above-mentioned script file is compiled and runs, according to the content of above-mentioned script file to intelligent family Residence is controlled.
Control device is compiled to the script file for generating, and runs the executable file obtained after compiling, I.e. can be according to the flow content for setting before in smart home simulated environment and real smart home environment Middle control smart home.
Based on above-described embodiment, in practical application, user can be according to the demand of itself, at any time addition operation Control, you can with the demand according to itself, sets configuration file (e.g., xml document), in the configuration file At least have recorded user-defined operational controls (can be smart home, can be sensor, it is also possible to Logic event) identification information, the operating function that possesses, and the corresponding control of each operating function Order etc., control device can be read according to the instruction of user by calling interface and load User Defined Configuration file, and the operational controls added in operation interface corresponding to the configuration file (can generate phase The icon answered), so, user just can use customized operational controls in follow-up setting process figure. Adopt in this way, user can at any time add new smart home, sensor and logic event, so that greatly The big scalability that improve system, can more be flexibly adapted to user's request.
Further, operated for the ease of user, in pretreatment stage, can be characterized for each respectively The operational controls of operable device set corresponding user-defined identification (e.g., parlor air-conditioning, bedroom air-conditioning, visitor Room air conditioner temperature sensor etc.), and in each user-defined identification and the equipment mark of corresponding operational controls Mapping relations are set up between knowledge, so, is easy to user to remember operational controls title according to the use habit of itself And it is easy to user configuring flow chart;Accordingly, in configuration script file, control device can be according to user Each operational controls of instruction sign operable device that user's selection is recorded in script file make by oneself Justice mark, and in Run Script file, each user-defined identification according to record and above-mentioned mapping respectively Relation, obtains the device identification of corresponding operational controls, and phase is called further according to each device identification for obtaining The operational controls answered.
So that operational controls are sensor as an example, smart home is corresponded with sensor, i.e. each intelligent family There is the sensor bound in itself in residence, and in practical application, each sensor is assigned a length and is 2 short addresses of byte, the short address is the unique device identity of sensor, it is generally the case that script text Part controls sensor by this device identification, but because the short address of sensor is not easy to identify, it is impossible to very well Expression sensor the information such as function, position, therefore, user can set one by respective sensor Self-defined title (e.g. a, character string) is used as the identification information of sensor, e.g., the temperature of the indoor tv that crouches Degree sensor.Accordingly, control device need by each sensor with short address and corresponding self-defined Title is bound (set up mapping relations), so, when user carries out flow configuration in operation interface, Can be using the self-defined title of sensor, and control device is in Run Script file, based on user configuring Self-defined title obtain corresponding short address so that it is determined that specifically needing which sensor manipulated.So, The readable and maintainability of script is increased, makes overall application scenarios Self-definition process more convenient, more Plus hommization.
Simultaneously as the short address that sensor is distributed in simulated experimental environments and true environment is identical, So the script file automatically generated in simulated experimental environments is held in being very easily transplanted to true environment OK, it is achieved thereby that cross-platform operation.So, after user finishes experiment in simulated experimental environments, generation Python script files without make again it is any modification just can directly in true environment execution, with good Transplantability, greatly facilitate the use of user.
The configuration mode of above-mentioned self-defined title is equally applicable to other kinds of operational controls, herein only with biography It is introduced as a example by sensor.
Further description is made to above-described embodiment below by a specific application scenarios.
In the present embodiment, respectively in devise two kinds of Hash tables (Hashtable), respectively referred to as hsCtlInf Table and hsLineInf tables, hsCtinf tables are used to preserve each operational controls and its corresponding description information (i.e. Specific executive mode), hsLineInf tables are used to preserve the annexation between each operational controls.Specifically Citing is as shown in table 1, table 2.
Table 1
(design of hsCtlInf tables)
Key Value
The Tag of each operational controls of unique mark The description information of operational controls
Table 2
(design of hsLineInf tables)
Key Value
The Tag of each line of unique mark Line connects two Tag of operational controls
As shown in figure 1, as user in operation interface picture of the drag operation control to right side in the left list During region, control device can record the user-defined identification (i.e. Tag marks) of operational control, generate a behaviour Make object, and the operation object is added in hsCtlInf tables;And user is by the connecting line with arrow, Two operational controls of connection, after the completion of connection, control device can be added to connecting line as object In hsLineInf tables.Certainly, user can be while self-defined various flows, relevant information can be added to upper In stating hsCtlInf tables and hsLineInf tables.
Refering to shown in Fig. 3, in the embodiment of the present invention, made by oneself with hsCtlInf tables and the generation of hsLineInf tables Justice smart home application scenarios it is detailed as follows:
Step 300:Traversal hsCtlInf tables obtain all of StratCtl (starting mark).
Step 310:A python script file is created, initialization information is set.
So-called initialization information can refer to that the circulation of this Python script file performs number of times, circulation Interval etc..
Step 320:A StartCtl is selected, the executive mode of StartCrl is configured according to initialization information.
When smart home application scenarios are configured, each scene must be by one " StartCtl " as stream The starting of journey figure, and using one " OverCtl " as the ending of flow chart, according to user between both The configuration content other operational controls of addition.Now, StartCtl can be regarded as the operation of current pick Control.
Step 330:Traversal hsLineInf tables, pick out next with what the operational controls currently chosen were connected Individual operational controls.
Specifically, the operational controls that can be connected according to each connecting line two ends recorded in hsLineInf tables Mark determine next operational controls.
Step 340:Holding for the above-mentioned next operational controls configuration of correspondence is recorded in phython script files Line mode.
Control device can set the corresponding side of execution of each operational controls according to the configuration content of user Formula, e.g., can set the monitoring condition information of " condition judgment " this operational controls, and realizing should to certain With the monitor in real time of scene, when monitoring condition is met, according to user setting to other operational controls (e.g., intelligent television) is controlled.
Step 350:Judge whether to read OverCtl (i.e. end of identification);If so, then performing step 360; Otherwise, return to step 330.
Preferably, user can in a phython script file using multiple " StartCtl " and " OverCtl ", realize to the monitor in real time of multiple application scenarios, and each application scenarios realizes flow and phase The executive mode for closing operational controls can be separately provided, separate during operation, not interfere with each other, can be very The good demand for control met in actual life to smart home.
Step 360:Judge whether new StartCtlIf so, then return to step 320;Otherwise, tie Beam current process.
Based on above-described embodiment, refering to shown in Fig. 4, in the embodiment of the present invention, for realizing smart home control The control device of system at least includes display unit 40, first processing units 41 and second processing unit 42, its In,
Display unit 40, for operation interface to be presented to user, includes operation control to be selected in operation interface Part, operational controls characterize the smart home that can be steered or characterize logic thing for manipulating smart home Part;
First processing units 41, for the operation behavior according to user, determine the object run control that user selectes Part, and determine execution sequence and each object run control between each object run control of user's setting Executive mode, and generate corresponding script file;
Second processing unit 42, for compiling simultaneously Run Script file, according to the content of script file to intelligence Household is controlled.
Preferably, according to the operation behavior of user, determining the object run control that user selectes, and determine The executive mode of execution sequence and each object run control between each object run control of user's setting, And when generating corresponding script file, first processing units 40 are used for;
Script file is created, in script file, the object run control that user is selected is recorded as flow section Point, and the connecting line set between each object run control according to user, record each flow nodes it Between the order of connection, and according to the instruction of user, configure the executive mode of each flow nodes;
Preserve script file.
Preferably, after preserving script file, first processing units 41 are further used for:
According to preset standard, respectively to each the object run control for recording and its corresponding executive mode, And the annexation between each object run control is audited, it is determined that in the presence of not meeting preset standard During configuration content, user is pointed out to modify.
Preferably, first processing units 41 are further used for:
Instruction according to user is obtained and loads user-defined configuration file, is at least recorded in configuration file The identification information of user-defined operational controls, the operating function having, and each operating function Corresponding control command, and the corresponding operational controls of configuration file are added in operation interface.
Preferably, first processing units 41 are further used for:
In pretreatment stage, the operational controls setting for each operable device of sign is corresponding certainly respectively Definition mark, and mapping is set up between the device identification of each user-defined identification and corresponding operational controls Relation;And in configuration script file, the instruction according to user records user's selection in script file Characterize the user-defined identification of each operational controls of operable device;
Second processing unit 42 is further used for:
In Run Script file, respectively according to each user-defined identification and mapping relations of record, obtain The device identification of corresponding operational controls, corresponding operation control is called further according to each device identification for obtaining Part.
In sum, in the embodiment of the present invention, control device is presented operation interface, the operation interface to user In include operational controls to be selected, so-called operational controls characterize the smart home or sign that can be steered Logic event for manipulating smart home, then, control device according to the operation behavior of user, it is determined that with The selected object run control in family, and determine the execution sequence between each object run control of user's setting With the executive mode of each object run control, and corresponding script file is generated;Finally, control device is compiled Translate and Run Script file, smart home is controlled according to the content of script file.So, just to Family provides the configuration interface of visual smart home application scenarios, makes user to use need according to itself Ask, by pulling the operational controls presented in configuration interface, be configured flexibly internet of things intelligent household applied field Scape, greatly reduces the complexity of smart home monitoring, improves the control and monitoring and flexibility of smart home.
On the other hand, the embodiment of the present invention also provides compilation facility, and control device can assist user's inspection to match somebody with somebody Mistake in the flow chart put, there is provided help information, allows user more easily to realize smart home applied field Scape is configured, and user can preserve the smart home application scenarios for not yet configuring completion, when needing Can be again turned on continuing to configure.
Further, the scheme that the embodiment of the present invention is provided is with good expansibility, there is provided interface is permitted Customized operational controls are added at family allowable, so as to make the user can be with self-defined new smart home applied field Scape, has greatly enriched the control mode of smart home.Preferably, the present invention implements full name, user is in configuration During smart home application scenarios, the flow chart that it is configured can use puppy parc, so, various differences Smart home application scenarios can be completed by a set of puppy parc, be convenient for users to operate.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as device, system or meter Calculation machine program product.Therefore, the present invention can be using complete hardware embodiment, complete software embodiment or knot Close the form of the embodiment in terms of software and hardware.And, the present invention can be used and wherein wrapped at one or more Containing computer usable program code computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) on implement computer program product form.
The present invention is produced with reference to device according to embodiments of the present invention, equipment (system) and computer program The flow chart and/or block diagram of product is described.It should be understood that can by computer program instructions realize flow chart and / or block diagram in each flow and/or the flow in square frame and flow chart and/or block diagram and/ Or the combination of square frame.These computer program instructions to all-purpose computer, special-purpose computer, insertion can be provided The processor of formula processor or other programmable data processing devices is producing a machine so that by calculating The instruction of the computing device of machine or other programmable data processing devices is produced for realizing in flow chart one The device of the function of being specified in individual flow or multiple one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or the treatment of other programmable datas to set In the standby computer-readable memory for working in a specific way so that storage is in the computer-readable memory Instruction produce include the manufacture of command device, the command device realization in one flow of flow chart or multiple The function of being specified in one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices, made Obtain and series of operation steps is performed on computer or other programmable devices to produce computer implemented place Reason, so as to the instruction performed on computer or other programmable devices is provided for realizing in flow chart one The step of function of being specified in flow or multiple one square frame of flow and/or block diagram or multiple square frames.
, but those skilled in the art once know base although preferred embodiments of the present invention have been described This creative concept, then can make other change and modification to these embodiments.So, appended right will Ask and be intended to be construed to include preferred embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification without de- to the embodiment of the present invention From the spirit and scope of the embodiment of the present invention.So, if these modifications of the embodiment of the present invention and modification category Within the scope of the claims in the present invention and its equivalent technologies, then the present invention be also intended to comprising these change and Including modification.

Claims (10)

1. it is a kind of control smart home method, it is characterised in that including:
Operation interface is presented to user, operational controls to be selected, the operation are included in the operation interface Control characterizes the smart home that can be steered or characterizes logic event for manipulating smart home;
According to the operation behavior of user, the object run control that user selectes is determined, and determine user's setting Each object run control between execution sequence and each object run control executive mode, and generate phase The script file answered;
The script file is compiled and run, smart home is controlled according to the content of the script file System.
2. the method for claim 1, it is characterised in that according to the operation behavior of user, it is determined that The object run control that user selectes, and determine that the execution between each object run control of user's setting is suitable The executive mode of sequence and each object run control, and generate corresponding script file;
Script file is created, in the script file, the object run control that user is selected is recorded as stream Cheng Jiedian, and the connecting line set between each object run control according to user, record each flow section The order of connection between point, and according to the instruction of user, configure the executive mode of each flow nodes;
Preserve the script file.
3. the method for claim 1, it is characterised in that preserve after the script file, enter One step includes:
According to preset standard, respectively to each the object run control for recording and its corresponding executive mode, And the annexation between each object run control is audited, it is determined that in the presence of not meeting the pre- bidding During the configuration content of standard, user is pointed out to modify.
4. the method as described in claim 1,2 or 3, it is characterised in that further include:
Instruction according to user is obtained and loads user-defined configuration file, in the configuration file at least The identification information that have recorded user-defined operational controls, the operating function having, and each operation The corresponding control command of function;
The corresponding operational controls of the configuration file are added in operation interface.
5. the method as described in claim 1,2 or 3, it is characterised in that further:
In pretreatment stage, the operational controls setting for each operable device of sign is corresponding certainly respectively Definition mark, and mapping is set up between the device identification of each user-defined identification and corresponding operational controls Relation;
In configuration script file, the sign that the instruction according to user records user's selection in script file can The user-defined identification of each operational controls of operation device;
In Run Script file, respectively according to each user-defined identification and the mapping relations of record, The device identification of corresponding operational controls is obtained, corresponding behaviour is called further according to each device identification for obtaining Make control.
6. it is a kind of control smart home device, it is characterised in that including:
Display unit, for operation interface to be presented to user, includes operation to be selected in the operation interface Control, smart home or characterize for manipulating smart home that the operational controls sign can be steered Logic event;
First processing units, for the operation behavior according to user, determine the object run control that user selectes, And execution sequence and each object run control between each object run control of determination user's setting Executive mode, and generate corresponding script file;
Second processing unit, for compiling and runs the script file, according to the content of the script file Smart home is controlled.
7. device as claimed in claim 6, it is characterised in that according to the operation behavior of user, it is determined that The object run control that user selectes, and determine that the execution between each object run control of user's setting is suitable The executive mode of sequence and each object run control, and when generating corresponding script file, first treatment Unit is used for;
Script file is created, in the script file, the object run control that user is selected is recorded as stream Cheng Jiedian, and the connecting line set between each object run control according to user, record each flow section The order of connection between point, and according to the instruction of user, configure the executive mode of each flow nodes;
Preserve the script file.
8. device as claimed in claim 6, it is characterised in that after preserving the script file, institute First processing units are stated to be further used for:
According to preset standard, respectively to each the object run control for recording and its corresponding executive mode, And the annexation between each object run control is audited, it is determined that in the presence of not meeting the pre- bidding During the configuration content of standard, user is pointed out to modify.
9. the device as described in claim 6,7 or 8, it is characterised in that the first processing units are entered One step is used for:
Instruction according to user is obtained and loads user-defined configuration file, in the configuration file at least The identification information that have recorded user-defined operational controls, the operating function having, and each operation The corresponding control command of function, and the corresponding operational controls of the configuration file are added in operation interface.
10. the device as described in claim 6,7 or 8, it is characterised in that
The first processing units are further used for:
In pretreatment stage, the operational controls setting for each operable device of sign is corresponding certainly respectively Definition mark, and mapping is set up between the device identification of each user-defined identification and corresponding operational controls Relation;And in configuration script file, the instruction according to user records user's selection in script file Characterize the user-defined identification of each operational controls of operable device;
The second processing unit is further used for:
When the script file is run, each user-defined identification and the mapping respectively according to record are closed System, obtains the device identification of corresponding operational controls, is called accordingly further according to each device identification for obtaining Operational controls.
CN201510849722.9A 2015-11-27 2015-11-27 Method and device for controlling smart home Active CN106814629B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510849722.9A CN106814629B (en) 2015-11-27 2015-11-27 Method and device for controlling smart home

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510849722.9A CN106814629B (en) 2015-11-27 2015-11-27 Method and device for controlling smart home

Publications (2)

Publication Number Publication Date
CN106814629A true CN106814629A (en) 2017-06-09
CN106814629B CN106814629B (en) 2021-03-12

Family

ID=59103507

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510849722.9A Active CN106814629B (en) 2015-11-27 2015-11-27 Method and device for controlling smart home

Country Status (1)

Country Link
CN (1) CN106814629B (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107577719A (en) * 2017-08-11 2018-01-12 杭州电魂网络科技股份有限公司 A kind of intelligent nested type function control method and device
CN107991895A (en) * 2017-11-28 2018-05-04 深圳市东微智能科技股份有限公司 Multi-systematic control method, apparatus, computer equipment and storage medium
CN108170512A (en) * 2017-12-27 2018-06-15 德阳源创能源科技有限公司 Script drives analysis method and device
CN108628602A (en) * 2018-05-10 2018-10-09 武汉思美特云智慧科技有限公司 A kind of implementation method of customized type smart home APP
CN109445785A (en) * 2018-10-11 2019-03-08 平安科技(深圳)有限公司 Workflow tool creation method, device and computer storage medium
CN109507893A (en) * 2017-09-14 2019-03-22 宁波方太厨具有限公司 A kind of self study alarm control method of smart home device
CN109541950A (en) * 2018-11-16 2019-03-29 格力电器(武汉)有限公司 Control method, device and the equipment of smart home device
CN109634596A (en) * 2018-12-11 2019-04-16 清华大学 Visual programming tools based on flow chart
CN109765793A (en) * 2018-12-07 2019-05-17 深圳绿米联创科技有限公司 Equipment state display methods, device, terminal and storage medium
CN110071921A (en) * 2019-04-19 2019-07-30 广东中安金狮科创有限公司 Platform of internet of things cut-in method, device, computer readable storage medium and system
CN110177033A (en) * 2019-05-21 2019-08-27 四川虹美智能科技有限公司 Method, terminal and Internet of things system based on Internet of Things control household electrical appliances
CN110225246A (en) * 2019-05-28 2019-09-10 北京字节跳动网络技术有限公司 Generation method, device, electronic equipment and the computer readable storage medium of event scripts
CN110231959A (en) * 2018-03-06 2019-09-13 优酷网络技术(北京)有限公司 A kind of synchronous method of manipulation instruction, system and control centre
CN111452042A (en) * 2020-03-25 2020-07-28 慧灵科技(深圳)有限公司 Control method and system of mechanical arm and control terminal
WO2020220891A1 (en) * 2019-04-29 2020-11-05 西门子(中国)有限公司 Method and apparatus for generating configuration file of site in internet of things system
CN111970314A (en) * 2019-05-20 2020-11-20 京东方科技集团股份有限公司 Method and device for creating action resource, electronic equipment and storage medium
CN112413847A (en) * 2020-11-20 2021-02-26 珠海格力电器股份有限公司 Function customizing method, device, system and storage medium
CN113076093A (en) * 2021-02-26 2021-07-06 厦门科灿信息技术有限公司 Power monitoring system configuration method and device and terminal

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102034289A (en) * 2010-12-15 2011-04-27 广州致远电子有限公司 Graphical programmable security linkage system
CN102880158A (en) * 2012-10-23 2013-01-16 北京林业大学 Remote wireless intelligent home control system
CN103136406A (en) * 2011-12-03 2013-06-05 南京南瑞继保电气有限公司 Method for automatic generation of function code for simulation through visualization application program
WO2013130532A1 (en) * 2012-02-29 2013-09-06 Fisher Controls International Llc Scheduling actions in a field device
US20140006605A1 (en) * 2012-06-27 2014-01-02 Ubiquiti Networks, Inc. Method and apparatus for distributed control of an interfacing-device network
CN103870260A (en) * 2012-12-14 2014-06-18 腾讯科技(深圳)有限公司 Method and system for service interface development
CN103984626A (en) * 2014-05-13 2014-08-13 华为技术有限公司 Method and device for generating test-case script
CN103984246A (en) * 2014-04-14 2014-08-13 美的集团股份有限公司 Household appliance with executable script and control method thereof
CN104536397A (en) * 2014-12-09 2015-04-22 中国电子科技集团公司第十五研究所 3D virtual smart home interaction method
CN104698950A (en) * 2015-03-25 2015-06-10 广州视源电子科技股份有限公司 Peripheral device control method, microcontroller, upper computer and system
US20150160636A1 (en) * 2013-12-11 2015-06-11 Echostar Technologies, Llc Home Monitoring and Control

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102034289A (en) * 2010-12-15 2011-04-27 广州致远电子有限公司 Graphical programmable security linkage system
CN103136406A (en) * 2011-12-03 2013-06-05 南京南瑞继保电气有限公司 Method for automatic generation of function code for simulation through visualization application program
WO2013130532A1 (en) * 2012-02-29 2013-09-06 Fisher Controls International Llc Scheduling actions in a field device
US20140006605A1 (en) * 2012-06-27 2014-01-02 Ubiquiti Networks, Inc. Method and apparatus for distributed control of an interfacing-device network
CN102880158A (en) * 2012-10-23 2013-01-16 北京林业大学 Remote wireless intelligent home control system
CN103870260A (en) * 2012-12-14 2014-06-18 腾讯科技(深圳)有限公司 Method and system for service interface development
US20150160636A1 (en) * 2013-12-11 2015-06-11 Echostar Technologies, Llc Home Monitoring and Control
CN103984246A (en) * 2014-04-14 2014-08-13 美的集团股份有限公司 Household appliance with executable script and control method thereof
CN103984626A (en) * 2014-05-13 2014-08-13 华为技术有限公司 Method and device for generating test-case script
CN104536397A (en) * 2014-12-09 2015-04-22 中国电子科技集团公司第十五研究所 3D virtual smart home interaction method
CN104698950A (en) * 2015-03-25 2015-06-10 广州视源电子科技股份有限公司 Peripheral device control method, microcontroller, upper computer and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
沈杰,等: "基于 Python 的智能家居自动化测试脚本设计及实现", 《电视技术》 *

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107577719A (en) * 2017-08-11 2018-01-12 杭州电魂网络科技股份有限公司 A kind of intelligent nested type function control method and device
CN109507893B (en) * 2017-09-14 2021-10-29 宁波方太厨具有限公司 Self-learning alarm control method for intelligent household equipment
CN109507893A (en) * 2017-09-14 2019-03-22 宁波方太厨具有限公司 A kind of self study alarm control method of smart home device
CN107991895A (en) * 2017-11-28 2018-05-04 深圳市东微智能科技股份有限公司 Multi-systematic control method, apparatus, computer equipment and storage medium
CN108170512A (en) * 2017-12-27 2018-06-15 德阳源创能源科技有限公司 Script drives analysis method and device
CN110231959A (en) * 2018-03-06 2019-09-13 优酷网络技术(北京)有限公司 A kind of synchronous method of manipulation instruction, system and control centre
CN108628602A (en) * 2018-05-10 2018-10-09 武汉思美特云智慧科技有限公司 A kind of implementation method of customized type smart home APP
CN109445785A (en) * 2018-10-11 2019-03-08 平安科技(深圳)有限公司 Workflow tool creation method, device and computer storage medium
CN109541950A (en) * 2018-11-16 2019-03-29 格力电器(武汉)有限公司 Control method, device and the equipment of smart home device
CN109765793B (en) * 2018-12-07 2022-04-12 深圳绿米联创科技有限公司 Equipment state display method and device, terminal and storage medium
CN109765793A (en) * 2018-12-07 2019-05-17 深圳绿米联创科技有限公司 Equipment state display methods, device, terminal and storage medium
CN109634596A (en) * 2018-12-11 2019-04-16 清华大学 Visual programming tools based on flow chart
CN110071921A (en) * 2019-04-19 2019-07-30 广东中安金狮科创有限公司 Platform of internet of things cut-in method, device, computer readable storage medium and system
WO2020220891A1 (en) * 2019-04-29 2020-11-05 西门子(中国)有限公司 Method and apparatus for generating configuration file of site in internet of things system
CN111970314A (en) * 2019-05-20 2020-11-20 京东方科技集团股份有限公司 Method and device for creating action resource, electronic equipment and storage medium
WO2020233488A1 (en) * 2019-05-20 2020-11-26 京东方科技集团股份有限公司 Method and apparatus for creating action resources, electronic device and storage medium
CN110177033A (en) * 2019-05-21 2019-08-27 四川虹美智能科技有限公司 Method, terminal and Internet of things system based on Internet of Things control household electrical appliances
CN110225246B (en) * 2019-05-28 2021-07-20 北京字节跳动网络技术有限公司 Event script generation method and device, electronic equipment and computer readable storage medium
CN110225246A (en) * 2019-05-28 2019-09-10 北京字节跳动网络技术有限公司 Generation method, device, electronic equipment and the computer readable storage medium of event scripts
CN111452042A (en) * 2020-03-25 2020-07-28 慧灵科技(深圳)有限公司 Control method and system of mechanical arm and control terminal
CN112413847A (en) * 2020-11-20 2021-02-26 珠海格力电器股份有限公司 Function customizing method, device, system and storage medium
CN113076093A (en) * 2021-02-26 2021-07-06 厦门科灿信息技术有限公司 Power monitoring system configuration method and device and terminal
CN113076093B (en) * 2021-02-26 2022-11-11 厦门科灿信息技术有限公司 Power monitoring system configuration method and device and terminal

Also Published As

Publication number Publication date
CN106814629B (en) 2021-03-12

Similar Documents

Publication Publication Date Title
CN106814629A (en) A kind of method and device of control smart home
JP5295464B1 (en) System construction support tool and system
CN109144374A (en) Method for processing business, system and relevant device based on visualization regulation engine
US20170132194A1 (en) Information-processing equipment based on a spreadsheet
US10489221B2 (en) Method for creating context aware application and user terminal
US9488969B2 (en) Configuring building energy management systems using knowledge encoded in building management system points lists
CN106651301A (en) Process monitoring method and apparatus
CN108351796A (en) Unified interface specification for interacting and executing model with model in various runtime environments
CN100423489C (en) Visual anti-virus in a hetwork control environment
CN101652743A (en) Worklow engine for media production and distribution
CN102654765B (en) Internet of things as well as control method and device for equipment in internet of things
US20180341241A1 (en) Cloud-Based Integration Rule Engine to Enable Plug and Play Device for Building Automation Systems
US10371401B2 (en) Creating domain visualizations
CN103688262A (en) System construction support device and system structure chart creation method
CN104503817B (en) A kind of continuous function figure programmed method
CN113051011A (en) RPA and AI combined image information extraction method and device
Daniotti et al. Benefits and challenges using BIM for operation and maintenance
CN104714468B (en) A kind of comparative approach of continuous function map file
CN110221577A (en) Numerical control device
CN109324856A (en) Menu treating method, device, computer equipment and storage medium
US11775263B2 (en) Control code generation and collaboration using active machine learning
CN103873548B (en) The method of service providing device and offer user interface
US9910642B2 (en) Optimal rule generation from a digraph representation
CN105759644A (en) Device for managing and configuring field devices in an automation installation
CN106054626B (en) Convenient for customized building automation system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230117

Address after: 100085 1st floor, building 1, yard 5, Shangdi East Road, Haidian District, Beijing

Patentee after: DATANG MOBILE COMMUNICATIONS EQUIPMENT Co.,Ltd.

Patentee after: CITIC Mobile Communication Technology Co.,Ltd.

Address before: 100083 No. 29, Haidian District, Beijing, Xueyuan Road

Patentee before: DATANG MOBILE COMMUNICATIONS EQUIPMENT Co.,Ltd.