CN112327639A - Equipment control method, device, system and computer readable storage medium - Google Patents

Equipment control method, device, system and computer readable storage medium Download PDF

Info

Publication number
CN112327639A
CN112327639A CN202010765941.XA CN202010765941A CN112327639A CN 112327639 A CN112327639 A CN 112327639A CN 202010765941 A CN202010765941 A CN 202010765941A CN 112327639 A CN112327639 A CN 112327639A
Authority
CN
China
Prior art keywords
mode
target
determining
time
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010765941.XA
Other languages
Chinese (zh)
Inventor
吕祖恒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202010765941.XA priority Critical patent/CN112327639A/en
Publication of CN112327639A publication Critical patent/CN112327639A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric

Landscapes

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

Abstract

The invention discloses a device control method, which comprises the following steps: in the energy-saving mode, if a mode field reported by target equipment is received, determining a target mode corresponding to the mode field; determining whether a current mode of the target device is consistent with the target mode; and if the current mode of the target equipment is inconsistent with the current mode of the target equipment, acquiring an operation result of the target equipment in the current mode, and controlling the target equipment to switch the target mode to operate based on the operation result. The invention also discloses a device control device, a system and a computer readable storage medium. The invention switches modes according to the mode field in the energy-saving mode, and can adjust the target mode to be switched according to the operation result of the previous mode in the switching process, so that the equipment can not execute the target mode to be switched in a rigid manner, but can operate more intelligently according to the adjusted target mode, and the intelligent control of the equipment is realized.

Description

