CN107390598B - Device control method, electronic device, and computer-readable storage medium - Google Patents

Device control method, electronic device, and computer-readable storage medium Download PDF

Info

Publication number
CN107390598B
CN107390598B CN201710778328.XA CN201710778328A CN107390598B CN 107390598 B CN107390598 B CN 107390598B CN 201710778328 A CN201710778328 A CN 201710778328A CN 107390598 B CN107390598 B CN 107390598B
Authority
CN
China
Prior art keywords
control
equipment
information
control instruction
input type
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
CN201710778328.XA
Other languages
Chinese (zh)
Other versions
CN107390598A (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.)
Midea Group Co Ltd
GD Midea Air Conditioning Equipment Co Ltd
Original Assignee
Midea Group Co Ltd
GD Midea Air Conditioning Equipment 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 Midea Group Co Ltd, GD Midea Air Conditioning Equipment Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201710778328.XA priority Critical patent/CN107390598B/en
Publication of CN107390598A publication Critical patent/CN107390598A/en
Application granted granted Critical
Publication of CN107390598B publication Critical patent/CN107390598B/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
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • 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/25Pc structure of the system
    • G05B2219/25257Microcontroller

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Selective Calling Equipment (AREA)
  • Air Conditioning Control Device (AREA)

Abstract

The invention discloses a device control method, which comprises the following steps: when a control instruction of equipment is received, determining an input type of the control instruction; determining the equipment information which needs to be controlled and corresponds to the input type; and sending the control instruction to equipment corresponding to the equipment information so as to control the equipment to execute response operation corresponding to the control instruction. The invention also discloses an electronic device and a computer readable storage medium. According to the invention, the input types of the control instructions are divided, the control instructions of different input types correspond to different devices, and the device control is distinguished at the input source of the control instructions, so that the situation that the same control instruction cannot identify the devices for control is avoided, and the identification rate and accuracy of the device control are improved.

Description

