CN114237062A - Device control method and apparatus, electronic device, and medium - Google Patents

Device control method and apparatus, electronic device, and medium Download PDF

Info

Publication number
CN114237062A
CN114237062A CN202111538341.0A CN202111538341A CN114237062A CN 114237062 A CN114237062 A CN 114237062A CN 202111538341 A CN202111538341 A CN 202111538341A CN 114237062 A CN114237062 A CN 114237062A
Authority
CN
China
Prior art keywords
equipment
current
dependency
parameter
action instruction
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.)
Pending
Application number
CN202111538341.0A
Other languages
Chinese (zh)
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.)
Lumi United Technology Co Ltd
Original Assignee
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 Lumi United Technology Co Ltd filed Critical Lumi United Technology Co Ltd
Priority to CN202111538341.0A priority Critical patent/CN114237062A/en
Publication of CN114237062A publication Critical patent/CN114237062A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • 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)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The embodiment of the application provides a device control method and device, electronic equipment and a computer readable storage medium, wherein the method comprises the steps of obtaining current state parameters of each device under a target system; acquiring an action instruction of equipment associated with the current state parameter; determining that the current state parameter corresponds to a dependency of an action instruction of the associated device; and if the dependency degree meets a suspension execution condition, controlling the equipment to suspend executing the action instruction of the associated equipment.

Description