Equipment control method, device, system and computer readable storage medium
Technical Field
The invention relates to the technical field of Internet of things, in particular to a device control method, a device, a system and a computer readable storage medium.
Background
Along with the development of the internet of things technology, the intelligent control technology of the equipment is more and more mature, and household appliances such as an air conditioner can be set with corresponding operation modes according to actual needs for intelligent control, so that the air conditioner can be started and closed according to different operation modes.
However, the current intelligent control technology of the equipment is not intelligent enough, the operation mode of the equipment is single, and the common operation of the equipment is only the on and off of the operation mode, such as the on and off of an air conditioner; or switching between different operation modes, such as switching between a heating mode and a cooling mode of an air conditioner, and the like.
That is, at present, no further development is made for the operation mode, so that the operation mode of the current device during operation is not associated with the previous operation mode, and the device is only operated according to the established operation mode, which is relatively rigid.
Disclosure of Invention
The invention mainly aims to provide a device control method, a device, a system and a computer readable storage medium, aiming at realizing intelligent control of devices.
In order to achieve the above object, the present invention provides an apparatus control method including the steps of:
in an energy-saving mode, if a mode field reported by a target device is received, determining a target mode corresponding to the mode field, wherein the mode field comprises a numerical value used for indicating a mode in which the target device is to operate, and the target mode is the mode in which the target device is to operate;
determining whether a current mode of the target device is consistent with the target mode;
and if the current mode of the target equipment is inconsistent with the current mode of the target equipment, acquiring an operation result of the target equipment in the current mode, and controlling the target equipment to switch the target mode to operate based on the operation result.
Preferably, if the target mode is a quantitative mode, if the target mode is not the quantitative mode, obtaining an operation result of the target device in the current mode, and controlling the target device to switch the target mode to operate based on the operation result includes:
if not, acquiring an operation result of the target equipment in the current mode, wherein the operation result comprises operation time and power consumption;
determining an execution time and a target power consumption amount of the target mode based on the operation time and the power consumption amount;
and controlling the target equipment to switch the target mode to operate based on the execution time and the target power consumption.
Preferably, the step of determining the execution time of the target mode and the target power consumption amount based on the execution time and the power consumption amount includes
Determining a mode time and a mode power consumption amount of the target mode, and determining whether the mode time includes the run time;
if so, determining an execution time of the target mode based on the operation time and the mode time, and determining a target power consumption of the target mode based on the power consumption and the mode power consumption.
Preferably, after the step of controlling the target device to switch the target mode to operate based on the execution time and the target power consumption amount, the device control method further includes:
if the target mode operation is finished, determining the duration of the target mode based on the execution time;
and controlling the target equipment to operate according to the target mode within the duration.
Preferably, if the operation of the target mode is finished, the step of determining the duration of the target mode based on the execution time includes:
if the target mode operation is finished, determining the duration starting time of the target mode based on the execution time, and determining the duration finishing time of the target mode based on a preset duration, wherein the preset duration is the duration corresponding to the execution time;
determining a duration of the target mode based on the duration start time and the duration end time.
Preferably, if the operation results of the target device in the current mode are not consistent, the step of controlling the target device to switch the target mode to operate based on the operation results includes:
if not, acquiring the operation result of the target equipment in the current mode, and determining a user terminal corresponding to the target equipment;
and sending the operation result to the user terminal, and controlling the target equipment to switch the target mode to operate.
Preferably, the step of determining whether the current mode of the target device is consistent with the target mode comprises:
determining the equipment ID of the target equipment, and determining a record field corresponding to the equipment ID in a preset running record table, wherein the record field is used for representing a mode field;
and determining whether the record field is consistent with the mode field, wherein if not, determining that the current mode of the target device is inconsistent with the target mode.
Further, to achieve the above object, the present invention also provides an appliance control apparatus including:
a receiving module, configured to, in an energy saving mode, determine a target mode corresponding to a mode field if the mode field reported by a target device is received, where the mode field includes a numerical value and is used to indicate a mode in which the target device is to operate, and the target mode is the mode in which the target device is to operate;
a determination module to determine whether a current mode of the target device is consistent with the target mode;
and the switching module is used for acquiring the operation result of the target equipment in the current mode if the operation result is inconsistent, and controlling the target equipment to switch the target mode to operate based on the operation result.
Preferably, if the target mode is a quantitative mode, the switching module is further configured to:
if not, acquiring an operation result of the target equipment in the current mode, wherein the operation result comprises operation time and power consumption;
determining an execution time and a target power consumption amount of the target mode based on the operation time and the power consumption amount;
and controlling the target equipment to switch the target mode to operate based on the execution time and the target power consumption.
Preferably, the switching module is further configured to:
determining a mode time and a mode power consumption amount of the target mode, and determining whether the mode time includes the run time;
if so, determining an execution time of the target mode based on the operation time and the mode time, and determining a target power consumption of the target mode based on the power consumption and the mode power consumption.
Preferably, the device control apparatus further comprises a continuation module, the continuation module is configured to:
if the target mode operation is finished, determining the duration of the target mode based on the execution time;
and controlling the target equipment to operate according to the target mode within the duration.
Preferably, the continuation module is further configured to:
if the target mode operation is finished, determining the duration starting time of the target mode based on the execution time, and determining the duration finishing time of the target mode based on a preset duration, wherein the preset duration is the duration corresponding to the execution time;
determining a duration of the target mode based on the duration start time and the duration end time.
Preferably, the switching module is further configured to:
if not, acquiring the operation result of the target equipment in the current mode, and determining a user terminal corresponding to the target equipment;
and sending the operation result to the user terminal, and controlling the target equipment to switch the target mode to operate.
Preferably, the determining module is further configured to:
determining the equipment ID of the target equipment, and determining a record field corresponding to the equipment ID in a preset running record table, wherein the record field is used for representing a mode field;
and determining whether the record field is consistent with the mode field, wherein if not, determining that the current mode of the target device is inconsistent with the target mode.
Further, to achieve the above object, the present invention also provides an appliance control system 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 steps of 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 that, when executed by a processor, implements the steps of the device control method as described above.
In the energy-saving mode, if a mode field reported by a target device is received, a target mode corresponding to the mode field is determined; determining whether a current mode of the target device is consistent with the target mode; and if the current mode of the target equipment is inconsistent with the current mode of the target equipment, acquiring an operation result of the target equipment in the current mode, and controlling the target equipment to switch the target mode to operate based on the operation result. The invention switches modes according to the mode field in the energy-saving mode, and can adjust the target mode to be switched according to the operation result of the previous mode in the switching process, so that the equipment can not execute the target mode to be switched in a rigid manner, but can operate more intelligently according to the adjusted target mode, and the intelligent control of the equipment is realized.
Drawings
FIG. 1 is a system diagram of a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a first embodiment of an apparatus control method according to 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.
As shown in fig. 1, fig. 1 is a system structural diagram of a hardware operating environment according to an embodiment of the present invention.
The system of the embodiment of the invention comprises a terminal or a server device.
As shown in fig. 1, the system 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.
Those skilled in the art will appreciate that the system architecture shown in FIG. 1 is not intended to be limiting of the system, 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, a 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 program.
The operating system is a program for managing and controlling the equipment control system and software resources, and supports the running of a network communication module, a user interface module, an equipment control program and other programs or software; the network communication module is used for managing and controlling the network interface 1002; the user interface module is used to manage and control the user interface 1003.
In the device control system shown in fig. 1, the device control system calls a device control program stored in a memory 1005 by a processor 1001 and performs operations in the respective embodiments of the device control method described below.
Based on the above hardware structure, an embodiment of the device control method of the present invention is provided.
Referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of the device control method of the present invention, and the method includes:
step S10, in an energy-saving mode, if a mode field reported by a target device is received, determining a target mode corresponding to the mode field, wherein the mode field comprises a numerical value for indicating a mode in which the target device is to operate, and the target mode is the mode in which the target device is to operate;
step S20, determining whether the current mode of the target device is consistent with the target mode;
and step S30, if the current mode of the target device is not the same as the current mode of the target device, acquiring the operation result of the target device in the current mode, and controlling the target device to switch the target mode to operate based on the operation result.
The device control method of the embodiment is applied to a device control system, the device control system comprises a terminal or a server device, and for convenience of description, the device control system is referred to as a control system for short. The control system of this embodiment interfaces a plurality of devices in a wireless or wired manner, where the devices may specifically be an air conditioner, a lamp, a refrigerator, and the like, and for convenience of description, a target device is described as an air conditioner in the following description.
It should be noted that, a dual energy saving mode is preset in the control system, specifically, an ECO (energy saving mode) and an advanced ECO mode, where the advanced ECO mode is further developed for the ECO mode, the advanced ECO mode includes sub-modes such as a quantitative mode, a rating mode and a temperature setting mode, and each sub-mode corresponds to a mode field, for example, the mode field of the quantitative mode is 1, which represents a money saving mode with fixed power consumption; the mode field of the quota mode is 2, which represents the power saving mode with fixed operating frequency; the mode field of the constant temperature mode is 3, and indicates a constant temperature energy saving mode and the like.
The control system of this embodiment controls the target device to operate in the ECO mode through the mode field, and adjusts the current target mode according to the operation result of the previous mode in the operation process, so that the device can operate more intelligently according to the target mode.
The respective steps will be described in detail below:
step S10, in the energy saving mode, if a mode field reported by a target device is received, determining a target mode corresponding to the mode field, where the mode field includes a numerical value for indicating a mode in which the target device is to operate, and the target mode is the mode in which the target device is to operate.
In this embodiment, in the energy saving mode, the control system detects whether the target device reports the mode field in real time. It can be understood that a user may control a target device under the control system, specifically, the user may be connected to the target device through a mobile terminal such as a mobile phone or a remote controller, and send a control instruction to the target device through the mobile terminal, for example, the user sends a start request of a quantitative mode to the air conditioner through the remote controller, and at this time, the target device, that is, the air conditioner, sends a mode field corresponding to the quantitative mode to the control system according to the start request.
Therefore, in the energy saving mode, if the control system receives the mode field reported by the target device, it indicates that the user has performed an operation on the target device, and the control system determines the target mode corresponding to the mode field, that is, determines the mode in which the user wants to control the target device to be operated.
In one embodiment, the mode field corresponds to a mode, as described above, 1 represents a quantitative mode; 2 denotes a rating mode; and 3 represents a constant temperature mode.
In an embodiment, to meet the operation requirements of the user in different time periods, when determining the target mode corresponding to the mode field, the current time period, such as day or night, needs to be considered, that is, after receiving the mode field reported by the target device, the control system determines the time period of the current receiving time, and then determines the corresponding target mode according to the mode field and the time period of the current receiving time, that is, the target mode corresponds to the mode field and the time period.
In an embodiment, in order to meet the operation requirements of different users, when determining the target mode corresponding to the mode field, the identity of the current user, such as a child, an adult, and the like, also needs to be considered, that is, after receiving the mode field reported by the target device, the control system determines the identity of the current user corresponding to the target device, and then determines the corresponding target mode according to the mode field and the identity of the current user, that is, the target mode corresponds to the mode field and the identity of the current user, and the like.
Step S20, determining whether the current mode of the target device is consistent with the target mode.
In this embodiment, after determining the target mode corresponding to the mode field, that is, the mode desired by the user, the control system determines whether the current mode of the target device is consistent with the target mode, where the current mode is a mode in which the target device operates at the current time, that is, determines whether the current mode in which the target device operates is the mode desired by the user.
Specifically, in an embodiment, step S20 includes:
step a1, determining the device ID of the target device, and determining a record field corresponding to the device ID in a preset running record table, wherein the record field is used for representing a mode field;
in an embodiment, an operation record table (save _ single _ can _ see _ start _ info) is preset in the control system, and in the table, all the modes in which the target device operates are recorded inside in real time, specifically, the device ID of the target device and a mode field corresponding to the mode in which the target device currently operates are recorded, where the mode field is represented by a record field in the operation record table.
Therefore, the control device may determine the device ID of the target device, and then find the record of the target device in the operation record table according to the device ID, thereby reading the record field of the record.
When the control system controls the target device to switch the mode, the mode field corresponding to the switched mode is updated to the operation record table in real time, and the operation time corresponding to the mode may be recorded in the operation record table.
Step a2, determining whether the record field is consistent with the mode field, wherein if not, determining that the current mode of the target device is inconsistent with the target mode.
Then, comparing the received mode field with the record field, determining whether the record field is consistent with the mode field, if not, determining that the current mode of the target device is inconsistent with the target mode, that is, the current operation mode of the target device is not intended by the user.
In an embodiment, if the record field is consistent with the mode field, it is determined that the current mode of the target device is consistent with the target mode, and at this time, the control system does not perform control processing on the target device, so that the target device keeps operating in the original mode.
In an embodiment, if the record field is consistent with the mode field, it is determined that the current mode of the target device is consistent with the target mode, at this time, the control system resets the original mode, that is, the target device is controlled to operate according to the execution condition corresponding to the target mode, if the original mode is operated for 8 hours according to the fixed operation frequency, at this time, the target device has been operated for 2 hours, if the target mode corresponding to the currently received mode field is consistent with the current mode of the target device, the current mode is reset, and the operation mode that is ended after the target device is operated for 6 hours again is reset to be operated for 8 hours, and the like.
And step S30, if the current mode of the target device is not the same as the current mode of the target device, acquiring the operation result of the target device in the current mode, and controlling the target device to switch the target mode to operate based on the operation result.
In this embodiment, if it is determined that the current mode of the target device is not consistent with the target mode, that is, the current mode of the target device is not desired by the user, the control system obtains an operation result of the target device in the current operation mode, where the operation result includes operation time, power consumption, consumption amount, and the like. That is, in the operation process of the target device, the control system may acquire the operation condition of the target device.
And then, the control system adjusts the target mode according to the operation result of the target equipment in the current mode, and then controls the target equipment to be switched into the target mode to operate.
In one embodiment, if the target mode is a quantitative mode, step S30 includes
Step b1, if not, obtaining the operation result of the target device in the current mode, wherein the operation result comprises operation time and power consumption;
in an embodiment, if it is determined that the current mode of the target device is not consistent with the target mode, an operation result of the target device in the current mode is obtained, where the operation result includes an operation time, power consumption, a consumption amount, and the like, and the operation time specifically includes an operation start time, an operation duration, and the like.
A step b2 of determining an execution time and a target power consumption amount of the target mode based on the execution time and the power consumption amount;
then, according to the running time and the power consumption of the target device in the current mode, determining the execution time and the target power consumption of the target mode, wherein the execution time comprises an execution starting time and an execution duration, specifically, determining an ending time corresponding to the running time of the target device in the current mode as the execution starting time of the target mode, and taking a preset execution duration corresponding to the target mode as the execution duration.
And then, according to the total power consumption corresponding to the energy-saving mode, subtracting the power consumption of the target equipment in the current mode, namely the target power consumption of the target mode.
Further, in one embodiment, step b2 includes:
step b21, determining the mode time and the mode power consumption of the target mode, and determining whether the mode time includes the running time;
step b22, if yes, determining the execution time of the target mode based on the operation time and the mode time, and determining the target power consumption of the target mode based on the power consumption and the mode power consumption.
That is, in one embodiment, the control system first determines a mode time and a mode power consumption of the target mode, where the mode time includes a mode start time and a mode duration, e.g., the air conditioner consumes one unit per night, i.e., the mode time of the air conditioner is 12 pm to 8 am, and the mode power consumption is 0.77 degrees (1.3 units per degree of electricity). And determines whether the target device's runtime in the current mode is included in the mode time, e.g., between 12 pm and 8 am.
If so, determining the execution time of the target mode according to the running time and the mode time of the target device in the current mode, wherein the execution time comprises execution starting time and execution duration.
Specifically, according to the operation starting time and the operation duration, the ending time of the target device in the current mode is determined, then the mode starting time is subtracted from the ending time to obtain the operated duration, the operated duration is subtracted from the mode duration to obtain a new mode duration of the target mode, namely the execution duration, and the ending time is the execution starting time. As in the foregoing example, the running time of the target device in the current mode is 12 pm to 3 am, that is, the ending time is 3 am, after 12 pm, the running time is obtained by subtracting 3 pm from the beginning time, and then the running time is obtained by using 8-3-5 hr, that is, the new mode time of the target mode is obtained. Therefore, the execution time of the target pattern is 3 am and 5 hours.
Next, the target power consumption amount of the target mode is determined based on the power consumption amount and the mode power consumption amount of the target device in the current mode, and the target power consumption amount is obtained by subtracting the power consumption amount from the mode power consumption amount specifically, and as in the above example, if the power consumption amount of the target device in the current mode is 0.5 degrees, the target power consumption amount is 0.77 to 0.5 degrees or 0.27 degrees.
And b3, controlling the target device to switch the target mode to operate based on the execution time and the target power consumption.
And finally, controlling the target equipment to switch the target mode to operate according to the execution time and the target power consumption after the target mode is adjusted, specifically determining the operation frequency of the target equipment according to the target power consumption, and controlling the target equipment to operate for execution time according to the operation frequency.
Further, in an embodiment, step S30 includes:
step c1, if not, obtaining the operation result of the target device in the current mode, and determining the user terminal corresponding to the target device;
in an embodiment, if it is determined that the current mode of the target device is not consistent with the target mode, an operation result of the target device in the current mode is obtained, and meanwhile, a user terminal corresponding to the target device is determined.
And c2, sending the operation result to the user terminal, and controlling the target device to switch the target mode to operate.
And then, sending the operation result to the user terminal, and controlling the target equipment to switch the operation mode into the target mode for operation.
It should be noted that the user terminal may be a user terminal of a current user, that is, a terminal for the current user to operate and control the target device; or the target device may be a user terminal additionally bound with the target device, for example, the target device is an air conditioner, the air conditioner is bound with a terminal of a householder, a son of the householder controls the air conditioner, and the control system sends an operation result of the air conditioner to the terminal of the householder.
In the energy-saving mode, if a mode field reported by a target device is received, a target mode corresponding to the mode field is determined; determining whether a current mode of the target device is consistent with the target mode; and if the current mode of the target equipment is inconsistent with the current mode of the target equipment, acquiring an operation result of the target equipment in the current mode, and controlling the target equipment to switch the target mode to operate based on the operation result. The invention switches modes according to the mode field in the energy-saving mode, and can adjust the target mode to be switched according to the operation result of the previous mode in the switching process, so that the equipment can not execute the target mode to be switched in a rigid manner, but can operate more intelligently according to the adjusted target mode, and the intelligent control of the equipment is realized.
Further, based on the first embodiment of the apparatus control method of the present invention, a second embodiment of the apparatus control method of the present invention is proposed.
The second embodiment of the appliance control method differs from the first embodiment of the appliance control method in that, after step b3, the appliance control method further includes:
step d, if the operation of the target mode is finished, determining the duration of the target mode based on the execution time;
and e, controlling the target equipment to operate according to the target mode within the duration.
In this embodiment, after the target mode operation is finished, the control system starts the intelligent continuation operation, so that the target device continues to operate according to the target mode, and the user can continue to enjoy the operation service brought by the target mode without repeatedly operating the target device, thereby improving the intelligence of device control.
The respective steps will be described in detail below:
and d, if the operation of the target mode is finished, determining the duration of the target mode based on the execution time.
In this embodiment, if the control system detects that the target mode is finished, that is, the target device runs for the execution duration in the target mode, and the target mode is terminated, the process does not receive the mode field of the other mode, which indicates that the user defaults to the target mode, so that the control system does not turn off the target device but selects to continue to enable the target device to continue to run according to the target mode and enable the user to continue to enjoy the running service of the target device.
Specifically, step d includes:
step d1, if the operation of the target mode is finished, determining the duration starting time of the target mode based on the execution time, and determining the duration finishing time of the target mode based on a preset duration, wherein the preset duration is a duration corresponding to the execution time;
step d2, determining the duration of the target pattern based on the duration start time and the duration end time.
Determining the duration of the target mode according to the execution time of the target device in the target mode, where the specific duration logic may be: the continuation start time is the same as the execution start time of the target mode, and then the date is changed to the date of the next day; the continuation end time is a preset time length which is continued from the continuation start time, wherein the preset time length can be consistent with the execution time length, and then the continuation time of the target mode is determined according to the continuation start time and the continuation end time.
If the user starts the target mode from 3 am to 8 am of 7 th 6 th, and the other modes are not switched in the middle, which indicates that the user approves the target mode, after the target mode is finished, the target device is automatically controlled to enter the target mode from 3 am to 8 am of 7 th, without the need of the user to control the target device again.
Of course, the duration may also be continued immediately after the end of the target mode, that is, the duration start time of the target mode may be the end time of the target mode, and the like.
And e, controlling the target equipment to operate according to the target mode within the duration.
In this embodiment, after the duration of the target mode is determined, the control system controls the target apparatus to continue operating in the target mode for the duration.
In this embodiment, after the target mode operation is finished, the control system starts the intelligent continuation operation, so that the target device continues to operate according to the target mode, and the user can continue to enjoy the operation service brought by the target mode without repeatedly operating the target device, thereby improving the intelligence of device control.
The invention also provides a device control device. The device control apparatus of the present invention comprises:
a receiving module, configured to, in an energy saving mode, determine a target mode corresponding to a mode field if the mode field reported by a target device is received, where the mode field includes a numerical value and is used to indicate a mode in which the target device is to operate, and the target mode is the mode in which the target device is to operate;
a determination module to determine whether a current mode of the target device is consistent with the target mode;
and the switching module is used for acquiring the operation result of the target equipment in the current mode if the operation result is inconsistent, and controlling the target equipment to switch the target mode to operate based on the operation result.
Preferably, if the target mode is a quantitative mode, the switching module is further configured to:
if not, acquiring an operation result of the target equipment in the current mode, wherein the operation result comprises operation time and power consumption;
determining an execution time and a target power consumption amount of the target mode based on the operation time and the power consumption amount;
and controlling the target equipment to switch the target mode to operate based on the execution time and the target power consumption.
Preferably, the switching module is further configured to:
determining a mode time and a mode power consumption amount of the target mode, and determining whether the mode time includes the run time;
if so, determining an execution time of the target mode based on the operation time and the mode time, and determining a target power consumption of the target mode based on the power consumption and the mode power consumption.
Preferably, the device control apparatus further comprises a continuation module, the continuation module is configured to:
if the target mode operation is finished, determining the duration of the target mode based on the execution time;
and controlling the target equipment to operate according to the target mode within the duration.
Preferably, the continuation module is further configured to:
if the target mode operation is finished, determining the duration starting time of the target mode based on the execution time, and determining the duration finishing time of the target mode based on a preset duration, wherein the preset duration is the duration corresponding to the execution time;
determining a duration of the target mode based on the duration start time and the duration end time.
Preferably, the switching module is further configured to:
if not, acquiring the operation result of the target equipment in the current mode, and determining a user terminal corresponding to the target equipment;
and sending the operation result to the user terminal, and controlling the target equipment to switch the target mode to operate.
Preferably, the determining module is further configured to:
determining the equipment ID of the target equipment, and determining a record field corresponding to the equipment ID in a preset running record table, wherein the record field is used for representing a mode field;
and determining whether the record field is consistent with the mode field, wherein if not, determining that the current mode of the target device is inconsistent with the target mode.
The invention also provides a computer readable storage medium.
The computer-readable storage medium of the present invention has stored thereon a device control program that, when executed by a processor, implements the steps of the device control method as described above.
The method implemented when the device control program running on the processor is executed may refer to each embodiment of the device control method of the present invention, and details are not described here.
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 (10)