Device control method, electronic device, and computer-readable storage medium
Technical Field
The present invention relates to the field of device technologies, and in particular, to a device control method, an electronic device, and a computer-readable storage medium.
Background
At present, the control of household electrical appliances includes speech control, remote controller control and cell-phone APP control, if household electrical appliances all have speech control, say out pronunciation "open" back at the user, do not know whether open air conditioner or fan or other household electrical appliances for household electrical appliances control recognition rate is low and the degree of accuracy is poor.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a device control method, electronic equipment and a computer readable storage medium, and aims to solve the problems of low control recognition rate and poor accuracy of the existing household appliance.
In order to achieve the above object, the present invention provides an apparatus control method, including the steps of:
when a control instruction of equipment is received, determining an input type of the control instruction;
determining the equipment information which needs to be controlled and corresponds to the input type;
and sending the control instruction to equipment corresponding to the equipment information so as to control the equipment to execute response operation corresponding to the control instruction.
Optionally, the step of determining the device information required to be controlled corresponding to the input type includes:
when the input type is text data, determining that the equipment which is required to be controlled and corresponds to the input type is a refrigerator;
when the input type is voice data, determining that the equipment which is corresponding to the input type and needs to be controlled is an air conditioner;
and when the input type is image data, determining that the device which is corresponding to the input type and needs to be controlled is a dehumidifier.
Optionally, the step of determining the device information required to be controlled corresponding to the input type includes:
acquiring user identification information corresponding to the control instruction, and identifying the user identity according to the user identification information;
determining an equipment information identification rule corresponding to the user identity;
and determining the equipment information which is required to be controlled and corresponds to the input type according to the equipment identification rule determined by the user identity.
Optionally, the step of determining the device information required to be controlled corresponding to the input type includes:
acquiring environmental information of a space required to be controlled;
determining a device identification rule corresponding to the environment information;
and determining the equipment information which is required to be controlled and corresponds to the input type according to the equipment identification rule determined by the environment information.
Optionally, after the step of sending the control instruction to the device corresponding to the device information to control the device to perform the response operation corresponding to the control instruction, the method further includes:
when control instructions of other input types are received within preset time, converting the control instructions of the other input types into control instructions of the current input type;
sending the converted control instruction to equipment corresponding to the equipment information; alternatively, the first and second electrodes may be,
and when receiving control instructions of other input types within preset time, sending the control instructions of the other input types to the equipment corresponding to the equipment information.
Optionally, after the step of determining the device information to be controlled corresponding to the input type, the method further includes:
acquiring the running state and/or running environment information of the household appliance corresponding to the determined equipment information;
correcting the control instruction according to the acquired running state and/or running environment information;
and sending the corrected control instruction to the equipment corresponding to the equipment information so as to control the equipment to execute response operation corresponding to the control instruction.
Optionally, the method further comprises:
and when the single equipment control is currently set, sending the received control instruction to the set equipment so as to control the set equipment to operate.
Optionally, after the step of determining the device information to be controlled corresponding to the input type, the method further includes:
and when the equipment corresponding to the equipment information is not started and the current control instruction is not a starting instruction, sending the control instruction to the previous controlled equipment so as to control the previous controlled equipment to finish corresponding operation corresponding to the control instruction.
In addition, to achieve the above object, the present invention also provides an electronic device including: a memory, a processor and a device control program stored on the memory and executable on the processor, the device control program when executed by the processor implementing the device control method as described above.
Further, to achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a device control program which, when executed by a processor, implements the device control method as described above.
According to the invention, the input types of the control instructions are divided, the control instructions of different input types correspond to different devices, and the device control is distinguished at the input source of the control instructions, so that the situation that the same control instruction cannot identify the devices for control is avoided, and the identification rate and accuracy of the device control are improved.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a first embodiment of the apparatus control method of the present invention;
FIG. 3 is a flowchart illustrating a process of determining device information corresponding to an input type according to an embodiment of the present invention;
FIG. 4 is a schematic flow chart illustrating a process of determining device information corresponding to an input type according to another embodiment of the present invention;
FIG. 5 is a flowchart illustrating a control method of an apparatus according to a second embodiment of the present invention;
fig. 6 is a flowchart illustrating a control method of an apparatus according to a third embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the invention is as follows: when a control instruction of equipment is received, determining an input type of the control instruction; determining the equipment information which needs to be controlled and corresponds to the input type; and sending the control instruction to equipment corresponding to the equipment information so as to control the equipment to execute response operation corresponding to the control instruction.
The problems of low control recognition rate and poor accuracy of the current household appliances are solved. The invention provides a solution, which divides the input types of the control instructions, the control instructions of different input types correspond to different devices, and the device control is divided at the input source of the control instructions, so that the situation that the same control instruction cannot identify the devices for control is avoided, and the identification rate and the accuracy of the device control are improved.
As shown in fig. 1, fig. 1 is a schematic structural diagram of an electronic device in a hardware operating environment according to an embodiment of the present invention.
The electronic equipment in the embodiment of the invention can be equipment which can be controlled by an air conditioner, wind speed and the like, and can also be control equipment such as a PC, a smart phone, a tablet personal computer, a portable computer, a remote controller and the like.
As shown in fig. 1, the electronic device may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the electronic device may further include a camera, RF (Radio Frequency) circuitry, sensors, audio circuitry, a WiFi module, an anemometer, and so forth. Such as image sensors, infrared sensors, and other sensors. Specifically, the image sensor or the infrared sensor can detect the position of a user in the space acted by the air conditioner, and the rotating speed of the indoor fan of the air conditioner is controlled through the position. The wind speed measuring instrument is used for measuring the wind speed of the position where a user is located, and the wind speeds of different positions are different. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the motion sensor is stationary, and can be used for applications of recognizing the posture of electronic equipment (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping) and the like; of course, the electronic device may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, a temperature sensor, and a holman sensor, which are not described herein again.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, the memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a device control application program.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to invoke a device control application stored in the memory 1005 and perform the following operations:
when a control instruction of equipment is received, determining an input type of the control instruction;
determining the equipment information which needs to be controlled and corresponds to the input type;
and sending the control instruction to equipment corresponding to the equipment information so as to control the equipment to execute response operation corresponding to the control instruction.
Further, the processor 1001 may be configured to invoke a device control application stored in the memory 1005 and perform the following operations:
when the input type is text data, determining that the equipment which is required to be controlled and corresponds to the input type is a refrigerator;
when the input type is voice data, determining that the equipment which is corresponding to the input type and needs to be controlled is an air conditioner;
and when the input type is image data, determining that the device which is corresponding to the input type and needs to be controlled is a dehumidifier.
Further, the processor 1001 may be configured to invoke a device control application stored in the memory 1005 and perform the following operations:
acquiring user identification information corresponding to the control instruction, and identifying the user identity according to the user identification information;
determining an equipment information identification rule corresponding to the user identity;
and determining the equipment information which is required to be controlled and corresponds to the input type according to the equipment identification rule determined by the user identity.
Further, the processor 1001 may be configured to invoke a device control application stored in the memory 1005 and perform the following operations:
acquiring environmental information of a space required to be controlled;
determining a device identification rule corresponding to the environment information;
and determining the equipment information which is required to be controlled and corresponds to the input type according to the equipment identification rule determined by the environment information.
Further, after the step of sending the control instruction to the device corresponding to the device information to control the device to perform the response operation corresponding to the control instruction, the processor 1001 may be configured to call the device control application stored in the memory 1005, and perform the following operations:
when control instructions of other input types are received within preset time, converting the control instructions of the other input types into control instructions of the current input type;
sending the converted control instruction to equipment corresponding to the equipment information; alternatively, the first and second electrodes may be,
and when receiving control instructions of other input types within preset time, sending the control instructions to equipment corresponding to the equipment information.
Further, after the step of determining the device information required to be controlled corresponding to the input type, the processor 1001 may be configured to call a device control application stored in the memory 1005, and perform the following operations:
acquiring the running state and/or running environment information of the household appliance corresponding to the determined equipment information;
correcting the control instruction according to the acquired running state and/or running environment information;
and sending the corrected control instruction to the equipment corresponding to the equipment information so as to control the equipment to execute response operation corresponding to the control instruction.
Further, the processor 1001 may be configured to invoke a device control application stored in the memory 1005 and perform the following operations:
and when the single equipment control is currently set, sending the received control instruction to the set equipment so as to control the set equipment to operate.
Further, after the step of determining the device information required to be controlled corresponding to the input type, the processor 1001 may be configured to call a device control application stored in the memory 1005, and perform the following operations:
and when the equipment corresponding to the equipment information is not started and the current control instruction is not a starting instruction, sending the control instruction to the previous controlled equipment so as to control the previous controlled equipment to finish corresponding operation corresponding to the control instruction.
Referring to fig. 2, a first embodiment of the present invention provides an apparatus control method including:
step S10, when a control instruction of the equipment is received, determining the input type of the control instruction;
in this embodiment, the devices include home appliances such as an air conditioner, a television, and a refrigerator, entertainment devices such as a mobile phone and a pad, and other devices that can be controlled.
When the user needs to control the devices, a control instruction is issued, for example, by voice, text, or image.
The control device receives a control instruction of the device, and when the control instruction of the device is received, determines an input type of the control instruction, wherein the input type is determined according to a format of the control instruction input, for example, a voice data input type, a text data input type, an image data input type, a video image data input type, a code input type, and other input types.
The control equipment prestores different input types in advance, extracts input information when receiving a control instruction of the equipment, matches the input information according to the input information and the prestored input types, and matches the input type of the control instruction.
Step S20, determining the device information needed to be controlled corresponding to the input type;
the control device prestores device information corresponding to different input types, namely, the different input types correspond to different devices, and after the input type of the control instruction is determined, the control device determines the device information which needs to be controlled and corresponds to the input type. Specifically, the step of determining the device information to be controlled corresponding to the input type includes: when the input type is text data, determining that the equipment which is required to be controlled and corresponds to the input type is a refrigerator; when the input type is voice data, determining that the equipment which is corresponding to the input type and needs to be controlled is an air conditioner; and when the input type is image data, determining that the device which is corresponding to the input type and needs to be controlled is a dehumidifier. Or in another embodiment of the present invention, when the input type is text data, determining that the device to be controlled corresponding to the input type is a range hood; when the input type is voice data, determining that the equipment which is corresponding to the input type and needs to be controlled is a washing machine; and when the input type is image data, determining that the equipment needing to be controlled corresponding to the input type is an air purifier. Or in another embodiment of the present invention, when the input type is text data, determining that the device to be controlled corresponding to the input type is a television; when the input type is voice data, determining that the equipment which is required to be controlled and corresponds to the input type is a notebook computer; and when the input type is image data, determining the device needing to be controlled corresponding to the input type as pad. The input types are set according to requirements corresponding to different devices, and can be distinguished according to historical habits or set priorities or seasons when a plurality of devices correspond to one input type, for example, an air conditioner and a washing machine correspond to voice, and the air conditioner is started at morning or evening when a starting instruction is related to the air conditioner, and the air conditioner is started at other time (set according to different use habits). For another example, both the air conditioner and the washing machine correspond to voices, and the air conditioner has a higher priority than the washing machine. For another example, both the air conditioner and the washing machine correspond to voice, the air conditioner in summer and the washing machine in winter. The user can modify and update the corresponding relation between the input type and the equipment according to the requirement.
It is understood that the device information corresponding to the input type described above is only an exemplary description, and any other corresponding relationship between the input type and the device information included in the scope of the present embodiment is within the scope of the present invention, and the corresponding relationship is set according to the user requirement.
And step S30, sending the control instruction to the equipment corresponding to the equipment information so as to control the equipment to execute response operation corresponding to the control instruction.
After the device information is determined, the control device sends the control instruction to the device corresponding to the device information so as to control the device to execute response operation corresponding to the control instruction. For example, a response operation such as turning on the air conditioner or adjusting the set temperature of the air conditioner is completed.
In the embodiment, the input types of the control instructions are divided, the control instructions of different input types correspond to different devices, and device control is distinguished at the input source of the control instructions, so that the situation that the same control instruction cannot identify the devices for control is avoided, and the identification rate and accuracy of device control are improved.
Referring to fig. 3, in a preferred embodiment of the present invention, in order to further improve the accuracy of the device control, the step of determining the device information required to be controlled corresponding to the input type includes:
step S21, obtaining user identification information corresponding to the control instruction, and identifying the user identity according to the user identification information;
step S22, determining the device information identification rule corresponding to the user identity;
and step S23, determining the device information required to be controlled corresponding to the input type according to the device identification rule determined by the user identity.
In this embodiment, different users have different control habits, and after receiving a control instruction, information representing the user identity is extracted from the control instruction to identify the user identity, for example, the user identity is identified in a voiceprint manner, or the user identity is identified by directly extracting the content of the user identity from the text data and the image data. After the user identity is identified, an equipment information identification rule corresponding to the user identity is searched, for example, the rule of the user identity a is as follows: the input type of a corresponds to an air conditioner, the input type of b corresponds to a refrigerator, and the input type of c corresponds to a television; and the identification rule of the B user is as follows: the input type a corresponds to a refrigerator, the input type b corresponds to a television, and the input type c corresponds to an air conditioner. Different equipment information identification rules are determined through different user identities, not all users correspond to the same identification rule, personalized setting of equipment control is improved, different identification rules are set through different users, misoperation of equipment control is avoided, and accuracy of equipment control is improved.
In an embodiment of the present invention, referring to fig. 4, in order to further improve the accuracy of device control, the step of determining the device information required to be controlled corresponding to the input type includes:
step S24, obtaining environmental information of the control space;
step S25, determining a device identification rule corresponding to the environment information;
and step S26, determining the device information which needs to be controlled and corresponds to the input type according to the device identification rule determined by the environment information.
The present embodiment is different from the above embodiments in that the environment information is different and the identification rule is different, and the present embodiment can be used separately from the user identity or used in combination with the user identity. The environment information comprises information such as seasons, regions, day and night, different environment information corresponds to different equipment identification rules, so that the corresponding relation between the equipment information to be controlled under the current environment and the input type is set, resource waste is avoided, the identification rules correspond to the environment information, equipment identification is more accurate, and equipment control accuracy is improved.
Referring to fig. 5, in a preferred embodiment of the present invention, after the step of sending the control instruction to the device corresponding to the device information to control the device to perform the response operation corresponding to the control instruction, the method further includes:
step S40, when receiving control instructions of other input types within a preset time, converting the control instructions of other input types into the control instructions of the current input type;
and step S50, transmitting the converted control command to the equipment corresponding to the equipment information.
In this embodiment, after controlling the corresponding device according to the input type of the control instruction, there may be a case where the user continuously controls the device, and may be controlled by other users, and other users may not know the control rule, and set a preset time, where the preset time may be 30s or 20s, etc., and when receiving the control instruction of other input type within the preset time according to the user requirement setting, default to the control of the previously controlled device, and convert the control instruction of other input type into the control instruction of the current input type; sending the converted control instruction to equipment corresponding to the equipment information; and when the preset time is exceeded, finding out the corresponding equipment according to the rule of the input type for control. Optionally, when the control instruction of the other input type is received within the preset time, the received control instruction of the other input type may be directly sent to the device corresponding to the device information without performing input type conversion, so as to control the device corresponding to the device information. This embodiment has guaranteed the continuous control to same equipment, has improved user's comfort level. In an embodiment of the present invention, when the device corresponding to the device information is not turned on and the current control instruction is not the turn-on instruction, the control instruction is sent to the previously controlled device to control the previously controlled device to complete the corresponding operation corresponding to the control instruction.
Further, in an embodiment, in order to accurately control the device, referring to fig. 6, after the step of determining the device information required to be controlled corresponding to the input type, the method further includes:
step S60, obtaining the running state and/or running environment information of the appliance corresponding to the determined equipment information;
step S70, correcting the control instruction according to the acquired running state and/or running environment information;
and step S80, sending the corrected control instruction to the equipment corresponding to the equipment information so as to control the equipment to execute response operation corresponding to the control instruction.
The device takes an air conditioner as an example, and the process of correcting the control command comprises the following steps: 1) when a control instruction which is sent by the user and works in a specified operation mode is identified, correcting the control instruction according to the operation environment to obtain the current environment temperature; and correcting the specified operation mode according to the operation mode corresponding to the temperature interval where the current environment temperature is located to obtain the corrected operation mode. Typically, a user will use the cooling mode when the current ambient temperature is greater than 26 degrees, and the heating mode when the current ambient temperature is less than 18 degrees, for example. Through mode correction, the instant control instruction has errors, and the normal control of the air conditioner cannot be influenced.
2) When a plurality of target adjusting temperatures are identified according to the control instruction sent by the user, the control instruction is corrected according to the running state and the running environment as follows: the method comprises the steps of obtaining the running time length of the air conditioner and the current environment temperature, selecting a target adjusting temperature of the multiple target adjusting temperatures, wherein the difference value of the target adjusting temperature and the current environment temperature is within a first preset range, as a corrected target adjusting temperature, when the running time length is larger than or equal to a preset time length, and selecting a target adjusting temperature of the multiple target adjusting temperatures, wherein the difference value of the target adjusting temperature and the current environment temperature is within a second preset range, as a corrected target adjusting temperature, when the running time length is smaller than the preset time length. In general, when the operation time of the air conditioner is short, the difference between the target adjustment temperature set by the user and the current ambient temperature is large, so that the ambient temperature can be changed quickly; when the operation time of the air conditioner is long, a user may only need to slightly adjust the target adjustment temperature, and a proper target adjustment temperature is selected according to the operation time of the air conditioner. The above-listed examples of 1) and 2) are merely exemplary descriptions, and other modifications or modifications of other devices are also within the scope of the present invention. The device control is more accurate through the input type and the correction mode.
In an embodiment of the present invention, when the single device control is currently set, the received control instruction is sent to the set device to control the set device to operate. That is, when it is set that only the air conditioner is currently controlled, regardless of the input type of the control command, the control command is recognized to control the air conditioner, thereby improving the control accuracy of the equipment.
The present invention also provides an electronic device, including: a memory, a processor and a device control program stored on the memory and executable on the processor, the device control program, when executed by the processor, implementing the device control method as described in the above embodiments.
In the embodiment, the input types of the control instructions are divided, the control instructions of different input types correspond to different devices, and device control is distinguished at the input source of the control instructions, so that the situation that the same control instruction cannot identify the devices for control is avoided, and the identification rate and accuracy of device control are improved.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, where a device control program is stored on the computer-readable storage medium, and when executed by the processor, the device control program implements the following operations:
when a control instruction of equipment is received, determining an input type of the control instruction;
determining the equipment information which needs to be controlled and corresponds to the input type;
and sending the control instruction to equipment corresponding to the equipment information so as to control the equipment to execute response operation corresponding to the control instruction.
Further, the device control program when executed by the processor implements the operations of:
when the input type is text data, determining that the equipment which is required to be controlled and corresponds to the input type is a refrigerator;
when the input type is voice data, determining that the equipment which is corresponding to the input type and needs to be controlled is an air conditioner;
and when the input type is image data, determining that the device which is corresponding to the input type and needs to be controlled is a dehumidifier.
Further, the device control program when executed by the processor implements the operations of:
acquiring user identification information corresponding to the control instruction, and identifying the user identity according to the user identification information;
determining an equipment information identification rule corresponding to the user identity;
and determining the equipment information which is required to be controlled and corresponds to the input type according to the equipment identification rule determined by the user identity.
Further, the device control program when executed by the processor implements the operations of:
acquiring environmental information of a space required to be controlled;
determining a device identification rule corresponding to the environment information;
and determining the equipment information which is required to be controlled and corresponds to the input type according to the equipment identification rule determined by the environment information.
Further, after the step of sending the control instruction to the device corresponding to the device information to control the device to perform the response operation corresponding to the control instruction, the device control program when executed by the processor implements the following operations:
when control instructions of other input types are received within preset time, converting the control instructions of the other input types into control instructions of the current input type;
sending the converted control instruction to equipment corresponding to the equipment information; alternatively, the first and second electrodes may be,
and when receiving control instructions of other input types within preset time, sending the control instructions of the other input types to the equipment corresponding to the equipment information.
Further, after the step of determining the device information of the desired control corresponding to the input type, the device control program when executed by the processor performs the following operations:
acquiring the running state and/or running environment information of the household appliance corresponding to the determined equipment information;
correcting the control instruction according to the acquired running state and/or running environment information;
and sending the corrected control instruction to the equipment corresponding to the equipment information so as to control the equipment to execute response operation corresponding to the control instruction.
Further, the device control program when executed by the processor implements the operations of:
and when the single equipment control is currently set, sending the received control instruction to the set equipment so as to control the set equipment to operate.
Further, after the step of determining the device information of the desired control corresponding to the input type, the device control program when executed by the processor performs the following operations:
and when the equipment corresponding to the equipment information is not started and the current control instruction is not a starting instruction, sending the control instruction to the previous controlled equipment so as to control the previous controlled equipment to finish corresponding operation corresponding to the control instruction.
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 system 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 system. 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 system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
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 solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., 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 a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (6)

