CN106154846A - The control method of intelligent domestic system and device - Google Patents

The control method of intelligent domestic system and device Download PDF

Info

Publication number
CN106154846A
CN106154846A CN201510155584.4A CN201510155584A CN106154846A CN 106154846 A CN106154846 A CN 106154846A CN 201510155584 A CN201510155584 A CN 201510155584A CN 106154846 A CN106154846 A CN 106154846A
Authority
CN
China
Prior art keywords
control command
command node
node
edit mode
priority
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
CN201510155584.4A
Other languages
Chinese (zh)
Other versions
CN106154846B (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.)
Advanced Nova Technology Singapore Holdings Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201510155584.4A priority Critical patent/CN106154846B/en
Publication of CN106154846A publication Critical patent/CN106154846A/en
Application granted granted Critical
Publication of CN106154846B publication Critical patent/CN106154846B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Selective Calling Equipment (AREA)

Abstract

The invention discloses control method and the device of a kind of intelligent domestic system, in the above-mentioned methods, obtain combination control command stream, wherein, combination control command stream is to be formed according to preset algorithm editor by multiple control command nodes, there is multiple adjacent control command node at least one control command node that each control command node is distinguished in smart machines different in corresponding intelligent domestic system, and combination control command stream;According to combination control command stream, the part or all of smart machine in intelligent domestic system is controlled.The technical scheme provided according to the present invention, it is achieved that combination control mode more convenient and diversified to intelligent domestic system.

Description