1. An apparatus control method characterized by comprising the steps of:
in an energy-saving mode, if a mode field reported by a target device is received, determining a target mode corresponding to the mode field, wherein the mode field comprises a numerical value used for indicating a mode in which the target device is to operate, and the target mode is the mode in which the target device is to operate;
determining whether a current mode of the target device is consistent with the target mode;
and if the current mode of the target equipment is inconsistent with the current mode of the target equipment, acquiring an operation result of the target equipment in the current mode, and controlling the target equipment to switch the target mode to operate based on the operation result.
2. The device control method according to claim 1, wherein if the target mode is a quantitative mode, if the target mode is not the quantitative mode, the step of obtaining an operation result of the target device in a current mode, and controlling the target device to switch the target mode to operate based on the operation result comprises:
if not, acquiring an operation result of the target equipment in the current mode, wherein the operation result comprises operation time and power consumption;
determining an execution time and a target power consumption amount of the target mode based on the operation time and the power consumption amount;
and controlling the target equipment to switch the target mode to operate based on the execution time and the target power consumption.
3. The device control method according to claim 2, wherein the step of determining the execution time of the target mode and the target power consumption amount based on the operation time and the power consumption amount comprises:
determining a mode time and a mode power consumption amount of the target mode, and determining whether the mode time includes the run time;
if so, determining an execution time of the target mode based on the operation time and the mode time, and determining a target power consumption of the target mode based on the power consumption and the mode power consumption.
4. The device control method according to claim 2, wherein after the step of controlling the target device to switch the target mode operation based on the execution time and the target power consumption amount, the device control method further comprises:
if the target mode operation is finished, determining the duration of the target mode based on the execution time;
and controlling the target equipment to operate according to the target mode within the duration.
5. The device control method according to claim 4, wherein the step of determining the duration of the target mode based on the execution time if the target mode operation ends comprises:
if the target mode operation is finished, determining the duration starting time of the target mode based on the execution time, and determining the duration finishing time of the target mode based on a preset duration, wherein the preset duration is the duration corresponding to the execution time;
determining a duration of the target mode based on the duration start time and the duration end time.
6. The device control method according to claim 1, wherein the step of acquiring an operation result of the target device in a current mode if the operation result is inconsistent with the current mode, and controlling the target device to switch the target mode to operate based on the operation result comprises:
if not, acquiring the operation result of the target equipment in the current mode, and determining a user terminal corresponding to the target equipment;
and sending the operation result to the user terminal, and controlling the target equipment to switch the target mode to operate.
7. The device control method according to any one of claims 1 to 6, wherein the step of determining whether the current mode of the target device coincides with the target mode comprises:
determining the equipment ID of the target equipment, and determining a record field corresponding to the equipment ID in a preset running record table, wherein the record field is used for representing a mode field;
and determining whether the record field is consistent with the mode field, wherein if not, determining that the current mode of the target device is inconsistent with the target mode.
8. An appliance control apparatus, characterized in that the appliance control apparatus comprises:
a receiving module, configured to, in an energy saving mode, determine a target mode corresponding to a mode field if the mode field reported by a target device is received, where the mode field includes a numerical value and is used to indicate a mode in which the target device is to operate, and the target mode is the mode in which the target device is to operate;
a determination module to determine whether a current mode of the target device is consistent with the target mode;
and the switching module is used for acquiring the operation result of the target equipment in the current mode if the operation result is inconsistent, and controlling the target equipment to switch the target mode to operate based on the operation result.
9. A device control system comprising 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 steps of the device control method of any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that a device control program is stored thereon, which when executed by a processor implements the steps of the device control method according to any one of claims 1 to 7.
CN202010765941.XA 2020-07-31 2020-07-31 Equipment control method, device, system and computer readable storage medium Pending CN112327639A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010765941.XA CN112327639A (en) 2020-07-31 2020-07-31 Equipment control method, device, system and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010765941.XA CN112327639A (en) 2020-07-31 2020-07-31 Equipment control method, device, system and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN112327639A true CN112327639A (en) 2021-02-05