1. An apparatus control method characterized by comprising the steps of:
when a control instruction of equipment is received, determining an input type of the control instruction, wherein the input type is voice data, text data and image data;
determining the equipment information which needs to be controlled and corresponds to the input type, wherein different input types correspond to different equipment information;
the step of determining the device information required to be controlled corresponding to the input type includes:
acquiring user identification information corresponding to the control instruction, and identifying the user identity according to the user identification information;
determining an equipment information identification rule corresponding to the user identity;
determining the equipment information which is required to be controlled and corresponds to the input type according to an equipment identification rule determined by the user identity; alternatively, the first and second electrodes may be,
the step of determining the device information required to be controlled corresponding to the input type includes:
acquiring environmental information of a space required to be controlled;
determining a device identification rule corresponding to the environment information;
determining the equipment information which is required to be controlled and corresponds to the input type according to the equipment identification rule determined by the environment information;
sending the control instruction to equipment corresponding to the equipment information so as to control the equipment to execute response operation corresponding to the control instruction;
after the step of determining the device information to be controlled corresponding to the input type, the method further includes:
and when the equipment corresponding to the equipment information is not started and the current control instruction is not a starting instruction, sending the control instruction to the previous controlled equipment so as to control the previous controlled equipment to finish response operation corresponding to the control instruction.
2. The device control method according to claim 1, wherein after the step of transmitting the control instruction to the device corresponding to the device information to control the device to perform the response operation corresponding to the control instruction, further comprising:
when control instructions of other input types are received within preset time, converting the control instructions of the other input types into control instructions of the current input type;
sending the converted control instruction to equipment corresponding to the equipment information; alternatively, the first and second electrodes may be,
and when receiving control instructions of other input types within preset time, sending the control instructions of the other input types to the equipment corresponding to the equipment information.
3. The device control method according to claim 1, wherein the step of determining the device information required to be controlled corresponding to the input type is followed by further comprising:
acquiring the running state and/or running environment information of the household appliance corresponding to the determined equipment information;
correcting the control instruction according to the acquired running state and/or running environment information;
and sending the corrected control instruction to the equipment corresponding to the equipment information so as to control the equipment to execute response operation corresponding to the corrected control instruction.
4. The apparatus control method according to any one of claims 1 to 3, characterized by further comprising:
and when the single equipment control is currently set, sending the received control instruction to the set equipment so as to control the set equipment to operate.
5. An electronic device, characterized in that the electronic device comprises: a memory, a processor, and a device control program stored on the memory and executable on the processor, the device control program, when executed by the processor, implementing the device control method of any one of claims 1 to 4.
6. A computer-readable storage medium, characterized in that a device control program is stored thereon, which when executed by a processor implements the device control method according to any one of claims 1 to 4.
CN201710778328.XA 2017-08-31 2017-08-31 Device control method, electronic device, and computer-readable storage medium Active CN107390598B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710778328.XA CN107390598B (en) 2017-08-31 2017-08-31 Device control method, electronic device, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710778328.XA CN107390598B (en) 2017-08-31 2017-08-31 Device control method, electronic device, and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN107390598A CN107390598A (en) 2017-11-24
CN107390598B true CN107390598B (en) 2020-10-09