The control method of intelligent domestic system and device
Technical field
The present invention relates to the communications field, in particular to control method and the device of a kind of intelligent domestic system.
Background technology
Smart Home is to utilize the computer technology of advanced person, network communications technology, comprehensive wiring technology, medical electronics skill Art, according to base of principle of human engineering, merges individual needs, by the subsystems relevant with household, such as: security protection, The control of signal light control, curtain, gas valve control, information household appliances, scene linkage, floor heating, health care, defend Biological and ecological methods to prevent plant disease, pests, and erosion epidemic disease etc. organically combines, and is controlled by networking comprehensive intelligent and manages, it is achieved what people-oriented is brand-new Household is experienced.
At present, the intelligent domestic system provided in correlation technique the most only possesses the combination controlling party that a kind of comparison is single Formula.Fig. 1 is the combination control mode schematic diagram of the intelligent domestic system according to correlation technique.As it is shown in figure 1, its tool Body shows themselves in that the execution result by Proactive Command controls whether subsequent commands performs, thus reaches systematization control Purpose, such as: temperature control system in opening chamber can be controlled whether according to the command execution results closing intelligent door and window, I.e. close intelligent door and window order run succeeded after, can only one single subsequent commands of deactivation (such as: open Indoor Temperature Ore-controlling Role) execution.
Fig. 2 is the flow chart of the combination control command editing process according to correlation technique.As in figure 2 it is shown, this was edited Journey is as follows: can edit combination control command stream the most in the user terminal, its purposes is: on user gos out daytime Before Ban, in order to take a breath to room ventilation, then can open intelligent door and window with remote control;By the time after user comes home from work, then Can be by performing the above-mentioned combination control command stream edited in advance, such as: control command a is (such as: close intelligence The order of door and window), control command b (such as: open the order of floor heating), control command c is (such as: turn on lights The order of photocontrol) ..., live hence into night After Hours.
Fig. 3 is the flow chart that the combination control command based on Fig. 2 according to correlation technique performs process.As it is shown on figure 3, Compound command can be imported the system end of intelligent domestic system by importing module, then by system end to combination control Command stream is scheduling performing.It is concrete that to perform process as follows: due to above-mentioned editor control command a (such as: close The order of intelligent door and window), control command b (such as: open the order of base plate heating), control command c is (such as: open Open the order of signal light control), and subsequent commands all uses serially, therefore, it is necessary first to perform control Order a, then according to control command a return execution result (such as: close intelligent door and window order whether perform Success) determine the need for continuing executing with control command b or stopping performing;If control command a runs succeeded, Then need to continue executing with control command b, then according to control command b return execution result (such as: open base plate Whether the order of heating runs succeeded) determine the need for continuing executing with control command c or stopping performing;If Control command b runs succeeded, then need to continue executing with control command c, the execution then returned according to control command c Result (such as: whether the order of turn on lights photocontrol runs succeeded) determines the need for continuing executing with subsequent commands Or stop performing;By that analogy.
But, the executive mode of the single process combination control command provided in correlation technique needs to perform successively to compile in advance Volume combination control command stream in every order, only run succeeded the execution postorder that just can continue in preamble control command Control command, the execution process flexibility thus easily causing control command is poor, cannot realize personalized performing configuration.
Summary of the invention
Embodiments provide control method and the device of a kind of intelligent domestic system, at least to solve correlation technique In single process combination control command executive mode single, lack motility problem.
According to an aspect of the invention, it is provided the control method of a kind of intelligent domestic system.
The control method of intelligent domestic system according to embodiments of the present invention includes: obtains and combines control command stream, wherein, Combination control command stream is to be formed according to preset algorithm editor by multiple control command nodes, and each control command node divides Smart machines different in not corresponding intelligent domestic system, and at least one control command joint in combination control command stream There is multiple adjacent control command node in point;According to combination control command stream to the part in intelligent domestic system or complete Portion's smart machine is controlled.
According to a further aspect in the invention, it is provided that the control device of a kind of intelligent domestic system.
The control device of intelligent domestic system according to embodiments of the present invention includes: acquisition module, is used for obtaining combination control Command stream processed, wherein, combination control command stream is to be formed according to preset algorithm editor, often by multiple control command nodes Smart machines different in the most corresponding intelligent domestic system of individual control command node, and in combination control command stream extremely There is multiple adjacent control command node in a few control command node;Control module, for controlling life according to combination Part or all of smart machine in intelligent domestic system is controlled by order stream.
By the embodiment of the present invention, using and obtain combination control command stream, wherein, combination control command stream is by multiple Control command node forms according to preset algorithm editor, in the most corresponding intelligent domestic system of each control command node not There is multiple adjacent control life at least one the control command node in same smart machine, and combination control command stream Make node;According to combination control command stream, the part or all of smart machine in intelligent domestic system is controlled, solves The executive mode of the single process combination control command in correlation technique of having determined is single, lack the problem of motility, Jin Ershi Now combination control mode more convenient and diversified to intelligent domestic system.
Accompanying drawing explanation
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this Bright schematic description and description is used for explaining the present invention, is not intended that inappropriate limitation of the present invention.At accompanying drawing In:
Fig. 1 is the combination control mode schematic diagram of the intelligent domestic system according to correlation technique;
Fig. 2 is the flow chart of the combination control command editing process according to correlation technique;
Fig. 3 is the flow chart that the combination control command based on Fig. 2 according to correlation technique performs process;
Fig. 4 is the hardware configuration of the mobile terminal of a kind of control method running intelligent domestic system of the embodiment of the present invention Block diagram;
Fig. 5 is the flow chart of the control method of intelligent domestic system according to embodiments of the present invention;
Fig. 6 is to be supported control command stream based on priority the most on the subscriber terminal Editing process flow chart;
Fig. 7 is the execution process flow diagram flow chart of based on Fig. 6 according to the preferred embodiment of the invention control command stream;
Fig. 8 is the schematic diagram controlling device of intelligent domestic system according to embodiments of the present invention;
Fig. 9 is the schematic diagram controlling device of intelligent domestic system according to the preferred embodiment of the invention;
Figure 10 be according to the preferred embodiment of the invention in intelligent domestic system by user terminal and system end phase interworking Close the schematic diagram realizing control process.
Detailed description of the invention
In order to make those skilled in the art be more fully understood that the present invention program, below in conjunction with in the embodiment of the present invention Accompanying drawing, is clearly and completely described the technical scheme in the embodiment of the present invention, it is clear that described embodiment It is only the embodiment of a present invention part rather than whole embodiments.Based on the embodiment in the present invention, ability The every other embodiment that territory those of ordinary skill is obtained under not making creative work premise, all should belong to The scope of protection of the invention.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, " Two " it is etc. for distinguishing similar object, without being used for describing specific order or precedence.Should be appreciated that this Sample use data can exchange in the appropriate case, in order to embodiments of the invention described herein can with except Here the order beyond those illustrating or describing is implemented.Additionally, term " includes " and " having " and they Any deformation, it is intended that cover non-exclusive comprising, such as, contain series of steps or the process of unit, side Method, system, product or equipment are not necessarily limited to those steps or the unit clearly listed, but can include the clearest List or for intrinsic other step of these processes, method, product or equipment or unit.
Embodiment 1
The invention provides the embodiment of the method for the control method of a kind of intelligent domestic system, it should be noted that attached Step shown in the flow chart of figure can perform in the computer system of such as one group of computer executable instructions, and, Although showing logical order in flow charts, but in some cases, can perform with the order being different from herein Shown or described step.
The embodiment of the method that the embodiment of the present invention one is provided can be in mobile terminal, terminal or similar fortune Calculate in device and perform.As a example by running on mobile terminals, Fig. 4 is that a kind of of the embodiment of the present invention runs Smart Home The hardware block diagram of the mobile terminal of the control method of system.As shown in Figure 4, mobile terminal 1 can include one Or multiple (only illustrating one in figure) processor 402 (processor 402 can include but not limited to microprocessor (MCU) Or the processing means of PLD (FPGA) etc.), for storing the memorizer 404 of data and for leading to The transmitting device 406 of telecommunication function.It will appreciated by the skilled person that the structure shown in Fig. 4 is only signal, The structure of above-mentioned mobile terminal is not caused restriction by it.Such as, mobile terminal 1 may also include than shown in Fig. 4 more more Many or less assembly, or there is the configuration different from shown in Fig. 1.
Memorizer 404 can be used for storing software program and the module of application software, such as the intelligence in the embodiment of the present invention Control instruction/module that the control method of house system is corresponding, processor 402 is stored in memorizer 404 by operation Interior software program and module, thus perform the application of various function and data process, i.e. realize above-mentioned intelligent family Occupy the control method of system.Memorizer 404 can include high speed random access memory, may also include nonvolatile memory, Such as one or more magnetic storage device, flash memory or other non-volatile solid state memories.In some instances, Memorizer 404 can farther include the memorizer remotely located relative to processor 402, and these remote memories are permissible It is connected to mobile terminal 1 by network.The example of above-mentioned network includes but not limited to the Internet, intranet, office Territory net, mobile radio communication and combinations thereof.
Transmitting device 406 is for receiving via a network or sending data.Above-mentioned network instantiation can include The wireless network that the communication providers of mobile terminal 1 provides.In an example, transmitting device 406 includes a net Network adapter (Network Interface Controller, referred to as NIC), they can be by base station and other networks Equipment is connected thus can carry out communication with the Internet.In an example, transmitting device 406 can be radio frequency (Radio Frequency, referred to as RF) module, it is for wirelessly carrying out communication with the Internet.
Under above-mentioned running environment, this application provides the control method of intelligent domestic system as shown in Figure 5.Fig. 5 It it is the flow chart of the control method of intelligent domestic system according to embodiments of the present invention.As it is shown in figure 5, the method is permissible Including following process step:
Step S502: obtaining combination control command stream, wherein, combination control command stream is by multiple according to preset algorithm Control command node editor form, smart machines different in the most corresponding intelligent domestic system of each control command node, And there is multiple adjacent control command node at least one the control command node in combination control command stream;
In the most corresponding intelligent domestic system of each control command node in S502 in the application above-mentioned steps one Type order, such as: signal light control order (is used for controlling light open and close or brighten for controlling light With dimmed), curtain control command (draw the curtain together for control or open curtain), room temperature control command (be used for controlling Floor heating processed opens and closes or is used for controlling temperature and heightens and turn down);Above-mentioned smart machine can include but not limited to At least one lower: signal light control equipment, curtain control equipment, room temperature controls equipment.
Step S504: the part or all of smart machine in intelligent domestic system is controlled according to combination control command stream System.
In S504 in the application above-mentioned steps, owing to the control command provided in intelligent domestic system is varied, And user the most generally have only to use wherein sub-fraction control command to control part smart machine.When So, owing to the manufacturer of intelligent domestic system is numerous, some manufacturer is for cost-effective consideration or technical research Level is restricted, and it is only provided that the smart machine using function the most single, and therefore, user is likely to once Need in using to use whole control command that whole smart machines are controlled operation.Such as: if the user while winter Come home from work to typically require afterwards and perform following operation: the conventional electric light turning on indoor illuminates → pull on indoor to provide Curtain with protection privacy → unlatchings floor heating to improve indoor temperature, to this end, user in order to avoid execution repetitive operation, can To edit combination control instruction in advance, i.e. signal light control order → curtain control command → room temperature control command.After, Every day only need to sequentially perform aforesaid operations.Certainly, if user family being additionally provided with anti-theft monitoring system to prevent In Jia nobody time personal property stolen, then after user opens the door, performing also editor while signal light control order has peace Full control command, at this point it is possible to make a choice between, both can first close burglary-resisting system and turn on electric light again, Can also first turn on electric light and turn off burglary-resisting system.
Based on foregoing description, by using the control method of the intelligent domestic system provided in above-described embodiment one, right Existing combination control mode and its use scene to be extended, be no longer limited to provided in correlation technique is complete Portion's control command all uses serially, but uses same control command at part control command node Node is connected with multiple postorder control command nodes via communication path and according to preset algorithm (such as: depth-first time Go through algorithm or breadth first traversal algorithm) and supporting rule (such as: priority scheduling pattern) determine multiple postorder The execution order of control command node.Thus, solve the single process in correlation technique and combine the execution side of control command Formula is single, lack the problem of motility, and then realizes combination control more convenient and diversified to intelligent domestic system Mode.
The above embodiments of the present application one provide scheme in, in step S504 realize according to combination control command stream pair Partly or entirely smart machine is controlled including following operation:
Step S1: resolve combination control command stream, obtain the editor that multiple control command node is arranged according to preset algorithm Mode, wherein, edit mode is to choose initial control command node from multiple control command nodes, and along initial The communication path of control command node seeks each accessibility control command node successively, all can arrive until searching The control command node reached, to determine the topological sorting relation of multiple control command node;
For the control command of the multiple serials execution employed in presently relevant technology, the above-mentioned enforcement of the application Technical scheme provided in example one more can be designed according to preset algorithm and control based on the combination of " tree " shape structure The edit mode of order.I.e. the part or all of control command node in edit mode is not as employed in correlation technique Serial single direction pattern, but have one and enter limit and have at least two and go out limit to connect multiple adjacent control Command node, finally determines the ordering relation of each control command node in " tree " shape structure.Such as: correlation technique In often use the edit mode that control command 1, control command 2, control command 3, control command 4 perform successively, I.e. control command 1 only one of which goes out limit connection control command 2, and control command 2 only one of which goes out limit connection control command 3, Control command 3 only one of which goes out limit connection control command 4, and it is more like a branch of " tree " shape structure.Only It is further continued for performing next control command in the case of previous control command runs succeeded.And use the application above-mentioned Edit mode provided in embodiment 1, control command 1 can have two go out limit be respectively communicated with control command 2 and control Order 3 processed, and control command 2 only one of which goes out limit connection control command 4, it is " tree " shape structure.Thus, logical Cross and combination control command stream is resolved the edit mode that just can get above-mentioned multiple control command node.
In the scheme that the above embodiments of the present application one provide, the multiple control command nodes realized in step S1 are according to presetting The edit mode that algorithm is arranged can include one below:
Mode one, multiple control command node arrange edit mode according to depth-first traversal algorithm, wherein, and multiple controls Part or all of control command node in command node processed is previously provided with priority, and priority is used for determining with same The priority execution order of the multiple adjacent control command node that individual control command node path communicates;
In multiple control command nodes of " tree " the shape structure composition given user, original state is all of control Command node is not all accessed, and therefore, it can therefrom choose a control command node as initial point to remaining not The control command node accessed conducts interviews.If the control command node that current accessed is crossed is communicated with two by going out limit Or more adjacent control command nodes, now, in the case of not setting special decision condition, can be according to Above-mentioned two or more adjacent control command node editor's order or to enter the priority of queue in the process of implementation suitable Sequence determines preferential which control command node of execution.
In the scheme that the above embodiments of the present application one provide, further, in the intelligence supporting that priority arranges and judges In house system, each control command node all can arrange the priority of correspondence.Priority can be according to the actual requirements It is configured and can be adjusted in real time, such as: can be in advance by the part or all of control in intelligent housing system Order is set to 10 grades (Lev1-Lev10), and Lev1 is limit priority order, and Lev10 is lowest priority Order, the priority of Lev1-Lev10 reduces successively.If being additionally provided with anti-theft monitoring system based in above-mentioned user family The example that during to prevent in family nobody, personal property is stolen, then after user opens the door, perform the same of signal light control order Time also edited safety control command, now, if not presetting signal light control order and safety control command Priority, then the terminal for controlling can in conjunction with the order of the command queue received (such as: signal light control is ordered Make and enter queue prior to safety control command), then just can first turn on electric light and turn off burglary-resisting system.But, if The priority presetting signal light control order and safety control command (is assumed to preset the excellent of signal light control order First level be the priority of Lev1 and safety control command be Lev2, and the priority of Lev1 is higher than Lev2), If then perform occur that signal light control order and safety control command need the sequencing of both Predicated execution simultaneously, Just can first turn on electric light turn off burglary-resisting system according to both priority set in advance.
During it should be noted that do not pre-set priority if there is a control command, intelligent domestic system will A default priority can be given for it.Such as: intelligent domestic system receives control command 1, control command 2, control System order 3 and control command 4, if can have two to go out limit according to above-mentioned control command 1 be respectively communicated with control life Make 2 and control command 3, and control command 2 only one of which goes out the topological connection relation of limit connection control command 4, that Assume that the priority that control command 2 is allocated in advance is Lev2, and control command 3 is not preassigned preferentially Level, herein, intelligent domestic system can be then the priority (such as: Lev3) that control command 3 distributes an acquiescence, And then owing to the priority of control command 2 is higher than the priority of control command 3, so needing to first carry out control command 2 Perform control command 3 again.
Fig. 6 is to be supported control command stream based on priority the most on the subscriber terminal Editing process flow chart.As shown in Figure 6, in the control command stream through editor, first branch point (is i.e. ordered Order stream starting point) control command a and control command x Liang Ge branch can be divided into, after it is all properly termed as starting point Sequence order (can certainly optionally one of them, as starting point, and have from control command a and control command x Preamble order), and the priority of control command a and control command x is both configured to Lev1.Control command a and control The preamble order of system order x is " initial order ", and " initial order " does not exist preamble order.Now, by Priority in control command a and control command x is Lev1, therefore, it can arbitrarily select one of them to be held OK, it is assumed that select to perform control command a place branch, process is the most specifically performed as follows: if control command a Run succeeded, then need to continue executing with second branch point, otherwise, stopping is continued executing with current branch.Second At branch point, the priority of control command b is set to Lev1, and the priority of control command d is set to Lev2, and Control command b and control command d are the postorder order of control command a, i.e. control command b and control command d Preamble order is control command a.Now, it is higher than the excellent of control command d due to priority Lev1 of control command b First level Lev2, then need preferentially to perform control command b place branch, if control command b runs succeeded, the most permissible Continue executing with control command c, perform postorder order the most successively, until the control command in whole branch is all held Row complete, or, when going to specific control command and unsuccessful so that stop perform.Perform the most again to control life Make d place branch, if control command d runs succeeded, then can continue executing with the 3rd branch point, otherwise, stop Only perform current branch.At the second branch point, the priority of control command e is set to Lev1, control command f Priority is set to Lev2, control command f and control command e and is the postorder order of control command d, control command The preamble order of f and control command e is control command d.Now, high due to priority Lev1 of control command e In priority Lev2 of control command f, then need preferentially to perform control command e place branch, if control command e Run succeeded, then can continue executing with subsequent commands, until the order in whole branch is all finished, or, When going to specific control command and unsuccessful so that stop perform.Perform control command f place branch the most again, If control command f runs succeeded, then can continue executing with subsequent commands, until the control command in whole branch is complete Portion is finished, or, when going to specific control command and unsuccessful so that stop perform.When control command a After place branch is all finished, perform the branch at control command x place the most again, until the control in whole branch System order be all finished, or, when going to specific control command and unsuccessful so that stop perform.So far, The control command stream edited on the subscriber terminal is all finished.
Mode two, multiple control command node arrange edit mode according to breadth first traversal algorithm, wherein, and multiple controls Part or all of control command node in command node processed is previously provided with priority, priority be used for determining be positioned at The difference of one level adjoins the priority execution order of control command node.
In multiple control command nodes of " tree " the shape structure composition given user, original state is all of control Command node is not all accessed, and therefore, it can therefrom choose a control command node as initial point to remaining not The control command node accessed conducts interviews.Control life is defined along going out limit outward expansion by path by starting point Make the hierarchical relationship between node, by the path between starting point can be using starting point as ground floor i.e. The child node of 1 is as the second layer, then using child node that the path between starting point is 2 as third layer, with This analogizes, and wherein, control command node place level can add 1 by path and obtain.
If the control command node that current accessed is crossed (assuming to be positioned at n-th layer) is communicated with two or more by going out limit Many adjacent control command nodes (being positioned at (n+1)th layer), now, in the case of not setting special decision condition, Can be according to above-mentioned two or more adjacent control command node editor's order being positioned at (n+1)th layer or in execution During enter the sequencing of queue determines preferential to perform which control command node.
In the scheme that the above embodiments of the present application one provide, further, equally supporting priority to arrange and sentencing In fixed intelligent domestic system, the priority of correspondence is set for each control command node.Priority equally basis Actual demand is configured and can be adjusted in real time, such as: can in advance by the part in intelligent housing system or All control command is set to 10 grades (Lev1-Lev10), and Lev1 is limit priority order, and Lev10 is Low priority order, the priority of Lev1-Lev10 reduces successively.Such as: intelligent domestic system receives and comes from user The control command 1 of terminal, control command 2, control command 3, control command 4 and control command 5, wherein, control System order 1 is control command 2, the father node of control command 3, and control command 2 is control command 4, control command 5 Father node.At this point it is possible to using control command 1 as ground floor, then control command 2, control command 3 due to And the path between control command 1 is 1, then as the second layer, and control command 4, control command 5 due to Path between control command 1 is 2, then as third layer.The priority assuming control command 1 is Lev1, The priority of control command 2 is Lev3, and the priority of control command 3 is Lev2, and the priority of control command 4 is Lev3, the priority of control command 5 is Lev2, then according to the priority of above-mentioned configuration, control command 1, control The execution order of order 2, control command 3, control command 4 and control command 5 is followed successively by: control command 1, control Order 3 processed, control command 2, control command 5 and control command 4.
In a preferred embodiment, specific to above-mentioned Fig. 6, if using breadth first traversal algorithm to edit, then In the control command stream through editor, control command a and control command x can be set to the first level, and The priority of control command a and control command x is both configured to Lev1.Now, due to control command a and control command The priority of x is Lev1, therefore, it can arbitrarily select one of them to be performed, it is assumed that select to perform control System order a, then then need to continue executing with control command x after having performed control command a.When being positioned at the first level After control command a and control command x are performed both by, then continue executing with the second level.In the second level, control The priority of order b is set to Lev1, and the priority of control command d is set to Lev2, now, due to control command Priority Lev1 of b higher than priority Lev2 of control command d, then needs preferentially to perform control command b, the most again Perform control command d.If control command d is finished, then can continue executing with third layer level.In third layer level In, the priority of control command e is set to Lev1, and the priority of control command f is set to Lev2, and owing to controlling Order c does not pre-set priority, then needing by intelligent domestic system is that control command c distributes a priority (priority being assumed to be the distribution of control command c is Lev3), now, owing to priority Lev1 of control command e is high In priority Lev2 of control command f, and priority Lev2 of control command f is higher than the preferential of control command c Level Lev3, then need preferentially to perform control command e, then perform control command f, finally performs control command c, until Subsequent control order is all finished.
It should be noted that what above-mentioned multiple control command node was mentioned in editing according to depth-first traversal algorithm Depth-first traversal algorithm and above-mentioned multiple control command node are mentioned in editing according to breadth first traversal algorithm Breadth first traversal algorithm be only two optimization algorithms of the preset algorithm provided in the embodiment of the present invention, it is not Constituting the improper restriction to the present invention, the embodiment of the present invention can also use next of other kinds of graph traversal algorithm completely Join different applicable scenes.
Step S2: obtained the control command node of successful execution in multiple control command node by edit mode, And according to the mutual execution sequencing of control command node each in the control command node of successful execution to portion Divide or all smart machine is controlled.
Due to the above-mentioned steps by mentioning in the embodiment of the present application one, the edit mode of multiple control command nodes and Execution sequence is the clearest and the most definite.Therefore, it can the edit mode mutual according to each control command and execution sequence Sequentially control correspondingly smart machine.Such as: it has been determined that signal light control order, curtain control command, room temperature control The edit mode that system is ordered, safety control command is mutual is as follows: signal light control order is the initial control of a branch Command node, is sequentially connected with curtain control command, room temperature control command;And safety control command is another branch Initial control command node.It addition, according to priority result of determination, each control command execution sequence is as follows: safety Control command → signal light control order → curtain control command → room temperature control command, therefore, specifically controls behaviour in execution During work, first close burglary-resisting system, open indoor electric lamps again, then pull on indoor curtain, finally open floor heating and supply Heat.
The above embodiments of the present application one provide scheme in, in step S2 one of which realize according to edit mode pair Partly or entirely smart machine is controlled may comprise steps of:
Step S21: judge whether pending control according to the edit mode obtained by depth-first traversal algorithm Command node processed;If it is, continue executing with step S22;If it is not, then continue executing with step S23;
During being preferable to carry out, judge whether to treat according to the edit mode obtained by depth-first traversal algorithm The control command node performed can specifically include following operation: determines that multiple control command node is excellent according to the degree of depth First ergodic algorithm carries out layout, obtains edit mode;Judge whether edit mode exists as root node pending Control command node, or, if exist from root node along communication path and the control command being currently finished The pending control command node that node is adjacent.
Such as: combination control command stream is made up of control command 1, control command 2, control command 3 and control command 4, Wherein, control command 1 is root node, control command 2 and the leaf node that control command 3 is control command 1, control System order 4 is again the leaf node of control command 2.During concrete execution, need to judge the most pending position Put and be at the root node of control command 1, be in control command 2, control command 3 or control command 4 At leaf node.When performing first, it is positioned at the root node of control command 1, the most just can perform the control of root node Order 1;If right and wrong perform first, then can perform above-mentioned control command 2 successively according to above-mentioned edit mode, control Order 3 and control command 4.
Step S22: choose the highest control command node of priority from pending control command node and perform, Return step S21;
Step S23: judge whether the control command node being currently finished exists the preamble control command of previously execution Node;If it is, return step S21;If it is not, then terminate.
In a preferred embodiment, in the system that the above-mentioned control command conductance through editor is entered intelligent home control system After end, the system end of intelligent home control system uses extreme saturation algorithm based on priority to perform this control command Stream.The process that the system end scheduling of intelligent home control system performs command stream is as follows:
Fig. 7 is the execution process flow diagram flow chart of based on Fig. 6 according to the preferred embodiment of the invention control command stream.Such as figure Shown in 7, the system end of intelligent home control system is when performing starting point, and it finds and perform is " initiation command ", Not there is " preamble order " in this order.First, performing " initiation command " is an initialized process, then obtains Take postorder control command a and control command x, so select priority the highest be not carried out order, due to control command a Identical with control command x priority, therefore, it can randomly choose in execution control command a and control command x any Article one, control command.It is assumed herein that prioritizing selection control command a, i.e. perform the flow process 1 in Fig. 7;When control command a After execution, i.e. start to perform the postorder order of control command a (according to performing result situation), get control command B and control command d.Owing to priority Lev1 of control command b is higher than priority Lev2 of control command d, therefore, Control command b selecting priority higher starts to perform, and i.e. performs the flow process 1.1 in Fig. 7.Order b to be controlled and After the postorder order c of its control command b is finished, another postorder then starting to perform control command a controls Order d and postorder control command thereof, i.e. perform the flow process 1.2 in Fig. 7;After control command d runs succeeded, by In priority Lev1 of control command e higher than priority Lev2 of control command f, therefore, again can be according to priority First carry out flow process 1.2.1 in Fig. 7, perform flow process 1.2.2 in Fig. 6 the most again.In control command a and control After the postorder order of order a is all finished, just start to perform another postorder control command of " initiation command " X, i.e. performs the flow process 2 in Fig. 7.
The above embodiments of the present application one provide scheme in, in step S2 another realize according to edit mode by Secondary it is controlled may comprise steps of to part or all of smart machine:
Step S24: judge whether current level exists according to the edit mode obtained by breadth first traversal algorithm and treat The control command node performed;If it is, continue executing with step S25;If it is not, then continue executing with step S26;
During being preferable to carry out, judge institute according to the described edit mode obtained by described breadth first traversal algorithm State current level whether to there is described pending control command node and can specifically include following operation: determine described many Individual control command node carries out layout according to described breadth first traversal algorithm, obtains described edit mode;Judge Whether described edit mode exists the described pending control command node as root node, or, if exist from Described root node sets out described pending control command joint between the brotgher of node of same level along communication path Point.
Such as: combination control command stream is made up of control command 1, control command 2, control command 3 and control command 4, Wherein, control command 1 is for root node and is positioned at the first level, and control command 2 and control command 3 are control command 1 Leaf node and belong to the brotgher of node of the second level, control command 4 is again leaf node and the position of control command 2 In third layer level.During concrete execution, need to judge the root joint that the most pending position is in control command 1 At Dian, it is at the leaf node of control command 2, control command 3 or control command 4.When performing first, It is positioned at the root node of control command 1, the most just can perform the control command 1 of root node;If right and wrong perform first, Then can perform above-mentioned control command 2, control command 3 and control command 4 successively according to above-mentioned edit mode.
Step S25: choose the highest control command node of priority from pending control command node and perform, Return step S24;
Step S26: judge whether the control command node being currently finished exists the postorder control command of next level Node;If it is, return step S24;If it is not, then terminate.
In a preferred embodiment, in the system that the above-mentioned control command conductance through editor is entered intelligent home control system After end, the system end of intelligent home control system uses breadth traversal algorithm based on priority to perform this control command Stream.The process that the system end scheduling of intelligent home control system performs command stream is as follows:
The system end of intelligent home control system is when performing starting point, and it finds and perform is " initiation command ".First First, performing " initiation command " is an initialized process, then obtain be positioned at the first level control command a and Control command x, so select priority the highest be not carried out order, owing to control command a and control command x are preferential Level is identical, therefore, it can randomly choose any one order in execution control command a and control command x.False herein If prioritizing selection control command a, after order a performs, i.e. start to perform to control life (according to performing result situation) Make x, and after having performed control command x, determine and be positioned at control command a of the first level and control command x is whole It is finished.It follows that get control command b and control command d being positioned at the second level.Due to control command b Priority Lev1 higher than priority Lev2 of control command d, therefore, select control command b that priority is higher Start to perform, and after order b to be controlled is finished, then start to perform control command d;When control command d is held After going successfully, determine and be positioned at control command b of the second level and control command d is all finished.It follows that obtain Fetch bit is in control command c, control command e and control command f of third layer level.And owing to control command c is the most pre- First arrange priority, then needing by intelligent domestic system is that control command c one priority of distribution (is assumed to be control life The priority making c distribute is Lev3), now, owing to priority Lev1 of control command e is higher than control command f Priority Lev2, and priority Lev2 of control command f is higher than priority Lev3 of control command c, then need Preferentially perform control command e according to priority order from high to low, then perform control command f, finally perform to control life Make c, until subsequent control order is all finished.
It should be noted that for aforesaid each method embodiment, in order to be briefly described, therefore it is all expressed as one it be The combination of actions of row, but those skilled in the art should know, the present invention not limiting by described sequence of movement System, because according to the present invention, some step can use other orders or carry out simultaneously.Secondly, art technology Personnel also should know, embodiment described in this description belongs to preferred embodiment, involved action and module Not necessarily necessary to the present invention.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive according to above-mentioned enforcement The method of example can add the mode of required general hardware platform by software and realize, naturally it is also possible to by hardware, but In the case of Hen Duo, the former is more preferably embodiment.Based on such understanding, technical scheme substantially or Saying that the part contributing prior art can embody with the form of software product, this computer software product is deposited Storage is in a storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions with so that a station terminal Equipment (can be mobile phone, computer, server, or the network equipment etc.) performs described in each embodiment of the present invention Method.
Embodiment 2
According to embodiments of the present invention, a kind of device embodiment for implementing said method embodiment is additionally provided.Fig. 8 It it is the schematic diagram controlling device of intelligent domestic system according to embodiments of the present invention.
As shown in Figure 8, the control device of this intelligent domestic system may include that acquisition module 10, control module 20.
Wherein, acquisition module 10, it is used for obtaining combination control command stream, wherein, combination control command stream is according in advance Imputation method is formed by multiple control command node editors, in the most corresponding intelligent domestic system of each control command node not There is multiple adjacent control life at least one the control command node in same smart machine, and combination control command stream Make node;Control module 20, for according to combining control command stream to the part or all of intelligence in intelligent domestic system Equipment is controlled.
It follows that the device embodiment that the application provides, this device can apply to intelligent domestic system end, permissible By receiving combination control command stream from client, this combination control command stream can be edited at user terminal, so After again combination control command conductance is entered intelligent domestic system end.By to existing combination control mode and its use Scene is extended, and is no longer limited to the side that the whole control commands provided in correlation technique all use serial to perform Formula, but use same control command node via communication path and multiple postorder controls at part control command node Command node processed be connected and according to preset algorithm (such as: depth-first traversal algorithm or breadth first traversal algorithm) and Its supporting rule (such as: priority scheduling pattern) determines the execution order of multiple postorder control command node.Thus, Solve in correlation technique single process combination control command executive mode single, lack motility problem, and then Realize combination control mode more convenient and diversified to intelligent domestic system.
Herein it should be noted that the acquisition module 10 that provides of the above embodiments of the present application and control module 20 with implement The method step S502 provided in example one has identical application scenarios to step S504, but is not limited to what method provided Example.And above-mentioned modules can operate in mobile terminal 1 as a part for hardware.
Preferably, as it is shown in figure 9, control module 20 may include that acquiring unit 200 and control unit 202.
Wherein, acquiring unit 200, it is used for resolving combination control command stream, obtains multiple control command node according in advance The edit mode that imputation method is arranged, wherein, edit mode is for choose initial control command from multiple control command nodes Node, and seek each accessibility control command node successively, directly along the communication path of initial control command node To searching whole accessibility control command node, to determine the topological sorting relation of multiple control command node;Control Unit 202 processed, is saved for being obtained the control command of successful execution in multiple control command node by edit mode Point, and according to the mutual execution sequencing of control command node each in the control command node of successful execution Part or all of smart machine is controlled.
Herein it should be noted that the acquiring unit 200 of the above embodiments of the present application offer and control unit 202 are with real The method step S1 that executing provides in example one has identical application scenarios to step S2, but is not limited to showing of method offer Example.And above-mentioned unit can operate in mobile terminal 1 as a part for hardware.
Preferably, above-mentioned multiple control command node arranges edit mode according to preset algorithm and can include one below:
Mode one, multiple control command nodes are arranged edit mode according to depth-first traversal algorithm, wherein, multiple Part or all of control command node in control command node is previously provided with priority, and priority is used for determining with same The priority execution order of the multiple adjacent control command node that one control command node path communicates;
Mode two, multiple control command nodes are arranged edit mode according to breadth first traversal algorithm, wherein, multiple Part or all of control command node in control command node is previously provided with priority, and priority is used for determining and is positioned at The difference of same level adjoins the priority execution order of control command node.
Herein it should be noted that the first acquisition subelement and second that the above embodiments of the present application provide obtains subelement With mode one and the mode two of the acquisition edit mode provided in embodiment one, there is identical application scenarios, but be not limited to The example that method provides.And above-mentioned unit can operate in mobile terminal 1 as a part for hardware.
Preferably, control unit 202 may include that the first judgment sub-unit, first choose subelement and second judge Subelement.
Wherein, the first judgment sub-unit (not shown), for according to the volume obtained by depth-first traversal algorithm The mode of collecting judges whether pending control command node;First chooses subelement (not shown), is used for When first judgment sub-unit is output as being, choose, from pending control command node, the control command that priority is the highest Node also performs, and then execution result is fed back to the first judgment sub-unit;Second judgment sub-unit (not shown), For when the first judgment sub-unit is output as no, whether the control command node continuing to judge currently to be finished exists The preamble control command node previously performed, and when self output result is for being, feeds back this output result and sentence to first Disconnected subelement, otherwise, stops performing.
During being preferable to carry out, the first judgment sub-unit (not shown), it is used for determining multiple control command node Carry out layout to obtain edit mode according to depth-first traversal algorithm, and judge whether edit mode exists conduct The pending control command node of root node, or, if exist from root node along communication path with currently hold The pending control command node that complete control command node of going is adjacent.
Herein it should be noted that the above embodiments of the present application provide the first judgment sub-unit, first choose subelement To step S23, there is identical application scenarios with the method step S21 of offer in embodiment one with the second judgment sub-unit, But it is not limited to the example that method provides.And above-mentioned unit can operate in mobile terminal as a part for hardware In 1.
Preferably, control unit 202 may include that the 3rd judgment sub-unit, second chooses subelement and the 4th judgement Subelement.
Wherein, the 3rd judgment sub-unit (not shown), for according to the volume obtained by breadth first traversal algorithm The mode of collecting judges whether current level exists pending control command node;Second chooses subelement (not shown), For when the 3rd judgment sub-unit is output as being, choose, from pending control command node, the control that priority is the highest Command node processed also performs, and then execution result is fed back to the 3rd judgment sub-unit;4th judgment sub-unit is (in figure Not shown), for when the 3rd judgment sub-unit is output as no, continue the control command node judging currently to be finished Whether there is the postorder control command node of next level, and when self output result is for being, feed back this output result To the 3rd judgment sub-unit, otherwise, stop performing.
During being preferable to carry out, the 3rd judgment sub-unit, it is used for determining that multiple control command node is according to range First traversal algorithm carries out layout to obtain edit mode, and judge edit mode whether exist as root node wait hold The control command node of row, or, if there is the brother's joint being positioned at same level from root node along communication path Control command node pending between point.
Herein it should be noted that the above embodiments of the present application provide the 3rd judgment sub-unit, second choose subelement To step S26, there is identical application scenarios with the method step S24 of offer in embodiment one with the 4th judgment sub-unit, But it is not limited to the example that method provides.And above-mentioned unit can operate in mobile terminal as a part for hardware In 1.
As a preferred embodiment of the present invention, Figure 10 is according to the preferred embodiment of the invention in intelligent domestic system Cooperated by user terminal and system end and realize the schematic diagram of control process.As shown in Figure 10, this Smart Home system System may include that user terminal and system end and multiple execution execution unit customizable, extendible (each execution Parts correspondence one smart machine), wherein, user terminal may include that commard editor module, system end may include that Order imports module and (can be used to the combination control command stream realizing above-mentioned memorizer 404 to receiving from user terminal Carry out the function stored), dispatching control module (can be used to realize above-mentioned processor 402 and transmitting device 406 basis The function that part or all of smart machine in intelligent domestic system is controlled by combination control command stream).This intelligence man The system that occupies by introducing the mechanism that depth-first traversal and command prioritization judge, to existing combination control mode with And use scene to be extended, to support more complicated use scene.Pass through extreme saturation, it is possible to achieve multithread Journey compound traversal, completes more convenient and diversified combination and controls.Commard editor module on the subscriber terminal is permissible Editor control command stream, such as: initial order is for closing intelligent door and window order, and postorder order is the unlatching of high priority Other of the order of Indoor Temperature Ore-controlling Role, the order regulating indoor light of medium priority and low priority perform order. Then, import module by the order on system end and the above-mentioned order control stream through editor is directed into system end.? After, dispatching control module performing the above-mentioned order through editor and control stream, it can be according to closing intelligent door and window order Execution result judge whether to need to continue executing with postorder order.If performing failure, then stop continuing executing with;If Run succeeded, first go to travel through the order of temperature control system in the opening chamber of high priority, to perform temperature control in opening chamber System and subsequent commands, travel through the order of the regulation indoor light of medium priority the most again, to perform to adjust indoor lamp Light and subsequent commands, other traveling through low priority the most again perform order.
Furthermore, it is necessary to explanation, in order to more simplify the operation of user, can set at intelligent domestic system end Put intervalometer, in order to periodically carry out multi-mode operation set in advance.Such as: assume user 18:00 the most at night Coming home from work in left and right, then just can be by arranging intervalometer, and agreement 18:00 intelligent domestic system every night is automatic Perform user's combination set in advance control command stream, automatically turn on indoor light, close burglary-resisting system, pull on indoor Curtain and unlatching floor heating regulate the room temperature.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
In the above embodiment of the present invention, the description to each embodiment all emphasizes particularly on different fields, and does not has in certain embodiment The part described in detail, may refer to the associated description of other embodiments.
In several embodiments provided herein, it should be understood that disclosed mobile terminal, can be passed through other Mode realize.Wherein, device embodiment described above is only schematically, the division of the most described unit, Being only a kind of logic function to divide, actual can have other dividing mode, the most multiple unit or assembly when realizing Can in conjunction with or be desirably integrated into another system, or some features can be ignored, or does not performs.Another point, institute The coupling each other shown or discuss or direct-coupling or communication connection can be by some interfaces, unit or mould The INDIRECT COUPLING of block or communication connection, can be being electrical or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to On multiple NEs.Some or all of unit therein can be selected according to the actual needs to realize the present embodiment The purpose of scheme.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.Above-mentioned integrated Unit both can realize to use the form of hardware, it would however also be possible to employ the form of SFU software functional unit realizes.
If described integrated unit realizes and as independent production marketing or use using the form of SFU software functional unit Time, can be stored in a computer read/write memory medium.Based on such understanding, technical scheme Completely or partially can producing with software of the part that the most in other words prior art contributed or this technical scheme The form of product embodies, and this computer software product is stored in a storage medium, including some instructions in order to make Obtain a computer equipment (can be personal computer, server or the network equipment etc.) and perform each enforcement of the present invention All or part of step of method described in example.And aforesaid storage medium includes: USB flash disk, read only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), portable hard drive, magnetic The various medium that can store program code such as dish or CD.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For Yuan, under the premise without departing from the principles of the invention, it is also possible to make some improvements and modifications, these improve and profit Decorations also should be regarded as protection scope of the present invention.

