CN109725541A - Generation method, device, electronic equipment and the storage medium of automation - Google Patents

Generation method, device, electronic equipment and the storage medium of automation Download PDF

Info

Publication number
CN109725541A
CN109725541A CN201811520855.1A CN201811520855A CN109725541A CN 109725541 A CN109725541 A CN 109725541A CN 201811520855 A CN201811520855 A CN 201811520855A CN 109725541 A CN109725541 A CN 109725541A
Authority
CN
China
Prior art keywords
automation
scheme
current scene
equipment
template
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811520855.1A
Other languages
Chinese (zh)
Other versions
CN109725541B (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.)
Shenzhen Lumi United Technology Co Ltd
Original Assignee
Shenzhen Lumi United Technology 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 Shenzhen Lumi United Technology Co Ltd filed Critical Shenzhen Lumi United Technology Co Ltd
Priority to CN201811520855.1A priority Critical patent/CN109725541B/en
Publication of CN109725541A publication Critical patent/CN109725541A/en
Application granted granted Critical
Publication of CN109725541B publication Critical patent/CN109725541B/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

This application discloses a kind of generation method of automation, device, electronic equipment and storage mediums, this method comprises: obtaining automation template, automation template includes at least one automation scheme;The automation scheme automated in template is matched with current scene, obtains the automation scheme for meeting preset matching condition;The automation scheme for meeting preset matching condition is automatically configured in current scene.The application realizes automatically configuring for automation scheme by scene matching, substantially reduces the threshold that uses of user, and the application of energy Rapid Popularization automation allows user that can configure and use easily smart home.

Description