Family

ID=60348485

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710778328.XA Active CN107390598B (en) 2017-08-31 2017-08-31 Device control method, electronic device, and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN107390598B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108646580A (en) * 2018-05-14 2018-10-12 中兴通讯股份有限公司 The determination method and device of control object, storage medium, electronic device
CN111752183B (en) * 2020-05-18 2024-03-29 深圳市东微智能科技股份有限公司 Environment equipment control method, equipment and readable storage medium
CN112925219A (en) * 2021-02-03 2021-06-08 青岛海尔科技有限公司 Method and device for executing smart home scene

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101436972A (en) * 2007-11-16 2009-05-20 海尔集团公司 Remote household electrical appliance control system
CN104240702A (en) * 2014-07-10 2014-12-24 广东美的集团芜湖制冷设备有限公司 Voice control method and voice control system for air-conditioner
CN104501351A (en) * 2014-11-24 2015-04-08 广东美的制冷设备有限公司 Air conditioner and temperature correction method thereof
CN104808559A (en) * 2015-04-24 2015-07-29 深圳市彩易生活科技有限公司 Wireless switch control method, system and related equipment
CN204613628U (en) * 2015-04-25 2015-09-02 安徽科技学院 A kind of portable timing control switch
CN105388779A (en) * 2015-12-25 2016-03-09 小米科技有限责任公司 Control method and device for intelligent equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8977972B2 (en) * 2009-12-31 2015-03-10 Intel Corporation Using multi-modal input to control multiple objects on a display

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101436972A (en) * 2007-11-16 2009-05-20 海尔集团公司 Remote household electrical appliance control system
CN104240702A (en) * 2014-07-10 2014-12-24 广东美的集团芜湖制冷设备有限公司 Voice control method and voice control system for air-conditioner
CN104501351A (en) * 2014-11-24 2015-04-08 广东美的制冷设备有限公司 Air conditioner and temperature correction method thereof
CN104808559A (en) * 2015-04-24 2015-07-29 深圳市彩易生活科技有限公司 Wireless switch control method, system and related equipment
CN204613628U (en) * 2015-04-25 2015-09-02 安徽科技学院 A kind of portable timing control switch
CN105388779A (en) * 2015-12-25 2016-03-09 小米科技有限责任公司 Control method and device for intelligent equipment