Claims (12)

1. the control method of an intelligent domestic system, it is characterised in that including:
Obtain combination control command stream, wherein, described combination control command stream be by multiple control command nodes by According to preset algorithm, editor forms, and in each control command node corresponding intelligent domestic system respectively, different intelligence sets Standby, and there is multiple adjacent control command at least one the control command node in described combination control command stream Node;
According to described combination control command stream, the part or all of smart machine in described intelligent domestic system is carried out Control.
Method the most according to claim 1, it is characterised in that according to described combination control command stream to described part Or all smart machine is controlled including:
Resolve described combination control command stream, obtain the plurality of control command node and set according to described preset algorithm The edit mode put, wherein, described edit mode is for choosing initial control from the plurality of control command node Command node, and seek each accessibility control successively along the communication path of described initial control command node Command node, until searching whole accessibility control command node, to determine that the plurality of control command saves The topological sorting relation of point;
The control command being obtained successful execution in the plurality of control command node by described edit mode is saved The execution that in point, and the control command node according to described successful execution, each control command node is mutual Described part or all of smart machine is controlled by sequencing.
Method the most according to claim 2, it is characterised in that the plurality of control command node is preset according to described Algorithm arranges described edit mode and includes one below:
The plurality of control command node arranges described edit mode, wherein, institute according to depth-first traversal algorithm State the part or all of control command node in multiple control command node and be previously provided with priority, described preferentially Level performs for the priority determining the multiple adjacent control command node communicated with same control command node path Order;
The plurality of control command node arranges described edit mode, wherein, institute according to breadth first traversal algorithm State the part or all of control command node in multiple control command node and be previously provided with priority, described preferentially Level is for determining that the difference being positioned at same level adjoins the priority execution order of control command node.
Method the most according to claim 3, it is characterised in that in described edit mode according to described depth-first time Go through in the case of algorithm carries out layout, according to described edit mode, described part or all of smart machine is controlled System includes:
Step 1: judge whether according to the described edit mode obtained by described depth-first traversal algorithm Pending control command node;If it is, continue executing with step 2;If it is not, then continue executing with step 3;
Step 2: choose the highest control command node of priority from described pending control command node also Perform, return step 1;
Step 3: judge whether the control command node being currently finished exists the preamble control life of previously execution Make node;If it is, return step 1;If it is not, then terminate.
Method the most according to claim 4, it is characterised in that obtain according to by described depth-first traversal algorithm Described edit mode judge whether that described pending control command node includes:
Determine that the plurality of control command node carries out layout according to described depth-first traversal algorithm, obtain Described edit mode;
Judge whether described edit mode exists the described pending control command node as root node, or, Whether exist from described root node adjacent with the control command node being currently finished along communication path Described pending control command node.
Method the most according to claim 3, it is characterised in that in described edit mode according to described breadth First time Go through in the case of algorithm carries out layout, according to described edit mode, described part or all of smart machine is controlled System includes:
Step 1: judge current level according to the described edit mode obtained by described breadth first traversal algorithm Whether there is pending control command node;If it is, continue executing with step 2;If it is not, then continue Perform step 3;
Step 2: choose the highest control command node of priority from described pending control command node also Perform, return step 1;
Step 3: judge whether the control command node being currently finished exists the postorder control life of next level Make node;If it is, return step 1;If it is not, then terminate.
Method the most according to claim 6, it is characterised in that obtain according to by described breadth first traversal algorithm Described edit mode judge whether described current level exists described pending control command node and include:
Determine that the plurality of control command node carries out layout according to described breadth first traversal algorithm, obtain Described edit mode;
Judge whether described edit mode exists the described pending control command node as root node, or, Whether exist from described root node along communication path between the brotgher of node of same level described pending Control command node.
8. the control device of an intelligent domestic system, it is characterised in that including:
Acquisition module, is used for obtaining combination control command stream, and wherein, described combination control command stream is by multiple Control command node forms according to preset algorithm editor, the most corresponding intelligent domestic system of each control command node At least one control command node in middle different smart machine, and described combination control command stream exists multiple Adjacent control command node;
Control module, is used for according to described combination control command stream the part in described intelligent domestic system or complete Portion's smart machine is controlled.
Device the most according to claim 8, it is characterised in that described control module includes:
Acquiring unit, is used for resolving described combination control command stream, obtain the plurality of control command node according to The edit mode that described preset algorithm is arranged, wherein, described edit mode is from the plurality of control command node In choose initial control command node, and seek successively often along the communication path of described initial control command node Individual accessibility control command node, until searching whole accessibility control command node, described to determine The topological sorting relation of multiple control command nodes;
Control unit, is the most successfully held for being obtained in the plurality of control command node by described edit mode The control command node of row, and save according to each control command in the control command node of described successful execution Described part or all of smart machine is controlled by the mutual execution sequencing of point.
Device the most according to claim 9, it is characterised in that the plurality of control command node is preset according to described Algorithm arranges described edit mode and includes one below:
The plurality of control command node is arranged described edit mode according to depth-first traversal algorithm, wherein, Part or all of control command node in the plurality of control command node is previously provided with priority, described excellent First level is for determining that the priority of the multiple adjacent control command node communicated with same control command node path is held Row order;
The plurality of control command node is arranged described edit mode according to breadth first traversal algorithm, wherein, Part or all of control command node in the plurality of control command node is previously provided with priority, described excellent First level is for determining that the difference being positioned at same level adjoins the priority execution order of control command node.
11. devices according to claim 10, it is characterised in that described control unit includes:
First judgment sub-unit, for according to the described edit mode obtained by described depth-first traversal algorithm Judge whether pending control command node;
First chooses subelement, for when described first judgment sub-unit is output as being, from described pending Control command node chosen the highest control command node of priority and performs, then execution result being fed back to Described first judgment sub-unit;
Second judgment sub-unit, for when described first judgment sub-unit is output as no, continues to judge currently to hold Whether the complete control command node of row exists the preamble control command node of previously execution, and at self output knot When fruit is for being, feeds back this output result extremely described first judgment sub-unit, otherwise, stop performing.
12. devices according to claim 10, it is characterised in that described control unit includes:
3rd judgment sub-unit, for according to the described edit mode obtained by described breadth first traversal algorithm Judge whether current level exists pending control command node;
Second chooses subelement, for when described 3rd judgment sub-unit is output as being, from described pending Control command node chosen the highest control command node of priority and performs, then execution result being fed back to Described 3rd judgment sub-unit;
4th judgment sub-unit, for when described 3rd judgment sub-unit is output as no, continues to judge currently to hold Whether the complete control command node of row exists the postorder control command node of next level, and at self output knot When fruit is for being, feeds back this output result extremely described 3rd judgment sub-unit, otherwise, stop performing.
CN201510155584.4A 2015-04-02 2015-04-02 The control method and device of smart home system Active CN106154846B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510155584.4A CN106154846B (en) 2015-04-02 2015-04-02 The control method and device of smart home system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510155584.4A CN106154846B (en) 2015-04-02 2015-04-02 The control method and device of smart home system

