CN107505923B - 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
CN107505923B
CN107505923B CN201710778966.1A CN201710778966A CN107505923B CN 107505923 B CN107505923 B CN 107505923B CN 201710778966 A CN201710778966 A CN 201710778966A CN 107505923 B CN107505923 B CN 107505923B
Authority
CN
China
Prior art keywords
equipment
determined
control instruction
exist
exists
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
CN201710778966.1A
Other languages
Chinese (zh)
Other versions
CN107505923A (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 CN201710778966.1A priority Critical patent/CN107505923B/en
Publication of CN107505923A publication Critical patent/CN107505923A/en
Application granted granted Critical
Publication of CN107505923B publication Critical patent/CN107505923B/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/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]
    • G05B19/4185Total 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] characterised by the network communication
    • G05B19/4186Total 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] characterised by the network communication by protocol, e.g. MAP, TOP
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • 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)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention discloses a device control method, which comprises the following steps: receiving a device control instruction, and determining a device corresponding to the device control instruction; when the determined equipment does not exist, judging whether other equipment corresponding to the determined equipment exists or not; and when other equipment corresponding to the determined equipment exists, controlling the operation of the other equipment corresponding to the determined equipment according to the equipment control instruction. The invention also discloses an electronic device and a computer readable storage medium. According to the invention, when the equipment corresponding to the equipment control instruction does not exist, other corresponding equipment is found for supplement, and the equipment control instruction is adopted to control other equipment to meet the requirements of the user, so that the condition that the equipment cannot be controlled due to inaccurate information input by the user is avoided. The intelligent degree and the accuracy of equipment control are improved.

Description