Also Published As

Publication number Publication date
CN107390598A (en) 2017-11-24

Similar Documents

Publication Publication Date Title
US20190312747A1 (en) Method, apparatus and system for controlling home device
CN107676938B (en) Air conditioner control method and device, electronic equipment and computer readable storage medium
CN107763812B (en) Air conditioner control method, air conditioner and computer readable storage medium
CN108196846B (en) Household appliance control interface configuration method, terminal and computer readable storage medium
CN107606705B (en) Control method and device for vertical air conditioner and computer readable storage medium
CN107544272B (en) Terminal control method, device and storage medium
CN107390598B (en) Device control method, electronic device, and computer-readable storage medium
CN109268936B (en) Control method and device of air conditioner, air conditioner and storage medium
CN107726539B (en) Terminal operation parameter adjusting method and device and computer readable storage medium
CN108777808B (en) Text-to-speech method based on display terminal, display terminal and storage medium
CN107906699B (en) Control method and device for vertical air conditioner and computer readable storage medium
EP2557565A1 (en) Voice recognition method and apparatus
CN109579236B (en) Control method of air conditioner, air conditioner and computer readable storage medium
CN107562878B (en) Household appliance control method, electronic device and computer readable storage medium
CN108734939B (en) Electronic equipment control method and device, electronic equipment and readable storage medium
CN107120808B (en) Air conditioner, indoor unit control method thereof and computer-readable storage medium
CN112229024B (en) Control method for abnormal temperature regulation of air conditioner, air conditioner and storage medium
CN112229037B (en) Control method of air conditioner, terminal, air conditioner and storage medium
CN112229036B (en) Control method of air conditioner, terminal, air conditioner and storage medium
EP3553400A1 (en) Air conditioner adjusting method and device, and storage medium
CN107505923B (en) Device control method, electronic device, and computer-readable storage medium
CN112567695A (en) Electronic device, server and control method thereof
US20190069149A1 (en) Method for configuring action of external device and electronic device for supporting the same
US20190052745A1 (en) Method For Presenting An Interface Of A Remote Controller In A Mobile Device
CN108317696B (en) Control method and device of air conditioner and computer readable storage 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
GR01 Patent grant
GR01 Patent grant