Device control method and apparatus, electronic device, and medium
Technical Field
The present application relates to the field of smart home technologies, and in particular, to an apparatus control method and apparatus, an electronic apparatus, and a computer-readable storage medium.
Background
The intelligent home is embodied in an internet of things manner under the influence of the internet. The intelligent home connects various home devices (such as audio and video devices, lighting systems, curtain control, air conditioner control, digital cinema systems, security systems, network home appliances and the like) in the home together through the Internet of things technology, and provides intelligent remote control of the devices.
Along with the popularization of smart homes, the number and the types of smart home devices are more and more, energy conservation and consumption reduction are long-term targets for continuously improving the smart home system, and especially for a plurality of smart devices such as sensors needing to be charged or powered by batteries, the power consumption of the smart devices needs to be reduced as much as possible, so that a user is prevented from frequently charging the devices or replacing the batteries, and the smart experience is improved. Therefore, how to effectively save the energy consumption of various devices becomes a problem to be solved at present.
Disclosure of Invention
In order to solve the existing technical problems, the application provides an equipment control method and device for effectively reducing power consumption, control center equipment of an intelligent home system and a computer readable storage medium.
In order to achieve the above purpose, the technical solution of the embodiment of the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides an apparatus control method, including:
acquiring current state parameters of each device under a target system;
acquiring an action instruction of equipment associated with the current state parameter;
determining that the current state parameter corresponds to a dependency of an action instruction of the associated device;
and if the dependency degree meets a suspension execution condition, controlling the equipment to suspend executing the action instruction of the associated equipment.
In a second aspect, an embodiment of the present application provides an apparatus control device, including:
the first acquisition module is used for acquiring the current state parameters of each device under the target system;
the second acquisition module is used for acquiring the action instruction of the equipment associated with the current state parameter;
a determination module for determining a dependency of the current state parameter corresponding to an action instruction of the associated device;
and the control module is used for controlling the equipment to suspend executing the action instruction of the associated equipment if the dependency meets the suspension execution condition.
In one embodiment, the control module is further configured to control the device to open to execute the associated action instruction if the dependency does not satisfy a suspend execution condition.
In one embodiment, the current state parameters include current configuration parameters corresponding to action instructions for the respective devices; the first obtaining module is further used for obtaining current configuration parameters aiming at a target scene under a target system; the current configuration parameters comprise trigger conditions of the target scene and action instructions associated with equipment corresponding to the trigger conditions; the determining module is further configured to determine a trigger condition of the target scenario in the current configuration parameter, and a dependency degree of an action instruction associated with a corresponding device.
In one embodiment, the determining module is further configured to determine a configuration attribute of a device function corresponding to a trigger condition of the target scene in the current configuration parameters; determining, according to the configuration attribute, a dependency of the current configuration parameter corresponding to the associated action instruction.
In one embodiment, the current state parameters include a current environment parameter corresponding to each of the devices; the first acquisition module is also used for acquiring the current environmental parameters and environmental configuration data of each device under the target system; the environment configuration data comprises preset action instructions associated with various types of environment parameters and a dependency matching table between each environment parameter and the associated action instruction; the determining module is further configured to determine, according to the dependency matching table, a dependency of the current environment parameter corresponding to the associated action instruction.
In one embodiment, the device comprises a human detection device; the current environment parameters comprise human body detection parameters under a target environment, which are acquired by the human body detection equipment; the human body detection parameter corresponds to an action instruction of the associated equipment and comprises a display instruction or a play instruction; the control module is further configured to control the device to suspend execution of the motion instruction of the associated device if the human body detection parameter corresponds to the dependency of the motion instruction of the associated device and meets a suspend execution condition.
In one embodiment, the current environment parameters include current illumination parameters in the target environment; the deferred execution condition comprises that the current illumination parameter is lower than an illumination threshold value; the action instructions comprise content update instructions for a device associated with the current lighting parameter; the control module is further configured to control the associated device to reduce the execution frequency of the content update instruction if the current illumination parameter is lower than an illumination threshold value and it is determined that the dependency of the current illumination parameter corresponding to the content update instruction satisfies a suspend execution condition.
In a third aspect, an electronic device includes a processor, a memory, and a computer program stored on the memory and executable by the processor, where the computer program, when executed by the processor, implements a device control method according to any embodiment of the present application.
In a fourth aspect, this application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by the processor, the computer program implements the device control method according to any embodiment of this application.
In the above embodiment, the current state parameters of each device in the target system are obtained, the action instructions of the devices associated with the current state parameters are obtained, the dependency of the current state parameters corresponding to the action instructions of the associated devices is determined, and if the dependency satisfies the condition of suspending execution, the devices are controlled to suspend executing the action instructions of the associated devices.
Drawings
Fig. 1 is an intelligent home system architecture diagram of an optional application scenario of the device control method in the embodiment of the present application;
FIG. 2 is a flow chart of an apparatus control method according to an embodiment of the present application;
FIG. 3 is a flow chart of an apparatus control method according to another embodiment of the present application;
fig. 4 is a flowchart of a device control method in an alternative specific example in the embodiment of the present application;
FIG. 5 is a flow chart of a method for controlling a device according to another alternative embodiment of the present disclosure;
FIG. 6 is a schematic diagram of an apparatus control device according to an embodiment of the present application;
FIG. 7 is a schematic illustration of a control center apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a control center device according to another embodiment of the present application.
Detailed Description
The technical solution of the present application is further described in detail with reference to the drawings and specific embodiments of the specification.
In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be described in further detail with reference to the attached drawings, the described embodiments should not be considered as limiting the present application, and all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
In the following description, reference is made to the expression "some embodiments" which describe a subset of all possible embodiments, it being noted that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict.
In the following description, references to the terms "first, second, and third" are only used to distinguish between similar items and do not denote a particular order, but rather the terms "first, second, and third" are used to indicate that a particular order or sequence of items may be interchanged where appropriate to enable embodiments of the application described herein to be practiced otherwise than as specifically illustrated or described herein.
Referring to fig. 1, an architecture diagram of an intelligent home system with selectable application scenarios for the device control method according to the embodiment of the present application is shown, where the intelligent home system includes a cloud 12, a router 15, a gateway 13, an intelligent home device 14, and a terminal device 11. The terminal device 11 refers to a device having communication and storage functions, for example: the smart phone, the desktop computer, the notebook computer, the tablet computer or other smart communication devices with network connection functions. The cloud 12 may include one or more physical servers, such as a network access server, a database server, a cloud server, and so forth. Optionally, the gateway 13 may be a gateway device built based on a ZigBee protocol, the smart home device 14 may access the network through the gateway 13 or the router 15, and is controlled by the terminal device 11, and the terminal device 11 is provided with a client capable of managing the smart home, where the client may be an application client (such as a mobile phone APP), or a web client, and is not limited herein. The user can control the intelligent household equipment 14 through operating the client, the terminal equipment 11 receives a control instruction of the user to the intelligent household equipment 14 through the client, the control instruction is communicated with the cloud end 12, the cloud end 12 forwards the control instruction input by the user to the corresponding intelligent household equipment 14 through the router 15 and the gateway 13, and remote intelligent control over the intelligent household equipment 14 is achieved. The smart home device 14 may be a device that is added to the gateway 13 in advance, for example, the smart home device 14 may be a device in a suite to which the gateway 13 belongs, which is preset when the gateway leaves a factory; or may be a device that is subsequently connected to the gateway 13 by user operation.
Optionally, the smart home device 14 may establish a network connection with the gateway 13 based on the ZigBee protocol, so as to join in the ZigBee network.
The smart home devices 14 and the terminal devices 11 may both access the ethernet through the gateway 13, and the gateway 13 may access the cloud 12 through a wired or wireless communication connection. For example, the gateway 13 and the terminal device 11 may store the acquired information in the cloud 12. Optionally, the terminal device 11 may also establish a network connection with the cloud 12 through 2G/3G/4G/5G, WiFi, so as to obtain data sent by the cloud 12.
Optionally, the terminal device 11, the gateway 13, and the smart home device 14 may be in the same local area network, or may be in the same wide area network as the cloud 12. When the terminal device 11 and the gateway 13 are in the same local area network, the terminal device 11 may interact with the gateway 13 and the smart home devices 14 connected to the gateway 13 through a local area network path; and may also interact with the gateway 13 and the smart home devices 14 connected to the gateway 13 via a wide area network path. When the terminal device 11 and the gateway 13 are not in the same local area network, the terminal device 11 may interact with the gateway and the smart home devices 14 connected to the gateway 13 through a wide area network path. The smart home system may further implement control of turning on or off the smart home devices 14 within the range of the local area network to which the smart home system belongs or correspondingly connected to the local area network through the smart home devices 14. The smart home devices 14 may include, but are not limited to, smart home products such as smart lamps, automatic curtains, air conditioners, and the like.
Referring to fig. 2, the device control method provided in an embodiment of the present application may be applied to an electronic device, where the electronic device may be each device under a target system. For example, the target system may be an intelligent home system, and may be specifically applied to each intelligent home device in the intelligent home system. For example, each device may include a terminal device, a control center device, a gateway device, an intelligent home device, and the like in the intelligent home system, where the control center device is a decision making system in the intelligent home system, such as any one of a cloud, a router, a central controller, a gateway, and the like in the intelligent home system, and in some optional embodiments, the decision making system may even be some intelligent home device in the intelligent home system. The device control method includes, but is not limited to, S101 and S103, and is specifically introduced as follows:
s101, obtaining current state parameters of each device in the target system.
The current state parameter refers to a parameter that can be used to determine whether a function of the smart home device is in a state that needs to be used. Specifically, whether a certain function of the smart home device is in a state that needs to be used is judged, which may be a parameter reported by the smart home device itself and used for representing whether the function of the smart home device is in a enabled state; or a parameter reported by other smart home devices and capable of determining whether the function of the smart home device needs to be enabled.
The electronic device obtains the current state parameters of each device, which may be the state parameters of all the smart home devices in the smart home system, or the state parameters of one or more preset types of smart home devices in the smart home system.
In an optional specific example, the intelligent home devices may be classified according to energy consumption conditions of different intelligent home devices in the intelligent home system, and the intelligent home devices with higher energy consumption are used as target intelligent home devices to obtain state judgment parameters of the intelligent home devices; in another optional specific example, the power supply types of different smart home devices in the smart home system may be classified, and the smart home device that is powered by a battery or needs to be charged for use is used as the target smart home device to obtain the state judgment parameter.
As another optional specific example, the user may perform user-defined classification on the smart home devices through a client installed in the terminal device, and arbitrarily select some or all of the smart home devices in the smart home system as target smart home devices to obtain the state judgment parameters of the smart home devices. The intelligent home equipment classifies and acquires the state judgment parameters of the intelligent home equipment of the preset category by the control center equipment of the intelligent home system, and the control center equipment of the intelligent home system still acquires the state judgment parameters of all intelligent home equipment needing to optimize energy conservation and consumption reduction in the intelligent home system from a global perspective, so that more individual requirements can be conveniently met, and the intelligent home equipment can be conveniently adapted to any intelligent home system with diversified building forms.
S103, acquiring the action instruction of the equipment associated with the current state parameter.
The device associated with the current state parameter may refer to one or more devices associated with the current state parameter that are pre-configured, or may refer to one or more devices associated with the current state parameter that are determined according to a preset rule. The action instruction of the device may refer to a control instruction for controlling the device to perform a certain action.
S105, determining the dependency degree of the current state parameter corresponding to the action instruction of the associated equipment.
Determining, by the electronic device, the dependency of the current state parameter corresponding to the action instruction of the associated device, which may be determining, according to the current state parameter of each device in the target system, whether an execution action of the control device corresponding to the action instruction of the associated device is a function currently required by the target system, where if the execution action of the control device corresponding to the action instruction of the device is a function currently required by the target system, the dependency is high; conversely, the dependency is low.
And S107, if the dependency degree meets a suspension execution condition, controlling the equipment to suspend executing the action instruction of the associated equipment.
The suspend execution condition may be set according to the degree of dependency of the current state parameter corresponding to the action instruction of the associated device, for example, when the degree of dependency is lower than a set value, indicating that the suspend execution condition is satisfied, the corresponding control device suspends execution of the action instruction of the associated device. The condition that the execution is suspended is determined to be met according to the dependency degree, and the fact that the function realized by the execution action of the control equipment corresponding to the current action instruction of the intelligent household equipment can be determined to belong to the redundant function which is not needed to be used at present according to the current state parameters of all equipment under the target system is indicated, so that the control equipment suspends the execution of the action instruction of the associated equipment and sends a control instruction for closing the redundant function to the intelligent household equipment.
It should be noted that, for the same function of the same device, in some scenarios, the function may belong to a redundant function, and in another scenario, the function may be a function that needs to be used. Determining the dependency of the current state parameter corresponding to the action instruction of the associated device, and determining that at least one currently started function of the associated device is a redundant function according to the dependency meeting the suspension execution condition, which may mean that part of the currently started functions of the smart home device are redundant functions, or all of the currently started functions of the smart home device are redundant functions.
Here, the functions of the smart home devices refer to functions that can be separately configured from the perspective of software logic, such as a data receiving function, a data detecting function, a data reporting function, and the like, and functions that need to be used by the same smart home device in different application scenarios may be part of the functions that can be separately configured from the perspective of software logic; or, the function of the smart home device may also refer to a use that can be separately configured from a use integration perspective, such as a temperature detection function, a humidity detection function, and the like, and a function that needs to be used by the same smart home device in different application scenarios may be a part of the use that can be separately configured from the use integration perspective.
The electronic equipment judges the dependence of the action instruction of the associated equipment according to the current state parameters of each equipment under the target system so as to judge whether the currently started function of the associated equipment comprises a redundant function, if at least one currently started function of the intelligent household equipment is determined to be the redundant function, the control equipment suspends the execution of the action instruction of the associated equipment, and if the electronic equipment sends a control instruction for closing the redundant function to the associated equipment, the associated equipment closes the corresponding redundant function according to the control instruction.
The intelligent household equipment can realize effective management of the power supply circuit through some hardware designs of the intelligent household equipment, and when the intelligent household equipment is in a non-working state, the intelligent household equipment can be wholly in a dormant state or completely powered off so as to save electric energy. In the embodiment of the present application, the electronic device obtains the current state parameter of each device in the target system, obtains the action instruction of the device associated with the current state parameter, determines the dependency of the current state parameter corresponding to the action instruction of the associated device, and controls the device to suspend executing the action instruction of the associated device if the dependency meets the suspend execution condition.
According to the embodiment of the application, the functional modules of the equipment are used as the judgment objects for redundancy, for many pieces of equipment, when only part of the functional modules need to be used, the functional modules in the non-working state of the other part can be closed while the part of the functions need to be used is started, and compared with the situation that the functional modules of the equipment can be closed or enter a sleep state to save energy consumption only when the whole intelligent household equipment is in the non-working state, the functional modules of the equipment are awakened as required, and the purposes of saving energy and reducing consumption can be further achieved.
Optionally, the device control method further includes:
and if the dependency does not meet the deferred execution condition, the control equipment opens and executes the associated action instruction.
The electronic equipment acquires the current state parameters of each equipment in the target system, acquires the action instructions of the equipment associated with the current state parameters, determines the dependency of the current state parameters corresponding to the action instructions of the associated equipment, and controls the equipment to open and execute the action instructions of the associated equipment if the dependency does not meet the deferred execution condition.
In some embodiments, the obtaining the current state parameter of each device in the target system includes:
acquiring current configuration parameters aiming at a target scene under a target system; the current configuration parameters comprise trigger conditions of the target scene and action instructions associated with equipment corresponding to the trigger conditions;
the determining the dependency of the current state parameter on the corresponding action instruction includes:
determining a trigger condition of the target scene in the current configuration parameters, and determining a dependency degree of an action instruction associated with a corresponding device.
Optionally, the obtaining, by the electronic device, the current configuration parameter for the target scene in the target system may be that the electronic device obtains configuration data of the target scene sent by the terminal device or the gateway.
The target scene is a scene including a preset state that one or more devices execute associated actions and automatically switch to a preset state when a preset trigger condition is met. The configuration data of the target scene is setting data which can control one or more devices to execute actions to switch to a preset state when a preset trigger condition is met. Here, the one or more devices performing the action are controlled devices associated with the trigger condition in the target scenario.
The trigger condition refers to a condition to be satisfied before each device included in the target scene is triggered to execute an action, and the trigger condition may include at least one of the following conditions: the method comprises the steps of appointing the intelligent household equipment to be in a corresponding working state, detecting the appointed behavior of a person by the detection equipment, detecting the person in an appointed area by the detection equipment, and receiving a specific instruction sent by a user.
Taking an electronic device as an example of a control center device of an intelligent home system, a user may create one or more target scenes for controlling the intelligent home device through a terminal device, and each target scene may correspondingly include one or more setting data for executing an action of the intelligent home device. The smart home devices may include, but are not limited to, any smart home product such as lamps, curtains, televisions, monitoring systems, etc. which a user wants to remotely control through a terminal device.
The terminal device obtains configuration data of the target scene according to configuration operation of the target scene by a user, and can report the configuration data to the cloud or send the configuration data to a gateway in an intelligent home system network for local storage, and the central hub device obtains the configuration data of the target scene, and the configuration data can be obtained from the terminal device or the gateway. The target scene can be related to personal preferences, living habits and the like of the user, under different target scenes, the intelligent household equipment which the user wants to open or close is different, the user can directly select the target scene which needs to enter at present by creating the target scene in advance and presetting the action of one or more intelligent household equipment contained under the corresponding target scene, and therefore the control operation is simplified.
The terminal device creates a target scene according to user operation to form configuration data of the target scene, which may mean that a user selects a target scene to be created in an automatic configuration page of the terminal device, inputs a trigger condition that needs to be met when the corresponding target scene is triggered, and controls which smart home devices respectively execute which actions when the target scene is triggered, and the terminal device obtains the trigger condition of the target scene and execution action information of the associated smart home devices corresponding to the trigger condition according to the operation of the user in the automatic configuration page to form the configuration data of the target scene.
It should be noted that the automation configuration page may be a single page, or may include multiple associated pages that jump based on a previous operation. Therefore, after the control center device of the intelligent home system acquires the configuration data of the target scene sent by the terminal device, the function of the intelligent home device used by the target scene can be determined according to the trigger condition in the configuration data and the setting of the execution action of the controlled device, so that the dependency of the current state parameter of each device in the target system corresponding to the action instruction of the associated device in the target scene can be determined.
For example, a user creates a viewing scene a through a terminal device, where the viewing scene a includes a lamp 1 being turned on, a lamp 2 being turned off, a curtain 1 being turned off, and an air conditioner 1 being turned on. The user can input the creation operation of the viewing scene A on the terminal device, and further set the triggering condition A to be met when the viewing scene A is triggered as the sensor 1 detects that the user enters the preset range of the audio-visual device, and adds the executing action information of the intelligent household equipment corresponding to the viewing scene A, wherein the executing action information is that the lamp 1 is started, the lamp 2 is closed, the curtain 1 is closed and the air conditioner 1 is started. And the terminal equipment sends configuration data to control center equipment of the intelligent home system according to the creation operation of the user on the film watching scene A.
The functions of the intelligent home equipment required to be used in the viewing scene A are determined by the control center equipment of the intelligent home system according to the configuration data of the viewing scene A, the detection actions required to be executed by the sensor 1 in the trigger condition setting of the viewing scene A and the actions required to be executed by the controlled equipment lamp 1, the lamp 2, the curtain 1 and the air conditioner 1 respectively, and comprise: a human body detection function of the sensor 1, an illumination function of the lamps 1 and 2, a light shielding function of the curtain 1, and a temperature adjustment function of the air conditioner 1. The control center equipment of the intelligent home system acquires state parameters in a preset range of video equipment detected by a sensor 1, determines to trigger a film watching scene A, and acquires action instructions of equipment associated with the current state parameters of the sensor 1: the method comprises the steps of turning on a lamp 1, turning off a lamp 2, turning off a curtain 1 and turning on an air conditioner 1, determining the dependency degree of a current state parameter corresponding to an action instruction of associated equipment, for example, a function that an air purification function of the air conditioner 1 is not required to be used in a viewing scene A, determining that the dependency degree of the action instruction for starting the air purification function of the air conditioner 1 meets a suspension execution condition, and controlling the air conditioner 1 to suspend execution of the action instruction for starting the air purification function.
In the above embodiment, the electronic device may determine, based on the configuration of the user for the target scene, a trigger condition of the target scene in the current configuration parameters of the target scene, retrieve, for the dependency of the action instruction associated with the corresponding device, a use demand situation of the user for the functions of the smart home devices in the smart home system in the current time period, and determine, according to the configuration data of the target scene, the current state parameters of the devices, thereby determining which functions of the smart home devices are redundant for the current use demand of the user, and reduce the power consumption of the smart home devices by closing the redundant functions of the smart home devices.
In some embodiments, the determining the trigger condition of the target scenario in the current configuration parameters includes, for a dependency of an action instruction associated with a corresponding device:
determining the configuration attribute of the equipment function corresponding to the trigger condition of the target scene in the current configuration parameters;
determining, according to the configuration attribute, a dependency of the current configuration parameter corresponding to the associated action instruction.
The electronic equipment determines the functional attribute of the intelligent household equipment used by the target scene according to the current configuration parameter of the target scene so as to determine the configuration attribute of the equipment function corresponding to the trigger condition of the target scene. In the configuration parameters of the target scene, configuration attributes used for representing the function use states of the intelligent household equipment are added in the attribute parameters of the intelligent household equipment. The intelligent home equipment can record the self state through the attribute parameters and store the self state in the local, or the electronic equipment can create a log record according to the function use state of the intelligent home equipment, and the configuration attribute used for representing the function use state of the intelligent home equipment is added in the log record.
The electronic device may further set an attribute parameter value of the functional attribute of the smart home device used in the target scene to a preset count value according to the functional attribute of the smart home device used in the target scene determined by the configuration data of the target scene, for example, the electronic device may determine the function of the smart home device used in the target scene according to the setting of the trigger condition and the execution action of the associated controlled device in the target scene, assign a value 1 to the attribute parameter value of the configuration attribute representing the function use state of the smart home device, and the electronic device may determine the dependency of the current configuration parameter corresponding to the action instruction of the associated device by obtaining the attribute parameter value of the smart home device, so as to determine whether the currently-started function of the smart home device includes a redundant function.
In the above embodiment, the electronic device may retrieve, based on the configuration of the user for the target scene, a usage demand situation of the function of the smart home device in the smart home system in the current time period of the user, and record a state of whether the function of the smart home device in the smart home system is used by creating a configuration attribute representing a function usage state of the smart home device, so that whether the start function of the smart home device in the smart home system is used or not may be screened from a global perspective, and according to the current configuration parameter of the target scene, the configuration attribute of the device function corresponding to the trigger condition determines a dependency of the current configuration parameter corresponding to the action instruction of the associated device, so as to determine whether to control to suspend the action instruction of the associated device.
In some embodiments, referring to fig. 3, for example, where a target system is an intelligent home system, a user configures a scene using a terminal device, the terminal device sends scene configuration data to a cloud and a gateway, and the gateway may obtain current state parameters of devices in the intelligent home system to determine a configuration attribute of a device required to be used in the current scene, so as to determine whether to suspend execution of a motion instruction of the device or open execution of a motion instruction of the device, where the device control method may be further applied to a control hub device in the intelligent home system, and the device control method includes:
and S1011, acquiring configuration data of the target scene sent by the terminal equipment.
And S1012, determining the configuration attribute of the intelligent household equipment used in the target scene according to the configuration data.
And S104, determining whether at least one currently started function of the intelligent household equipment is a redundant function according to the configuration data.
If yes, S1041 is executed, and the intelligent household equipment is controlled to close the redundancy function.
S1061, judging whether the configuration attribute of the intelligent household equipment used in the target scene is the current closing function of the intelligent household equipment.
And S1062, if the function is a closing function, sending an opening control instruction to the intelligent home equipment, wherein the opening control instruction is used for controlling the intelligent home equipment to open and close the function.
The user can create a plurality of new target scenes through the terminal equipment, modify or delete the created target scenes and the like. Different target scenes can comprise starting of a certain function of the same intelligent home equipment, the control center equipment of the intelligent home system determines the function of the intelligent home equipment used in the target scenes according to the configuration data, if one or more functions of the intelligent home equipment are judged not to be the functions used in the current target scenes, the part of functions of the intelligent home equipment are determined to belong to the redundancy function currently, and the intelligent home equipment is controlled to close the part of functions; judging whether the function of the intelligent household equipment used in the target scene is the current closing function of the intelligent household equipment, if so, sending an opening control instruction to the intelligent household equipment, and controlling the intelligent household equipment to open and close through the opening control instruction.
Therefore, for the situation that a certain starting function of the intelligent household equipment in a certain target scene is determined as a redundant function and is closed, and the intelligent household equipment is possibly required to be used in a subsequent scene, the function closed before the intelligent household equipment can still be normally started, so that the function of the intelligent household equipment which is kept started is always used for meeting the current use requirement, and the function which is not used by the current use requirement is always identified as the redundant function and is closed in time.
For example, taking the function a1 of the sensor 1 used in the user-created automation scenario a as an example, the sensor 1 includes a function a1 and a function a2, the attribute parameter value for characterizing the use state of the function a1 in the configuration attributes of the sensor 1 is set to 1, since the function a2 originally turned on by the sensor 1 is not used in the automation scenario a, the control center device of the smart home system controls the sensor 1 to turn off the function a2, and the attribute parameter value for characterizing the use state of the function a2 in the configuration attributes of the sensor 1 is set to 0; the user creates an automation scene B again, wherein the function a2 of the sensor 1 is used, and the control center device of the smart home system judges that the function a2 of the sensor 1 used in the automation scene B is the current closed function and sends an opening control instruction to the sensor 1 to control the sensor 1 to open the function a 2. Optionally, when a certain function that the smart home device has been enabled no longer meets the current use requirement, the control center device of the smart home system may determine that the function is a redundant function, and control the smart home device to close the enabled redundant function. For example, if the user subsequently deletes the automation scenario a or modifies the automation scenario a to no longer include the function a1 of the sensor 1, the attribute parameter value of the attribute parameters of the sensor 1, which characterizes the use status of the function a1, is reduced by 1, and is changed from 1 to 0.
In the above embodiment, the control center device of the smart home system can temporarily close the redundant function that the smart home device does not need to use within a certain period of time according to the use demand condition of the function of the smart home device within different periods of time, so as to reduce the power consumption of the smart home device.
In some embodiments, the smart home device includes a composite sensor for detecting a plurality of data, and the control center device determines, according to the configuration data, whether at least one currently-turned-on function of the smart home device is a redundant function, and if so, controls the smart home device to turn off the redundant function, including:
determining whether the detection function of the composite sensor on at least one datum is a redundancy function or not according to the current state parameter of the composite sensor;
if the detection function of the partial data is a redundancy function, sending a control instruction for closing the detection of the partial data to the composite sensor;
and if the detection functions of all the data are redundancy functions, sending a control instruction for switching to the dormant state to the composite sensor.
The intelligent control of various intelligent devices in the intelligent home system needs to acquire data by means of a sensor so as to judge whether a triggering condition for controlling the intelligent devices is met. The composite sensor may refer to a sensor capable of performing various data acquisition, wherein the various data acquisition may be based on different detection principles, such as human detection parameters acquired based on infrared detection and human detection data acquired based on radar detection, illuminance detection parameters acquired based on photosensitive detection and human detection parameters acquired based on infrared detection.
The control center equipment of the intelligent home system determines whether the composite sensor has a redundancy function which is not used currently in the detection functions of a plurality of data through the detection functions of different data of the composite sensor used in a target scene, if the function for detecting one or more data is the redundancy function, the composite sensor is controlled to close the function for detecting the part of data, and at the moment, the function for detecting other data which needs to be used is kept open and can be used normally; and if the functions of detecting all the data are redundant functions, controlling the composite sensor to enter a dormant state.
Taking the example that the composite sensor 1 comprises the functions of illuminance detection and infrared movement detection, when a user establishes an automatic scene A and only uses the function of illuminance detection of the composite sensor 1, and the control center device of the intelligent home system acquires the attribute parameters of the composite sensor 1 according to the configuration data of the automatic scene A to determine that the function of infrared movement detection of the composite sensor 1 is a redundant function, the control center device of the intelligent home system sends a control instruction for closing the function of infrared movement detection to the composite sensor 1; when the user deletes the automation scene a, and the control center device of the smart home system acquires the attribute parameters of the composite sensor 1 to determine that both the illuminance detection function and the infrared movement detection function of the composite sensor 1 have the redundancy function, the control center device of the smart home system sends a control instruction for switching to the sleep state to the composite sensor 1.
In the above embodiment, the control center device of the smart home system may control the composite sensor to close the unused part of the detection function according to the detection function of the composite sensor used in the automation scene, so as to achieve the purpose of reducing the power consumption of the sensor.
In some embodiments, the current state parameters include a current environmental parameter corresponding to each of the devices; the acquiring current state parameters of each device under the target system comprises:
acquiring current environmental parameters and environmental configuration data of each device under a target system; the environment configuration data comprises preset action instructions associated with various types of environment parameters and a dependency matching table between each environment parameter and the associated action instruction;
the determining the dependency of the current state parameter on the corresponding action instruction includes:
and determining the dependency degree of the current environment parameter corresponding to the associated action instruction according to the dependency degree matching table.
The use requirements of the user for different functions in each device in the target system may be different in different periods, and the use requirements for the smart home devices may be closely related to the environment. The current environmental parameters may be current environmental parameters that are automatically detected and reported by the smart home devices having the environmental parameter detection function, or current environmental parameters that can represent the environment where the smart home devices are located and detected by other smart home devices. The current environment parameters can be a light illumination value, a carbon dioxide concentration value, a dust concentration value, a noise value and the like in the current environment of the intelligent household equipment, and different detection equipment related to different intelligent household equipment can be set for different intelligent household equipment so as to obtain different types of current environment parameters corresponding to the different intelligent household equipment. The environment configuration data comprises preset action instructions associated with various types of environment parameters and a dependency matching table between each environment parameter and the associated action instruction.
The electronic equipment acquires current environmental parameters and environmental configuration data of each equipment under a target system, determines the dependency of the current environmental parameters corresponding to the associated action instructions according to a dependency matching table in the environmental configuration data, and if at least one currently-started function of any equipment under the target system is judged to be not a function used in the current time period according to the current environmental parameters, namely the function is not matched with the use requirement in the current time period, the dependency is low, and the corresponding at least one function can be determined to belong to a redundant function in the current time period.
In the above embodiment, the electronic device predicts the user usage demand in the corresponding environment state based on the current environment parameters and the environment configuration data of each device in the target system, and when it is determined that the smart home device does not need to start a currently enabled function according to the predicted usage demand of the smart home device by the user in the corresponding environment state, it indicates that the currently enabled function of the smart home device is not matched with the user usage demand in the current time period, so as to determine that the corresponding function is a redundant function, and the electronic device may control the smart home device to close the redundant function, so as to reduce power consumption.
In some embodiments, the device comprises a human detection device; the current environment parameters comprise human body detection parameters under a target environment, which are acquired by the human body detection equipment; the human body detection parameter corresponds to an action instruction of the associated equipment and comprises a display instruction or a play instruction;
if the dependency satisfies a suspend execution condition, controlling the device to suspend executing the action instruction of the associated device, including:
and if the human body detection parameter corresponds to the dependency of the action instruction of the associated equipment and meets the condition of suspending execution, controlling the equipment to suspend executing the action instruction of the associated equipment.
The current environment parameters comprise human body detection parameters reported by human body detection equipment, the equipment in the target system comprises audio-video equipment, and the action instructions of the human body detection parameters corresponding to the associated equipment comprise display instructions or playing instructions.
The electronic equipment determines the dependency degree of the current environment parameter corresponding to the associated action instruction according to the current environment parameter and the environment configuration data of each equipment under the target system and the dependency degree matching table in the environment configuration data, and the method comprises the following steps:
the electronic equipment judges whether a person exists in a preset range of the audio-video equipment according to the human body detection parameters reported by the appointed sensor;
and if no person exists in the preset range of the audio-video equipment, the dependence of the current environment parameter of the audio-video equipment on the playing instruction of the audio-video equipment meets a suspension execution condition.
Different devices usually have different use environments, and different current environment parameters corresponding to the different devices can be set and acquired so as to judge whether the use environments of the different devices are matched with the use requirements of the user in the current time period.
In this embodiment, the target system is an intelligent home system, the intelligent home device is an audio-visual device, a user may set a human body detection parameter indicating whether a person is in a detection room of a designated sensor in a room where the audio-visual device is located as a current environmental parameter of the audio-visual device, a control center device of the intelligent home system obtains the human body detection parameter reported by the designated sensor, and determines that no person is in the room for a certain period of time, the current environment where the audio-visual device is located is an unmanned environment, and it is presumed that the user has left the room, at this time, a play function of the audio-visual device belongs to a redundant function that does not need to be used relative to the environment in the current period of time, the control center device of the intelligent home system may control the audio-visual device to close the play function, and the audio-visual device stops playing. The audio/video device may be a television, for example.
In the above embodiment, the electronic device determines whether the playing function of the audio-video device is a function that needs to be used in different time periods according to whether a person is in the environment where the audio-video device is located, and when it is determined that the user leaves the environment without a continuous use requirement, the electronic device can control the audio-video device to automatically turn off the playing function, so as to save energy consumption.
In some embodiments, the current environmental parameter comprises a current lighting parameter in the target environment; the deferred execution condition comprises that the current illumination parameter is lower than an illumination threshold value; the action instructions comprise content update instructions for a device associated with the current lighting parameter;
if the dependency satisfies a suspend execution condition, controlling the device to suspend executing the action instruction of the associated device, including:
and if the current illumination parameter is lower than an illumination threshold value, determining that the dependency degree of the current illumination parameter corresponding to the content updating instruction meets a suspension execution condition, and controlling the associated equipment to reduce the execution frequency of the content updating instruction.
The current environment parameters comprise current illumination parameters reported by the specified illumination detection equipment, and the equipment in the target system comprises data display equipment. The electronic equipment determines the dependency degree of the current environment parameter corresponding to the associated action instruction according to the current environment parameter and the environment configuration data of each equipment under the target system and the dependency degree matching table in the environment configuration data, and the method comprises the following steps:
and the electronic equipment judges that the current data updating frequency of the data display equipment exceeds the user viewing requirement in the current time period according to the current light intensity detection parameter, and the dependency of the current environment parameter of the data display equipment on a content updating instruction for updating the data of the data display equipment at the data updating frequency meets the suspension execution condition.
Different devices usually have different use environments, and different current environment parameters corresponding to the different devices can be set and acquired so as to judge whether the use environments of the different devices are matched with the use requirements of the user in the current time period.
In this embodiment, the target system is an intelligent home system, the intelligent home device includes a data display device, and the user can set a detection parameter of the light intensity detected by a designated sensor in the environment where the data display device is located as a current environment parameter of the data display device. The control center equipment of the intelligent home system acquires light intensity detection parameters reported by the appointed sensor, when the light intensity in the environment where the data display equipment is located is judged to be very low, the current environment where the data display equipment is located is represented as a user sleeping environment, the user is presumed not to have the requirement for viewing the data display equipment in real time at the moment, or the user cannot see the display data clearly at the moment, or the frequency for viewing the data is low, the function of updating the data with high frequency of the data display equipment belongs to a redundancy function which is not needed to be used relative to the environment in the current time period at the moment, the control center equipment of the intelligent home system can control the data display equipment to close the function of updating the data with high frequency, and the data display equipment stops updating with high frequency. The data display device may be a temperature and humidity display device, for example.
In the above embodiment, according to whether a user in an environment where the data display device is located has a need for high-frequency data viewing, if the user does not have a need for data viewing at this time or the environmental condition does not support the user to view data, the electronic device may determine that the high-frequency data updating function of the data display device is a redundant function that is not needed to be used in a corresponding time period, and control the data display device to automatically turn off the function of updating data at a high frequency, so as to save energy consumption.
Optionally, if the current illumination parameter is lower than the illumination threshold, and it is determined that the dependency of the current illumination parameter corresponding to the content update instruction satisfies a suspend execution condition, controlling the associated device to reduce the execution frequency of the content update instruction includes:
if the current illumination parameter is lower than the illumination threshold, when the dependency degree of the current illumination parameter corresponding to the content updating instruction is determined to meet the suspension execution condition, a control instruction is sent to the associated equipment, the corresponding equipment is controlled to close the function of updating data at the data updating frequency, and the corresponding equipment is switched to an alternative updating strategy of updating data at the frequency lower than the data updating frequency or the function of suspending data updating.
In the embodiment that the target system is an intelligent home system and the intelligent home device comprises a data display device, the control center device of the intelligent home system sends a control instruction to the intelligent home device according to whether a user in the environment where the data display device is located has a requirement for checking data at high frequency or not, if the user does not have the requirement for checking data at the moment or the environment condition does not support the user for checking data at the moment, the data display device is controlled to automatically close the function of updating data at high frequency, the intelligent home device can switch to a default alternative updating strategy after closing the function of updating data at high frequency, and the default alternative updating strategy can be that data is updated at a default frequency smaller than the data updating frequency. After the smart home device closes the function of updating data at a high frequency, the function of directly suspending data updating may also be used.
In the above embodiment, the control center device of the smart home system determines that the high-frequency data updating function of the data display device is a redundant function according to the current environmental parameter, and after the control data display device automatically closes the function of updating data at a high frequency, the data display device may reduce the updating frequency or suspend updating, and both reducing the updating frequency and suspending updating of the data display device may reduce the data receiving, sending, and processing, thereby saving energy consumption.
In some embodiments, the obtaining the current state parameter of each device in the target system includes:
according to the type of each intelligent household device contained in the intelligent household system, the current state parameters of the intelligent household devices are obtained based on the state diagnosis modes respectively corresponding to the intelligent household devices of different types.
The intelligent home devices in the intelligent home system can be classified according to preset classification rules, or according to user-defined classification rules of users, or according to manual classification operations of the users, and the control center device of the intelligent home system can be based on the classification results of the intelligent home devices.
The method comprises the steps of setting corresponding state diagnosis modes for each type of intelligent household equipment respectively so as to obtain current state parameters corresponding to each type of intelligent household equipment in a targeted manner, accurately determining whether functions started by the corresponding type of intelligent household equipment at the moment include redundant functions which are not needed to be used in a current time interval or a current scene or not and whether certain functions of the intelligent household equipment which needs to be used in the current time interval or the current scene are closed or not according to the current state parameters, controlling the corresponding intelligent household equipment to intelligently close the redundant functions, and starting the functions which need to be used in the current user demand. Therefore, whether temporary 'function redundancy' exists or not is globally detected and judged from the perspective of the intelligent home system, and under the condition that user experience is not reduced, power consumption of equipment is reduced aiming at the 'function redundancy', and the user experience is improved. Especially for the smart home devices that need to be charged and used or install the battery for the user can need not to change the battery or charge the operation for a longer time, promoted smart home systems's whole use greatly and experienced.
For example, the state diagnosis mode is a first mode in which a database is established according to the configuration of the automation linkage rule of the smart home system to search to determine whether the function started by the smart home device includes the redundant function, and a second mode in which the function started by the smart home device includes the redundant function according to the comparison between the environment where the smart home device is located and the function required to be used in the corresponding environment. The control center equipment of the intelligent home system divides the intelligent home equipment into two types, wherein one type adopts a first mode to obtain corresponding current state parameters, and the other type adopts a second mode to obtain corresponding current state parameters, so that whether the functions started by the intelligent home equipment of the corresponding type at the moment comprise redundant functions which are not required to be used in the current scene or the current environment can be accurately determined according to the obtained current state parameters.
In the above embodiment, the intelligent home devices in the intelligent home system are classified, and the current state parameters of the intelligent home devices are acquired in a matching manner according to different categories, so that the control center device of the intelligent home system can systematically judge whether the functions of the intelligent home devices are redundant, and if the functions are redundant, the corresponding intelligent home devices are notified to close the redundant functions, so that the power consumption of the devices is effectively reduced.
In order to more generally understand the device control method provided in the embodiment of the present application, please refer to fig. 4, which is exemplarily described below by taking an example that the smart home device includes a sensor integrating functions of illuminance detection and infrared movement detection, where the device control method includes the following steps:
s11, the terminal equipment reports the configuration data to the control center equipment according to the configuration operation of the user created scene A; the target scene comprises an automatic linkage rule which takes a light intensity value detected by the sensor through the illuminance detection function to be smaller than a preset value as a trigger condition and triggers the controlled device to execute a specified action, wherein attribute parameter values which characterize the illuminance detection function and the infrared movement detection function in the attribute data of the sensor are assigned to be 1 according to a preset initial value.
And S12, the control center equipment determines the function of the sensor used by the scene A as a light illumination detection function according to the configuration data of the scene A.
And S13, controlling the central control equipment to acquire the attribute parameter value of the sensor as the state judgment parameter of the sensor, and determining that the infrared movement detection function is a redundant function in the illuminance detection and infrared movement detection functions of the current start of the sensor.
And S14, the control center equipment sends a control instruction for turning off the infrared movement detection function to the sensor.
S15, the sensor closes the infrared movement detection function; at this time, the attribute parameter value representing the infrared movement detection function in the attribute data of the sensor is reduced by 1 according to a preset assignment mode and then is 0.
And S16, the terminal equipment reports the configuration data to the control center equipment according to the configuration operation of the user created scene B.
And S17, the control center equipment determines the infrared movement detection function of the sensor used by the scene B according to the configuration data of the scene B.
And S18, the control center equipment determines that the infrared movement detection function of the sensor is closed at present, and sends a control instruction for starting the infrared movement detection function to the sensor.
And S19, the sensor starts an infrared movement detection function. At this time, the attribute parameter value representing the infrared movement detection function in the attribute data of the sensor is added by 1 according to a preset assignment mode to be 1.
In the intelligent home system, control center equipment such as a cloud end, a gateway and the like can collect information or data of each intelligent home equipment in the system, detection is carried out according to an automatic linkage rule created by a user, whether the user uses illumination detection and infrared mobile detection as automatic conditions is judged, if the user is found to use only the infrared mobile detection function after retrieval and does not use the illumination detection function, the illumination detection function is considered to be redundant for the current use requirement of the user, so the control center equipment can send a command message to the sensor equipment to inform the sensor equipment of temporarily closing the illumination detection function, and the consumption of electric quantity is reduced. When the illuminance detection function of the sensor device is subsequently added in the automatic linkage rule by the user, the illuminance detection function of the sensor device needs to be recovered, so that the control center device can send a command message to the sensor device to inform the sensor device of recovering the illuminance detection function, and various personalized use situation requirements of the user are met.
Referring to fig. 5, an example is given below by taking an intelligent home device as a device with a screen, where the device with the screen may be an intelligent device with an LCD screen, an OLED screen, an ink screen, and the like, and the device control method includes the following steps:
s21, detecting the current environmental parameters representing the environmental state of the equipment with the screen by the appointed sensor and reporting the current environmental parameters to the control center equipment; for example, the current environment parameter is a light intensity value detection parameter around the screen device detected by the illuminance sensor.
And S22, controlling the central control equipment to acquire the current environment parameters reported by the sensor, and determining that the function of the screen equipment for updating data at high frequency is a redundant function when the current environment parameters determine that the user does not check the use requirement of the content displayed on the display screen under the current environment of the screen equipment.
And S23, controlling the central equipment to send a function of closing the high frequency to the screen equipment for data updating.
And S24, the screen device closes the high-frequency data updating function, and updates data or suspends the data updating function at a lower frequency.
In the above embodiment, for some intelligent devices with screens, when the screen display content needs to be updated, a refresh operation is required, and electric energy is consumed. The intelligent device with the screen does not necessarily need to update the screen content even if the data information required to be displayed by the intelligent device changes. For example, when the smart home system detects and determines that the smart home system is currently in a very low illuminance (for example, at night), the screen refresh frequency of the smart device with the ink screen can be reduced, so as to reduce power consumption. Since a low light level means that the human eye does not look clearly at the screen, the screen refresh frequency is "redundant" when it is higher. The method includes the steps that whether a user has a use requirement for checking content displayed on a display screen under the current environment of the screen-equipped device is determined according to environment state parameters, and when no person is in the checking range of the screen-equipped device, for example, the screen-equipped panel placed in a living room can present environment values, such as temperature values, collected by a sensor device in the home. When the intelligent home system judges that no person exists near the screen panel, whether the person exists or not can be judged through infrared signal detection of the designated sensor or video image acquisition and detection of the camera, the screen can be turned off when the person does not exist, and the temperature value on the screen does not need to be updated or displayed even if the environment temperature changes.
Referring to fig. 6, in another aspect of the present application, an apparatus control device is provided, and in an exemplary embodiment, the apparatus control device may be implemented by a cloud server, a gateway, and a router. The device control apparatus includes: the first obtaining module 11 is configured to obtain current state parameters of each device in the target system; a second obtaining module 12, configured to obtain an action instruction of the device associated with the current state parameter; a determining module 13, configured to determine a dependency that the current state parameter corresponds to an action instruction of the associated device; and the control module 14 is used for controlling the equipment to suspend executing the action instruction of the associated equipment if the dependency degree meets the suspension execution condition.
Optionally, the control module 14 is further configured to, if the dependency does not satisfy the suspend execution condition, open the control device to execute the associated action instruction.
Optionally, the current state parameter includes a current configuration parameter corresponding to the action instruction of the corresponding device; the first obtaining module 11 is configured to obtain a current configuration parameter for a target scene in a target system; the current configuration parameters comprise trigger conditions of a target scene and action instructions associated with equipment corresponding to the trigger conditions; a determining module 13, configured to determine a trigger condition of the target scenario in the current configuration parameter, and a dependency degree of the action instruction associated with the corresponding device.
Optionally, the determining module 13 is specifically configured to determine a configuration attribute of the device function corresponding to the trigger condition of the target scene in the current configuration parameters; and determining the dependency degree of the current configuration parameter corresponding to the associated action instruction according to the configuration attribute.
Optionally, the current state parameter includes a current environment parameter corresponding to each device; a first obtaining module 11, configured to obtain current environmental parameters and environmental configuration data of each device in a target system; the environment configuration data comprises preset action instructions associated with various types of environment parameters and a dependency matching table between each environment parameter and the associated action instruction; and the determining module 13 is configured to determine, according to the dependency matching table, a dependency of the current environment parameter corresponding to the associated action instruction.
Optionally, the device comprises a human detection device; the current environmental parameters comprise human body detection parameters under a target environment collected by human body detection equipment; the human body detection parameter corresponds to the action instruction of the associated equipment and comprises a display instruction or a play instruction; and the control module 14 is configured to control the device to suspend executing the action instruction of the associated device if the human body detection parameter corresponds to the dependency of the action instruction of the associated device and meets the suspend execution condition.
Optionally, the current environment parameter includes a current illumination parameter in the target environment; the deferred execution condition comprises that the current illumination parameter is lower than an illumination threshold value; the action instructions include content update instructions for the device associated with the current lighting parameter; and the control module 14 is configured to, if the current illumination parameter is lower than the illumination threshold, determine that the dependency of the current illumination parameter corresponding to the content update instruction satisfies the suspend execution condition, control the associated device to reduce the execution frequency of the content update instruction.
It should be noted that: in the process of implementing energy-saving control for detecting the motion instruction of the smart home device to control the motion instruction of the associated device to be executed temporarily, the device control apparatus provided in the above embodiment is exemplified by only dividing the program modules, and in practical applications, the processing may be distributed to different program modules according to needs, that is, the internal structure of the apparatus may be divided into different program modules to complete all or part of the method steps described above. In addition, the device control apparatus provided in the above embodiment and the embodiment of the method applied to device control belong to the same concept, and specific implementation thereof is described in the method embodiment, which is not described herein again.
Another aspect of the present application provides an electronic device, please refer to fig. 7, which is an optional hardware structure diagram of the electronic device according to an embodiment of the present application, where the electronic device includes a processor 111 and a memory 112, the memory 112 is used for storing various types of data to support operations of a device control apparatus or an intelligent home device control apparatus, and stores a computer program for implementing the device control method according to any embodiment of the present application, and when the computer program is executed by the processor 112, the steps of the device control method according to any embodiment of the present application are implemented, and the same technical effects can be achieved, and are not repeated here. The electronic device may be a control center device such as a cloud, a gateway, or a router shown in fig. 1, or may be a certain smart home device shown in fig. 1.
Please refer to fig. 8, which is a block diagram illustrating an alternative hardware structure of an electronic device according to an embodiment of the present disclosure. As shown in fig. 8, electronic devices may vary widely in configuration or performance and may include one or more processors (CPUs) 1110 (processor 1110 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 1130 for storing data, one or more storage media 1120 (e.g., one or more mass storage devices) storing applications 1123 or data 1122. The memory 1130 and the storage medium 1120 may be, among other things, transient storage or persistent storage. The program stored on the storage medium 1120 may include one or more modules, each of which may include a sequence of instructions operating on an automation control panel. Still further, processor 1110 may be configured to communicate with storage medium 1120 to execute a series of instruction operations in storage medium 1120 on a smart device. The smart device may also include one or more power supplies 1160, one or more wired or wireless network interfaces 1150, one or more input-output interfaces 1140, and/or one or more operating systems 1121, such as Windows Server, MacOSXTM, UnixTM, LinuxTM, FreeBSDTM, and so forth.
The input output interface 1140 may be used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the smart device. In one example, i/o interface 1140 includes a network adapter (NIC) that may be coupled to other network devices via a base station to communicate with the internet. In one example, the input/output interface 1140 can be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
It will be understood by those skilled in the art that the structure shown in fig. 8 is only an illustration, and is not intended to limit the structure of the electronic device. For example, the electronic device may also include more or fewer components than shown in FIG. 8, or have a different configuration than shown in FIG. 8.
The embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the processes of the foregoing working mode configuration method and the foregoing switch control method embodiment, and can achieve the same technical effects, and in order to avoid repetition, the details are not repeated here. The computer-readable storage medium may be a Read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a computer-readable storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a smart device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. An apparatus control method characterized by comprising:
acquiring current state parameters of each device under a target system;
acquiring an action instruction of equipment associated with the current state parameter;
determining that the current state parameter corresponds to a dependency of an action instruction of the associated device;
and if the dependency degree meets a suspension execution condition, controlling the equipment to suspend executing the action instruction of the associated equipment.
2. The device control method according to claim 1, characterized in that the method further comprises:
and if the dependency does not meet the deferred execution condition, controlling the equipment to open and execute the associated action instruction.
3. The device control method according to claim 1, wherein the current state parameter includes a current configuration parameter corresponding to an action instruction for the respective device; the acquiring of the current state parameters of each device under the target system includes:
acquiring current configuration parameters aiming at a target scene under a target system; the current configuration parameters comprise trigger conditions of the target scene and action instructions associated with equipment corresponding to the trigger conditions;
the determining the dependency of the current state parameter on the corresponding action instruction includes:
determining a trigger condition of the target scene in the current configuration parameters, and determining a dependency degree of an action instruction associated with a corresponding device.
4. The device control method according to claim 3, wherein the determining the trigger condition of the target scenario in the current configuration parameters includes, for a dependency of an action instruction associated with a corresponding device:
determining the configuration attribute of the equipment function corresponding to the trigger condition of the target scene in the current configuration parameters;
determining, according to the configuration attribute, a dependency of the current configuration parameter corresponding to the associated action instruction.
5. The device control method according to claim 1, wherein the current state parameter includes a current environmental parameter corresponding to each of the devices; the acquiring current state parameters of each device under the target system comprises:
acquiring current environmental parameters and environmental configuration data of each device under a target system; the environment configuration data comprises preset action instructions associated with various types of environment parameters and a dependency matching table between each environment parameter and the associated action instruction;
the determining the dependency of the current state parameter on the corresponding action instruction includes:
and determining the dependency degree of the current environment parameter corresponding to the associated action instruction according to the dependency degree matching table.
6. The device control method according to claim 5, wherein the device includes a human body detection device; the current environment parameters comprise human body detection parameters under a target environment, which are acquired by the human body detection equipment; the human body detection parameter corresponds to an action instruction of the associated equipment and comprises a display instruction or a play instruction;
if the dependency satisfies a suspend execution condition, controlling the device to suspend executing the action instruction of the associated device, including:
and if the human body detection parameter corresponds to the dependency of the action instruction of the associated equipment and meets the condition of suspending execution, controlling the equipment to suspend executing the action instruction of the associated equipment.
7. The device control method according to claim 5, wherein the current environment parameter includes a current illumination parameter in a target environment; the deferred execution condition comprises that the current illumination parameter is lower than an illumination threshold value; the action instructions comprise content update instructions for a device associated with the current lighting parameter;
if the dependency satisfies a suspend execution condition, controlling the device to suspend executing the action instruction of the associated device, including:
and if the current illumination parameter is lower than an illumination threshold value, determining that the dependency degree of the current illumination parameter corresponding to the content updating instruction meets a suspension execution condition, and controlling the associated equipment to reduce the execution frequency of the content updating instruction.
8. An apparatus control device, characterized by comprising:
the first acquisition module is used for acquiring the current state parameters of each device under the target system;
the second acquisition module is used for acquiring the action instruction of the equipment associated with the current state parameter;
a determination module for determining a dependency of the current state parameter corresponding to an action instruction of the associated device;
and the control module is used for controlling the equipment to suspend executing the action instruction of the associated equipment if the dependency meets the suspension execution condition.
9. An electronic device comprising a processor, a memory, and a computer program stored on the memory and executable by the processor, the computer program, when executed by the processor, implementing the device control method of any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which when executed by the processor implements the device control method according to any one of claims 1 to 7.
CN202111538341.0A 2021-12-15 2021-12-15 Device control method and apparatus, electronic device, and medium Pending CN114237062A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111538341.0A CN114237062A (en) 2021-12-15 2021-12-15 Device control method and apparatus, electronic device, and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111538341.0A CN114237062A (en) 2021-12-15 2021-12-15 Device control method and apparatus, electronic device, and medium

Publications (1)

Publication Number Publication Date
CN114237062A true CN114237062A (en) 2022-03-25

Family

ID=80756595

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111538341.0A Pending CN114237062A (en) 2021-12-15 2021-12-15 Device control method and apparatus, electronic device, and medium

Country Status (1)

Country Link
CN (1) CN114237062A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11231851A (en) * 1998-02-16 1999-08-27 Hitachi Medical Corp Image display device
CN1731497A (en) * 2005-08-18 2006-02-08 广辉电子股份有限公司 Method of power saving for thin film transistor LCD
CN104102330A (en) * 2013-04-03 2014-10-15 腾讯科技(深圳)有限公司 Display screen control method, device and electronic equipment
CN105446162A (en) * 2016-01-26 2016-03-30 北京进化者机器人科技有限公司 Intelligent home system and intelligent home control method of robot
US20160182944A1 (en) * 2014-04-30 2016-06-23 Boe Technology Group Co., Ltd. Television volume control method and system
CN106066872A (en) * 2016-05-27 2016-11-02 维沃移动通信有限公司 A kind of data updating management method and electronic equipment
WO2018076698A1 (en) * 2016-10-25 2018-05-03 西安中兴新软件有限责任公司 Terminal delay display method and apparatus, and terminal and computer storage medium
CN108235128A (en) * 2018-01-25 2018-06-29 上海康斐信息技术有限公司 A kind of method and system of infrared induction control video screen dispaly state
US20180270752A1 (en) * 2016-05-24 2018-09-20 Huawei Technologies Co., Ltd. Terminal Management Method and Apparatus
US20210120204A1 (en) * 2019-10-21 2021-04-22 TP Vision Europe B.V. Method and system for automatically switching off a display screen of a television device
WO2021238473A1 (en) * 2020-05-29 2021-12-02 Oppo广东移动通信有限公司 Screen refresh rate adjusting method and apparatus, electronic device, and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11231851A (en) * 1998-02-16 1999-08-27 Hitachi Medical Corp Image display device
CN1731497A (en) * 2005-08-18 2006-02-08 广辉电子股份有限公司 Method of power saving for thin film transistor LCD
CN104102330A (en) * 2013-04-03 2014-10-15 腾讯科技(深圳)有限公司 Display screen control method, device and electronic equipment
US20160182944A1 (en) * 2014-04-30 2016-06-23 Boe Technology Group Co., Ltd. Television volume control method and system
CN105446162A (en) * 2016-01-26 2016-03-30 北京进化者机器人科技有限公司 Intelligent home system and intelligent home control method of robot
US20180270752A1 (en) * 2016-05-24 2018-09-20 Huawei Technologies Co., Ltd. Terminal Management Method and Apparatus
CN106066872A (en) * 2016-05-27 2016-11-02 维沃移动通信有限公司 A kind of data updating management method and electronic equipment
WO2018076698A1 (en) * 2016-10-25 2018-05-03 西安中兴新软件有限责任公司 Terminal delay display method and apparatus, and terminal and computer storage medium
CN108235128A (en) * 2018-01-25 2018-06-29 上海康斐信息技术有限公司 A kind of method and system of infrared induction control video screen dispaly state
US20210120204A1 (en) * 2019-10-21 2021-04-22 TP Vision Europe B.V. Method and system for automatically switching off a display screen of a television device
WO2021238473A1 (en) * 2020-05-29 2021-12-02 Oppo广东移动通信有限公司 Screen refresh rate adjusting method and apparatus, electronic device, and storage medium

Similar Documents

Publication Publication Date Title
CN107678649B (en) Information display method and device of intelligent panel
CN104360599B (en) Wired home control method, equipment and system based on LED light device
WO2017020520A1 (en) Customizable control method and system for smart home appliance
US20180024541A1 (en) Smart home system and product thereof
US11782590B2 (en) Scene-operation method, electronic device, and non-transitory computer readable medium
CN113950181A (en) Predictive lighting from device screens based on user profiles
US11272481B2 (en) Distributed resource model
CN105912632B (en) Equipment service recommendation method and device
CN105511284A (en) Household appliance control method and device
CN104110787A (en) Method and system for controlling air conditioner
CN113347068B (en) Rule processing method and device, server and storage medium
CN204287781U (en) LED light device, wired home Control Server, intelligent household terminal and smart home control system
CN110296514B (en) Intelligent control method and device for air conditioner and air conditioner
CN106325225A (en) Home environment monitoring and automatic optimization system
WO2016180199A1 (en) Home appliance control method and apparatus, wireless router apparatus, and home appliance
WO2024008013A1 (en) Intelligent household device linkage scheme recommendation method and related apparatus
CN114237062A (en) Device control method and apparatus, electronic device, and medium
CN110324217B (en) Equipment triggering control method and device, electronic equipment and storage medium
CN114637216A (en) Scene configuration method and device, control method and device, intelligent equipment and medium
CN114265327B (en) Sleep control method and device of intelligent household equipment, processor and electronic equipment
CN106843787B (en) Display device, system and method based on widget
CN115586727A (en) Automatic configuration method and device, control method and device, equipment and medium
CN116184851A (en) Sleep mode adjusting method, device, terminal and storage medium
CN114153150A (en) Intelligent building energy-saving control system and method based on human body induction
CN114237063A (en) Scene control method, device and system, electronic equipment and medium

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