Device control method, electronic device, and computer-readable storage medium
Technical Field
The present invention relates to the field of internet of things technology, and in particular, to an apparatus control method, an electronic apparatus, and a computer-readable storage medium.
Background
At present, the control of the device can be controlled by a remote controller, a client on a mobile phone or by voice and the like. In the control process of the equipment, no matter which way is adopted for controlling, when the equipment pointed by the control instruction does not exist or has a fault, the other equipment can be controlled only by sending the instruction again.
The equipment control mode has poor intelligent degree and low flexibility.
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 poor intelligent degree and low flexibility of the existing device control mode.
In order to achieve the above object, the present invention provides an apparatus control method, including the steps of:
receiving a device control instruction, and determining a device corresponding to the device control instruction;
when the determined equipment does not exist, judging whether other equipment corresponding to the determined equipment exists or not;
and when other equipment corresponding to the determined equipment exists, controlling the operation of the other equipment corresponding to the determined equipment according to the equipment control instruction.
Optionally, the step of determining whether there is another device corresponding to the determined device includes:
determining whether there is another device having the same type as the determined device;
when there is another device having the same type as the determined device, it is determined that there is another device corresponding to the determined device.
Optionally, the step of determining whether there is another device corresponding to the determined device includes:
judging whether other devices having the same function as the determined device exist;
when there is another device having the same function as the specified device, it is determined that there is another device corresponding to the specified device.
Optionally, the step of determining whether there is another device corresponding to the determined device includes:
determining whether there is another device having the same type as the determined device;
when other devices having the same type as the determined device exist, judging whether other devices having the same function as the determined device exist;
when there is another device having the same function as the specified device, it is determined that there is another device corresponding to the specified device.
Optionally, when there is another device corresponding to the determined device, the step of controlling, according to the device control instruction, operation of the another device corresponding to the determined device includes:
and when the other equipment corresponding to the determined equipment is other equipment with the same type as the determined equipment, directly controlling the operation of the other equipment with the same type as the determined equipment according to the equipment control instruction.
Optionally, when there is another device corresponding to the determined device, the step of controlling, according to the device control instruction, operation of the another device corresponding to the determined device includes:
when the other device corresponding to the determined device is the other device with the same function as the determined device, compensating the device control command according to the function efficiency difference between the determined device and the other device with the same function as the determined device;
and controlling the operation of other equipment with the same function as the determined equipment according to the compensated equipment control instruction.
Optionally, before the step of determining whether there is another device corresponding to the determined device when the determined device does not exist, the method further includes:
judging whether equipment of a type corresponding to the equipment control instruction exists or not;
when equipment of a type corresponding to the equipment control instruction exists, judging whether the equipment of the type corresponding to the equipment control instruction has a function corresponding to the equipment control instruction;
when a function corresponding to the device control instruction is provided, it is determined that the specified device exists.
Optionally, when the determined device does not exist, after determining whether there is another device corresponding to the determined device, the method further includes:
when other equipment corresponding to the determined equipment does not exist, prompting that the equipment is not found;
and prompting the information of the other equipment which exists currently for the user to control the other equipment which exists currently.
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, when the equipment corresponding to the equipment control instruction does not exist, other corresponding equipment is found for supplement, and the equipment control instruction is adopted to control other equipment to meet the requirements of the user, so that the condition that the equipment cannot be controlled due to inaccurate information input by the user is avoided. The intelligent degree and the accuracy of equipment 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 schematic flow chart illustrating a process of determining whether a device corresponding to the device control instruction exists currently according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating a process of determining whether there is another device corresponding to the determined device according to an embodiment of the present invention;
fig. 5 is a flowchart illustrating a process of determining whether there is another device corresponding to the determined device according to another embodiment of the present invention;
fig. 6 is a schematic flowchart illustrating that, when there is another device corresponding to the determined device, the other device corresponding to the determined device is controlled to operate according to the device control instruction in an embodiment of the present invention;
fig. 7 is a schematic flowchart illustrating operations of controlling, according to the device control command, another device corresponding to the determined device when another device corresponding to the determined device exists in another embodiment of the present invention;
FIG. 8 is a flowchart illustrating a control method of an apparatus according to a second embodiment of the present invention;
fig. 9 is a flowchart illustrating a process of controlling a home device according to an 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: receiving a device control instruction, and determining a device corresponding to the device control instruction; when the determined equipment does not exist, judging whether other equipment corresponding to the determined equipment exists or not; and when other equipment corresponding to the determined equipment exists, controlling the operation of the other equipment corresponding to the determined equipment according to the equipment control instruction.
The problems of poor intelligent degree and low flexibility of the existing equipment control mode are solved. The invention provides a solution, which is implemented by finding other corresponding equipment to supplement when the equipment corresponding to the equipment control instruction does not exist, and controlling the other equipment by adopting the equipment control instruction to meet the requirements of a user, thereby avoiding the condition that the equipment cannot be controlled due to inaccurate information input by the user. The intelligent degree and the accuracy of equipment 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, a fan, a refrigerator and the like, can also be control equipment such as a PC, a smart phone, a tablet personal computer or a portable computer, or equipment such as a server or a home gateway.
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:
receiving a device control instruction, and determining a device corresponding to the device control instruction;
when the determined equipment does not exist, judging whether other equipment corresponding to the determined equipment exists or not;
and when other equipment corresponding to the determined equipment exists, controlling the operation of the other equipment corresponding to the determined equipment according to the equipment 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:
determining whether there is another device having the same type as the determined device;
when there is another device having the same type as the determined device, it is determined that there is another device corresponding to the determined device.
Further, the processor 1001 may be configured to invoke a device control application stored in the memory 1005 and perform the following operations:
judging whether other devices having the same function as the determined device exist;
when there is another device having the same function as the specified device, it is determined that there is another device corresponding to the specified device.
Further, the processor 1001 may be configured to invoke a device control application stored in the memory 1005 and perform the following operations:
determining whether there is another device having the same type as the determined device;
when other devices having the same type as the determined device exist, judging whether other devices having the same function as the determined device exist;
when there is another device having the same function as the specified device, it is determined that there is another device corresponding to the specified device.
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 other equipment corresponding to the determined equipment is other equipment with the same type as the determined equipment, directly controlling the operation of the other equipment with the same type as the determined equipment according to the equipment 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 other device corresponding to the determined device is the other device with the same function as the determined device, compensating the device control command according to the function efficiency difference between the determined device and the other device with the same function as the determined device;
and controlling the operation of other equipment with the same function as the determined equipment according to the compensated equipment control instruction.
Further, before the step of determining whether there is another device corresponding to the determined device when the determined device does not exist, the processor 1001 may be configured to call the device control application stored in the memory 1005, and perform the following operations:
judging whether equipment of a type corresponding to the equipment control instruction exists or not;
when equipment of a type corresponding to the equipment control instruction exists, judging whether the equipment of the type corresponding to the equipment control instruction has a function corresponding to the equipment control instruction;
when a function corresponding to the device control instruction is provided, it is determined that the specified device exists.
Further, after determining whether there is another device corresponding to the determined device when the determined device does not exist, the processor 1001 may be configured to call the device control application stored in the memory 1005, and perform the following operations:
when other equipment corresponding to the determined equipment does not exist, prompting that the equipment is not found;
and prompting the information of the other equipment which exists currently for the user to control the other equipment which exists currently.
Referring to fig. 2, a first embodiment of the present invention provides an apparatus control method including:
step S10, receiving a device control instruction, and determining a device corresponding to the device control instruction;
in this embodiment, the device may be a controllable device such as a home appliance device or a non-home appliance device, and the present embodiment takes the home appliance device as an example, and the control of other non-home appliance devices is also similar to the home appliance device control process. When opening the APP of the household appliance, or entering the operation interface of the household appliance through a browser, or operating the household appliance through other modes, inputting information by a user, wherein the input information comprises but is not limited to text information, voice information, image information, remote control code information and the like. When the input information comprises a control instruction, the user can control the household appliance to operate by inputting the information.
And in the control process of the household appliance, receiving a household appliance control instruction, and determining the equipment corresponding to the equipment control instruction. The equipment corresponding to the equipment control instruction can be determined according to the equipment type and the equipment function. For example, the type is air conditioner/refrigerator/washing machine, etc., and the function is cooling/heating/dehumidifying, etc. When the control command is input information other than the text format, the input information is converted into the text format, and then the device is determined, for example, voice information is converted into characters, or character information represented by image information is recognized.
And after determining the equipment corresponding to the equipment control instruction, judging whether the determined equipment exists at present. Referring to fig. 3, determining whether a device corresponding to the device control instruction currently exists includes:
step S11, judging whether a device of the type corresponding to the device control instruction exists;
step S12, when there is a device of a type corresponding to the device control instruction, determining whether the device of the type corresponding to the device control instruction has a function corresponding to the device control instruction;
step S13, when the function corresponding to the device control command is provided, determines that the specified device is present.
When the type and the function are both in accordance, the determined equipment is determined to exist, for example, when the type is an air conditioner and the function heating is in accordance, the air conditioner with the heating function is determined to be the determined equipment, and the determined equipment can be determined to exist; or the type is an air conditioner, and when the functions are all in accordance with dehumidification, the air conditioner with the dehumidification function is determined to be the determined equipment, and the determined equipment can be judged to exist.
In an embodiment of the present invention, whether the determined device exists may also be determined only by type or function. How to judge setting according to the requirement or default of the system.
A step S20 of, when the specified device does not exist, determining whether another device corresponding to the specified device exists;
when the determined equipment exists, controlling the determined equipment to operate according to the equipment control instruction, for example, controlling an air conditioner to be started or controlling an air conditioner to adjust parameters; or controlling the dehumidifier to increase dehumidification and the like, and performing different controls according to different control instructions. When the determined device does not exist, it is determined whether another device corresponding to the determined device exists.
Referring to fig. 4, the determining whether there is another device corresponding to the determined device includes:
a step S21 of determining whether there is another device having the same type as the determined device;
in step S22, when there is another device having the same type as the specified device, it is determined that there is another device corresponding to the specified device.
The equipment types are the same, for example, wall air conditioners, central air conditioners, cabinet air conditioners, which are of the same type; or, the common fan and the refrigeration fan belong to the same type; alternatively, television, stereo, pad, etc. are of the same entertainment type. When the wall-mounted air conditioner needs to be controlled, the wall-mounted air conditioner does not exist, whether a cabinet air conditioner exists is judged, and if yes, other equipment corresponding to the determined equipment is judged to exist. Whether there are other devices corresponding to the determined device is judged by the same type.
Referring to fig. 5, the determining whether there is another device corresponding to the determined device includes:
a step S23 of determining whether or not there is another device having the same function as the determined device;
in step S24, when another device having the same function as the specified device exists, it is determined that another device corresponding to the specified device exists.
The equipment has the same function, for example, refrigeration can be realized by an air conditioner, and a refrigeration fan can also be used for refrigeration, and the equipment has the same function; for another example, dehumidification, air conditioning dehumidification, and dehumidifier dehumidification are devices with the same function; for another example, music is played, and television and pad are devices with the same function.
In an embodiment of the present invention, in order to improve the accuracy of determining whether there is another device corresponding to the determined device, the determination may be performed in combination with the above types and functions, specifically: determining whether there is another device having the same type as the determined device; when other devices having the same type as the determined device exist, judging whether other devices having the same function as the determined device exist; when there is another device having the same function as the specified device, it is determined that there is another device corresponding to the specified device. For example, if the type is entertainment type, the television, pad, and stereo are the same type; and when the pad does not exist, other equipment is the television.
And step S30, when other equipment corresponding to the determined equipment exists, controlling the operation of the other equipment corresponding to the determined equipment according to the equipment control command.
And when other equipment exists, controlling the operation of the other equipment corresponding to the determined equipment according to the equipment control instruction.
Specifically, referring to fig. 6, the controlling the operation of the other device includes, when there is another device corresponding to the determined device, controlling the operation of the other device corresponding to the determined device according to the device control instruction includes:
and step S31, when the other device corresponding to the determined device is the other device with the same type as the determined device, controlling the operation of the other device with the same type as the determined device directly according to the device control instruction.
The types are the same, for example, when the air conditioners are all adopted, the equipment control is the same, so that conversion or adjustment is not needed, the control can be directly carried out according to the equipment control instruction, and the requirements of users can be met.
In an embodiment, referring to fig. 7, when there is another device corresponding to the determined device, the step of controlling the operation of the another device corresponding to the determined device according to the device control instruction includes:
step S32, when the other device corresponding to the determined device is the other device having the same function as the determined device, compensating the device control command according to a difference in functional efficiency between the determined device and the other device having the same function as the determined device;
and step S33, controlling the operation of other devices with the same functions as the determined devices according to the compensated device control command.
When the functions are the same, the difference between the devices is large, for example, the refrigeration capacity of the refrigeration, the air conditioner and the cooling capacity of the fan are different, and therefore, when the device control instruction is to control the air conditioner or the fan, compensation needs to be performed according to the function power difference between the devices with the same functions, so that the control is more accurate, and discomfort cannot be caused to a user. The compensation value is determined according to the functional power difference, and the corresponding relation is set in advance, for example, the refrigerating capacity difference, the corresponding running power is compensated and set, or the running time is set.
In the embodiment, when the device corresponding to the device control instruction does not exist, other devices corresponding to the device control instruction are found for supplement, and the device control instruction is adopted to control the other devices to meet the requirement of the user, so that the condition that the device cannot be controlled due to inaccurate user input information is avoided. The intelligent degree and the accuracy of equipment control are improved.
In an embodiment of the present invention, with reference to fig. 8, after determining whether there is another device corresponding to the determined device when the determined device does not exist, the method further includes:
step S40, when there is no other device corresponding to the determined device, prompting that the device is not found;
and step S50, prompting the information of the other equipment which currently exists for the user to control the other equipment which currently exists.
In this example, if there is no other device corresponding to the determined device, the device for prompting the device control instruction is not found, and the prompt may be a voice, a text, a video, an image, a web page link, or the like; of course, the setting can be carried out according to the equipment control instruction, and when the input information is voice, the prompt is also voice. And after prompting that the equipment which can be controlled by the equipment control instruction does not exist, prompting the information of other currently existing equipment so that the user can control the other currently existing equipment. So that the user can conveniently input a correct control instruction to control the operation of the current equipment. The embodiment enables the user to know the control result and which devices can be controlled as soon as possible in a prompting mode, and improves the efficiency of device control.
To better describe the embodiment of the present invention, referring to fig. 9, a control flow for a home appliance includes:
step S100, inputting a user voice; step S200, analyzing equipment and functions to be controlled by a user; step S300, whether corresponding equipment exists in the family or not is judged, if yes, step S400 is executed, and if not, step S500 is executed; step S400, whether the corresponding equipment has the corresponding function or not is judged, if yes, the corresponding equipment is controlled, and if not, the step S500 is executed; step S500, whether similar type equipment exists in the family or not is judged, if yes, step S600 is executed, and if not, step S700 is executed; step S600, whether the corresponding equipment has the corresponding function or not is judged, if yes, the corresponding function of the similar equipment is controlled, and if not, the fact that the equipment is not found is prompted, and whether the user needs to operate other equipment is asked; step S700, whether other devices in the family have corresponding functions or not is judged; if not, prompting that the equipment is not found, and if so, controlling the equipment with the corresponding function to operate.
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 this embodiment, when the device corresponding to the device control instruction does not exist, the other device corresponding to the device control instruction is found to supplement the device, and the device control instruction is adopted to control the other device to meet the requirement of the user, thereby avoiding the situation that the device cannot be controlled due to inaccurate information input by the user. The intelligent degree and the accuracy of equipment 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:
receiving a device control instruction, and determining a device corresponding to the device control instruction;
when the determined equipment does not exist, judging whether other equipment corresponding to the determined equipment exists or not;
and when other equipment corresponding to the determined equipment exists, controlling the operation of the other equipment corresponding to the determined equipment according to the equipment control instruction.
Further, the device control program when executed by the processor implements the operations of:
determining whether there is another device having the same type as the determined device;
when there is another device having the same type as the determined device, it is determined that there is another device corresponding to the determined device.
Further, the device control program when executed by the processor implements the operations of:
judging whether other devices having the same function as the determined device exist;
when there is another device having the same function as the specified device, it is determined that there is another device corresponding to the specified device.
Further, the device control program when executed by the processor implements the operations of:
determining whether there is another device having the same type as the determined device;
when other devices having the same type as the determined device exist, judging whether other devices having the same function as the determined device exist;
when there is another device having the same function as the specified device, it is determined that there is another device corresponding to the specified device.
Further, the device control program when executed by the processor implements the operations of:
and when the other equipment corresponding to the determined equipment is other equipment with the same type as the determined equipment, directly controlling the operation of the other equipment with the same type as the determined equipment according to the equipment control instruction.
Further, the device control program when executed by the processor implements the operations of:
when the other device corresponding to the determined device is the other device with the same function as the determined device, compensating the device control command according to the function efficiency difference between the determined device and the other device with the same function as the determined device;
and controlling the operation of other equipment with the same function as the determined equipment according to the compensated equipment control instruction.
Further, before the step of determining whether or not there is another device corresponding to the determined device when the determined device is not present, the device control program when executed by the processor implements the following operations:
judging whether equipment of a type corresponding to the equipment control instruction exists or not;
when equipment of a type corresponding to the equipment control instruction exists, judging whether the equipment of the type corresponding to the equipment control instruction has a function corresponding to the equipment control instruction;
when a function corresponding to the device control instruction is provided, it is determined that the specified device exists.
Further, after determining whether there is another device corresponding to the determined device when the determined device is not present, the device control program when executed by the processor implements the following operations:
when other equipment corresponding to the determined equipment does not exist, prompting that the equipment is not found;
and prompting the information of the other equipment which exists currently for the user to control the other equipment which exists currently.
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 (9)