Publications (2)

Publication Number Publication Date
CN106154846A true CN106154846A (en) 2016-11-23
CN106154846B CN106154846B (en) 2019-03-15

Family

ID=57338078

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510155584.4A Active CN106154846B (en) 2015-04-02 2015-04-02 The control method and device of smart home system

Country Status (1)

Country Link
CN (1) CN106154846B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106707781A (en) * 2016-12-19 2017-05-24 常宸 Intelligent housekeeper task scheduling method and device thereof
CN106843814A (en) * 2016-12-28 2017-06-13 北京智能管家科技有限公司 For the MIMD processing method and processing device of robot system interaction
CN108171944A (en) * 2016-12-08 2018-06-15 上海慧流云计算科技有限公司 Apparatus control method and device
CN108873730A (en) * 2018-08-31 2018-11-23 珠海格力电器股份有限公司 Control method and device for household equipment
CN111190401A (en) * 2019-12-30 2020-05-22 讯飞智元信息科技有限公司 Instruction scheduling method, hydraulic engineering control method, equipment and medium
CN113625583A (en) * 2021-08-25 2021-11-09 施勒智能科技(上海)股份有限公司 Equipment control method, system and readable storage medium
CN114902149A (en) * 2020-03-23 2022-08-12 Oppo广东移动通信有限公司 Information sending method, device, equipment and storage medium
CN116300512A (en) * 2023-05-17 2023-06-23 绵阳师范学院 Intelligent home control method, system, terminal and medium based on Internet of things

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100146356A1 (en) * 2008-12-05 2010-06-10 Electronics And Telecommunications Research Institute Wireless sensor node
CN102769555A (en) * 2012-06-27 2012-11-07 喻应东 Intelligent home system
CN103412547A (en) * 2013-08-16 2013-11-27 王金友 Method for controlling intelligent housing system through handheld remote control terminal
CN104113560A (en) * 2013-04-16 2014-10-22 镇江畅远信息科技有限公司 Intelligent household security monitoring system based on internet of things technology

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100146356A1 (en) * 2008-12-05 2010-06-10 Electronics And Telecommunications Research Institute Wireless sensor node
CN102769555A (en) * 2012-06-27 2012-11-07 喻应东 Intelligent home system
CN104113560A (en) * 2013-04-16 2014-10-22 镇江畅远信息科技有限公司 Intelligent household security monitoring system based on internet of things technology
CN103412547A (en) * 2013-08-16 2013-11-27 王金友 Method for controlling intelligent housing system through handheld remote control terminal

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108171944A (en) * 2016-12-08 2018-06-15 上海慧流云计算科技有限公司 Apparatus control method and device
CN106707781A (en) * 2016-12-19 2017-05-24 常宸 Intelligent housekeeper task scheduling method and device thereof
CN106843814A (en) * 2016-12-28 2017-06-13 北京智能管家科技有限公司 For the MIMD processing method and processing device of robot system interaction
CN108873730A (en) * 2018-08-31 2018-11-23 珠海格力电器股份有限公司 Control method and device for household equipment
CN108873730B (en) * 2018-08-31 2021-07-13 珠海格力电器股份有限公司 Control method and device for household equipment
CN111190401A (en) * 2019-12-30 2020-05-22 讯飞智元信息科技有限公司 Instruction scheduling method, hydraulic engineering control method, equipment and medium
CN114902149A (en) * 2020-03-23 2022-08-12 Oppo广东移动通信有限公司 Information sending method, device, equipment and storage medium
CN113625583A (en) * 2021-08-25 2021-11-09 施勒智能科技(上海)股份有限公司 Equipment control method, system and readable storage medium
CN116300512A (en) * 2023-05-17 2023-06-23 绵阳师范学院 Intelligent home control method, system, terminal and medium based on Internet of things
CN116300512B (en) * 2023-05-17 2023-08-01 绵阳师范学院 Intelligent home control method, system, terminal and medium based on Internet of things