Generation method, device, electronic equipment and the storage medium of automation
Technical field
This application involves Smart Home technical fields, more particularly, to a kind of generation method of automation, device, electricity Sub- equipment and storage medium.
Background technique
The core key of smart home is automation, i.e., according to automation scheme automatically place to go keep house it is various existing in front yard As, various equipment of configuration.This automation scheme refers to if when current household scene meets specified conditions, is carried out specific behaviour Make.For example, if someone passes through, just turn on light.If temperature is higher than 30 degrees Celsius, just turn on the aircondition.But in the prior art, automatically The allocative efficiency of change scheme is relatively low, and user is higher using threshold in configuration.
Summary of the invention
In view of the above problems, present applicant proposes a kind of generation method of automation, device, electronic equipment and storages to be situated between Matter, can reduce user uses threshold, improves allocative efficiency.
In a first aspect, the embodiment of the present application provides a kind of generation method of automation, this method comprises: obtaining automation Template, automation template includes at least one automation scheme;Will automate template in automation scheme and current scene into Row matching, obtains the automation scheme for meeting preset matching condition;It is automatically configured in current scene and meets preset matching condition Automation scheme.
Second aspect, the embodiment of the present application provide a kind of generating means of automation, and device includes: acquisition module, use Template is automated in obtaining, automation template includes at least one automation scheme;Matching module, for that will automate in template Automation scheme matched with current scene, obtain and meet the automation scheme of preset matching condition;Generation module is used for The automation scheme for meeting preset matching condition is automatically configured in current scene.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, and the electronic equipment includes: memory;One Or multiple processors, it is coupled with the memory;One or more programs, wherein one or more of application programs are deposited It stores up in the memory and is configured as being executed by one or more of processors, one or more of programs configurations are used In the execution above method.
Fourth aspect, the embodiment of the present application provides a kind of computer-readable storage medium, described computer-readable Program code is stored in storage medium, said program code can call the side executed as described in above-mentioned first aspect by processor Method.
Generation method, device, electronic equipment and the storage medium of automation provided by the embodiments of the present application, by first obtaining Automate template, automation template include at least one automation scheme, then will automate template in automation scheme with Current scene is matched, and is obtained the automation scheme for meeting preset matching condition, is finally automatically configured satisfaction in current scene The automation scheme of preset matching condition.The application realizes automatically configuring for automation scheme by scene matching, substantially reduces The threshold of automation is configured, allocative efficiency is improved, user can configure and make easily for the application of energy Rapid Popularization automation Use smart home.
These aspects or other aspects of the application can more straightforward in the following description.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 shows a kind of application environment schematic diagram suitable for the embodiment of the present application.
Fig. 2 shows the flow diagrams according to the generation method of the automation of the application one embodiment.
Fig. 3 shows the flow diagram of the generation method of the automation according to the application another embodiment.
Fig. 4 shows step S310 to step S330 in the generation method according to the automation of the application another embodiment Flow diagram.
Fig. 5 shows the module frame chart of the generating means of the automation according to the application one embodiment.
Fig. 6 is that the electronics of the generation method for executing the automation according to the embodiment of the present application of the embodiment of the present application is set Standby block diagram.
Fig. 7 is the embodiment of the present application for saving or carrying the generation of automation of the realization according to the embodiment of the present application The storage unit of the program code of method.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described.It should be appreciated that specific reality described herein It applies example to be only used for explaining the application, is not used to limit the application.
Currently, smart home has benefited more and more families, user can purchase according to their own needs household and set It is standby, long-range control, linkage control and other automatic configurations etc. to these home equipments are realized by technology of Internet of things, In existing Intelligent household scene, user can pass through the application program controlling home equipment or each equipment of setting on mobile phone terminal The automation scheme of operation, automation scheme refer to that the linkage constructed between gateway or the sub- equipment for being connected to gateway is answered With, automation scheme includes trigger condition and executes movement, and the equipment in automation scheme includes triggering equipment and controlled plant, The two communication connection, when triggering equipment meets trigger condition, controlled plant execution is corresponding to execute movement.So that in current family When occupying scene and meet specified conditions, specific operation is executed, for example, user pushes door open, is just turned on light.
In the prior art, user is after being configured with automation scheme to a set of equipment according to aforesaid operations, if also needed When also configuring identical automation to other equipment, generally requires user and other equipment is selected to be configured manually, although Some prior arts can choose the automation scheme being arranged and configure to other equipment, but user also needs voluntarily to select Corresponding triggering equipment and controlled plant are selected, complicated for operation and complex steps, not only allocative efficiency is low, but also the use of user Threshold is higher.
Based on the above issues, inventor is carrying out a system to the generation method of the existing automation for smart home It is found after column research, current existing most of smart home technologies need user's manual configuration automation scheme, and are needing When configuring more set equipment, prior art common configuration efficiency is relatively low, so how to reduce the threshold that uses of user, raising configuration Efficiency, this problem seem especially urgent and important.
In the course of the study, inventor has studied the difficulty of automatic configuration in current smart home, and synthesis is examined Consider the demand of user in practical applications, proposes generation method, the device, electronic equipment of the automation in the embodiment of the present application And storage medium.
First a kind of application environment involved in the application will be introduced below.
Referring to Fig. 1, Fig. 1 is a kind of application environment schematic diagram suitable for the embodiment of the present application.The embodiment of the present application mentions The generation method of the automation of confession can be applied in smart home environment 100 as shown in Figure 1.The smart home environment 100 In include gateway 110, server 120, electronic equipment 130.Wherein, server 200 can use traditional server, can also adopt With cloud server, it is not limited here.The quantity of gateway 110 is at least one, wherein server 120 respectively with this at least One gateway 110 connects, for example, server 200 can based on router by wireless network respectively at least one gateway 110 It is communicatively coupled, to carry out the data interaction between server 120 and gateway 110.
It further, can also include electronic equipment 130, wherein electronic equipment 130 can in smart home environment 100 To include but is not limited to door and window sensor, intelligent switch, lamp, air-conditioning, curtain, TV, refrigerator, electric fan.Wherein, electronic equipment 130 quantity is at least one, which connects at least one gateway 110 respectively, for example, one Gateway 110 is connect with multiple electronic equipments 130 or multiple gateways 110 are connect with an electronic equipment 130, it is not limited here. Wherein, gateway 110 can be attached with electronic equipment 130 by modes such as bluetooth, WiFi or ZigBee.
It further, can also include mobile terminal 140 in intelligence control system 10, wherein mobile terminal 140 is logical It crosses wireless network and gateway 110 connects, which may include PC, smart phone, tablet computer, wearable electricity Sub- equipment etc., it is not limited here.As a kind of mode, which facilitates use for interacting between user Family can be carried out wireless communication based on router with gateway 110 by mobile terminal 140.In addition, user can be in 110 He of gateway Mobile terminal 140 adds an account information simultaneously, and the information of gateway 110 and mobile terminal 140 is realized by the account information It is synchronous.
Specifically, smart home environment 100 can execute following scenes, for example, electronic equipment 130 may include that door and window passes If desired sensor, intelligent switch, lamp realize automation scheme " door and window opening is then turned on light ", wherein trigger condition is that " door and window is beaten Open ", execution movement is " turning on light ", is based on this automation scheme at this time, and triggering equipment is door and window sensor, and controlled plant is intelligence Switch, wherein intelligent switch is connect with lamp.Wherein automation scheme can store local in gateway 110, be stored in clothes Business device 120, the path for executing automation linkage can also pass through wide area network by local area network, in which:
If, in the local progress automated execution of gateway 110, door and window sensor sensing is beaten to door and window by local area network path It opens, the event that door and window is opened is reported to gateway 110, after gateway 110 receives the event, according to the automation scheme of storage, Electronic equipment corresponding with the execution movement in the automation scheme is found, is in the present embodiment intelligent switch, notice intelligence Switch control is turned on light, to realize that door and window opens the automation linkage then turned on light.
If carrying out automated execution in server 120 by wide area network path, door and window sensor sensing to door and window is opened, The event that door and window is opened is reported to gateway 110, after gateway 110 receives the event, which is reported to server 120, Server 120 finds electronic equipment corresponding with the execution movement in the automation scheme according to the automation scheme of storage, It is intelligent switch in the present embodiment, and notify intelligent switching control to turn on light by gateway 110, to realize that door and window opening is then turned on light Automation linkage.
Further, after turning on light, the implementing result successfully turned on light can be fed back to gateway 110, gateway 110 receives this After information, the implementing result of current time, automation scheme and the automation scheme is reported into server 120, by server 120 are stored.
Present embodiments are specifically described below in conjunction with attached drawing.
Referring to Fig. 2, the embodiment of the present application provides a kind of generation method of automation.It will be directed to below shown in Fig. 2 Process is explained in detail, and the generation method of above-mentioned automation specifically may comprise steps of:
Step S110: automation template is obtained, automation template includes at least one automation scheme.
In the present embodiment, automation refers to the Application of Linkage Control constructed between gateway or the sub- equipment for being connected to gateway, One automation scheme refers to the scheme of an automation, and wherein automation scheme includes trigger condition and executes movement, automatically Equipment in change scheme includes that triggering equipment and controlled plant, the two can be communicatively coupled by gateway.
Wherein, triggering equipment can be pressure sensor, temperature sensor, humidity sensor, door and window sensor or smog The various sensors such as sensor, controlled plant can be switch, socket, lamp, infrared launcher or cam device etc..Work as touching When hair equipment meets trigger condition, the execution of gateway control controlled plant is corresponding to execute movement.So that full in current household scene When sufficient specified conditions, specific operation is executed, for example, user pushes door open, is just turned on light.
In some embodiments, automation scheme includes the facility information for triggering equipment and controlled plant, specifically, setting Standby information may include the attribute-bit or event identifier of equipment, and wherein attribute-bit refers to the attribute or state of equipment itself, Such as the states such as state that the attributes such as temperature and humidity of Temperature Humidity Sensor, lamp open and close, and event identifier refers to and retouches State the trigger action for causing equipment running status to change, such as the trigger actions such as the clicking, double-click of switch, long-pressing, short-press.
It should be noted that triggering equipment and controlled plant can be the same equipment, such as intelligent switch simultaneously can be with It is triggering equipment and controlled plant, is provided with temperature sensor in intelligent switch, is preset when intelligent switch detects that temperature is higher than When temperature, triggering intelligent switching control opens air-conditioning.It is understood that for detecting whether the triggering for meeting trigger condition is set Standby is intelligent switch, and the controlled plant for executing corresponding execution movement is also intelligent switch.The realization of other similar equipment is former Reason is roughly the same with aforementioned intelligent switch, therefore details are not described herein, this is only described for convenience for sentencing intelligent switch, not to this Forecast scheme configuration limits.
In the specific application scenarios, for example, one automation scheme of user setting is " enabling is then turned on light ", this The trigger condition of scheme is to open the door, and execution movement is that intelligent switching control lamp is opened, specifically, triggering equipment is door and window sensing Device, the intelligent switch being connect with lamp be controlled plant, can be between lamp and intelligent switch by wired or wireless mode into Row connection communication.At this point, this event is reported to gateway by door and window sensor, and gateway receives when door and window sensor sensing is to opening the door After the event being opened to door and window, according to above-mentioned preset automation scheme, the controlled plant in the automation scheme is notified to hold Include in row scheme executes movement, and in the present embodiment, i.e. notice intelligent switch is turned on light, to realize oneself then to turn on light that open the door The linkage of automation corresponding to dynamicization scheme.
In the present embodiment, automation template include at least one automation scheme, that is, can by by least one Automation scheme carries out being packed into an automation template, and automation template may include all information of automation scheme, Such as triggering equipment, trigger condition, controlled plant, execution movement and triggering equipment and the facility information of controlled plant etc., In some embodiments, automation template further includes setting time and the list ID of automation scheme, and being provided with the time is certainly The establishing time of dynamicization scheme, list ID is for distinguishing each different automation scheme, specifically, automation template can be with It is stored in systems in the form of automation list as shown in Table 1.Wherein, the setting time can use the Coordinated Universal Time(UTC) (UTC), utc1 ... ..., utcN is used to indicate the setting time of automation scheme in table 1.It is understood that some other In embodiment, the setting time can also use Greenwich mean time (GMT), local zone time etc., it is not limited here.
Table 1
List ID Time is set Trigger equipment Trigger condition Controlled plant Execute movement
1 utc1 Equipment A Condition 1 Equipment B Movement 1
2 utc2 Equipment C Condition 2 Equipment D Movement 2
... ... ... ... ... ...
N utcN ... ... ... ...
Step S120: the automation scheme automated in template is matched with current scene, is obtained and is met default Automation scheme with condition.
Wherein, current scene can be current room, be also possible to include current room current house, current scene packet Include at least one facility information.
In some embodiments, the automation scheme automated in template is matched with current scene, is can be By matching the facility information of automation scheme with the facility information that current scene is included, when an automation scheme Triggering equipment when being matched with the facility information of controlled plant with the facility information that current scene includes, then meeting preset matching Condition, the available automation scheme for meeting preset matching condition.Specifically, if can be matched in current scene and oneself The identical facility information of facility information of the triggering equipment of dynamicization scheme, at the same can also be matched to the automation scheme by When controlling the identical facility information of facility information of equipment, the automation scheme meets preset matching condition at this time, it is available should Automation scheme.
In a specific application scenarios, for example, comprising an automation scheme for " enabling is then opened in automation template Lamp ", the trigger condition of this scheme are to open the door, and execution movement is that intelligent switching control lamp is opened, specifically, triggering equipment is door and window Sensor, the intelligent switch connecting with lamp are controlled plant, are can be between lamp and intelligent switch through wired or wireless side Formula is attached communication.It at this time include a door and window sensor, intelligent switch and lamp, and door and window sensor in current scene Corresponding facility information is the state opened the door or closed the door, and the corresponding facility information of lamp is the state turned on light or turned off the light, with automation The triggering equipment of scheme and the facility information of controlled plant are consistent, and the automation scheme meets preset matching condition at this time, obtains Take the automation scheme.
Step S130: the automation scheme for meeting preset matching condition is automatically configured in current scene.
In the present embodiment, after acquisition meets the automation scheme of preset matching condition, it is full that this is automatically configured in current scene The automation scheme of sufficient preset matching condition.
In some embodiments, the facility information by being included by the facility information of automation scheme and current scene It is matched, when what the triggering equipment of automation scheme and the facility information of controlled plant were contained in that current scene includes sets When standby information, it is believed that the automation scheme meets preset matching condition.
It should be noted that working as the equipment that the corresponding facility information of automation scheme is contained in the smart machine of current scene When information, it is believed that the automation scheme is matched with the facility information of current scene.It is understood that in the present embodiment In, the facility information of automation scheme and the facility information of current scene are not limited only to the matched automation scheme of current scene Completely the same situation.So as to expand the scope of application of automation template, improves automation scheme and matched with current scene A possibility that, automation template is applied in more scenes convenient for user, promotes the application of automation.
At this point, being to execute to be somebody's turn to do in current scene by the matched device configuration of the triggering equipment of current scene and automation scheme The matched device configuration of the controlled plant of current scene and automation scheme is current scene by the triggering equipment of automation scheme The middle controlled plant for executing the automation scheme, realization automatically configure the automation side for meeting preset matching condition in current scene Case.To realize automatically configuring for automation scheme by scene matching, the threshold of configuration automation is substantially reduced, improves configuration Efficiency, and then the application of energy Rapid Popularization automation, allow user that can configure and use easily smart home.
Specifically, for example, getting in automation template comprising equipment A, equipment B, equipment C, equipment D, in current scene In the presence of with equipment A, equipment B, equipment C, the one-to-one equipment E of equipment D, equipment F, equipment G, equipment H, it is to be understood that The facility information of equipment E is contained in the facility information of equipment A, i.e. equipment E is matched with equipment A, other equipment similarly, therefore herein not It repeats again.Equipment E, equipment F, equipment G, equipment H can be configured to the triggering of an automation scheme in current scene at this time Equipment, controlled plant, the triggering equipment of another automation scheme, controlled plant, as shown in table 2.
Table 2
List ID Time is set Trigger equipment Trigger condition Controlled plant Execute movement
1 utc1 Equipment A Condition 1 Equipment B Movement 1
2 utc2 Equipment C Condition 2 Equipment D Movement 2
3 utc3 Equipment E Condition 1 Equipment F Movement 1
4 utc3 Equipment G Condition 2 Equipment H Movement 2
In a specific application scenarios, for example, user, which obtains, automates template, in automation template certainly comprising one Dynamicization scheme K is " enabling is then turned on light ", and the trigger condition of this scheme is to open the door, and execution movement is that lamp is opened, specifically, triggering is set Standby is door and window sensors A 1, and controlled plant is lamp A2, and wherein the corresponding facility information of door and window sensors A 1 is opening of doors and windows or pass The state closed, the corresponding facility information of lamp A2 are the state that lamp opens or closes.It at this time include door and window sensor in current scene B1 and lamp B2, and the corresponding facility information of door and window sensor B1 is the state of opening of doors and windows or closing, and lamp B2 is corresponding to be set Standby information is the state that lamp opens or closes, and is matched with the facility information of the triggering equipment of automation scheme and controlled plant, The automation scheme meets preset matching condition at this time, obtains the automation scheme, and by door and window sensor in current scene B1 is configured to the triggering equipment of automation scheme K, configures lamp B2 to the controlled plant of automation scheme K, so that current scene In door and window sensor B1 and lamp B2 can execute automation scheme K, to realize " enabling then turn on light " in current scene.
In some embodiments, when one-to-one in the presence of the facility information for including with automation template in current scene When smart machine, the automation scheme for automating template can be configured in current scene.It is only deposited when in current scene When the facility information that part automation scheme includes in automating template, that is, there are another part automation schemes to work as It can not be matched in preceding scene, can choose do not configure another part automation scheme at this time, only configuration can be with current scene Matched partial automation scheme.The threshold of creation automation can be so substantially reduced, it will not be because of in automation template Partial automation scheme, which can not match with current scene and cause entirely to automate template all, to be matched in current scene It sets, so as to the application of Rapid Popularization automation.
Specifically for example, including two automation schemes in automation template, wherein first automation scheme is related to setting Standby A, equipment B, second automation scheme are related to equipment C, equipment D, in current scene, only include equipment E, equipment F and Tri- equipment of equipment G, it is identical as the facility information of equipment A, equipment B and equipment C respectively, it can match in current scene at this time First automation scheme of meter equipment A and equipment B is installed, i.e. creation third automation scheme, and configures triggering equipment and be Equipment E, controlled plant F, and to second automation scheme of design equipment C and equipment D without configuration, as shown in table 3. So as to substantially reduce the threshold of creation automation, the application of energy Rapid Popularization automation.
Table 3
List ID Time is set Trigger equipment Trigger condition Controlled plant Execute movement
1 utc1 Equipment A Condition 1 Equipment B Movement 1
2 utc2 Equipment C Condition 2 Equipment D Movement 2
3 utc3 Equipment E Condition 1 Equipment F Movement 1
In the present embodiment, after current scene configures automation scheme, configured automation scheme can be added into In the corresponding automation list of current scene, wherein automation list can store in user terminal, it is stored in gateway, It may be stored in cloud.Step S120 and step S130 can be executed in the user terminal, can also be executed beyond the clouds, also It can be executed in gateway.
As a kind of mode, step S120 and step S130 are executed in user terminal, and user terminal is according to being locally stored Automation list or Xiang Yunduan or gateway requests automate list, execute matching and configuration in user terminal, updated List is automated, and after configuring automation scheme, at least one automation list of update is sent in cloud and gateway It is a to be stored.So as to quickly create and configure automation in current scene using automation template in user terminal, mention High allocative efficiency, and reduce the influence of network connection can also normally complete matching and automatic in the case where network is bad The configuration of change.
Alternatively, step S120 and step S130 are executed beyond the clouds, when needing to apply automation template, User applies instruction to cloud by user terminal transmission, executes matching beyond the clouds and configures, the automation list updated, And after configuring automation scheme, the automation list of update is sent to the user terminal and is deposited at least one of gateway Storage.It can be so not take up the processing memory of user terminal, improve allocative efficiency.
As another mode, step S120 and step S130 are executed in gateway, when needing to apply automation template, User is sent by user terminal applies instruction to gateway, executes matching in gateway and configures, the automation list updated, And after configuring automation scheme, the automation list of update is sent to the user terminal and is deposited at least one of cloud Storage.Such gateway is executing matching and with postponing, can directly execute the automation scheme in automation list, without waiting for The automation list for receiving user terminal or cloud transmission improves the efficiency that automation is realized.
The generation method of automation provided in this embodiment, by first obtaining automation template, automation template includes extremely A few automation scheme, then matches the automation scheme automated in template with current scene, obtains and meets in advance If the automation scheme of matching condition, is finally automatically configured in current scene and meet the automation scheme of preset matching condition.This Application realizes automatically configuring for automation scheme by scene matching, substantially reduces the threshold of configuration automation, improves configuration effect Rate, the application of energy Rapid Popularization automation, allows user that can configure and use easily smart home.
Referring to Fig. 3, another embodiment of the application provides a kind of generation method of automation.It will be directed to Fig. 3 institute below The process shown is explained in detail, and the generation method of above-mentioned automation specifically may comprise steps of:
Step S201: automation template is obtained, automation template includes at least one automation scheme.
In the present embodiment, the specific descriptions of step S201 can refer to step S110, and details are not described herein.
Step S202: the facility information of the smart machine of current scene is obtained.
In the present embodiment, the facility information of the smart machine of current scene is obtained, wherein one is included at least in current scene A smart machine, the facility information of smart machine may include the attribute-bit or event identifier of equipment, and wherein attribute-bit is Refer to the attribute or state of equipment itself, such as the state that opens and closes of the attributes such as temperature and humidity, lamp of Temperature Humidity Sensor Etc. states, and event identifier refers to the trigger action that description causes equipment running status to change, such as switch is clicked, is double It hits, long-pressing, the trigger actions such as short-press.
In the present embodiment, current scene can be current room, be also possible to include current room current house, currently Scene includes at least one facility information.Current scene can be within the scope of systemic presupposition, be also possible to be customized by the user In range, specifically, can choose as current room, also it can choose as the house etc. comprising current room, it is possible to understand that , the scene domain that user obtains required for can voluntarily selecting, to meet the use demand of different scenes.
In a specific application scenarios, it is current room that user, which can choose current scene, then user can obtain The information of current room is taken to carry out configuration or other operations, the specific can be that obtaining the equipment letter of current room existing device Breath, such as current room have an equipment such as lamp, speaker, the facility information of the lamp of available current room, speaker, such as lamp is set Standby information includes the state that lamp opens or closes, and the facility information of speaker includes that speaker opens or closes, volume or reduction is turned up The states such as volume, so as to lay the foundation to apply automation template in current scene.
Step S203: the part of at least one automation scheme corresponding facility information and current scene is judged whether there is Or armamentarium information matches.
Step S204: when there are some or all of the corresponding facility information of at least one automation scheme and current scenes Facility information match when, using with the matched automation scheme of current scene as the automation scheme for meeting preset matching condition.
In the present embodiment, the corresponding facility information of automation scheme includes the facility information for triggering equipment and controlled plant, When the facility information of the triggering equipment of automation scheme and controlled plant is contained in the facility information that current scene includes, Think that the automation scheme meets preset matching condition.Wherein facility information includes attribute-bit or event identifier.
It should be noted that working as the equipment that the corresponding facility information of automation scheme is contained in the smart machine of current scene When information, it is believed that the automation scheme is matched with the facility information of current scene.It is understood that in the present embodiment In, the facility information of automation scheme and the facility information of current scene are not limited only to the matched automation scheme of current scene Completely the same situation.So as to expand the scope of application of automation template, improves automation scheme and matched with current scene A possibility that, automation template is applied in more scenes convenient for user, promotes the application of automation.
For example, including automation scheme K " enabling is then turned on light ", the triggering of automation scheme K in the automation template obtained Equipment is door and window sensors A 1, and trigger condition is " enabling ", and controlled plant is lamp A2, and execution movement is " turning on light ", wherein door and window The facility information of sensors A 1 is the state opened the door or closed the door, and the facility information of lamp A2 is the state turned on light or turned off the light.If at this time It include door and window sensor B1, lamp B2 in the smart machine of current scene, wherein the corresponding facility information of door and window sensor B1 is door The state that window opens or closes, the corresponding facility information of lamp B2 include the state that lamp opens or closes and brightness are turned up or turns down Brightness, the corresponding facility information of door and window sensors A 1 facility information corresponding with door and window sensor B1 is consistent at this time, and A2 pairs of lamp The facility information of the facility information answered and lamp B2 are not completely the same, but the equipment that the corresponding facility information of lamp A2 is contained in lamp B2 Information, that is, the corresponding facility information of automation scheme K are contained in the facility information of current scene, at this time it is considered that automatic Change scheme K is matched with some or all of current scene facility information, is set at this time in the presence of at least one automation scheme is corresponding Standby information is matched with some or all of current scene facility information, will be with the matched automation scheme of current scene as satisfaction The automation scheme of preset matching condition.
In the present embodiment, current scene can only include triggering equipment corresponding with automation scheme and controlled plant is set The smart machine that standby information matches, also may include other smart machines in addition to the aforementioned smart machine to match, This is not construed as limiting.It is understood that as long as there are the touchings of the facility information of smart machine and automation scheme for current scene Send out the facility information matching of equipment and controlled plant, then it is assumed that there are the corresponding facility information of at least one automation scheme with work as The matching of some or all of preceding scene facility information.
Further, when there are some or all of the corresponding facility information of at least one automation scheme and current scenes Facility information match when, using with the matched automation scheme of current scene as the automation scheme for meeting preset matching condition.
Step S205: judge current scene with the presence or absence of multiple identical facility informations with meet preset matching condition from The matching of dynamicization scheme.
In the present embodiment, in current scene, with the matched facility information of automation scheme for meeting preset matching condition There can be one or more, that is, there may be the facility information of multiple identical smart machines and automation sides for current scene The facility information of case matches, the specific can be that there are multiple identical facility informations and triggering equipment in automation scheme to set Standby information matches, are also possible to that there are the facility informations of controlled plant in multiple identical facility informations and automation scheme Match, can also be that there are multiple identical facility informations and the facility information of triggering equipment and controlled plant in automation scheme are equal Matching.
Specifically for example, corresponding to the equipment A in automation scheme, there are equipment E, equipment I, equipment in current scene J matches with equipment A, that is, equipment E, equipment I, equipment J facility information include equipment A facility information, exist at this time In current scene, there are multiple identical facility informations to match with the automation scheme for meeting preset matching condition.
It should be noted that in the present embodiment, identical facility information can be identical, be also possible to part phase Together, such as in current scene the corresponding facility information of two smart machines for including is not exactly the same, but includes and oneself The consistent facility information of facility information in dynamicization scheme, specifically such as equipment E, equipment I include in automation scheme The consistent facility information a of equipment A, while equipment E can also may be used yet comprising other facility informations such as facility information e, equipment I With comprising other facility informations such as facility information i, and facility information e and facility information i can not be identical, at this point, still may be used To think the equipment E in current scene, there are identical facility informations and the automation side for meeting preset matching condition with equipment I Case matching.It is understood that as long as there are the facility informations of multiple smart machines may include automation side in current scene The facility information of case, it is considered that there are multiple identical facility informations and the automation for meeting preset matching condition for current scene Scheme matching.
In the present embodiment, in current scene, there are multiple identical facility informations and the automation for meeting preset matching condition When scheme matches, step S206a can be executed, step S206b can also be executed.
Step S206a: in current scene, there are multiple identical facility informations and the automation for meeting preset matching condition When scheme matches, priority ranking is carried out to multiple identical facility informations according to preset rules.
Wherein, it can be the matching journey being also possible to according to chronological order according to facility information according to preset rules Degree, specific rules it is not limited here, can be systemic presupposition, be also possible to it is customized according to user demand, so as to To meet the use demand of user's different scenes.Such as according to chronological order, old equipment can be made preferentially to be configured certainly Dynamicization allows old equipment preferentially to start to realize the automation scheme in automation template.For another example according to of facility information The highest smart machine priority ordering of facility information matching degree is improved into the collocation degree of automation with degree, reduces configuration certainly Due to the mistake that equipment is not adapted to and is occurred when dynamicization, utility automates the success rate that template carries out automatic configuration, mentions High system availability.And according to preset rules by that can be automatically created after priority ranking, so as to quickly match Automation is set, allocative efficiency is improved.
As a kind of mode, current scene there are multiple identical facility informations with meet the automatic of preset matching condition When change scheme matches, priority row can be carried out to multiple identical facility informations according to the chronological order that equipment is added Sequence.Specifically, can be deposited at least one of gateway and mobile terminal when gateway is added in the smart machine of current scene It stores up the addition time of the smart machine, obtains the addition time of the corresponding multiple smart machines of multiple identical facility informations, it can With preferential, the intelligence being added afterwards according to the sequencing progress priority ranking that the time is added, such as the smart machine being first added Equipment successively sorts according to time order and function.So as to according to the addition chronological order of equipment carry out subsequent operation, such as Old equipment can be made preferentially to be configured to automate, old equipment is allowed preferentially to start to realize the automation in automation template Scheme.
In a specific scene for example in working space, the chronological order being added according to equipment is to multiple identical Facility information carry out priority ranking, can make with batch be added old equipment be first configured to automate, due to same batch facility It may be that same a collection of particular job crowd purchases, possess similar work habit, so first according to the time that equipment is added Sequence carries out priority ranking afterwards, and the automation scheme for meeting same work habit can be allowed rapidly to be configured automatically Onto same batch facility, allocative efficiency is greatly improved while satisfying the use demand, and is suitable for user to configuration automation scheme Equipment there is no the case where particular requirement, be also applied for largely configuring the scenes of creation automation, can be by the way that automatically create can To substantially reduce the use threshold of user, the Rapid Popularization of automation is realized.
Step S207a: the priority based on facility information, current scene automatically configure meet preset matching condition from Dynamicization scheme.
In the present embodiment, the priority based on facility information is excellent to the higher smart machine of priority in current scene First configuration meets the automation scheme of preset matching condition.Specifically for example, when the chronological order pair being added according to equipment It, can be automatically to the device configuration automation scheme being first added when multiple identical facility informations carry out priority ranking.Specifically Configuration method can refer to step S130.
In a specific application scenarios, there are multiple identical facility informations and meet preset matching in current scene When the automation scheme matching of condition, the chronological order being added according to equipment carries out multiple identical facility informations preferential Grade sequence, such as the matched smart machine packet of equipment A in current scene, with the automation scheme for meeting preset matching condition Equipment E, equipment I and equipment J are included, wherein equipment A is the triggering equipment of the automation scheme, and the time being added according to equipment is first Sequence afterwards, obtains priority ranking and is followed successively by equipment E, equipment J, equipment I after arriving first, and is based on priority at this time, is working as front court It automatically configures equipment E in scape to correspond to the triggering equipment of the automation scheme in current scene.So as to be added according to equipment The chronological order entered carries out quickly creation automation, suitable for the equipment to realization automation scheme without the use of particular requirement Family and scene are suitble to large batch of configuration creation automation, greatly improve allocative efficiency.
In some embodiments, the automation scheme for meeting preset matching condition is being automatically configured to the equipment being first added Afterwards, it user may also be prompted whether to match other with the matched smart machine of automation scheme for meeting preset matching condition It sets.So that on the basis of quickly creating and configuring automation according to time sequencing, it is also possible that user continues The smart machine needed to configure is configured, while improving allocative efficiency, can satisfy the use demand of user.
In the present embodiment, in current scene, there are multiple identical facility informations and the automation for meeting preset matching condition When scheme matches, step S206b can be executed.
Step S206b: in current scene, there are multiple identical facility informations and the automation for meeting preset matching condition When scheme matches, selection prompt information is generated.
Wherein, selection prompt information is set for prompting to needing to carry out automatic configuration in multiple identical facility informations Standby information is selected.
Step S207b: selection instruction is obtained, and is automatically configured according to selection instruction in current scene and meets preset matching item The automation scheme of part.
In the present embodiment, in current scene, there are multiple identical facility informations and the automation for meeting preset matching condition When scheme matches, selection prompt information can be generated, prompt user that further needs are applied with the automation in automation template The smart machine that scheme is automatically configured is confirmed, so that automatic configuration is carried out according to the user's choice, so that user The automation of current scene can be configured according to self-demand, not only set-up mode is flexible, but also can reduce using certainly The probability that caused mistake and situations such as not being adapted to occur when the automation of dynamicization template configuration current scene, improves fault-tolerance And system availability.
Step S208: label is automatically configured to the automation scheme addition automatically configured in current scene.
Wherein, it is automatic in current scene by automation template for automatically configuring label for one automation scheme of label Configuration, so by automatically configuring label to the automation scheme addition automatically configured in current scene, it can indicate this certainly Dynamicization scheme rather than is manually set by being automatically configured by automation template in current scene, to be conducive to user Distinguish or judge the reason of smart machine failure or exception.Specifically, automatically configuring mark when abnormal smart machine has When label, user may determine that the abnormal cause of the smart machine may be to make due to not being adapted to the automation scheme automatically configured At, this problem can be preferentially checked, then judge whether abnormal cause is caused by equipment itself, improve investigation problem, maintenance is set Standby efficiency.
In the present embodiment, after step S208, step S209 can be executed, step S211 can also be executed.
Step S209: customized edit instruction is obtained.
It is available customized after automatically configuring the automation scheme for meeting preset matching condition in the present embodiment Edit instruction, for carrying out customized editor to the automation scheme configured in current scene.It should be noted that customized volume Volume can and then be executed after automatically configuring, can also current scene used the automation scheme for a period of time after By obtaining customized edit instruction, customized editor is carried out to the automation scheme, allow user according to one section when Between after experience again on demand edit and modify automation scheme, realize the flexible configuration of automation scheme, meet user use Demand promotes user experience.
In some embodiments, it can also be obtained before automatically configuring the automation scheme for meeting preset matching condition It is derived from definition edit instruction, allows to edit automation scheme according to user demand before configuring the automation scheme Modification, can make edited automation scheme meet use demand, more adaptation current scene.
Step S210: according to the configured automation scheme of customized edit instruction editor current scene, and process is deleted The automation scheme of customized editor automatically configures label.
Wherein, that passes through the automation scheme of customized editor by deletion automatically configures label, and it is automatic can to characterize this Change scheme be manually set, and it is indirect apply automation template automation scheme configuration generate, so as to When abnormal cause is checked at family, it is not necessary to consider the reason of configuration causes, improve abnormality processing efficiency.
Specifically, the configured automation scheme K " enabling is then turned on light " for example in current scene, refers to according to customized editor Automation scheme K can be compiled as " enabling then turns on light, turns on the aircondition " by order, at this time will be by the automation scheme of customized editor The label that automatically configures of K is deleted, and configures the automation scheme K by customized editor for the air-conditioning in current scene Controlled plant so that the automation function of the automation scheme K by customized editor may be implemented in current scene Energy.
In the present embodiment, by customized editor, automation scheme can be made more to be adapted to current scene or more meet use Family demand refers to user from the automation template of acquisition, thus expand the scope of application of automation template, It can satisfy the demand of more users, and be conducive to user and edit the more automation templates of generation, by sharing constantly Expand at user option automation template, forms the more intelligent benign cycle of smart home.
Step S211: based on the configured automation scheme of current scene, generating new automation template, and by it is new from Dynamicization template is stored in current account.
Wherein, the configured automation scheme of current scene can be without customized editor, be also possible to by certainly Definition editor's.
In the present embodiment, based on the configured automation scheme of current scene, new automation template is generated, and will be new It automates in template deposit current account.Specifically, can choose one in the configured automation scheme of current scene or It is multiple, one or more automation schemes is packaged and generates new automation template, and new automation template deposit is worked as In preceding account.Allow user that automation scheme is selected to be packaged into automation template according to demand, realizes to automation scheme Flexible management, and can will automation template be shared with other users, allow other users to apply active user's Template is automated, the automation function in the automation template of active user is realized in other scenes.
It is specific for example, configured automation scheme K, automation scheme K1, automation scheme K2 in current scene, currently Automation scheme K, automation scheme K1 can be packaged by user, generate automation template K0, and be stored in the current of active user In account.
Step S212: it obtains account and shares instruction.
In the present embodiment, account share automation template of the instruction for storing current account be shared with other accounts or It is uploaded to cloud.To automate template by sharing, other users is allowed to apply the automation template of active user, The automation function in the automation template of active user is realized in other scenes.To constantly expand oneself that may be selected to use Dynamicization template can be used for reference between user itself or user, apply existing automation template, be the smart home locating for itself Scene provides more more applicable automations, and automation function is realized in more equipment, facilitates Rapid Popularization automation Using.
As a kind of mode, user can send the automation template that current account stores in such a way that account shares It will automate template to other users, such as user Y1 and be sent to user Y2 in such a way that account shares, so that user Y2 Account can obtain the automation template, the operation such as which can be configured, be stored.
Alternatively, automation template can also be uploaded to cloud and downloaded for other users by user, so that its His user can download automation template to own account.Specifically, automation template can be uploaded to gateway, intelligence by user The official website of the corresponding products such as equipment, the other users downloading for conveniently purchasing the products such as the gateway, smart machine use.
In a specific application scenarios, for example, account's first can select " someone turns on light ", " nothing under current account People turns off the light " and " periodically turning off the light " three automation schemes one automation templates of generation, then the automation template is sent After giving user's second, user's second to receive the automation template, it can choose using the automation template, at this time the account of user's second Under can automatically generate three automation schemes i.e. " someone turns on light ", " nobody turns off the light " and " periodically turning off the light ", and generate three Automation scheme meeting automatic running, also, user's second can carry out customized editor to these three automation schemes, can also select In any automation scheme generate new automation template and issue other users.
In another specific application scenarios such as working space, generally requires and automation is set for station, such as Different stations opens different lamps, after what a is arranged and automates template, without editing the correspondence between each lamp and station Relationship, automation can be conveniently generated by directly applying automation template, and is automated template and can be covered and use setting of choosing Standby middle use, can also cover and use in room, allow to conveniently and efficiently configure automation in large quantity, while meeting user The use demand on ground.
Further, referring to Fig. 5, Fig. 5 shows the flow diagram of step S310 to step S330 in the present embodiment, It can specifically include following steps:
Step S310: judge whether current scene adds the new equipment for not carrying out automatic configuration.
In the present embodiment, the new equipment for not carrying out automatic configuration can be the equipment being newly added under current account, It can be the deleted equipment of original automation.
As a kind of mode, the new equipment for not carrying out automatic configuration is the equipment being newly added under current account, can be with Under current account when newly added equipment, the matching of triggering and automation template is conducive to new equipment quickly be created and configured certainly Dynamicization realizes that new equipment in the automation function of current scene, promotes the quality of user's smart home life.
Alternatively, the new equipment for not carrying out automatic configuration is the deleted equipment of original automation, such as It include equipment L in current scene, equipment L is the triggering equipment of automation scheme K1, if user is by automation scheme K1 current It is deleted in scene, at this time it is considered that equipment L is the new equipment for not carrying out automatic configuration, while can consider that current scene adds Add the new equipment for not carrying out automatic configuration, allowed equipment L quickly to put into current scene again and realize automation function, Promote the quality of user's smart home life.So that equipment can trigger and automate template after automation is deleted Matching, be conducive to new equipment and reconfigure automation, realize new equipment in the automation function of current scene.
Step S320: current scene addition do not carry out the new equipment of automatic configuration when, by automate template in from Dynamicization scheme is matched with the current scene after addition new equipment, obtains the automation scheme for meeting preset matching condition.
It, will be in automation template when current scene addition does not carry out the new equipment of automatic configuration in the present embodiment Automation scheme is matched with the current scene after addition new equipment, obtains the automation scheme for meeting preset matching condition Specific descriptions can refer to step S120, and details are not described herein.
Step S330: the current scene after adding new equipment automatically configures the automation side for meeting preset matching condition Case.
In the present embodiment, the specific descriptions of step S330 can refer to step S330, and details are not described herein.
In the present embodiment, the new equipment of automatic configuration is not carried out by judging whether current scene adds, so as to When increasing the equipment of not set automation newly under current account, new equipment can be matched automatically with automation template, obtained The automation scheme for meeting preset matching condition is taken, is finally automatically configured in current scene and meets the automation of preset matching condition Scheme.So as to new equipment quickly be created and configured automation, new equipment is fast implemented in current scene Automation function improves the allocative efficiency to new equipment.
The generation method for present embodiments providing a kind of automation, by obtain automate template, then with current scene Facility information matching, and there are multiple identical facility informations and the automation side for meeting preset matching condition in current scene When case matches, after carrying out priority ranking to multiple identical facility informations according to preset rules, satisfaction default is automatically configured Automation scheme with condition reduces the threshold of creation automation, and the rapid configuration of automation may be implemented, and improves configuration effect Rate.Prompt information is selected by generating, user may be used also according to the automation of self-demand flexible configuration current scene To reduce the mistake that configuration and creation automation may cause, fault-tolerance is improved.Label is automatically configured by addition, facilitates user The error reason of equipment is distinguished, investigation problem, the efficiency of repair apparatus are improved.By customized editor, so that automation scheme More meet user's actual need, be conducive to user and constantly expand the automation template that may be selected to use, by share so that with Family can refer to and apply more automation templates, provide for the Intelligent household scene locating for itself more more applicable automatic Change, automation function is realized in more equipment, Rapid Popularization automation application is facilitated.In addition to this it is possible to new Equipment quickly creates and configures automation, and new equipment is allowed to fast implement automation function, raising pair in current scene The allocative efficiency of new equipment.
It should be understood that although each step in the flow chart of Fig. 2 and Fig. 3 is successively shown according to the instruction of arrow, But these steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly state otherwise herein, these There is no stringent sequences to limit for the execution of step, these steps can execute in other order.Moreover, in Fig. 2 and Fig. 3 At least part step may include that perhaps these sub-steps of multiple stages or stage are not necessarily same to multiple sub-steps One moment executed completion, but can execute at different times, and the execution in these sub-steps or stage sequence is also not necessarily Be successively carry out, but can at least part of the sub-step or stage of other steps or other steps in turn or Alternately execute.
Referring to Fig. 5, Fig. 5 shows a kind of module frame of the generating means 400 of automation provided by the embodiments of the present application Figure.It will be illustrated below for module frame chart shown in fig. 5, the generating means 400 of the automation include: acquisition module 410, matching module 420 and generation module 430, in which:
Module 410 is obtained, for obtaining automation template, automation template includes at least one automation scheme.
Matching module 420 obtains and meets for matching the automation scheme automated in template with current scene The automation scheme of preset matching condition.
Further, in this present embodiment, matching module 420 includes: device information acquisition unit, matching condition judgement list Member and matching scheme determination unit, in which:
Device information acquisition unit, the facility information of the smart machine for obtaining current scene;
Matching condition judging unit, for judging whether there is the corresponding facility information of at least one automation scheme and working as The matching of some or all of preceding scene facility information;
Matching scheme determination unit, for when there are the corresponding facility information of at least one automation scheme and current scenes Some or all of facility information matching when, using with the matched automation scheme of current scene as meeting preset matching condition Automation scheme.
Generation module 430, for automatically configuring the automation scheme for meeting preset matching condition in current scene.
Further, in this present embodiment, generation module 430 includes: matching unit judging unit, facility information sequence list Member and scheme automatically configure unit, in which:
Matching unit judging unit, for judging current scene with the presence or absence of multiple identical facility informations and meeting default The automation scheme of matching condition matches;
Facility information sequencing unit, for there are multiple identical facility informations and meeting preset matching item when current scene When the automation scheme matching of part, priority ranking is carried out to multiple identical facility informations according to preset rules;
Scheme automatically configures unit, and for the priority based on facility information, it is default to automatically configure satisfaction in current scene The automation scheme of matching condition.
Further, the generating means 400 of automation further include: prompt information generation module, selection instruction obtain module, Label adding module, edit instruction obtain module, edit instruction processing module, new equipment judgment module, new equipment matching module, New device configuration module, template generation module and template sharing module, in which:
Prompt information generation module selects prompt information for prompting to multiple identical for generating selection prompt information Facility information in need the facility information for carrying out automatic configuration to be selected.
Selection instruction obtains module, automatically configures completely for obtaining selection instruction, and according to selection instruction in current scene The automation scheme of sufficient preset matching condition.
Label adding module, for automatically configuring label to the automation scheme addition automatically configured in current scene.
Edit instruction obtains module, for obtaining customized edit instruction.
Edit instruction processing module, for the automation side configured according to customized edit instruction editor current scene Case, and delete and automatically configure label by the automation scheme of customized editor.
New equipment judgment module does not carry out the new equipment of automatic configuration for judging whether current scene adds.
New equipment matching module, for will automate when current scene addition does not carry out the new equipment of automatic configuration Automation scheme in template is matched with the current scene after addition new equipment, and acquisition meets the automatic of preset matching condition Change scheme.
New device configuration module automatically configures for the current scene after adding new equipment and meets preset matching condition Automation scheme.
Template generation module generates new automation template for the automation scheme configured based on current scene, and It will be in new automation template deposit current account.
Template sharing module, for obtain account share instruction, account share instruction for by current account store from Dynamicization template is shared with other accounts or is uploaded to cloud.
The generating means of automation provided by the embodiments of the present application, by obtain automate template, then with current scene Facility information matching, and there are multiple identical facility informations and the automation side for meeting preset matching condition in current scene When case matches, after carrying out priority ranking to multiple identical facility informations according to preset rules, satisfaction default is automatically configured Automation scheme with condition reduces the threshold of creation automation, and the rapid configuration of automation may be implemented, and improves configuration effect Rate.Prompt information is selected by generating, user may be used also according to the automation of self-demand flexible configuration current scene To reduce the mistake that configuration and creation automation may cause, fault-tolerance is improved.Label is automatically configured by addition, facilitates user The error reason of equipment is distinguished, investigation problem, the efficiency of repair apparatus are improved.By customized editor, so that automation scheme More meet user's actual need, be conducive to user and constantly expand the automation template that may be selected to use, by share so that with Family can refer to and apply more automation templates, provide for the Intelligent household scene locating for itself more more applicable automatic Change, automation function is realized in more equipment, Rapid Popularization automation application is facilitated.In addition to this it is possible to new Equipment quickly creates and configures automation, and new equipment is allowed to fast implement automation function, raising pair in current scene The allocative efficiency of new equipment.
It is apparent to those skilled in the art that for convenience and simplicity of description, foregoing description device and The specific work process of module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, the mutual coupling of shown or discussed module or direct coupling It closes or communication connection can be through some interfaces, the indirect coupling or communication connection of device or module can be electrical property, mechanical Or other forms.
It, can also be in addition, can integrate in a processing module in each functional module in each embodiment of the application It is that modules physically exist alone, can also be integrated in two or more modules in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.
Referring to FIG. 6, it illustrates the structural block diagrams of a kind of electronic equipment provided by the embodiments of the present application.The electronic equipment 500, which can be smart phone, tablet computer, laptop, desktop computer etc., can run the electronic equipment of application program.This Electronic equipment 500 in application may include one or more such as lower component: processor 510, memory 520 and one are more A application program, wherein one or more application programs can be stored in memory 520 and be configured as by one or more A processor 510 executes, and one or more programs are configured to carry out the method as described in preceding method embodiment.
Processor 510 may include one or more processing core.Processor 510 is whole using various interfaces and connection Various pieces in a electronic equipment 500, by run or execute the instruction being stored in memory 520, program, code set or Instruction set, and the data being stored in memory 520 are called, execute the various functions and processing data of electronic equipment 500.It can Selection of land, processor 510 can use Digital Signal Processing (Digital Signal Processing, DSP), field-programmable Gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA) at least one of example, in hardware realize.Processor 510 can integrating central processor (Central Processing Unit, CPU), in image processor (Graphics Processing Unit, GPU) and modem etc. One or more of combinations.Wherein, the main processing operation system of CPU, user interface and application program etc.;GPU is for being responsible for Show the rendering and drafting of content;Modem is for handling wireless communication.It is understood that above-mentioned modem It can not be integrated into processor 510, be realized separately through one piece of communication chip.
Memory 520 may include random access memory (Random Access Memory, RAM), also may include read-only Memory (Read-Only Memory).Memory 520 can be used for store instruction, program, code, code set or instruction set.It deposits Reservoir 520 may include storing program area and storage data area, wherein the finger that storing program area can store for realizing operating system Enable, for realizing at least one function instruction (such as touch function, sound-playing function, image player function etc.), be used for Realize the instruction etc. of following each embodiments of the method.Storage data area can also store electronic equipment 500 and be created in use Data (such as phone directory, audio, video data, chat record data) etc..
It will be understood by those skilled in the art that structure shown in Fig. 6, only part relevant to application scheme is tied The block diagram of structure, does not constitute the restriction for the electronic equipment being applied thereon to application scheme, and specific electronic equipment can be with Including than more or fewer components as shown in the figure, perhaps combining certain components or with different component layouts.
Referring to FIG. 7, it illustrates a kind of structural frames of computer-readable storage medium provided by the embodiments of the present application Figure.Program code is stored in the computer-readable storage medium 600, said program code can be called by processor and be executed State method described in embodiment of the method.
Computer-readable storage medium 600 can be (the read-only storage of electrically erasable of such as flash memory, EEPROM Device), the electronic memory of EPROM, hard disk or ROM etc.Optionally, computer-readable storage medium 600 includes non-wink When property computer-readable medium (non-transitory computer-readable storage medium).Computer can Read the memory space that storage medium 600 has the program code 610 for executing any method and step in the above method.These journeys Sequence code can read or be written to this one or more computer journey from one or more computer program product In sequence product.Program code 610 can for example be compressed in a suitable form.
In conclusion the generation method of automation provided by the embodiments of the present application, device, electronic equipment and storage medium, By first obtaining automation template, automation template includes at least one automation scheme, then by automate in template from Dynamicization scheme is matched with current scene, is obtained and is met the automation scheme of preset matching condition, finally current scene from It is dynamic to configure the automation scheme for meeting preset matching condition.The application realizes matching automatically for automation scheme by scene matching It sets, substantially reduces the threshold of configuration automation, improve allocative efficiency, the application of energy Rapid Popularization automation makes user light It changes places configuration and using smart home.
Finally, it should be noted that above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although The application is described in detail with reference to the foregoing embodiments, those skilled in the art are when understanding: it still can be with It modifies the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;And These are modified or replaceed, do not drive corresponding technical solution essence be detached from each embodiment technical solution of the application spirit and Range.

