CN110324217A - Control method, device, electronic equipment and the storage medium of equipment triggering - Google Patents

Control method, device, electronic equipment and the storage medium of equipment triggering Download PDF

Info

Publication number
CN110324217A
CN110324217A CN201910442187.3A CN201910442187A CN110324217A CN 110324217 A CN110324217 A CN 110324217A CN 201910442187 A CN201910442187 A CN 201910442187A CN 110324217 A CN110324217 A CN 110324217A
Authority
CN
China
Prior art keywords
control instruction
control
triggering
controlled plant
automated
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
CN201910442187.3A
Other languages
Chinese (zh)
Other versions
CN110324217B (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 CN201910442187.3A priority Critical patent/CN110324217B/en
Publication of CN110324217A publication Critical patent/CN110324217A/en
Application granted granted Critical
Publication of CN110324217B publication Critical patent/CN110324217B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • H04L12/2809Exchanging configuration information on appliance services in a home automation network indicating that an appliance service is present in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • 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

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The embodiment of the present application discloses control method, device, system, electronic equipment and the storage medium of a kind of equipment triggering.This method is used to control the state for changing controlled plant by receiving triggering control instruction, triggering control instruction;If it is determined that it is not execute triggering control instruction then based on the control instruction of preconfigured automation/scene that controlled plant, which is in non-automated/scenario triggered control instruction state of a control and triggering control instruction,.It is realized through the above way in the case where judgement controlled plant is in non-automated/scenario triggered control instruction state of a control and triggering control instruction is the control instruction based on preconfigured automation/scene, triggering control instruction is not executed, and then it realizes and only carries out non-automated/scenario triggered control instruction, meet user under special scenes to the particular demands of equipment triggering control to realize, promotes user experience.

Description

Control method, device, electronic equipment and the storage medium of equipment triggering
Technical field
This application involves Smart Home technical field, more particularly, to a kind of control method of equipment triggering, device, System, electronic equipment and storage medium.
Background technique
With reaching its maturity for Internet of Things and Internet technology, the application range of network access equipment and network technology is got over Come bigger, people require it also higher and higher.In smart home system, by for network access equipment (gateway and with Its connected sub- equipment etc.) configuration equipment automatization scene, the equipment automatization scene between smart home device may be implemented Linkage brings preferable intelligent scene to experience for user.However for some scenes, equipment is carried out based on equipment automatization scene Control tends not to meet the needs of client well.
Summary of the invention
In view of the above problems, this application provides a kind of equipment triggering control method, device, system, electronic equipment with And storage medium, to improve the above problem.
In a first aspect, the embodiment of the present application provides a kind of control method of equipment triggering, which comprises receive touching Control instruction is sent out, triggering control instruction is used to control the state for changing controlled plant;If it is determined that controlled plant be in non-automated/ Scenario triggered control instruction state of a control and triggering control instruction be the control instruction based on preconfigured automation/scene, Triggering control instruction is not executed then.
Second aspect, the embodiment of the present application provide a kind of control method of equipment triggering, which comprises work as service Device or gateway receive when sending the instruction of triggering control instruction to controlled plant, if it is determined that the instruction is based on matching in advance Automation/the scenario triggered and controlled plant set are in non-automated/scenario triggered control instruction state of a control, then ignore described Instruction;Otherwise triggering control instruction is sent.
The third aspect, the embodiment of the present application provide a kind of control device of equipment triggering, and described device includes: that instruction connects Module is received, for receiving triggering control instruction, triggering control instruction is used to control the state for changing controlled plant;Instruction processing mould Block, for if it is determined that it is base that controlled plant, which is in non-automated/scenario triggered control instruction state of a control and triggering control instruction, In the control instruction of preconfigured automation/scene, then triggering control instruction is not executed.
Fourth aspect, the embodiment of the present application provide a kind of control device of equipment triggering, and described device includes: that judgement is single Member, for when server or gateway receive and send the instruction of triggering control instruction to controlled plant, judgement to indicate whether It is based on preconfigured automation/scenario triggered and whether controlled plant is in non-automated/scenario triggered control instruction control State processed;Processing unit, for if it is determined that instruction is based on preconfigured automation/scenario triggered and controlled plant is in non- Automation/scenario triggered control instruction state of a control, then ignore the instruction;Otherwise triggering control instruction is sent.
5th aspect, the embodiment of the present application provide a kind of control system of equipment triggering, the system comprises server, Gateway and controlled plant: the server be used for when receive to controlled plant send triggering control instruction instruction when, if Determine that the instruction is based on preconfigured automation/scenario triggered and controlled plant is in non-automated/scenario triggered control System instruction state of a control, then ignore the instruction;Otherwise triggering control instruction is sent;The gateway is for receiving server transmission Triggering control instruction, and forward it to controlled plant;The controlled plant is for receiving triggering control instruction, triggering control Instruction changes the state of controlled plant for controlling;The controlled plant be also used to if it is determined that controlled plant be in non-automated/ Scenario triggered control instruction state of a control and triggering control instruction be the control instruction based on preconfigured automation/scene, Triggering control instruction is not executed then.
6th aspect, this application provides a kind of electronic equipment, including processor, memory and storage are on a memory simultaneously The computer program that can be run on a processor realizes method described above when computer program is executed by processor.
7th aspect, this application provides a kind of computer readable storage medium, stores on computer readable storage medium There is program code, wherein method described above is realized when computer program is executed by processor.
Control method, device, system, electronic equipment and the storage that the embodiment of the present application provides a kind of equipment triggering are situated between Matter.This method by receive for control change controlled plant state triggering control instruction after, further determine by Control equipment is in non-automated/scenario triggered control instruction state of a control and triggering control instruction is based on preconfigured automatic In the case where change/scene control instruction, then triggering control instruction is not executed, realize and determining controlled plant in non-automatic Change/scenario triggered control instruction state of a control and triggering control instruction be that the control based on preconfigured automation/scene refers to In the case where order, triggering control instruction is not executed, and then realize and only carry out non-automated/scenario triggered control instruction, thus real Show and met user under special scenes to the particular demands of equipment triggering control, has promoted the corresponding control mould of triggering control instruction The flexibility of formula setting, promotes user experience.
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 schematic diagram of network system provided by the embodiments of the present application.
Fig. 2 shows a kind of structural block diagrams of the control system of equipment triggering provided by the embodiments of the present application.
Fig. 3 shows a kind of method flow diagram of the control method of equipment triggering of one embodiment of the application offer.
Fig. 4 shows a kind of method flow diagram of the control method for equipment triggering that another embodiment of the application provides.
Fig. 5 shows the method flow diagram of the step S220 in Fig. 4.
Fig. 6 shows a kind of method flow diagram of embodiment of the step S222 in Fig. 5.
Fig. 7 shows the method flow diagram of the another embodiment of the step S222 in Fig. 5.
Fig. 8 shows a kind of method flow diagram of the control method for equipment triggering that the another embodiment of the application provides.
Non-automated/scenario triggered control instruction one that Fig. 9 shows controlled plant provided by the embodiments of the present application is matched Set interface schematic diagram.
Non-automated/scenario triggered control instruction that Figure 10 shows controlled plant provided by the embodiments of the present application is another Configuration interface schematic diagram.
Figure 11 shows a kind of method flow diagram of the control method of equipment triggering of the application another embodiment offer.
Figure 12 shows a kind of structural block diagram of the control device of equipment triggering of one embodiment of the application offer.
Figure 13 shows a kind of structural block diagram of the control device for equipment triggering that another embodiment of the application provides.
Figure 14 shows provided by the embodiments of the present application for executing the control triggered according to the equipment of the embodiment of the present application The structural block diagram of the electronic equipment of method.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
Smart home system is to utilize advanced computer technology, network communications technology, intelligent cloud control, comprehensive wiring Technology, medical electronics technology merge individual needs according to base of principle of human engineering, will subsystems related with home life Such as security protection, signal light control, curtain control, gas valve control, information household appliances, scene linkage, floor heating, health care, health Epidemic prevention, security protection security personnel etc. are organically combined together, and control and manage by networking comprehensive intelligent, realize " people-oriented " Completely new home life experiencing system.
With the development of Internet of Things and smart home technology, smart home product is gradually entered into people's lives.It is logical Often, the equipment in smart home system is controlled, automation linkage scene can be applied to control equipment, for example, user can To be the home equipment configuration equipment automatization scene for having been added to APP login account in smart home device management APP, into And realize the intelligent control to home equipment.
And enriching with scenes of internet of things, user is more and more extensive to the use demand of equipment automatization scene.For example, In some special scenes, if user is carrying out a certain momentous conference, need to use projector apparatus, the projector apparatus It can be controlled by smart machine (such as intelligent switch), if the meeting needs to carry out one hour, not wished within this hour This intelligent switch is hoped to trigger (referred to herein as automation triggering mode triggering) by non-artificial mode, and after finishing the meeting Need the automation triggering mode of intelligent switch itself that can restore normally again, at this time the equipment automatization scene pair by configuring Equipment carries out the particular demands that intelligent control is often unable to satisfy user.
A kind of " projector mode " equipment can be arranged by finding after careful research in inventor, that is, allows equipment Temporarily in a kind of " non intelligent " mode, control instruction is triggered by receiving, triggering control instruction changes controlled set for controlling Standby state;Then if it is determined that controlled plant is in non-automated/scenario triggered control instruction state of a control and triggering control refers to Order is not executed triggering control instruction then based on the control instruction of preconfigured automation/scene, may be implemented that equipment is allowed to exist It artificially physical trigger or long-range control can only carry out the triggering of non-automated triggering mode such as triggering in special time period, without Automation triggering mode triggering is executed, to meet user under special scenes to the particular demands of equipment triggering control, is promoted User experience.
Therefore, control method, the dress of the device location triggering that can improve the above problem in the application are inventor provided It sets, system, electronic equipment and storage medium.
For the ease of be described in detail application scheme, below first in conjunction with attached drawing to the application environment in the embodiment of the present application into Row is introduced.
Referring to Fig. 1, being a kind of network system 10 provided by the embodiments of the present application, which includes: mobile whole End 11, server 12 and local area network 13, wherein include router 131, gateway 132 in the local area network 13 and controlled set Standby 133.As a kind of mode, mobile terminal 11 can be any equipment for having communication and store function, such as: intelligent hand Machine, desktop computer, laptop, tablet computer or other intelligent communication devices with network connecting function.Server 12 It can be network access server, database server, Cloud Server etc..Optionally, gateway 132 is to be taken based on Zigbee protocol It builds, controlled plant 133 can be the equipment being previously added in gateway 132, for example, when controlled plant 133 can be gateway factory Equipment in the belonged to external member of gateway;It is also possible to the equipment being connected in gateway 132 subsequently through user's operation.
Optionally, controlled plant 133 can be entity smart machine, such as ammeter, door status sensor, human body sensor, door Window sensor, Temperature Humidity Sensor, water sensor, the natural gas reports to the police machine, smoke alarm, switch on wall, wall socket, intelligence Can socket, wireless switching, wireless wall patch switch, magic square controller, curtain motor, Multifunctional gateway, air-conditioning companion, projector, The smart machines such as screen, intelligent curtain motor, intelligent sound box, camera are thrown, virtual-sensor equipment, such as visual human are also possible to Body sensor equipment, is not limited thereto.It optionally, can be same type and identical product between multiple controlled plants 133 The equipment of board, can also with same type but the equipment of different brands, can also be the equipment of different type different brands.
Optionally, being mounted in mobile terminal 11 can be to the client that smart home device is managed, the client End can be application client (such as cell phone application), is also possible to webpage client, is not limited thereto.
Optionally, one or more controlled plants 133 can be established based on Zigbee protocol and gateway 132 and are connected to the network, To be added in ZigBee-network.Gateway 132 and mobile terminal 11 can be connect with router 131, and pass through routing Device 131 is linked into Ethernet, and as a kind of mode, router 131 can thus be accessed by Ethernet access network 14 and be taken Business device 12, for example, the information that gateway 132 and mobile terminal 11 can will acquire is stored into server 12.Optionally, mobile Terminal 11 can also establish network linking by 2G/3G/4G/5G or WIFI etc. and server 12, so as to obtain server 12 data issued.
Based on application environment presented hereinbefore, briefly introduces involved in the embodiment of the present application and set below in conjunction with attached drawing The control system of standby triggering.
Referring to Fig. 2, providing a kind of control system 100 of equipment triggering, including server 12, gateway 132, Yi Jishou Equipment 133 is controlled, gateway 132 and server 12 communicate to connect, to realize data interaction.Gateway 132 and 133 network of controlled plant connect It connects to realize data interaction.
Based on application environment and system presented hereinbefore, each implementation of the application is specifically described below in conjunction with attached drawing Example.
Referring to Fig. 3, the method flow diagram of the control method triggered for a kind of equipment that one embodiment of the application provides, this Embodiment provides a kind of control method of equipment triggering, this method comprises:
Step S110: receiving triggering control instruction, and the triggering control instruction is used to control the state for changing controlled plant.
Wherein, triggering control instruction refers to the control that the state for changing controlled plant is triggered in smart home system Instruction.As a kind of mode, according to the difference of triggering mode, triggering control instruction may include preconfigured automation/field The control instruction of scape also may include non-automated/scene triggering control instruction.
Wherein, the control instruction of preconfigured automation/scene can be understood as to automate triggering mode triggering and use In the instruction of control controlled plant work, for example, the equipment in smart home system controls, it can be using automation linkage scene To control the equipment in smart home system.In a specific application scenarios, can configure one be named as " return Automation/scene of family ", being somebody's turn to do " going home " automation/scene may include " open air-conditioning, open TV, open water heater ", that When " going home " automation/scenes function button is in the open state, a dozen enablings may be implemented and turn on air-conditioning, open electricity Depending on, open water heater.Wherein, open door be whole automation/scene execution condition, triggering controlled plant " air-conditioning, TV, Water heater " automatically turns on, and executes corresponding actions, thus is automation triggering mode triggering.
So, understandable to be, non-automated/scene triggering control instruction can be understood as triggering with non-automated Mode triggers the instruction for controlling controlled plant work, for example, either long-range control triggering of artificial physical trigger etc..It is optional , if the triggering control instruction received be non-automated/scene triggering control instruction, then controlled plant will will receive it is non- The control for automating the control instruction of triggering mode executes automation/scenario triggered control instruction without going.
Step S120: judge the controlled plant whether be in non-automated/scenario triggered control instruction state of a control and Whether the triggering control instruction is the control instruction based on preconfigured automation/scene.
Wherein, automation/scenario triggered control instruction can be understood as being configured to control equipment in smart home system Automated execution or the control instruction that executes of scene, controlled plant is controlled by automation/scenario triggered control instruction and is held Automation/scene of row configuration can greatly promote the intelligence experience of user to realize the intelligent control to controlled plant.
For example, can configure an automation/scene is that " door and window is opened, opened automatically in a specific application scenarios Lamp ", wherein the door and window sensor being connected with equipment door and window is triggering equipment, and lamp is controlled plant, then automatic for this Change/scene, gateway can be issued to door and window when meeting open command of the door and window sensor sensing to door, indicate opening of doors and windows, In this case the movement that " door and window " needs to be implemented is " door and window ", and after opening of doors and windows, lamp automatically turns on immediately, controlled to set The movement that standby " lamp " needs to be implemented is " turning on light automatically ", then it is understood that this automation/scene triggering control refers to It enables as automation triggering mode triggering.
It is understood that enriching with scenes of internet of things, user is more next to equipment automatization/scene demand for control It is more, for example, having a case that uncertainty in the time that some specific conference scenarios either need controlled plant to work Under, controlled plant work is controlled by the automatic trigger control mode of preconfigured equipment automatization/scene and is often upset The original plan of user reduces the friendly experience of user.Thus, in order to promote user under special scenes to the specific control of equipment Demand processed, the embodiment of the present application provides a kind of " projector mode " to work for controlling equipment, and then promotes user experience.
As a kind of mode, " projector mode " in the embodiment of the present application under non-automated/scene it can be appreciated that touch Hair is in the control model of the state of control equipment work.Optionally, in the case where " projector mode " triggers control instruction state of a control, Controlled plant can only execute the control instruction of the either long-range control triggering of control instruction triggered by artificial physical trigger mode, Control instruction without going to execute automation triggering mode triggering, so as to realize that meet user specific under special scenes Equipment demand for control, promoted user experience.
It should be noted that non-automated/scenario triggered control instruction in the embodiment of the present application may include: physics touching Send instructions and remotely control at least one of triggering command, naturally it is also possible to be set, not made herein according to the actual situation It limits.
It is controlled to set in order to realize the specific equipment demand for control for meeting user under special scenes as a kind of mode For after having received triggering control instruction, need to control triggering control instruction state of a control locating for controlled plant and triggering Whether system instruction is that the control instruction of preconfigured automation/scene is judged.It should be noted that at controlled plant When automation/scenario triggered control instruction state of a control, controlled plant still can receive non-automated/scenario triggered control and refer to It enables, but can not necessarily execute, it is similarly, controlled when controlled plant is in non-automated/scenario triggered control instruction state of a control Equipment, which is appointed, can receive automation/scenario triggered control instruction, also, controlled plant will not necessarily go to execute automation/field Scape triggers control instruction, then in this case, above-mentioned uncertain factor is had by state of a control because of controlled plant, and User is unable to satisfy under special scenes to the specific demand for control of controlled plant, it is therefore desirable to judge whether controlled plant is located In non-automated/scenario triggered control instruction state of a control and judge to trigger whether control instruction is based on preconfigured automatic Change/scene control instruction.
So it is understood that in order to judge whether controlled plant is in " projector mode " triggering control instruction control shape Whether state can be in non-automated/scenario triggered control instruction state of a control to controlled plant and judge, in order to can be with The triggering control instruction state of a control that controlled plant is presently in is obtained according to judging result, and then according to the current institute of controlled plant The triggering control instruction state of a control at place judges whether to execute received triggering control instruction.
Step S130: if so, not executing the triggering control instruction.
As a kind of mode, if it is determined that controlled plant is in non-automated/scenario triggered control instruction state of a control and touching Sending out control instruction is the control instruction based on preconfigured automation/scene, then not executing the triggering control received then Instruction.For example, in a specific application scenarios, if controlled plant is currently at non-automated/scene triggering mode Under state of a control, although in the log of controlled plant record have controlled plant have received based on it is preconfigured automation/ The control instruction of scene, but in order to keep the state for currently controlling equipment work to be not interrupted, to meet user specific Particular device demand for control under scene, controlled plant will not execute the triggering control instruction received.
Alternatively, if it is determined that controlled plant is not in non-automated/scenario triggered control instruction state of a control And triggering control instruction is not based on the control instruction of preconfigured automation/scene, then can then terminate to judge.
The control method of a kind of equipment triggering provided in this embodiment, by receiving for controlling change controlled plant State triggering control instruction after, further determine that controlled plant is in non-automated/scenario triggered control instruction control shape In the case that state and triggering control instruction are the control instruction based on preconfigured automation/scene, then triggering control is not executed System instruction realizes and is determining that controlled plant is in non-automated/scenario triggered control instruction state of a control and triggering control refers to In the case that order is the control instruction based on preconfigured automation/scene, triggering control instruction is not executed, and then realize only Non-automated/scenario triggered control instruction is executed, meets user under special scenes to equipment triggering control to realize Particular demands promote the flexibility of the corresponding control model setting of triggering control instruction, promote user experience.
Referring to Fig. 4, the method flow diagram of the control method triggered for a kind of equipment that another embodiment of the application provides, The present embodiment provides a kind of control methods of equipment triggering, this method comprises:
Step S210: receiving triggering control instruction, and the triggering control instruction is used to control the state for changing controlled plant.
Step S220: judge whether the controlled plant is in non-automated/scenario triggered control instruction state of a control.
As a kind of mode, after controlled plant has received triggering control instruction, work as the ease of understanding controlled plant Preceding locating state of a control, in order to the state of a control according to locating for controlled plant quickly judge whether to need to continue to by The state of a control that control equipment is presently in either executes received triggering control instruction, can first judge that controlled plant is It is no to be in non-automated/scenario triggered control instruction state of a control, in order to be referred to according to judging result to triggering control Order is handled.
Wherein, judge whether controlled plant is in non-automated/scenario triggered control instruction state of a control judgment mode There are many kinds of, such as: referring to Fig. 5, as a kind of mode, step S220 may include:
Step S221: obtaining the state parameter of presently described controlled plant, and the state parameter characterizes the controlled plant Whether non-automated/scenario triggered control instruction state of a control is in.
Wherein, state parameter can be used for characterizing whether controlled plant is in non-automated/scenario triggered control instruction control State processed, it can be interpreted as judging the carrier of state of a control locating for controlled plant.As a kind of mode, state parameter be can wrap Include the functional status parameter (for example, open and close state of a certain functions of the equipments of controlled plant) and attribute of controlled plant State parameter (for example, device identification of controlled plant) can also include the running state parameter of controlled plant (for example, controlled A certain running state parameter value of equipment etc.).
In a kind of mode, the state parameter of controlled plant can be stored in advance, for example, for needing to pass through " magic lantern mould The controlled plant of formula " control, can state (open projector mode with closing projector mode) to " projector mode " with it is corresponding State value is stored in the form of tables of data to server or controlled plant, with the state of formation " projector mode " and corresponding shape Mapping relations between state value.In a further mode of operation, the state parameter of controlled plant can also be stored to server, when by It controls in the case that equipment needs, state parameter acquisition request is sent to server, in order to which server is by corresponding state parameter It is issued to controlled plant.
Step S222: judge whether the controlled plant is in non-automated/scenario triggered control according to the state parameter System instruction state of a control.
As a kind of mode, it can judge whether controlled plant is in non-automated/scenario triggered control according to state parameter System instruction state of a control.Optionally, there are many kinds of state parameters, thus judge whether controlled plant is in non-according to state parameter There are many kinds of automation/scenario triggered control instruction state of a control judgment modes, such as:
In one implementation, referring to Fig. 6, step S222 may include:
Step S2221: the parameter value of the specified label is obtained.
Wherein, state parameter may include specified label, optionally, specified label can be understood as addition for indicate by The judge mark for controlling the state of equipment, by obtaining the parameter value of specified label, the parameter value for the specified label that will acquire Being compared with preset preset threshold, which may determine that, show whether controlled plant is in non-automated/scenario triggered control Instruct state of a control.
It, can be by advance to automation triggering, artificial triggering and long-range control triggering configuration pair as a kind of mode The triggering type mark answered, for example, " 0 " is configured by the triggering type mark that physical button triggers, by long-range control triggering Triggering type mark is configured to " 1 ", configures " 2 " for the triggering type mark for automating triggering mode triggering, works as controlled plant When receiving triggering control instruction, controlled plant can read the parameter value of current specified label automatically, in order to according to specified The parameter value of label judges whether controlled plant is in non-automated/scenario triggered control instruction state of a control.
Alternatively, in the state of communication in controlled plant and gateway and server holding, controlled plant can be with Receive the triggering control instruction comprising specified label issued by server from gateway forwards, thus controlled plant can be from The parameter value of specified label is obtained in the triggering control instruction.
Step S2222: judge whether the parameter value is preset threshold.
Wherein, judge that parameter value whether be preset threshold may include by the parameter value of specified label and pre-set Preset threshold is compared, or whether the specified parameter value marked of judgement falls into the parameter model of preset specified label In enclosing, and then judge to show whether controlled plant is in non-automated/scenario triggered control instruction state of a control.It is understood that It is, it, can be by current controlled plant if the parameter value of specified label is compared with pre-set preset threshold The parameter value of the specified label of last state is compared with pre-set preset threshold, so as to increase the standard of judgement True property.
For example, in a specific application scenarios, it is assumed that user configuration one for controlling controlled plant work " projector mode " control mode of state, if controlled plant is in the state of " projector mode " control mode, controlled plant is only The control of non-automated/scenario triggered control instruction is received, the control of automation/scene is executed without going, then this In the case of, control mode can be understood as " specified label ", the particular content of control mode (automation/scenery control instruction with And non-automated/scenario triggered control instruction) can be understood as " parameter value of specified label ", and " projector mode " control mode Preset threshold it is to be understood that non-automated/scenario triggered control instruction, then having received triggering control when controlled plant After system instruction, it can go to judge whether received triggering control instruction is non-automated/scenario triggered control instruction.
Step S2223: if so, determining that the controlled plant is in non-automated/scenario triggered control instruction state of a control.
It is understood that as a kind of mode, if it is determined that the parameter value of the specified label acquired is preset threshold Or be in preset threshold range, then can be determined that controlled plant is in non-automated/scenario triggered control and refers to Enable state of a control.
Step S2224: if it is not, determining that the controlled plant is not at non-automated/scenario triggered control instruction control shape State.
Alternatively, if it is determined that the parameter value of the specified label acquired is not preset threshold or is not in In preset threshold range, then can be determined that controlled plant is not at non-automated/scenario triggered control instruction control State.
For example, in one implementation, controlled plant state in which configuration status can be marked, optionally, if Status indication is 1, indicates that controlled plant is in non-automated/scenario triggered control instruction state of a control, if status indication is 0, Indicate that controlled plant is in automation/scenario triggered control instruction state of a control, as a kind of mode, triggering can in control instruction To carry above-mentioned status indication, then status indication can be identified after controlled plant receives triggering control instruction, And then it can judge whether controlled plant is in non-automated/scenario triggered control instruction control shape according to the value of status indication State.Wherein, for indicating that the setting means of the value of the status indication of the state of controlled plant includes but is not limited to above-mentioned setting side Formula is not limited thereto.
In another implementation, referring to Fig. 7, step S222 may include:
Step S2225: at the time of obtaining the reception triggering control instruction.
As a kind of mode, at the time of state parameter may include that controlled plant receives triggering control instruction.It is understood that , in order to meet user in special time period to the specific demand for control of controlled plant, i.e., controlled plant is in specific time Non-automated/scenario triggered control instruction is only received without reception in section or does not execute automation/scenario triggered control instruction, Non-automated/scenario triggered control instruction control duration (period) can be set, in order to can by obtain by (time point) judges whether controlled plant is in non-automated/scenario triggered control at the time of control equipment receives triggering control instruction System instruction state of a control.
Step S2226: judge whether the moment was in the range of preconfigured first duration.Wherein, One duration indicated non-automated/scenario triggered control instruction entry-into-force time for controlling controlled plant working condition, The value of first duration generally can be set as 0-3 hours, wherein 0 expression the first duration countdown terminates, i.e., it is controlled Equipment will no more be in non-automated/scenario triggered control instruction state of a control, and the first duration of certain controlled plant can To be set according to actual needs, it is not limited thereto.In the range of the first duration, controlled plant can only by it is non-from Dynamicization/scenario triggered control instruction triggering will not go to execute certainly without the/scenario triggered control instruction triggering that is automated Dynamicization/scenario triggered control instruction, it is notable that in order to guarantee that equipment is in lasting work shape whithin a period of time State, in embodiments herein, controlled plant will continue to execute received automation/field after the first duration expired Scape triggers control instruction.
As a kind of mode, the first duration may include point and end time at the beginning of the first duration Point, then can by judge controlled plant receive triggering control instruction at the time of whether be in for the first duration at the beginning of Between put and judge whether the moment was in the range of preconfigured first duration between end time point.
Step S2227: if so, determining that the controlled plant is in non-automated/scenario triggered control instruction state of a control.
Optionally, if controlled plant is in the range of the first duration at the time of receiving triggering control instruction, then It can be determined that controlled plant is in non-automated/scenario triggered control instruction state of a control.
Step S2228: if it is not, determining that the controlled plant is not at non-automated/scenario triggered control instruction control shape State.
Optionally, if controlled plant is not in the range of the first duration at the time of receiving triggering control instruction, that It can be determined that controlled plant is not at non-automated/scenario triggered control instruction state of a control, for example, controlled plant is in certainly Dynamicization/scenario triggered control instruction state of a control or other states etc..
For example, in one implementation, user be pre-configured in T1 to T1+T time range by non-automated/ Scenario triggered mode triggers control controlled plant work, if controlled plant has received triggering control instruction in time t2, then It may determine that whether t2 is in T1 to T1+T time range.Optionally, if t2 is in T1 to T1+T time range, indicate by Control equipment be currently at non-automated/scenario triggered control instruction state of a control, and if t2 is in outside T1 to T1+T time range, It so can be determined that controlled plant is not at non-automated/scenario triggered control instruction state of a control.
Step S2229: the triggering control instruction is executed.
Wherein, if it is determined that being in the case that controlled plant is not at non-automated/scenario triggered control instruction state of a control Guarantee controlled plant can be after non-automated triggering mode triggers control instruction state of a control whithin a period of time in holding Continuous working condition, then controlled plant is by restorer automation/scenery control mode, then it is understood that controlled set It is standby to execute received triggering control instruction.
After judging whether controlled plant is in non-automated/scenario triggered control instruction state of a control, in order into one Step judges whether controlled plant needs to be implemented the received triggering control instruction of institute, in order to better meet user to special scenes Under controlled plant demand for control, as a kind of mode, if controlled plant is in non-automated/scenario triggered control instruction control State processed can then continue to execute following steps:
Step S230: judge whether the triggering control instruction is that the control based on preconfigured automation/scene refers to It enables.
It should be noted that the controlled plant in the embodiment of the present application is being in non-automated/scenario triggered control instruction State of a control lower reception non-automated/scenario triggered mode triggering again, without receiving automation/scenario triggered mode Triggering, automation/scenario triggered control instruction will not be executed, wherein if controlled plant be in non-automated/scene Triggering received under control instruction state of a control is non-automated/scenario triggered mode trigger action, then non-automated/field Scape triggering control instruction the first duration will will be updated, and then further satisfaction user under special scenes to controlled plant Specific demand for control.So it is understood that as a kind of mode, non-automated/scene is in judgement controlled plant In the case where triggering control instruction state of a control, continue judge to trigger control instruction whether be based on it is preconfigured automate/ The control instruction of scene can execute repeatedly triggering control instruction to avoid controlled plant, to reduce the execution time of controlled plant Number saves power consumption.
Wherein, judge trigger control instruction whether be the control instruction based on preconfigured automation/scene judgement Mode may include that will trigger control instruction to be compared with preconfigured automation/scene described in previous embodiment Mode is judged that details are not described herein.
Step S240: if so, not executing the triggering control instruction.
In a kind of mode, if triggering control instruction is the control instruction based on preconfigured automation/scene, then Controlled plant will not execute triggering control instruction, to save power consumption, economize on resources.
Step S250: if it is not, determining that the triggering control instruction triggers control instruction for non-automated.
It is understood that if the control that judgement triggering control instruction is not based on preconfigured automation/scene refers to It enables, then can be determined that triggering control instruction is that non-automated triggers control instruction.
Step S260: the triggering control instruction is then executed.
In a kind of mode, determining that obtaining controlled plant is in non-automated/scenario triggered control instruction state of a control, And in the case where determining that triggering control instruction triggers control instruction for non-automated, controlled plant can execute the received triggering of institute Control instruction triggers control instruction by executing in such cases, can update (it can be appreciated that continue) non-automated/ The control duration of scenario triggered control instruction, to meet user under special scenes to the specific control need of controlled plant It asks, promotes user experience.
Alternatively, it if controlled plant is not at non-automated/scenario triggered control instruction state of a control, holds Row following steps:
It is understood that after controlled plant has received triggering control instruction, if judgement obtains controlled plant and does not locate In non-automated/scenario triggered control instruction state of a control, then in such cases, no matter triggering whether control instruction is based on The control instruction of preconfigured automation/scene, controlled plant can execute triggering control instruction, to guarantee controlled set It is standby to be may be in lasting working condition whithin a period of time, controlled plant can be manipulated at any time convenient for user.
It should be noted that in embodiments herein, as a kind of mode, if triggering control instruction is not based in advance Automation/scene control instruction of configuration, in the case where determining that triggering control instruction triggers control instruction for non-automated, It can also include: using current time as the first duration of start time reclocking.
For example, in a specific application scenarios, it is assumed that user set the first duration be 30 minutes, if user Controlled plant is triggered by non-automated/scenario triggered mode at 9 points, then non-automated/scenario triggered control instruction control The duration (it can be appreciated that entry-into-force time) of state is 9 points to 9 thirty, then in such cases, if user is 9: 10 Point controlled plant is triggered in a manner of non-automated/scenario triggered again, then will be with current time (i.e. 10 minutes) at 9 points First duration of point moment reclocking, then, the duration (entry-into-force time) of the first duration will be updated to 9: 10 It assigns at 9 points 40 minutes, by updating the duration (entry-into-force time) of the first duration, can greatly meet user some To the specific demand for control of controlled plant under special scenes, user experience is promoted.
Step S270: the triggering control instruction is then executed.
As a kind of mode, as shown in figure 4, after controlled plant has received triggering control instruction, if it is determined that controlled set Standby to be not at non-automated/scenario triggered control instruction state of a control, then not executing triggering control instruction then, specific descriptions can With referring to the associated description in abovementioned steps S2229, details are not described herein.
A kind of control method of equipment triggering provided in this embodiment, is receiving for controlling the shape for changing controlled plant After the triggering control instruction of state, non-automated/scenario triggered control instruction state of a control and triggering are in judgement controlled plant In the case that control instruction is the control instruction based on preconfigured automation/scene, triggering control instruction is not executed, in turn Realization only carries out non-automated/scenario triggered control instruction, and the non-automated of controlled plant is updated by way of reclocking The control duration of the control model of triggering mode then restores original control mould after controlling duration countdown Formula realizes that meet user right under special scenes so as to avoid that controlled plant is allowed to be constantly in single control model The particular demands of equipment triggering control, promote user experience.
Referring to Fig. 8, the method flow diagram of the control method triggered for a kind of equipment that the another embodiment of the application provides, The present embodiment provides a kind of control methods of equipment triggering, this method comprises:
Step S310: triggering control instruction is received.
It, can be to non-automated/scenario triggered of controlled plant before receiving triggering control instruction as a kind of mode The control model of mode is configured, in order to controlled plant receive triggering control instruction after can quickly judge it is controlled Triggering control instruction locating for equipment corresponds to the state of a control of triggering mode.In one implementation, can by with by Control the controlled plant APP administration interface of apparatus bound to non-automated/scenario triggered mode control model of controlled plant into Row setting, specifically, please refer to Fig. 9 and Figure 10, for by controlled plant APP administration interface to the non-automated of controlled plant/ The schematic diagram at the interface 91 that the control model of scenario triggered mode is configured.As shown in figure 9, user can be in controlled plant " projector mode (i.e. non-automated/the scene of parlor lamp of the administration interface of client to controlled plant (being at this time " parlor lamp ") The control model of triggering mode) " it is configured, optionally, when the function button of user's touch-control " projector mode " as shown in Figure 9 When 92, as shown in Figure 10 " projector mode " setting details page can be jumped to, including opens projector mode and to magic lantern mould The setting of the entry-into-force time of formula.
So it is understood that when the client of controlled plant completes " the magic lantern mould of setting controlled plant " parlor lamp " After formula " control model, non-automated/scenario triggered control configuration-direct can be generated, allow controlled plant by obtaining Negated automation/scenario triggered control configuration-direct, then according to configuration-direct to non-automated/scenario triggered control instruction State of a control is configured.Wherein, configuration-direct include to automation/scene non-automated triggering mode of controlled plant and The configuration of the lasting control duration of the non-automated triggering mode.
Step S320: judge whether the triggering control instruction is that the control based on preconfigured automation/scene refers to It enables.
As a kind of mode, in the embodiment of the present application, controlled plant is after having received triggering control instruction, in addition to aforementioned Embodiment first judges whether controlled plant is in non-automated/scenario triggered control instruction state of a control, then judges triggering control Whether system instruction is that can also first judge to trigger control instruction except the control instruction based on preconfigured automation/scene Whether it is the control instruction based on preconfigured automation/scene, then judges whether controlled plant is in non-automated/scene Control instruction state of a control is triggered, to realize after having received triggering control instruction, controlled plant can quickly judge The instruction type of control instruction is triggered out, can quickly judge whether to need to be implemented the received triggering control of institute in order to subsequent Controlled plant response time is saved in instruction.
Wherein, controlled plant judges to trigger whether control instruction is that the control based on preconfigured automation/scene refers to The judgment mode of order is referred to the description in previous embodiment, and details are not described herein.
Step S330: if so, judging whether the controlled plant is in non-automated/scenario triggered control instruction control shape State.
Step S340: if being in, the triggering control instruction is not executed.
As a kind of mode, if it is determined that controlled plant is in non-automated/scenario triggered control instruction state of a control, although The received triggering control instruction of controlled plant is the control instruction based on preconfigured automation/scene, and controlled plant will not Triggering control instruction can be executed, controlled plant may be implemented and be not interrupted under the control model being presently in, meet user To the specific demand for control of controlled plant under special scenes.
Step S350: if being not at, the triggering control instruction is executed.
It is understood that if triggering control instruction is not based on the control instruction of preconfigured automation/scene In the case of, controlled plant is not also in non-automated/scenario triggered control instruction state of a control, then controlled plant can be held Row triggering control instruction carries out subsequent so that controlled plant may be at continuing working state whithin a period of time convenient for user Manipulation.
Step S360: if it is not, determining that the triggering control instruction triggers control instruction for non-automated.
And if controlled plant has received after triggering control instruction, and it is preconfigured to determine that triggering control instruction is not based on When automation/scene control instruction, it can directly determine that triggering control instruction triggers control instruction for non-automated.
Step S370: the triggering control instruction is then executed.
Optionally, controlled plant can directly execute triggering control instruction in such cases.
A kind of control method of equipment triggering provided in this embodiment, the control triggered by the non-automated to controlled plant Molding formula is pre-configured with, then receive for control change controlled plant state triggering control instruction after, then exist Determine that controlled plant is in non-automated/scenario triggered control instruction state of a control and triggering control instruction is to be based on being pre-configured with Automation/scene control instruction in the case where, then do not execute triggering control instruction.It realizes and is determining through the above way Controlled plant be in non-automated/scenario triggered control instruction state of a control and triggering control instruction be based on it is preconfigured from In the case where dynamicization/scene control instruction, triggering control instruction is not executed, and then is realized and only carried out non-automated/scene touching Control instruction is sent out, the flexibility of the corresponding control model setting of triggering control instruction is promoted, promotes user friendly experience.
Figure 11 is please referred to, for the method flow for the control method that a kind of equipment that the application another embodiment provides triggers Figure, the present embodiment provides a kind of control methods of equipment triggering, this method comprises:
Step S410: when server or gateway, which are received, sends the instruction of triggering control instruction to controlled plant, sentence It is disconnected described indicate whether based on preconfigured automation/scenario triggered and the controlled plant whether be in non-automated/ Scenario triggered control instruction state of a control.
As a kind of mode, in embodiments herein, the triggering control instruction of controlled plant can by server or It is that gateway is sent, is also possible to extraneous physical trigger.For example, when controlled plant and server and gateway keep communicating to connect In the case where, server can send the triggering control instruction for controlling controlled plant to gateway, and then gateway controls triggering System instruction is transmitted to controlled plant, then it is understood that when needing the state to controlled plant to control, Ke Yiyou The instruction that the management APP of controlled plant either controlled plant sends triggering control instruction to server or gateway (can also be with It is interpreted as requesting), then when server or gateway receive and send the instruction of triggering control instruction to controlled plant, it can be with Judge that this indicates whether based on preconfigured automation/scenario triggered and whether controlled plant is in non-automated/scene Control instruction state of a control is triggered, in order to handle according to judging result the instruction.
Wherein, it should be noted that server or gateway judge this indicate whether be based on preconfigured automation/ Scenario triggered and judge whether controlled plant is in non-automated/scenario triggered control instruction state of a control judgement sequentially herein It is not construed as limiting, can first judge the former, can also first judge the latter, satisfaction reaches identical effect, specifically judges principle And deterministic process is referred to the description in previous embodiment, details are not described herein.
It is worth noting that, receiving the instruction for sending triggering control instruction to controlled plant in server either gateway Before, as a kind of implementation, server can also non-automated/scenario triggered mode control model to controlled plant Be configured, in order to server can be judged according to pre-set non-automated/scenario triggered mode control model by Control the state of equipment.
As a kind of mode, server can be by obtaining preset automation/field to specified controlled plant The non-automated triggering mode of scape and the lasting control duration of the triggering mode, are then based on non-automated triggering mode and the touching The lasting control duration of originating party formula configures the non-automated triggering control instruction state of a control of controlled plant.Wherein, it needs It is noted that specified controlled plant is that the equipment for having non-automated triggering control function can optionally be set controlled It is that controlled plant adds corresponding non-automated triggering control function according to the demand of product during the standby manufacturing.
Optionally, concrete configuration process and configuration principle are referred to the description in previous embodiment, no longer superfluous herein It states.
Step S420: if so, ignoring the instruction.
As a kind of mode, if it is determined that the instruction is based at preconfigured automation/scenario triggered and controlled plant In non-automated/scenario triggered control instruction state of a control, then server or gateway will ignore the instruction, in order to protect Card controlled plant is in current state of a control and is not interrupted, and meets particular demands of the user under special scenes.
Step S430: if it is not, sending the triggering control instruction.
Alternatively, if it is determined that the instruction is not based on preconfigured automation/scenario triggered and controlled sets It is standby to be not at non-automated/scenario triggered control instruction state of a control, then corresponding triggering control instruction can be sent.
For example, if it is determined that the instruction is not based on preconfigured automation/scenario triggered, then it is artificial for can be determined that The either long-range control triggering of physical trigger, in such cases, no matter whether controlled plant is in non-automated/scenario triggered control System instruction state of a control, can send triggering control instruction.Wherein, if being in, touching can be updated by sending triggering control instruction The lasting control duration of control instruction is sent out, optionally, if being not at, sending triggering control instruction can make controlled plant at one section It is continuously under working condition in time, is convenient for user's finishing operations, promote user experience.
The control method of a kind of equipment triggering provided in this embodiment, when server or gateway are received to controlled plant When sending the instruction of triggering control instruction, determining that instruction is based on preconfigured automation/scenario triggered and controlled plant In the case where non-automated/scenario triggered control instruction state of a control, ignore the instruction, otherwise sends triggering control and refer to It enables.It may be implemented to meet user through the above way under special scenes to the particular demands of equipment triggering control, improve pair Equipment triggers the accuracy of control instruction control model selection, promotes user experience.
Figure 12 is please referred to, is a kind of structural block diagram of the control device for equipment triggering that one embodiment of the application provides, this Embodiment provides a kind of control device 500 of equipment triggering, which includes: command reception module 510 and instruction processing Module 520.
Command reception module 510, for receiving triggering control instruction, triggering control instruction changes controlled plant for controlling State.
As a kind of mode, device 500 can also include configuration module, which is used in command reception module Before 510 receive triggering control instruction, non-automated/scenario triggered control configuration-direct is obtained, which includes pair The lasting control duration of automation/scene non-automated triggering mode and non-automated triggering mode of controlled plant is matched It sets, non-automated/scenario triggered control instruction state of a control can then be configured according to configuration-direct.
Command process module 520 is used for if it is determined that controlled plant is in non-automated/scenario triggered control instruction control shape State and triggering control instruction be that triggering control instruction is not executed then based on the control instruction of preconfigured automation/scene.
It should be noted that non-automated/scenario triggered control instruction in the embodiment of the present application may include physics touching Send instructions and remotely control at least one of triggering command, is not limited thereto.
As a kind of mode, command process module 520 can be used for first judging whether controlled plant is in non-automated/field Scape triggers control instruction state of a control;Optionally, if if so, so triggering control instruction be based on it is preconfigured automation/ The control instruction of scene does not execute triggering control instruction then;And if trigger control instruction be not based on it is preconfigured automation/ The control instruction of scene then executes triggering control then can be determined that triggering control instruction is that non-automated triggers control instruction Instruction.
Alternatively, command process module 520 can be used for first judging triggering whether control instruction is based on pre- Automation/scene the control instruction first configured;Optionally, if so, be so further continued for judging controlled plant whether be in it is non-from Dynamicization/scenario triggered control instruction state of a control;If being in, triggering control instruction is not executed.
It wherein, can be by the state parameter of the current controlled plant of acquisition, then according to state parameter as a kind of mode Judge whether controlled plant is in non-automated/scenario triggered control instruction state of a control, optionally, state parameter can characterize Whether controlled plant is in non-automated/scenario triggered control instruction state of a control.
In one implementation, state parameter may include specified label, then it is understood that being joined according to state Number judges whether controlled plant is in non-automated/scenario triggered control instruction state of a control and specifically can be used for: obtaining specified The parameter value of label, then judge whether the parameter value of specified label is preset threshold, optionally, if so, so can be determined that by Control equipment is in non-automated/scenario triggered control instruction state of a control.
In another implementation, state parameter may include at the time of receiving triggering control instruction, then can manage Solution, it is specific to judge whether controlled plant is in non-automated/scenario triggered control instruction state of a control according to state parameter It can be used for: at the time of obtaining reception triggering control instruction, then judging whether the moment is in preconfigured first and continues In the range of time, optionally, if so, so can be determined that controlled plant is in non-automated/scenario triggered control instruction control State processed;And if the moment was not in the range of preconfigured first duration, then can be determined that controlled plant not In non-automated/scenario triggered control instruction state of a control, then triggering control instruction can be executed.
In a kind of mode, if triggering control instruction is not based on the control instruction of preconfigured automation/scene, that It can be determined that triggering control instruction is that non-automated triggers control instruction, then can be counted again using current time as start time When the first duration.
Figure 13 is please referred to, is a kind of structural block diagram of the control device for equipment triggering that another embodiment of the application provides, The present embodiment provides a kind of control devices 600 of equipment triggering, which includes: judging unit 610 and processing unit 620。
Judging unit 610, for receiving when server or gateway and sending the finger for triggering control instruction to controlled plant Indicated whether when showing, described in judgement based on preconfigured automation/scenario triggered and whether the controlled plant is in non- Automation/scenario triggered control instruction state of a control.
Wherein, as a kind of mode, judging unit 610 can be used for receiving when server or gateway to controlled plant When sending the instruction of triggering control instruction, judge to trigger whether control instruction is to be based on preconfigured automation/scenario triggered, Optionally, if so, can so be further continued for judging whether controlled plant is in non-automated/scenario triggered control instruction control shape State.
And alternatively, judging unit 610 can be used for receiving when server or gateway to controlled plant When sending the instruction of triggering control instruction, judge whether controlled plant is in non-automated/scenario triggered control instruction control shape State;Optionally, if being in, then can be further continued for judging that this indicates whether being based on preconfigured automation/scenario triggered.
Processing unit 620, for if it is determined that it is described instruction be based on preconfigured automation/scenario triggered and it is described by Control equipment is in non-automated/scenario triggered control instruction state of a control, then ignores the instruction;Otherwise the triggering control is sent System instruction.
It should be noted that device 600 can also include configuration unit, which, which can be used for obtaining, is preset To automation/scene non-automated triggering mode of specified controlled plant and the lasting control duration of the triggering mode, Specified controlled plant is the equipment for having non-automated triggering control function;Again based on non-automated triggering mode and the triggering The lasting control duration of mode configures the non-automated triggering control instruction state of a control of controlled plant.
It should be noted that Installation practice is mutual corresponding, device implementation with preceding method embodiment in the application Specific principle may refer to the content in preceding method embodiment in example, and details are not described herein again.
It should be noted that it is apparent to those skilled in the art that, for convenience and simplicity of description, on The device of description and the specific work process of unit are stated, can refer to corresponding processes in the foregoing method embodiment, herein no longer It repeats.
In several embodiments provided herein, the mutual coupling of module can be electrical property, mechanical or other The coupling of form.In addition, can integrate in a processing module in each functional module in each embodiment of the application, it can also To be that modules physically exist alone, can also be integrated in two or more modules in a module.It is above-mentioned integrated Module both can take the form of hardware realization, can also be realized in the form of software function module.
Electronic equipment (can be gateway or mobile terminal) provided by the embodiments of the present application, can be realized Fig. 3 to Figure 11 Embodiment of the method in each process for realizing, to avoid repeating, which is not described herein again.
In conclusion a kind of control method and device of equipment triggering provided by the present application, by receiving for controlling After system changes the triggering control instruction of the state of controlled plant, further determine that controlled plant is in non-automated/scenario triggered In the case that control instruction state of a control and triggering control instruction are the control instruction based on preconfigured automation/scene, It does not execute triggering control instruction then, realizes and be in non-automated/scenario triggered control instruction control shape in judgement controlled plant In the case that state and triggering control instruction are the control instruction based on preconfigured automation/scene, triggering control is not executed Instruction, and then realize and only carry out non-automated/scenario triggered control instruction, to realize, to meet user right under special scenes The particular demands of equipment triggering control promote the flexibility of the corresponding control model setting of triggering control instruction, promote user's body It tests.
The embodiment of the present application also provides a kind of gateway, which includes processor and memory, is stored in the memory There are at least one instruction, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the generation The method that code collection or instruction set are loaded as the processor and executed to realize the device configuration as provided by above method embodiment.
Memory can be used for storing software program and module, and processor is stored in the software program of memory by operation And module, thereby executing various function application and data processing.Memory can mainly include storing program area and storage number According to area, wherein storing program area can application program needed for storage program area, function etc.;Storage data area can store basis The equipment uses created data etc..In addition, memory may include high-speed random access memory, can also include Nonvolatile memory, for example, at least a disk memory, flush memory device or other volatile solid-state parts.Phase Ying Di, memory can also include Memory Controller, to provide access of the processor to memory.
A kind of electronic equipment provided by the present application is illustrated below in conjunction with Figure 14.
Figure 14 is a kind of hardware block diagram of the electronic equipment of the method for device configuration provided by the embodiments of the present application.Such as Shown in Figure 14, it may include one or one which, which can generate bigger difference because configuration or performance are different, (processor 1110 can include but is not limited to micro- place to a above processor (Central Processing Unit, CPU) 1110 Manage the processing unit of device MCU or programmable logic device FPGA etc.), memory 1130 for storing data, one or one The storage medium 1120 (such as one or more mass memory units) of application program 1123 or data 1122 stored above. Wherein, memory 1130 and storage medium 1120 can be of short duration storage or persistent storage.It is stored in the journey of storage medium 1120 Sequence may include one or more modules, and each module may include to the series of instructions operation in electronic equipment.More Further, processor 1110 can be set to communicate with storage medium 1120, execute storage medium on server 1100 Series of instructions operation in 1120.Electronic equipment 1100 can also include one or more power supplys 1160, wireless network Interface 1150 is (including based on the wireless aps access point of WiFi agreement or blue tooth interface etc., wherein electronic equipment 1100 when necessary May include wired network interface, do not draw herein), one or more input/output interfaces 1140, and/or, one Or more than one operating system 1121, such as Windows Server TM, Mac OSXTM, Unix TM, Linux TM, Free BSDTM etc..
Input/output interface 1140 can be used for that data are received or sent via a network.Above-mentioned network is specifically real Example may include the wireless network that the communication providers of electronic equipment 1100 provide.In an example, input/output interface 1140 Including a network adapter (Network Interface Controller, NIC), can be set by base station and other networks It is standby to be connected so as to be communicated with internet.In an example, input/output interface 1140 can be radio frequency (Radio Frequency, RF) module, it is used to wirelessly be communicated with internet.
It will appreciated by the skilled person that structure shown in Figure 14 is only to illustrate, above-mentioned electronics is not set Standby structure causes to limit.For example, electronic equipment 1100 may also include than shown in Figure 14 more perhaps less component or With the configuration different from shown in Figure 14.
To sum up, the electronic equipment of the embodiment of the present application terminal may be implemented receiving for controlling change controlled plant State triggering control instruction after, further determine that controlled plant is in non-automated/scenario triggered control instruction control shape In the case that state and triggering control instruction are the control instruction based on preconfigured automation/scene, triggering control is not executed Instruction, and then realize and only carry out non-automated/scenario triggered control instruction, to realize, to meet user right under special scenes The particular demands of equipment triggering control promote the flexibility of the corresponding control model setting of triggering control instruction, promote user's body It tests.
The embodiment of the present application also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program realizes each process of the embodiment of the method for above equipment configuration when the computer program is executed by processor, and Identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as Read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, the technical solution of the application substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the application.
Embodiments herein is described above in conjunction with attached drawing, but the application be not limited to it is above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the enlightenment of the application, when not departing from the application objective and scope of the claimed protection, can also it make very much Form belongs within the protection of the application.

Claims (17)

1. a kind of control method of equipment triggering, which is characterized in that the described method includes:
Triggering control instruction is received, the triggering control instruction is used to control the state for changing controlled plant;
If it is determined that the controlled plant is in non-automated/scenario triggered control instruction state of a control and the triggering control instruction It is the control instruction based on preconfigured automation/scene, then does not execute the triggering control instruction.
2. the method according to claim 1, wherein it is described if it is determined that the controlled plant be in non-automated/ The scenario triggered control instruction state of a control and triggering control instruction is that the control based on preconfigured automation/scene refers to It enables, then the step of not executing the triggering control instruction includes:
Judge whether the controlled plant is in non-automated/scenario triggered control instruction state of a control;
If so, not executed described if the triggering control instruction is the control instruction based on preconfigured automation/scene Trigger control instruction;
Alternatively,
Judge whether the triggering control instruction is the control instruction based on preconfigured automation/scene;
If so, judging whether the controlled plant is in non-automated/scenario triggered control instruction state of a control;
If being in, the triggering control instruction is not executed.
3. according to the method described in claim 2, it is characterized in that, described judge whether the controlled plant is in non-automatic The step of change/scenario triggered control instruction state of a control includes:
The state parameter of presently described controlled plant is obtained, the state parameter characterizes whether the controlled plant is in non-automatic Change/scenario triggered control instruction state of a control;
Judge whether the controlled plant is in non-automated/scenario triggered control instruction control shape according to the state parameter State.
4. method according to claim 1 or 3, which is characterized in that the non-automated/scenario triggered control instruction packet It includes: at least one of physical trigger instruction and long-range control triggering command.
5. described according to institute according to the method described in claim 3, it is characterized in that, the state parameter includes specified label It states state parameter and judges the step of whether controlled plant is in non-automated/scenario triggered control instruction state of a control packet It includes:
Obtain the parameter value of the specified label;
Judge whether the parameter value is preset threshold;
If so, determining that the controlled plant is in non-automated/scenario triggered control instruction state of a control.
6. according to the method described in claim 3, it is characterized in that, the state parameter includes receiving the triggering control instruction At the time of, it is described to judge whether the controlled plant is in non-automated/scenario triggered control instruction according to the state parameter The step of state of a control includes:
At the time of obtaining the reception triggering control instruction;
Judge whether the moment was in the range of preconfigured first duration;
If so, determining that the controlled plant is in non-automated/scenario triggered control instruction state of a control.
7. according to the method described in claim 2, it is characterized in that, the method also includes:
If the triggering control instruction is not based on the control instruction of preconfigured automation/scene, the triggering control is determined System instruction is that non-automated triggers control instruction;
Then, the triggering control instruction is executed.
8. according to the method described in claim 6, it is characterized in that, the method also includes:
If the triggering control instruction is not based on the control instruction of preconfigured automation/scene, the triggering control is determined System instruction is that non-automated triggers control instruction;
Then, using current time as the first duration described in start time reclocking.
9. the method according to claim 1, wherein including: before the step of reception triggering control instruction
Non-automated/scenario triggered control configuration-direct is obtained, the configuration-direct includes automation/field to controlled plant The configuration of the lasting control duration of the non-automated triggering mode of scape and the non-automated triggering mode;
Non-automated/scenario triggered control instruction state of a control is configured according to the configuration-direct.
10. according to the method described in claim 6, it is characterized in that, the method also includes:
If the moment was not in the range of preconfigured first duration, determine the controlled plant be not at it is non-from Dynamicization/scenario triggered control instruction state of a control;
Then, the triggering control instruction is executed.
11. a kind of control method of equipment triggering, which is characterized in that the described method includes:
When server or gateway, which are received, sends the instruction of triggering control instruction to controlled plant, if it is determined that the instruction is Based on preconfigured automation/scenario triggered and the controlled plant is in non-automated/scenario triggered control instruction control State then ignores the instruction;Otherwise the triggering control instruction is sent.
12. according to the method for claim 11, which is characterized in that the method also includes:
Obtain preset automation/scene non-automated triggering mode to specified controlled plant and the triggering side The lasting control duration of formula, the specified controlled plant are the equipment for having non-automated triggering control function;
Lasting control duration based on the non-automated triggering mode and the triggering mode to the controlled plant it is non-from Dynamicization triggering control instruction state of a control is configured.
13. a kind of control device of equipment triggering, which is characterized in that described device includes:
Command reception module, for receiving triggering control instruction, the triggering control instruction, which is used to control, changes controlled plant State;
Command process module, for if it is determined that the controlled plant is in non-automated/scenario triggered control instruction state of a control And the triggering control instruction is the control instruction based on preconfigured automation/scene, then does not execute the triggering control Instruction.
14. a kind of control device of equipment triggering, which is characterized in that described device includes:
Judging unit, for sentencing when server or gateway receive and send the instruction of triggering control instruction to controlled plant It is disconnected described indicate whether based on preconfigured automation/scenario triggered and the controlled plant whether be in non-automated/ Scenario triggered control instruction state of a control.
Processing unit, for if it is determined that the instruction is based on preconfigured automation/scenario triggered and the controlled plant In non-automated/scenario triggered control instruction state of a control, then ignore the instruction;Otherwise the triggering control is sent to refer to It enables.
15. a kind of control system of equipment triggering, which is characterized in that the system comprises server, gateway and controlled plants:
The server be used for when receive to controlled plant send triggering control instruction instruction when, if it is determined that it is described instruction be Based on preconfigured automation/scenario triggered and the controlled plant is in non-automated/scenario triggered control instruction control State then ignores the instruction;Otherwise the triggering control instruction is sent;
The gateway is used to receive the triggering control instruction of server transmission, and forwards it to controlled plant;
The controlled plant is used to control the shape for changing controlled plant for receiving triggering control instruction, the triggering control instruction State;
The controlled plant is also used to if it is determined that the controlled plant is in non-automated/scenario triggered control instruction state of a control And the triggering control instruction is the control instruction based on preconfigured automation/scene, then does not execute the triggering control Instruction.
16. a kind of electronic equipment, which is characterized in that including processor, memory and be stored on the memory and can be in institute State the computer program run on processor, when the computer program is executed by the processor realize as claim 1 to The step of method described in any one of 11.
17. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium Sequence, the step of method as described in any one of claims 1 to 11 is realized when the computer program is executed by processor.
CN201910442187.3A 2019-05-24 2019-05-24 Equipment triggering control method and device, electronic equipment and storage medium Active CN110324217B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910442187.3A CN110324217B (en) 2019-05-24 2019-05-24 Equipment triggering control method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910442187.3A CN110324217B (en) 2019-05-24 2019-05-24 Equipment triggering control method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110324217A true CN110324217A (en) 2019-10-11
CN110324217B CN110324217B (en) 2023-05-30

Family

ID=68119315

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910442187.3A Active CN110324217B (en) 2019-05-24 2019-05-24 Equipment triggering control method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110324217B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112469174A (en) * 2020-12-07 2021-03-09 深圳市海洋王照明工程有限公司 Lighting control device based on scene management
CN112667334A (en) * 2020-12-25 2021-04-16 瀚云科技有限公司 Configuration method and device of equipment control information, electronic equipment and storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005133489A (en) * 2003-10-31 2005-05-26 Mitsuba Corp Vehicle security control device
US20060007191A1 (en) * 2004-06-03 2006-01-12 International Business Machines Corporation System and method for adjusting a screen
CN101833286A (en) * 2009-03-13 2010-09-15 王俊锋 Intelligent home controller
CN201590145U (en) * 2009-07-31 2010-09-22 宁波家天下智能系统有限公司 Intelligent household control system
CN101989376A (en) * 2009-07-31 2011-03-23 宁波家天下智能系统有限公司 Intelligent home control system
CN103997830A (en) * 2014-05-22 2014-08-20 珠海优特电力科技股份有限公司 Switchgear and control method thereof
CN104808500A (en) * 2015-03-31 2015-07-29 小米科技有限责任公司 Task setting method and device
CN105007206A (en) * 2015-07-29 2015-10-28 青岛海尔智能家电科技有限公司 Method and device for controlling intelligent household electrical appliance and mobile terminal
CN105357277A (en) * 2015-10-16 2016-02-24 上海斐讯数据通信技术有限公司 Wireless router based intelligent device scene control method and system
CN105892472A (en) * 2015-02-13 2016-08-24 Lg电子株式会社 Mobile Terminal And Method For Controlling The Same
CN107975913A (en) * 2017-10-16 2018-05-01 深圳市艾特智能科技有限公司 Control method, system, readable storage medium storing program for executing and the smart machine of air-conditioning
US9985796B2 (en) * 2014-12-19 2018-05-29 Smartlabs, Inc. Smart sensor adaptive configuration systems and methods using cloud data

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005133489A (en) * 2003-10-31 2005-05-26 Mitsuba Corp Vehicle security control device
US20060007191A1 (en) * 2004-06-03 2006-01-12 International Business Machines Corporation System and method for adjusting a screen
CN101833286A (en) * 2009-03-13 2010-09-15 王俊锋 Intelligent home controller
CN201590145U (en) * 2009-07-31 2010-09-22 宁波家天下智能系统有限公司 Intelligent household control system
CN101989376A (en) * 2009-07-31 2011-03-23 宁波家天下智能系统有限公司 Intelligent home control system
CN103997830A (en) * 2014-05-22 2014-08-20 珠海优特电力科技股份有限公司 Switchgear and control method thereof
US9985796B2 (en) * 2014-12-19 2018-05-29 Smartlabs, Inc. Smart sensor adaptive configuration systems and methods using cloud data
CN105892472A (en) * 2015-02-13 2016-08-24 Lg电子株式会社 Mobile Terminal And Method For Controlling The Same
CN104808500A (en) * 2015-03-31 2015-07-29 小米科技有限责任公司 Task setting method and device
CN105007206A (en) * 2015-07-29 2015-10-28 青岛海尔智能家电科技有限公司 Method and device for controlling intelligent household electrical appliance and mobile terminal
CN105357277A (en) * 2015-10-16 2016-02-24 上海斐讯数据通信技术有限公司 Wireless router based intelligent device scene control method and system
CN107975913A (en) * 2017-10-16 2018-05-01 深圳市艾特智能科技有限公司 Control method, system, readable storage medium storing program for executing and the smart machine of air-conditioning

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112469174A (en) * 2020-12-07 2021-03-09 深圳市海洋王照明工程有限公司 Lighting control device based on scene management
CN112667334A (en) * 2020-12-25 2021-04-16 瀚云科技有限公司 Configuration method and device of equipment control information, electronic equipment and storage medium
CN112667334B (en) * 2020-12-25 2024-06-04 瀚云科技有限公司 Configuration method and device of equipment control information, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN110324217B (en) 2023-05-30

Similar Documents

Publication Publication Date Title
EP3557339A1 (en) Linked control method for internet-of-things gateway and internet-of-things gateway
CN105830462B (en) Gateway, administrative center, remote access system and remote access method
CN109040200B (en) Access method and device of Internet of things equipment
CN108141393A (en) Include the domestic automation system and correlation technique of device subscription pairing
CN113545009B (en) Scene operation method and device, electronic equipment and computer readable medium
CN204993442U (en) Thing networking data gathers and controls intelligent terminal
CN105450654B (en) Smart home development platform and its business development method based on middleware Technology
CN109725541A (en) Generation method, device, electronic equipment and the storage medium of automation
CN109753034B (en) Control method, control device, electronic equipment and storage medium
CN104865835A (en) Intelligent household system based on ZigBee
CN105093945A (en) System and method for safely controlling smart household apparatuses based on smart cloud
CN110113232A (en) Apparatus control method, device, system, electronic equipment and storage medium
CN110427220A (en) Configuration method, device, electronic equipment and the storage medium of device command
CN114422285B (en) Configuration method based on multi-manufacturer fusion scene of intelligent home client
CN109407538A (en) Intelligent home furnishing control method and system
CN110324217A (en) Control method, device, electronic equipment and the storage medium of equipment triggering
US10489055B2 (en) Z-wave controller shift in thermostats
CN105681181A (en) Home gateway system suitable for smart home
CN113691935A (en) Network optimization method and device and electronic equipment
CN109991858A (en) A kind of scene pairing control method, apparatus and system
Sai et al. Smart Home Messenger Notifications System using IoT
CN110794773A (en) Click-type scene creating method and device
CN110286603B (en) Method and device for sending indication information based on smart home operating system
CN104243252B (en) A kind of intelligent domestic system for supporting IGRS agreements
CN109974229A (en) Determine method, apparatus, electronic equipment and the storage medium of air-conditioning state

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