Family

ID=74303111

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010765941.XA Pending CN112327639A (en) 2020-07-31 2020-07-31 Equipment control method, device, system and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112327639A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103206767A (en) * 2012-07-09 2013-07-17 广东美的制冷设备有限公司 Energy-saving control method and device for frequency conversion air conditioner
CN104125274A (en) * 2014-07-16 2014-10-29 美的集团武汉制冷设备有限公司 Electric quantity control method, internet of things terminal and internet of things server
CN108131781A (en) * 2017-12-29 2018-06-08 Tcl空调器(中山)有限公司 One kind is based on intelligent air condition visualization electric energy control method, system and storage medium
WO2019047924A1 (en) * 2017-09-07 2019-03-14 中兴通讯股份有限公司 Terminal and power consumption control method therefor, device and computer readable storage medium
CN110513874A (en) * 2019-08-12 2019-11-29 珠海格力电器股份有限公司 Water heater control method and device based on power consumption and water heater
JP2020003167A (en) * 2018-06-29 2020-01-09 株式会社富士通ゼネラル Terminal device and air conditioner control method
CN112611079A (en) * 2020-12-14 2021-04-06 深圳Tcl新技术有限公司 Air conditioner control method and device, terminal equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103206767A (en) * 2012-07-09 2013-07-17 广东美的制冷设备有限公司 Energy-saving control method and device for frequency conversion air conditioner
CN104125274A (en) * 2014-07-16 2014-10-29 美的集团武汉制冷设备有限公司 Electric quantity control method, internet of things terminal and internet of things server
WO2019047924A1 (en) * 2017-09-07 2019-03-14 中兴通讯股份有限公司 Terminal and power consumption control method therefor, device and computer readable storage medium
CN108131781A (en) * 2017-12-29 2018-06-08 Tcl空调器(中山)有限公司 One kind is based on intelligent air condition visualization electric energy control method, system and storage medium
JP2020003167A (en) * 2018-06-29 2020-01-09 株式会社富士通ゼネラル Terminal device and air conditioner control method
CN110513874A (en) * 2019-08-12 2019-11-29 珠海格力电器股份有限公司 Water heater control method and device based on power consumption and water heater
CN112611079A (en) * 2020-12-14 2021-04-06 深圳Tcl新技术有限公司 Air conditioner control method and device, terminal equipment and storage medium