1. An apparatus control method characterized by comprising the steps of:
receiving a device control instruction, and determining a device corresponding to the device control instruction;
when the determined equipment does not exist, judging whether other equipment corresponding to the determined equipment exists or not;
when other equipment corresponding to the determined equipment exists, controlling the operation of the other equipment corresponding to the determined equipment according to the equipment control instruction, wherein the method comprises the following steps: when the other device corresponding to the determined device is the other device with the same function as the determined device, compensating the device control command according to the function efficiency difference between the determined device and the other device with the same function as the determined device; and controlling the operation of other equipment with the same function as the determined equipment according to the compensated equipment control instruction, wherein the compensation value of the functional efficiency difference is determined according to the functional power difference, and the corresponding relation is set in advance.
2. The device control method according to claim 1, wherein the step of determining whether there is another device corresponding to the determined device includes:
determining whether there is another device having the same type as the determined device;
when there is another device having the same type as the determined device, it is determined that there is another device corresponding to the determined device.
3. The device control method according to claim 1, wherein the step of determining whether there is another device corresponding to the determined device includes:
judging whether other devices having the same function as the determined device exist;
when there is another device having the same function as the specified device, it is determined that there is another device corresponding to the specified device.
4. The device control method according to claim 1, wherein the step of determining whether there is another device corresponding to the determined device includes:
determining whether there is another device having the same type as the determined device;
when other devices having the same type as the determined device exist, judging whether other devices having the same function as the determined device exist;
when there is another device having the same function as the specified device, it is determined that there is another device corresponding to the specified device.
5. The device control method according to claim 1, wherein the step of controlling, when there is another device corresponding to the determined device, the operation of the other device corresponding to the determined device according to the device control instruction includes:
and when the other equipment corresponding to the determined equipment is other equipment with the same type as the determined equipment, directly controlling the operation of the other equipment with the same type as the determined equipment according to the equipment control instruction.
6. The device control method according to claim 1, wherein before the step of determining whether or not there is another device corresponding to the determined device when the determined device does not exist, the method further comprises:
judging whether equipment of a type corresponding to the equipment control instruction exists or not;
when equipment of a type corresponding to the equipment control instruction exists, judging whether the equipment of the type corresponding to the equipment control instruction has a function corresponding to the equipment control instruction;
when a function corresponding to the device control instruction is provided, it is determined that the specified device exists.
7. The device control method according to any one of claims 1 to 6, wherein, after determining whether there is another device corresponding to the determined device when the determined device does not exist, further comprising:
when other equipment corresponding to the determined equipment does not exist, prompting that the equipment is not found;
and prompting the information of the other equipment which exists currently for the user to control the other equipment which exists currently.
8. 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 7.
9. 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 7.
CN201710778966.1A 2017-08-31 2017-08-31 Device control method, electronic device, and computer-readable storage medium Active CN107505923B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710778966.1A CN107505923B (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
CN201710778966.1A CN107505923B (en) 2017-08-31 2017-08-31 Device control method, electronic device, and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN107505923A CN107505923A (en) 2017-12-22
CN107505923B true CN107505923B (en) 2020-06-23

Family

ID=60694916

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710778966.1A Active CN107505923B (en) 2017-08-31 2017-08-31 Device control method, electronic device, and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN107505923B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109084573B (en) * 2018-08-21 2020-11-24 深圳市欧兰特智能控制系统有限公司 Drying method, computer-readable storage medium and intelligent shoe cabinet
CN112130491B (en) * 2020-09-17 2021-09-14 珠海格力电器股份有限公司 Device state control method and device, storage medium and electronic device
CN115793571B (en) * 2023-02-07 2023-05-02 中科航迈数控软件(深圳)有限公司 Processing equipment control method and system based on multi-mode data and related equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011254402A (en) * 2010-06-03 2011-12-15 Fujitsu Component Ltd Communication apparatus and communication system
CN105223837A (en) * 2014-07-01 2016-01-06 青岛海尔洗衣机有限公司 A kind of electro-detection guard method, for the smart jack of household electrical appliances and washing machine
CN105487495B (en) * 2014-09-18 2018-11-02 阿里巴巴集团控股有限公司 A kind of intelligent home furnishing control method and device
CN105573151A (en) * 2014-10-15 2016-05-11 珠海格力电器股份有限公司 Household appliance control method, control device and household data terminal
CN104880955A (en) * 2015-05-29 2015-09-02 四川长虹电器股份有限公司 Method for controlling intelligent household device, and intelligent household control device
CN105974806A (en) * 2015-11-17 2016-09-28 杭州赫智电子科技有限公司 Intelligent household device pool control method and intelligent household device pool control system

Also Published As

Publication number Publication date
CN107505923A (en) 2017-12-22

Similar Documents

Publication Publication Date Title
CN108469104B (en) Air conditioner control method and device, air conditioner and readable storage medium
CN107676938B (en) Air conditioner control method and device, electronic equipment and computer readable storage medium
CN107606705B (en) Control method and device for vertical air conditioner and computer readable storage medium
CN108196846B (en) Household appliance control interface configuration method, terminal and computer readable storage medium
CN108061426B (en) Refrigerator control method, refrigerator and computer-readable storage medium
CN107505923B (en) Device control method, electronic device, and computer-readable storage medium
US11262903B2 (en) IoT device control system and method using virtual reality and augmented reality
CN108800479B (en) Control method and device for multi-split air conditioner and computer readable storage medium
CN107120808B (en) Air conditioner, indoor unit control method thereof and computer-readable storage medium
CN109268936B (en) Control method and device of air conditioner, air conditioner and storage medium
CN107906699B (en) Control method and device for vertical air conditioner and computer readable storage medium
CN108489024B (en) Air conditioner control method and device, air conditioner and readable storage medium
CN107318119B (en) Household appliance networking method, household appliance and computer readable storage medium
CN107390598B (en) Device control method, electronic device, and computer-readable storage medium
CN108317696B (en) Control method and device of air conditioner and computer readable storage medium
WO2018066035A1 (en) Controller, air conditioning system, and method for controlling air conditioner
CN107421066B (en) Control method and device of air conditioning system, computer storage medium and air conditioning system
CN111121221B (en) Low temperature control method, device and storage medium
KR20170057487A (en) Tate recognition method of control apparatus using mobile remocon system
TW201511570A (en) Electrical appliances controlling system and method
CN108119996B (en) Air conditioner fan control method, electronic device and computer readable storage medium
JP2019056498A (en) Air conditioning control device, air conditioning control method and air conditioning control program
EP2700974A2 (en) Method for recognizing the locations of electric appliances
CN111599148A (en) Electronic equipment and connection method thereof
JP2009246543A (en) Remote control operation information providing system and method thereof

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