CN112526892B - Method and device for controlling intelligent household equipment and electronic equipment - Google Patents

Method and device for controlling intelligent household equipment and electronic equipment Download PDF

Info

Publication number
CN112526892B
CN112526892B CN202011506928.9A CN202011506928A CN112526892B CN 112526892 B CN112526892 B CN 112526892B CN 202011506928 A CN202011506928 A CN 202011506928A CN 112526892 B CN112526892 B CN 112526892B
Authority
CN
China
Prior art keywords
target
control instruction
equipment
equipment control
attribute state
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.)
Active
Application number
CN202011506928.9A
Other languages
Chinese (zh)
Other versions
CN112526892A (en
Inventor
李静
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home 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 Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202011506928.9A priority Critical patent/CN112526892B/en
Publication of CN112526892A publication Critical patent/CN112526892A/en
Application granted granted Critical
Publication of CN112526892B publication Critical patent/CN112526892B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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 application relates to the technical field of intelligent home, and discloses a method for controlling intelligent home equipment, which comprises the following steps: obtaining a target device control instruction and determining target intelligent household equipment to be controlled by the target device control instruction; acquiring the current attribute state of the target intelligent household equipment; performing instruction processing on the target equipment control instruction based on the current attribute state to obtain a final equipment control instruction; and sending a final equipment control instruction to the target intelligent household equipment. The target equipment control instruction is processed according to the current attribute state of the intelligent home equipment in advance, and the processed final equipment control instruction is sent to the intelligent home equipment to be executed, so that the success rate of the intelligent home equipment for executing the equipment control instruction can be improved, and the control success rate of a scene system is improved. The application also discloses a device and electronic equipment for controlling intelligent household equipment.

Description

Method and device for controlling intelligent household equipment and electronic equipment
Technical Field
The present application relates to the field of smart home technologies, and for example, to a method and an apparatus for controlling smart home devices, and an electronic device.
Background
With the popularization and application of smart home devices, more and more families gradually accept and adapt to the scene experience of smart life brought by the smart home devices. Under the trigger of the smart scene, the cloud platform sends a device control instruction to the smart home devices, and the smart home devices operate according to the device control instruction after receiving the device control instruction, so that the smart home devices are controlled.
In the process of implementing the embodiments of the present disclosure, it is found that at least the following problems exist in the related art:
at present, in a smart scene control process, a cloud platform directly sends a device control instruction to smart home devices to control the smart home devices to operate according to the device control instruction, and the problem that the success rate of scene system control is affected due to the fact that part of the smart home devices cannot execute the device control instruction exists.
Disclosure of Invention
The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosed embodiments. This summary is not an extensive overview nor is intended to identify key/critical elements or to delineate the scope of such embodiments but rather as a prelude to the more detailed description that is presented later.
The embodiment of the disclosure provides a method and a device for controlling smart home devices and electronic devices, and aims to solve the problem that in the existing smart scene control process, part of smart home devices cannot execute device control instructions directly sent to the smart home devices by a cloud platform to influence the control success rate of a scene system.
In some embodiments, a method for controlling smart home devices includes: obtaining a target device control instruction and determining target intelligent household equipment to be controlled by the target device control instruction; acquiring the current attribute state of the target intelligent household equipment; performing instruction processing on the target equipment control instruction based on the current attribute state to obtain a final equipment control instruction; and sending a final equipment control instruction to the target intelligent household equipment.
Optionally, the performing instruction processing on the target device control instruction based on the current attribute state to obtain a final device control instruction includes: obtaining a target attribute state in a target device control instruction; under the condition that the target attribute state corresponds to the current attribute state, performing instruction invalidation processing on the target equipment control instruction to obtain a final equipment control instruction; and under the condition that the target attribute state does not correspond to the current attribute state, performing instruction completion processing on the target equipment control instruction to obtain a final equipment control instruction.
Optionally, performing instruction completion processing on the target device control instruction to obtain a final device control instruction includes: searching a basic equipment control instruction related to the target equipment control instruction; and supplementing the basic equipment control instruction into the target equipment control instruction to obtain a final equipment control instruction.
Optionally, the obtaining the target device control instruction includes: obtaining a plurality of initial equipment control instructions; under the condition of mutual exclusion among a plurality of initial equipment control instructions, acquiring the priority of each initial equipment control instruction; and determining the initial equipment control instruction with the highest priority in the plurality of initial equipment control instructions as the target equipment control instruction.
Optionally, obtaining the priority of each initial device control instruction comprises: obtaining the environmental condition of the target intelligent household equipment; and determining the priority of each initial equipment control instruction associated with the environmental condition according to the preset association relation.
Optionally, the obtaining of the current attribute state of the target smart home device includes: receiving the latest attribute state sent by the target intelligent home equipment under the condition that the attribute state changes; and taking the latest attribute state as the current attribute state.
In some embodiments, after obtaining the current attribute state of the target smart home device, the method for controlling the smart home device further includes: obtaining a target attribute state in a target device control instruction; under the condition that the target attribute state corresponds to the current attribute state, acquiring prompt information associated with a target equipment control instruction; and sending prompt information to the source equipment of the target equipment control instruction.
In some embodiments, after obtaining the current attribute state of the target smart home device, the method for controlling the smart home device further includes: obtaining a target attribute state in a target device control instruction; under the condition that the target attribute state corresponds to the current attribute state, other intelligent household equipment except the target intelligent household equipment with the function of executing the control instruction of the target equipment is determined; and sending a target device control instruction to other intelligent household devices.
In some embodiments, an apparatus for controlling smart home devices includes a processor and a memory storing program instructions, the processor being configured to execute the aforementioned method for controlling smart home devices when executing the program instructions.
In some embodiments, the electronic device includes the aforementioned apparatus for controlling a smart home device.
The method, the device and the electronic equipment for controlling the intelligent household equipment provided by the embodiment of the disclosure can realize the following technical effects:
after a target device control instruction is obtained and target intelligent home equipment to be controlled by the target device control instruction is determined, the target device control instruction is subjected to instruction processing based on the current attribute state of the target intelligent home equipment to obtain a final device control instruction, and the final device control instruction is sent to the target intelligent home equipment. Therefore, the target equipment control instruction is processed in advance according to the current attribute state of the intelligent household equipment, and the processed final equipment control instruction is sent to the intelligent household equipment to be executed, so that the success rate of the intelligent household equipment executing the equipment control instruction can be improved, and the control success rate of a scene system is improved.
The foregoing general description and the following description are exemplary and explanatory only and are not restrictive of the application.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the accompanying drawings and not in limitation thereof, in which elements having the same reference numeral designations are shown as like elements and not in limitation thereof, and wherein:
fig. 1 is a schematic flowchart of a method for controlling smart home devices according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a method for controlling smart home devices according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of a method for controlling smart home devices according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an apparatus for controlling smart home devices according to an embodiment of the present disclosure.
Detailed Description
So that the manner in which the features and elements of the disclosed embodiments can be understood in detail, a more particular description of the disclosed embodiments, briefly summarized above, may be had by reference to the embodiments, some of which are illustrated in the appended drawings. In the following description of the technology, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the disclosed embodiments. However, one or more embodiments may be practiced without these details. In other instances, well-known structures and devices may be shown in simplified form in order to simplify the drawing.
The terms "first," "second," and the like in the description and in the claims, and the above-described drawings of embodiments of the present disclosure, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the present disclosure described herein may be made. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions.
The term "plurality" means two or more unless otherwise specified. In the embodiment of the present disclosure, the character "/" indicates that the preceding and following objects are in an or relationship. For example, A/B represents: a or B. The term "and/or" is an associative relationship that describes objects, meaning that three relationships may exist. For example, a and/or B, represents: a or B, or A and B.
The intelligent home is embodied by internet of things, and intelligent home devices (such as audio and video devices, lighting systems, curtain control, air conditioner control, security systems, digital cinema systems, audio and video servers, video cabinet systems, network home appliances and the like) are connected together through the internet of things technology to provide multiple functions and means such as home appliance control, lighting control, telephone remote control, indoor and outdoor remote control, anti-theft alarm, environment monitoring, heating and ventilation control, infrared forwarding, programmable timing control and the like.
The cloud platform is composed of a cloud server carrying cloud platform server side software, a cloud computer carrying cloud platform client side software and a network component and is used for providing cloud services.
The intelligent household equipment is in communication connection with the cloud platform in a wired or wireless mode, and therefore data transmission is achieved. Under the trigger of the smart scene, the cloud platform sends a device control instruction to the smart home devices, and the smart home devices operate according to the device control instruction after receiving the device control instruction, so that the smart home devices are controlled.
Referring to fig. 1, an embodiment of the present disclosure provides a method for controlling smart home devices, which is applied to a cloud platform, and includes the following steps:
and S101, obtaining a target device control instruction and determining target intelligent household equipment to be controlled by the target device control instruction.
When the cloud platform receives an initial equipment control instruction, determining the initial equipment control instruction as a target equipment control instruction; when the cloud platform receives a plurality of initial equipment control instructions, one of the initial equipment control instructions is determined to be a target equipment control instruction from the plurality of initial equipment control instructions. Here, the initial device control instruction is a device control instruction that instructs a source device (e.g., a voice control device) to transmit to the cloud platform. The target equipment control instruction includes target intelligent household equipment to be controlled, for example, when the target equipment control instruction is 'adjust the temperature of the air conditioner to 27 ℃', the target intelligent household equipment is the air conditioner.
And S102, obtaining the current attribute state of the target intelligent household equipment.
And if the attribute state of the intelligent household equipment is the attribute characteristic of the intelligent household equipment in different operation modes, the attribute state of the target intelligent household equipment is the attribute characteristic of the target intelligent household equipment in the current operation mode. For example, when the target smart home device air conditioner is in heating operation, the current attribute state of the air conditioner is acquired as "heating operation at 27 ℃".
Optionally, the obtaining of the current attribute state of the target smart home device includes: receiving the latest attribute state sent by the target intelligent home equipment under the condition that the attribute state changes; and taking the latest attribute state as the current attribute state. The intelligent home equipment monitors the attribute state of the intelligent home equipment in real time, and sends the latest attribute state of the intelligent home equipment to the cloud platform under the condition that the attribute state changes, so that the cloud platform updates data in real time, the data transmission frequency can be reduced, and the accuracy of the attribute state data of the intelligent home equipment stored in the cloud platform can be improved.
And S103, performing instruction processing on the target equipment control instruction based on the current attribute state to obtain a final equipment control instruction.
Optionally, the performing instruction processing on the target device control instruction based on the current attribute state to obtain the final device control instruction includes: obtaining a target attribute state in a target device control instruction; under the condition that the target attribute state corresponds to the current attribute state, performing instruction invalidation processing on the target equipment control instruction to obtain a final equipment control instruction; and under the condition that the target attribute state does not correspond to the current attribute state, performing instruction completion processing on the target equipment control instruction to obtain a final equipment control instruction.
And the target attribute state in the target equipment control instruction is the attribute characteristic of the target intelligent household equipment in the target operation mode. For the device bottom plates of some smart home devices, when the target attribute state corresponds to or is consistent with the current attribute state, the received target device control instruction is considered to be an error instruction, and a corresponding error code is returned to influence the normal execution of the smart scene. In addition, the target device control instruction is usually a final instruction directly issued by the user, and the instruction may cause that the target smart home device cannot execute due to incomplete basic instructions, so that when the target attribute state does not correspond to the current attribute state, instruction completion processing is performed on the target device control instruction in advance to obtain the final device control instruction, and the control success rate of the smart scene is also effectively prevented from being influenced by the target smart home device due to the fact that the target device control instruction cannot be executed correctly.
Optionally, the performing instruction invalidation processing on the target device control instruction to obtain the final device control instruction includes: converting the target equipment control instruction into a corresponding target equipment prompt instruction; and taking the target equipment prompting instruction as a final equipment control instruction.
The intelligent home equipment only receives the prompt type instruction and does not operate according to the instruction, and the target equipment control instruction is converted into the prompt type target equipment prompt instruction, so that the target intelligent home equipment can record data, but the current operation state of the target intelligent home equipment cannot be influenced.
Optionally, performing instruction completion processing on the target device control instruction to obtain a final device control instruction includes: searching a basic equipment control instruction related to the target equipment control instruction; and supplementing the basic equipment control instruction into the target equipment control instruction to obtain a final equipment control instruction.
The basic device control instruction is a precondition instruction condition which needs to be met when the target device control instruction is executed. For example, when the target device control command is "adjust the air conditioner temperature to 27 ℃", it only provides the target temperature of the air conditioner, and the precondition instruction conditions (basic device control command) that the air conditioner needs to satisfy when the target device control command is to be executed include "start-up operation"; a heating mode, supplementing the basic equipment control instruction into a target equipment control instruction to obtain a final equipment control instruction, namely 'starting up operation'; a heating mode; target temperature 27 ℃ ".
In practical application, the cloud platform establishes a function model of the target device control instruction and the basic device control instruction or a corresponding relation table of the target device control instruction and the basic device control instruction, and can determine the basic device control instruction related to the target device control instruction by searching the corresponding function model or the corresponding relation table based on the target device control instruction, so that the target device control instruction is subjected to command completion to obtain a final device control instruction.
S104: and sending a final equipment control instruction to the target intelligent household equipment.
And after the cloud platform obtains the final equipment control instruction, sending the final equipment control instruction to the target intelligent home equipment, and enabling the target intelligent home equipment to execute according to the final equipment control instruction so as to complete the corresponding scene function.
By adopting the method for controlling the intelligent home devices provided by the embodiment of the disclosure, after the target device control instruction is obtained and the target intelligent home device to be controlled by the target device control instruction is determined, the target device control instruction is subjected to instruction processing based on the current attribute state of the target intelligent home device to obtain the final device control instruction, and the final device control instruction is sent to the target intelligent home device. Therefore, the target equipment control instruction is processed in advance according to the current attribute state of the intelligent household equipment, and the processed final equipment control instruction is sent to the intelligent household equipment to be executed, so that the success rate of the intelligent household equipment executing the equipment control instruction can be improved, and the control success rate of a scene system is improved.
In some embodiments, as shown in connection with fig. 2, obtaining the target device control instruction includes the following steps:
s201, obtaining a plurality of initial equipment control instructions.
The initial device control commands may be multiple device control commands that are sent by the command source device within a preset time duration (e.g., 5 seconds), or multiple device control commands that are sent by the command source device at the same time.
S202, under the condition of mutual exclusion among a plurality of initial equipment control instructions, the priority of each initial equipment control instruction is obtained.
For air conditioning, the condition that different operation modes are mutually exclusive exists, for example, the cooling operation mode and the heating operation mode are mutually exclusive, the fresh air operation mode and the cooling operation mode are mutually exclusive, the fresh air operation mode and the heating operation mode are mutually exclusive, and the like. After the target smart home device receives the mutually exclusive plurality of initial device control instructions at the same time, the target smart home device cannot normally operate according to the received plurality of initial device control instructions, and therefore a final target device control instruction needs to be determined from the plurality of initial device control instructions according to the priority of the initial device control instructions.
S203, determining the initial equipment control instruction with the highest priority in the plurality of initial equipment control instructions as the target equipment control instruction.
The initial equipment control instruction with the highest priority is determined from the plurality of initial equipment control instructions to be the target equipment control instruction, so that the success rate of the intelligent home equipment for executing the equipment control instruction is improved, and the control success rate of the scene system is improved.
Optionally, obtaining the priority of each initial device control instruction comprises: obtaining the environmental condition of the target intelligent household equipment; and determining the priority of each initial equipment control instruction associated with the environmental condition according to the preset association relation.
The environment conditions of the target intelligent household equipment comprise the temperature, the humidity, the particle size and the like of the environment of the target intelligent household equipment. Table 1 below shows a preset association table of alternative environmental conditions and priorities of initial device control commands:
table 1: preset association table
Figure BDA0002845193480000081
In the preset association table, the initial device control instruction 1 may be "adjust the temperature of the air conditioner to 27 ℃", the initial device control instruction 2 may be "operate the fresh air for 10 min", and the initial device control instruction 3 may be "adjust the temperature of the air conditioner to 22 ℃". When the temperature of the environment where the target intelligent household equipment is located is 9 ℃, the humidity is 80% and the particle size of the particulate matter is 3 micrometers (microns), according to the preset association table, the priority of the initial equipment control instruction 1 is 1, the priority of the initial equipment control instruction 2 is 2, and the priority of the initial equipment control instruction 3 is 3, so that the initial equipment control instruction 1 is determined to be the target equipment control instruction.
The priority of the initial equipment control instruction is determined according to the environment condition of the target intelligent household equipment, environment adjustment can be better carried out according to the emergency degree of the actual adjustment requirement of the current environment, and the use experience of a user is improved.
In the embodiment of the disclosure, under the condition of mutual exclusion among a plurality of initial device control instructions, one initial device control instruction is determined as a target device control instruction from the plurality of initial device control instructions according to the priority of each initial device control instruction, so that the situation that the target smart home device cannot normally operate according to the received plurality of initial device control instructions when receiving the mutually exclusive plurality of initial device control instructions at the same time is avoided, the success rate of executing the device control instruction by the smart home device can be improved, and the control success rate of the scene system is improved.
In some embodiments, after obtaining the current attribute state of the target smart home device, the method for controlling the smart home device further includes: obtaining a target attribute state in a target device control instruction; under the condition that the target attribute state corresponds to the current attribute state, acquiring prompt information associated with a target equipment control instruction; and sending prompt information to the source equipment of the target equipment control instruction.
In practical application, the cloud platform establishes an incidence relation table of the target equipment control instruction and the prompt information, and based on the target equipment control instruction, the prompt information associated with the target equipment control instruction can be determined by searching the corresponding incidence relation table. For example, when the target device control command is "adjust the air conditioner temperature to 27 ℃", it is determined that the prompt information associated with the target device control command is "the air conditioner is already in heating operation at 27 ℃" by looking up the corresponding association table. Under the condition that the target attribute state corresponds to the current attribute state, prompt information is sent to source equipment of a target equipment control instruction, so that a user can know the control condition of the current intelligent scene in time, and the user experience is improved.
In some embodiments, after obtaining the current attribute state of the target smart home device, the method for controlling the smart home device further includes: obtaining a target attribute state in a target device control instruction; under the condition that the target attribute state corresponds to the current attribute state, other intelligent household equipment except the target intelligent household equipment with the function of executing the control instruction of the target equipment is determined; and sending a target device control instruction to other intelligent household devices.
In practical applications, the other smart home devices are other smart home devices having a function of executing a target device control instruction, except for the target smart home device, for example, when the target device control instruction is a cooling operation, the other smart home devices having a cooling function except for an air conditioner (target smart home device) include devices such as a fan and an air conditioning fan. Under the condition that the target attribute state corresponds to the current attribute state, the refrigeration efficiency of the air conditioner at the moment is shown to not meet the refrigeration requirement of the user, and therefore a refrigeration operation instruction is sent to other intelligent household equipment such as a fan and an air conditioner fan which have the same refrigeration function, so that the other intelligent household equipment can perform refrigeration operation in parallel, the refrigeration regulation of the environment where the user is located is accelerated, the environment where the user is located can meet the refrigeration requirement of the user as soon as possible, and the user experience is better improved.
In some practical applications, as shown in fig. 3, the method for controlling the smart home device includes the following steps:
s301: the command source device obtains a target device control command.
S302: and the instruction source equipment sends a target equipment control instruction to the cloud platform.
S303: the cloud platform receives a target device control instruction sent by the instruction source device.
S304: the cloud platform determines target intelligent household equipment to be controlled by the target equipment control command.
S305: and the target intelligent household equipment obtains the attribute state.
S306: and the target intelligent household equipment judges whether the attribute state changes.
S307: and the target intelligent household equipment sends the latest attribute state to the cloud platform under the condition that the attribute state changes.
S308: and the cloud platform receives the latest attribute state sent by the target intelligent household equipment.
S309: and the cloud platform takes the latest attribute state as the current attribute state of the target intelligent household equipment.
S310: and the cloud platform performs instruction processing on the target equipment control instruction based on the current attribute state to obtain a final equipment control instruction.
S311: and the cloud platform sends a final equipment control instruction to the target intelligent household equipment.
S312: and the target intelligent household equipment receives the final equipment control instruction sent by the cloud platform and executes the final equipment control instruction.
S313: and the cloud platform acquires the target attribute state in the target equipment control instruction.
S314: and the cloud platform judges whether the target attribute state corresponds to the current attribute state.
S315: and the cloud platform acquires prompt information associated with the target equipment control instruction under the condition that the target attribute state corresponds to the current attribute state.
S316: and the cloud platform sends prompt information to the instruction source equipment.
S317: and the instruction source equipment receives prompt information sent by the cloud platform and displays the prompt information.
S318: and under the condition that the target attribute state corresponds to the current attribute state, the cloud platform determines other intelligent household equipment except the target intelligent household equipment and having the function of executing the control instruction of the target equipment.
S319: and the cloud platform sends a target device control instruction to other intelligent household devices.
S320: and other intelligent household equipment receives the target equipment control instruction sent by the cloud platform and executes the target equipment control instruction.
By adopting the method for controlling the intelligent household equipment provided by the embodiment of the disclosure, on one hand, the target equipment control instruction is subjected to instruction processing in advance according to the current attribute state of the intelligent household equipment, and then the processed final equipment control instruction is sent to the intelligent household equipment for execution, so that the success rate of the intelligent household equipment for executing the equipment control instruction can be improved, and the control success rate of a scene system is improved; on the other hand, under the condition that the target attribute state corresponds to the current attribute state, the cloud platform sends prompt information associated with the target equipment control instruction to the instruction source equipment to remind the user of the execution state of the current smart scene, and sends the target equipment control instruction to other smart home equipment except the target smart home equipment, wherein the other smart home equipment has the function of executing the target equipment control instruction, so that the current environment can quickly meet the adjustment requirement of the user, and the use experience of the user can be better improved.
The embodiment of the present disclosure shown in fig. 4 provides an apparatus for controlling a smart home device, which includes a processor (processor)40 and a memory (memory)41, and may further include a Communication Interface (Communication Interface)42 and a bus 43. The processor 40, the communication interface 42 and the memory 41 can communicate with each other through the bus 43. Communication interface 42 may be used for information transfer. The processor 40 may call the logic instructions in the memory 41 to execute the method for controlling the smart home device of the above embodiment.
In addition, the logic instructions in the memory 41 may be implemented in the form of software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products.
The memory 41 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, such as program instructions/modules corresponding to the methods in the embodiments of the present disclosure. The processor 40 executes the functional application and data processing by executing the program instructions/modules stored in the memory 41, that is, implements the method for controlling the smart home device in the above method embodiment.
The memory 41 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal device, and the like. Further, the memory 41 may include a high-speed random access memory, and may also include a nonvolatile memory.
Optionally, the method for controlling the smart home device includes: obtaining a target device control instruction and determining target intelligent home equipment controlled by the target device control instruction; obtaining the current attribute state of the target intelligent household equipment; performing instruction processing on the target equipment control instruction based on the current attribute state to obtain a final equipment control instruction; and sending the final equipment control instruction to the target intelligent household equipment.
By adopting the device for controlling the intelligent home equipment provided by the embodiment of the disclosure, after the target equipment control instruction is obtained and the target intelligent home equipment to be controlled by the target equipment control instruction is determined, the target equipment control instruction is subjected to instruction processing based on the current attribute state of the target intelligent home equipment to obtain the final equipment control instruction, and the final equipment control instruction is sent to the target intelligent home equipment. Therefore, the target equipment control instruction is processed in advance according to the current attribute state of the intelligent household equipment, and the processed final equipment control instruction is sent to the intelligent household equipment to be executed, so that the success rate of the intelligent household equipment executing the equipment control instruction can be improved, and the control success rate of a scene system is improved.
The embodiment of the disclosure provides an electronic device, which comprises the device for controlling the intelligent household equipment.
The embodiment of the disclosure provides a computer-readable storage medium, which stores computer-executable instructions configured to execute the method for controlling smart home devices.
The embodiment of the present disclosure provides a computer program product, which includes a computer program stored on a computer-readable storage medium, where the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes the method for controlling smart home devices.
The computer-readable storage medium described above may be a transitory computer-readable storage medium or a non-transitory computer-readable storage medium.
The technical solution of the embodiments of the present disclosure may be embodied in the form of a software product, where the computer software product is stored in a storage medium and includes one or more instructions to enable a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method of the embodiments of the present disclosure. And the aforementioned storage medium may be a non-transitory storage medium comprising: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes, and may also be a transient storage medium.
The above description and drawings sufficiently illustrate embodiments of the disclosure to enable those skilled in the art to practice them. Other embodiments may incorporate structural, logical, electrical, process, and other changes. The examples merely typify possible variations. Individual components and functions are optional unless explicitly required, and the sequence of operations may vary. Portions and features of some embodiments may be included in or substituted for those of others. The scope of the disclosed embodiments includes the full ambit of the claims, as well as all available equivalents of the claims. As used in this application, although the terms "first," "second," etc. may be used in this application to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, provided that all occurrences of the first element are renamed consistently and all occurrences of the second element are renamed consistently, without changing the meaning of the description. The first and second elements are both elements, but may not be the same element. Furthermore, the words used in the specification are words of description only and are not intended to limit the claims. As used in the description of the embodiments and the claims, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. Similarly, the term "and/or" as used in this application is meant to encompass any and all possible combinations of one or more of the associated listed. Furthermore, the terms "comprises" and/or "comprising," when used in this application, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method or apparatus that comprises the element. In this document, each embodiment may be described with emphasis on differences from other embodiments, and the same and similar parts between the respective embodiments may be referred to each other. For methods, products, etc. of the embodiment disclosures, reference may be made to the description of the method section for relevance if it corresponds to the method section of the embodiment disclosure.
Those of skill in the art would appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software may depend upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments. It can be clearly understood by the skilled person that, for convenience and brevity of description, the specific working processes of the system, the apparatus and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments disclosed herein, the disclosed methods, products (including but not limited to devices, apparatuses, etc.) may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units may be merely a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form. The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to implement the present embodiment. In addition, functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. In the description corresponding to the flowcharts and block diagrams in the figures, operations or steps corresponding to different blocks may also occur in different orders than disclosed in the description, and sometimes there is no specific order between the different operations or steps. For example, two sequential operations or steps may in fact be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. Each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

Claims (9)

1. A method for controlling smart home devices, comprising:
obtaining a target device control instruction and determining target intelligent home equipment controlled by the target device control instruction;
obtaining the current attribute state of the target intelligent household equipment;
performing instruction processing on the target equipment control instruction based on the current attribute state to obtain a final equipment control instruction;
sending the final equipment control instruction to the target intelligent household equipment;
wherein the performing instruction processing on the target device control instruction based on the current attribute state to obtain a final device control instruction includes:
obtaining a target attribute state in the target equipment control instruction;
under the condition that the target attribute state corresponds to the current attribute state, performing instruction invalidation processing on the target equipment control instruction to obtain the final equipment control instruction;
and under the condition that the target attribute state does not correspond to the current attribute state, performing instruction completion processing on the target equipment control instruction to obtain the final equipment control instruction.
2. The method of claim 1, wherein the performing command completion processing on the target device control command to obtain the final device control command comprises:
searching a basic equipment control instruction related to the target equipment control instruction;
and supplementing the basic equipment control instruction into the target equipment control instruction to obtain the final equipment control instruction.
3. The method of claim 1, wherein obtaining the target device control instruction comprises:
obtaining a plurality of initial equipment control instructions;
under the condition of mutual exclusion among the plurality of initial equipment control instructions, acquiring the priority of each initial equipment control instruction;
and determining the initial equipment control instruction with the highest priority in the plurality of initial equipment control instructions as the target equipment control instruction.
4. The method of claim 3, wherein obtaining the priority of each initial device control instruction comprises:
obtaining the environmental condition of the target intelligent household equipment;
and determining the priority of each initial equipment control instruction associated with the environmental condition according to a preset association relation.
5. The method according to claim 1, wherein the obtaining the current attribute state of the target smart home device comprises:
receiving the latest attribute state sent by the target intelligent household equipment under the condition that the attribute state changes;
and taking the latest attribute state as the current attribute state.
6. The method according to any one of claims 1 to 5, wherein after obtaining the current attribute state of the target smart home device, the method further comprises:
obtaining a target attribute state in the target equipment control instruction;
under the condition that the target attribute state corresponds to the current attribute state, obtaining prompt information associated with the target equipment control instruction;
and sending the prompt information to the source equipment of the target equipment control instruction.
7. The method according to any one of claims 1 to 5, wherein after obtaining the current attribute state of the target smart home device, the method further comprises:
obtaining a target attribute state in the target equipment control instruction;
under the condition that the target attribute state corresponds to the current attribute state, determining other intelligent household equipment except the target intelligent household equipment and having the function of executing the target equipment control instruction;
and sending the target equipment control instruction to the other intelligent household equipment.
8. An apparatus for controlling smart home devices, comprising a processor and a memory storing program instructions, wherein the processor is configured to perform a method for controlling smart home devices according to any one of claims 1 to 7 when executing the program instructions.
9. An electronic device, characterized by comprising the apparatus for controlling a smart home device according to claim 8.
CN202011506928.9A 2020-12-18 2020-12-18 Method and device for controlling intelligent household equipment and electronic equipment Active CN112526892B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011506928.9A CN112526892B (en) 2020-12-18 2020-12-18 Method and device for controlling intelligent household equipment and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011506928.9A CN112526892B (en) 2020-12-18 2020-12-18 Method and device for controlling intelligent household equipment and electronic equipment

Publications (2)

Publication Number Publication Date
CN112526892A CN112526892A (en) 2021-03-19
CN112526892B true CN112526892B (en) 2022-08-05

Family

ID=75001853

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011506928.9A Active CN112526892B (en) 2020-12-18 2020-12-18 Method and device for controlling intelligent household equipment and electronic equipment

Country Status (1)

Country Link
CN (1) CN112526892B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113341738A (en) * 2021-05-24 2021-09-03 青岛海尔空调器有限总公司 Method, device and equipment for controlling household appliance
CN113485134A (en) * 2021-06-25 2021-10-08 青岛海尔科技有限公司 Device control method and apparatus, storage medium, and electronic device
CN113965429B (en) * 2021-10-18 2024-02-09 珠海格力电器股份有限公司 Equipment linkage method and device, electronic equipment and storage medium
CN114019817A (en) * 2021-11-16 2022-02-08 青岛海尔科技有限公司 Control method and control device of intelligent household equipment and Internet of things system
CN117490210A (en) * 2022-07-20 2024-02-02 青岛海尔空调器有限总公司 Method and device for controlling air conditioner, air conditioner and storage medium

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105182766A (en) * 2015-08-12 2015-12-23 小米科技有限责任公司 Equipment control method and apparatus
CN105388779A (en) * 2015-12-25 2016-03-09 小米科技有限责任公司 Control method and device for intelligent equipment
CN105607611A (en) * 2016-03-24 2016-05-25 珠海迈科智能科技股份有限公司 Control method for smart home system
CN106408913B (en) * 2016-09-22 2019-06-18 纳恩博(北京)科技有限公司 Apparatus control method and mobile control device
CN108154036B (en) * 2018-01-23 2021-07-16 青岛海信移动通信技术股份有限公司 Control method and control device of intelligent equipment
CN108549246B (en) * 2018-05-16 2022-01-25 海尔优家智能科技(北京)有限公司 Method, device and equipment for controlling running state of household appliance and readable storage medium
CN110398947A (en) * 2019-08-23 2019-11-01 珠海格力电器股份有限公司 The control method and device of smart home device
CN110545222A (en) * 2019-08-23 2019-12-06 珠海格力电器股份有限公司 Method and device for controlling equipment, computing equipment and storage medium
CN110493091A (en) * 2019-08-26 2019-11-22 珠海格力电器股份有限公司 A kind of control method and device of smart home device
CN111025921A (en) * 2019-11-18 2020-04-17 北京小米移动软件有限公司 Local automation control method, local automation control device and electronic equipment

Also Published As

Publication number Publication date
CN112526892A (en) 2021-03-19

Similar Documents

Publication Publication Date Title
CN112526892B (en) Method and device for controlling intelligent household equipment and electronic equipment
EP3016318B1 (en) Method and apparatus for customizing scene mode of intelligent device
CN111522251A (en) Linkage control method and device and computer readable storage medium
CN113110147B (en) Method and device for cross-platform linkage of intelligent equipment, equipment and storage medium
WO2018145641A1 (en) Control method, apparatus and system
CN109032039A (en) A kind of method and device of voice control
CN108306796B (en) Intelligent home system, and information processing method and device of intelligent home equipment
CN105652836A (en) Method and device for controlling electrical appliance
CN111552195A (en) Control method and device of intelligent household equipment
US20160202676A1 (en) Apparatus controller and apparatus control method
WO2022247373A1 (en) Method and apparatus for controlling home appliance, and appliance
CN113405249B (en) Control method and device for air conditioner, air conditioner and storage medium
CN110864406A (en) Intelligent air conditioner and intelligent air conditioner control method
CN114721284A (en) Intelligent home management system based on Internet of things
CN113329241A (en) Air conditioner and method and device for multimedia playing in air conditioner
CN113436631A (en) Voice information processing method and system and device for voice information processing
CN113311719A (en) Method, system and device for controlling household appliance and electronic equipment
WO2023185397A1 (en) Air conditioner control method and apparatus, electronic device and storage medium
CN110830335A (en) Intelligent device association method and device, mobile terminal and intelligent device
CN115499259A (en) Method and device for controlling household appliance, gateway air conditioner and storage medium
CN110657556A (en) Method for controlling remote controller and remote controller
CN113380245B (en) Information processing method, device and system
CN112594905B (en) Smart home control method and device and air conditioner
CN115614964A (en) Method and device for regulating oxygen concentration, electronic equipment and storage medium
CN113932387A (en) Method and device for controlling air conditioner and air conditioner

Legal Events

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