Similar Documents

Publication Publication Date Title
US20190246346A1 (en) Method of connecting to network for home appliance, home appliance, and method of connecting to network for home appliance system
CN108899027B (en) Voice analysis method and device
CN108302713B (en) Air conditioner setting quick adjustment method, air conditioner and readable storage medium
CN102799481B (en) Method and device for switching modes on terminal
CN109855244B (en) Energy-saving timing control method and system
CN109151561A (en) The operation control interface creation method and relevant device of smart home system equipment
CN105992317B (en) Wireless communication module management method and wireless communication module managing device
CN109252324B (en) Washing machine control method and device, storage medium and mobile terminal
CN112436986B (en) Distribution network method, distribution network device, distribution network equipment and computer readable storage medium
CN110376917A (en) A kind of intelligent home control system and control method based on virtual panel
CN111835607A (en) Control method and system of household appliance
CN108039990B (en) Household appliance operation method and system, household appliance and computer readable storage medium
CN111190353B (en) Intelligent household appliance instruction conflict processing method and device, storage medium and electronic device
CN112366822A (en) Control method, device and system of photovoltaic equipment and photovoltaic air conditioner
CN111650841B (en) Linkage method of household appliance system and household appliance system
CN112671572B (en) Method and device for intelligent equipment network distribution, storage medium and electronic device
CN108574765B (en) Control method of intelligent household appliance based on mobile terminal
CN113395193A (en) Equipment control method and device, computer equipment and storage medium
CN112327639A (en) Equipment control method, device, system and computer readable storage medium
CN110505284A (en) A kind of equipment adding method, router and storage medium
CN115167160A (en) Device control method and apparatus, device control system, and storage medium
CN113179197B (en) Household appliance resource sharing method, household appliance resource sharing device and storage device
CN113848740A (en) Control method and device for household electrical appliance
CN111809342A (en) Equipment control method, device and computer storage medium
CN105933755B (en) A kind of intelligence control system and its control method

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