Claims (11)

1. a kind of generation method of automation characterized by comprising
Automation template is obtained, the automation template includes at least one automation scheme;
The automation scheme in the automation template is matched with current scene, acquisition meets preset matching condition Automation scheme;
The automation scheme for meeting the preset matching condition is automatically configured in the current scene.
2. generation method as described in claim 1, which is characterized in that the automation scheme includes multiple corresponding intelligence The facility information of energy equipment, the automation scheme by the automation template are matched with current scene, are obtained Take the automation scheme for meeting preset matching condition, comprising:
Obtain the facility information of the smart machine of current scene;
Judge whether there is the part or complete of at least one corresponding facility information of automation scheme and the current scene The matching of portion's facility information;
When there are some or all of the corresponding facility information of automation scheme described at least one and the current scene equipment When information matches, using with the matched automation scheme of the current scene as the automation scheme for meeting preset matching condition.
3. generation method as claimed in claim 2, which is characterized in that described to be automatically configured described in satisfaction in the current scene The automation scheme of preset matching condition, comprising:
Judge the current scene with the presence or absence of multiple identical facility informations and the automation for meeting the preset matching condition Scheme matching;
When there are multiple identical facility informations and the automation scheme for meeting the preset matching condition for the current scene Timing carries out priority ranking to multiple identical facility informations according to preset rules;
Based on the priority of the facility information, is automatically configured in the current scene and meet the automatic of the preset matching condition Change scheme.
4. generation method as claimed in claim 3, which is characterized in that when there are multiple identical equipment to believe for the current scene It ceases when being matched with the automation scheme for meeting the preset matching condition, the method also includes:
Generate selection prompt information, the selection prompt information for prompt to needed in multiple identical facility informations into The facility information of row automatic configuration is selected;
Selection instruction is obtained, and is automatically configured according to the selection instruction in the current scene and meets the preset matching condition Automation scheme.
5. generation method as described in claim 1, which is characterized in that automatically configured in the current scene and meet described preset After the automation scheme of matching condition, the method also includes:
Label is automatically configured to the automation scheme addition automatically configured in the current scene.
6. generation method as claimed in claim 5, which is characterized in that the method also includes:
Obtain customized edit instruction;
According to the configured automation scheme of current scene described in the customized edit instruction editor, and delete by customized The automation scheme of editor automatically configures label.
7. generation method as described in claim 1, which is characterized in that the method also includes:
Judge whether the current scene adds the new equipment for not carrying out automatic configuration;
It, will be described automatic in the automation template when current scene addition does not carry out the new equipment of automatic configuration Change scheme is matched with the current scene after the addition new equipment, obtains the automation side for meeting preset matching condition Case;
The current scene after adding the new equipment automatically configures the automation scheme for meeting the preset matching condition.
8. the generation method as described in claim 1 to 7 any claim, which is characterized in that the method also includes:
Based on the configured automation scheme of the current scene, new automation template is generated, and by the new automation Template is stored in current account;
It obtains account and shares instruction, the account is shared automation template of the instruction for storing the current account and is shared with Other accounts are uploaded to cloud.
9. a kind of generating means of automation characterized by comprising
Module is obtained, for obtaining automation template, the automation template includes at least one automation scheme;
Matching module obtains full for matching the automation scheme in the automation template with current scene The automation scheme of sufficient preset matching condition;
Generation module, for automatically configuring the automation scheme for meeting the preset matching condition in the current scene.
10. a kind of electronic equipment characterized by comprising
Memory;
One or more processors are coupled with the memory;
One or more programs, wherein one or more of application programs are stored in the memory and are configured as It is executed by one or more of processors, one or more of programs are configured to carry out such as any one of claim 1-8 The method.
11. a kind of computer-readable storage medium, which is characterized in that be stored with journey in the computer-readable storage medium Sequence code, said program code can be called by processor and execute the method according to claim 1.
CN201811520855.1A 2018-12-12 2018-12-12 Automatic generation method and device, electronic equipment and storage medium Active CN109725541B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811520855.1A CN109725541B (en) 2018-12-12 2018-12-12 Automatic generation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811520855.1A CN109725541B (en) 2018-12-12 2018-12-12 Automatic generation method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109725541A true CN109725541A (en) 2019-05-07
CN109725541B CN109725541B (en) 2022-09-27