Also Published As

Publication number Publication date
CN106154846B (en) 2019-03-15

Similar Documents

Publication Publication Date Title
CN106154846A (en) The control method of intelligent domestic system and device
US10201063B2 (en) Advanced networked lighting control system including improved systems and methods for automated self-grouping of lighting fixtures
US10920491B2 (en) Shading and lighting control using a control network
CN104881013B (en) The intelligent household electrical appliance linkage control method excavated based on user's habits and customs
US11735918B2 (en) Method and apparatus for electrical load control network
US9366082B2 (en) Shading control network using a control network
US7221110B2 (en) Lighting control system and method
CN103329629A (en) Control of network lighting systems
CN104834223A (en) Information pushing method and device thereof
CN109491253A (en) A kind of on-line study type individualized intelligent house system and its control method
CN110531633A (en) Cooperative control method and device, storage medium based on smart home operating system
CN107085417A (en) A kind of automatic mode of intelligent domestic system
EP3466206B1 (en) Illumination control
US20190008017A1 (en) Discovery message and provisioning request interface for lighting networks
CN109991858A (en) A kind of scene pairing control method, apparatus and system
CN109507897A (en) A kind of secondary linkage control system and method based on smart home system
CN111399459A (en) Intelligent household equipment control method, device, equipment and storage medium
EP3399844A1 (en) System and method for automatically creating and operating a functional association of lights
CN105025637B (en) A kind of blue-tooth intelligence lamp
CN107305350A (en) The control method and its intelligent domestic system of intelligent domestic system
CN109725578B (en) Hotel management method, system and device and computer storage medium
CN210958917U (en) Intelligent household lighting control system
CN104968121B (en) A kind of lamp light control method and device learnt automatically
CN107230479A (en) A kind of smart home multi-kind control device with the artificial maincenter of machine
CN110673494A (en) Control page generation method, device, terminal and storage medium

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
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200921

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200921

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Patentee before: Alibaba Group Holding Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240218

Address after: Guohao Times City # 20-01, 128 Meizhi Road, Singapore

Patentee after: Advanced Nova Technology (Singapore) Holdings Ltd.

Country or region after: Singapore

Address before: 27 Hospital Road, George Town, Grand Cayman ky1-9008

Patentee before: Innovative advanced technology Co.,Ltd.

Country or region before: Cayman Islands