Family

ID=66294947

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811520855.1A Active CN109725541B (en) 2018-12-12 2018-12-12 Automatic generation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109725541B (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110324216A (en) * 2019-05-23 2019-10-11 深圳绿米联创科技有限公司 Automatic configuration method, apparatus, system, server and storage medium
CN110830342A (en) * 2019-12-16 2020-02-21 联通物联网有限责任公司 Intelligent household equipment communication method and system
CN110928191A (en) * 2019-11-07 2020-03-27 深圳市欧瑞博科技有限公司 Separation control method, control panel, server and computer readable storage medium for smart home
CN110958147A (en) * 2019-12-06 2020-04-03 浩云科技股份有限公司 Internet of things equipment interconnection strategy configuration system
CN111363661A (en) * 2020-03-06 2020-07-03 天地壹号饮料股份有限公司 Air detection mechanism and method for fruit vinegar fermentation tank and storage medium
CN111447123A (en) * 2020-03-24 2020-07-24 北京金山云网络技术有限公司 Smart home configuration method and device, electronic equipment and medium
CN111970180A (en) * 2020-08-11 2020-11-20 深圳市欧瑞博科技股份有限公司 Networking configuration method and device for intelligent household equipment, electronic equipment and storage medium
CN112073471A (en) * 2020-08-17 2020-12-11 青岛海尔科技有限公司 Device control method and apparatus, storage medium, and electronic apparatus
CN112579656A (en) * 2020-12-14 2021-03-30 中国建设银行股份有限公司 Method and device for generating division schemes
CN113009835A (en) * 2019-12-20 2021-06-22 西门子(中国)有限公司 Automatic configuration method and device of intelligent home system
CN113412457A (en) * 2019-05-16 2021-09-17 深圳市欢太科技有限公司 Scene pushing method, device and system, electronic equipment and storage medium
WO2021184365A1 (en) * 2020-03-20 2021-09-23 Oppo广东移动通信有限公司 Rule processing method and apparatus, and electronic device
CN113759734A (en) * 2021-08-05 2021-12-07 珠海市晶讯物联技术有限公司 IoT device intelligent linkage implementation method, device and IoT device platform
CN114167736A (en) * 2020-10-12 2022-03-11 超级智慧家(上海)物联网科技有限公司 Intelligent household scene generation method and device
CN114237063A (en) * 2021-12-16 2022-03-25 深圳绿米联创科技有限公司 Scene control method, device and system, electronic equipment and medium
CN114237071A (en) * 2021-12-21 2022-03-25 美的集团股份有限公司 Sharing method of scene control scheme and scene control equipment
CN114528064A (en) * 2020-11-23 2022-05-24 深圳Tcl新技术有限公司 Scene configuration method, storage medium and terminal equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104898592A (en) * 2015-03-31 2015-09-09 联想(北京)有限公司 Linkage rule generation method and electronic device
CN106100891A (en) * 2016-06-30 2016-11-09 北京小米移动软件有限公司 The method and device that intelligent scene is quickly shared
US20170108839A1 (en) * 2015-10-19 2017-04-20 Honeywell International Inc. Method of smart scene management using big data pattern analysis
CN106656692A (en) * 2016-11-09 2017-05-10 中磊电子(苏州)有限公司 Automatic rule selecting method and wireless communication device
CN107113792A (en) * 2015-06-23 2017-08-29 华为技术有限公司 A kind of sending method of control information, detection method, base station and user equipment
CN107657551A (en) * 2017-10-13 2018-02-02 北京玲珑新世纪商贸有限公司 The implementation method of total solution is lived by family based on information-based business model
US20180122142A1 (en) * 2016-10-31 2018-05-03 Verizon Patent And Licensing Inc. Methods and Systems for Dynamically Customizing a Scene for Presentation to a User
CN108449241A (en) * 2018-02-09 2018-08-24 深圳绿米联创科技有限公司 Configuration method and device, the terminal of Intelligent household scene
CN108616430A (en) * 2018-04-03 2018-10-02 上海永天科技股份有限公司 Smart home automatic configuration method and device
CN108919658A (en) * 2018-06-27 2018-11-30 深圳绿米联创科技有限公司 Smart machine control method and device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104898592A (en) * 2015-03-31 2015-09-09 联想(北京)有限公司 Linkage rule generation method and electronic device
CN107113792A (en) * 2015-06-23 2017-08-29 华为技术有限公司 A kind of sending method of control information, detection method, base station and user equipment
US20170108839A1 (en) * 2015-10-19 2017-04-20 Honeywell International Inc. Method of smart scene management using big data pattern analysis
CN106100891A (en) * 2016-06-30 2016-11-09 北京小米移动软件有限公司 The method and device that intelligent scene is quickly shared
US20180122142A1 (en) * 2016-10-31 2018-05-03 Verizon Patent And Licensing Inc. Methods and Systems for Dynamically Customizing a Scene for Presentation to a User
CN106656692A (en) * 2016-11-09 2017-05-10 中磊电子(苏州)有限公司 Automatic rule selecting method and wireless communication device
CN107657551A (en) * 2017-10-13 2018-02-02 北京玲珑新世纪商贸有限公司 The implementation method of total solution is lived by family based on information-based business model
CN108449241A (en) * 2018-02-09 2018-08-24 深圳绿米联创科技有限公司 Configuration method and device, the terminal of Intelligent household scene
CN108616430A (en) * 2018-04-03 2018-10-02 上海永天科技股份有限公司 Smart home automatic configuration method and device
CN108919658A (en) * 2018-06-27 2018-11-30 深圳绿米联创科技有限公司 Smart machine control method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
邓晓衡,等: "基于综合信任的边缘计算资源协同研究", 《计算机研究与发展》 *

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113412457A (en) * 2019-05-16 2021-09-17 深圳市欢太科技有限公司 Scene pushing method, device and system, electronic equipment and storage medium
CN113412457B (en) * 2019-05-16 2023-08-18 深圳市欢太科技有限公司 Scene pushing method, device and system, electronic equipment and storage medium
CN110324216A (en) * 2019-05-23 2019-10-11 深圳绿米联创科技有限公司 Automatic configuration method, apparatus, system, server and storage medium
CN110324216B (en) * 2019-05-23 2021-10-26 深圳绿米联创科技有限公司 Automatic configuration method, device, system, server and storage medium
CN110928191A (en) * 2019-11-07 2020-03-27 深圳市欧瑞博科技有限公司 Separation control method, control panel, server and computer readable storage medium for smart home
CN110958147A (en) * 2019-12-06 2020-04-03 浩云科技股份有限公司 Internet of things equipment interconnection strategy configuration system
CN110958147B (en) * 2019-12-06 2022-06-07 浩云科技股份有限公司 Internet of things equipment interconnection strategy configuration system
CN110830342A (en) * 2019-12-16 2020-02-21 联通物联网有限责任公司 Intelligent household equipment communication method and system
CN113009835A (en) * 2019-12-20 2021-06-22 西门子(中国)有限公司 Automatic configuration method and device of intelligent home system
CN111363661A (en) * 2020-03-06 2020-07-03 天地壹号饮料股份有限公司 Air detection mechanism and method for fruit vinegar fermentation tank and storage medium
CN114846415B (en) * 2020-03-20 2024-12-27 Oppo广东移动通信有限公司 A rule processing method and device, and electronic equipment
WO2021184365A1 (en) * 2020-03-20 2021-09-23 Oppo广东移动通信有限公司 Rule processing method and apparatus, and electronic device
CN114846415A (en) * 2020-03-20 2022-08-02 Oppo广东移动通信有限公司 Rule processing method and device and electronic equipment
CN111447123A (en) * 2020-03-24 2020-07-24 北京金山云网络技术有限公司 Smart home configuration method and device, electronic equipment and medium
CN111447123B (en) * 2020-03-24 2021-11-05 北京金山云网络技术有限公司 Smart home configuration method and device, electronic equipment and medium
CN111970180A (en) * 2020-08-11 2020-11-20 深圳市欧瑞博科技股份有限公司 Networking configuration method and device for intelligent household equipment, electronic equipment and storage medium
CN111970180B (en) * 2020-08-11 2022-10-28 深圳市欧瑞博科技股份有限公司 Networking configuration method and device for intelligent household equipment, electronic equipment and storage medium
CN112073471A (en) * 2020-08-17 2020-12-11 青岛海尔科技有限公司 Device control method and apparatus, storage medium, and electronic apparatus
CN114167736A (en) * 2020-10-12 2022-03-11 超级智慧家(上海)物联网科技有限公司 Intelligent household scene generation method and device
CN114167736B (en) * 2020-10-12 2024-04-19 超级智慧家(上海)物联网科技有限公司 Smart home scene generation method and device
CN114528064A (en) * 2020-11-23 2022-05-24 深圳Tcl新技术有限公司 Scene configuration method, storage medium and terminal equipment
CN112579656A (en) * 2020-12-14 2021-03-30 中国建设银行股份有限公司 Method and device for generating division schemes
CN113759734A (en) * 2021-08-05 2021-12-07 珠海市晶讯物联技术有限公司 IoT device intelligent linkage implementation method, device and IoT device platform
CN114237063A (en) * 2021-12-16 2022-03-25 深圳绿米联创科技有限公司 Scene control method, device and system, electronic equipment and medium
CN114237071A (en) * 2021-12-21 2022-03-25 美的集团股份有限公司 Sharing method of scene control scheme and scene control equipment
CN114237071B (en) * 2021-12-21 2024-08-16 美的集团股份有限公司 Sharing method of scenerization control scheme and scenerization control equipment

Also Published As

Publication number Publication date
CN109725541B (en) 2022-09-27

Similar Documents

Publication Publication Date Title
CN109725541A (en) Generation method, device, electronic equipment and the storage medium of automation
CN113412457B (en) Scene pushing method, device and system, electronic equipment and storage medium
EP2744152B1 (en) User terminal apparatus, network apparatus for enabling an intelligent communication, and control method thereof
US11782590B2 (en) Scene-operation method, electronic device, and non-transitory computer readable medium
CN109829106B (en) Automatic recommendation method and device, electronic equipment and storage medium
CN113055255A (en) Scene configuration method and device of intelligent household appliance, storage medium and electronic equipment
CN110417859A (en) Apparatus control method, device, system, intelligent gateway and storage medium
CN109918273A (en) A kind of data display method, device, terminal device and storage medium
CN103428294A (en) System for realizing intellectualization of electric rice cooker by utilizing intelligent terminal
CN110687811A (en) Method and device for scene configuration of smart home offline voice equipment
CN105553836A (en) Household appliance control method and system based on Wechat
CN109407527A (en) Realize the method and device that smart machine is recommended
CN111897462B (en) Intelligent display control method and device in intelligent household APP
CN113168334A (en) Data processing method, apparatus, electronic device and readable storage medium
CN113110093A (en) Control method, device and equipment of intelligent household control panel and storage medium
CN110376917B (en) A kind of intelligent home control system and control method based on virtual panel
CN110196557A (en) Apparatus control method, device, mobile terminal and storage medium
CN109240098B (en) Equipment configuration method and device, terminal equipment and storage medium
US10445149B2 (en) Method for controlling multiple devices connected via network
CN110794773A (en) Click-type scene creating method and device
CN113852657B (en) Smart home local control method and system based on edge calculation
CN106033194A (en) Intelligent smoke ventilator control system
WO2024125570A1 (en) Visual modeling method and apparatus, and internet of things platform
CN115220372A (en) Event processing method, device and system
CN111564155B (en) Voice control method and device based on steaming and baking all-in-one machine and steaming and baking all-in-one machine

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