CN110701742A - Control method and device, storage medium and processor - Google Patents

Control method and device, storage medium and processor Download PDF

Info

Publication number
CN110701742A
CN110701742A CN201910985247.6A CN201910985247A CN110701742A CN 110701742 A CN110701742 A CN 110701742A CN 201910985247 A CN201910985247 A CN 201910985247A CN 110701742 A CN110701742 A CN 110701742A
Authority
CN
China
Prior art keywords
air conditioner
time
information
preset
threshold
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
CN201910985247.6A
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.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun 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 Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201910985247.6A priority Critical patent/CN110701742A/en
Publication of CN110701742A publication Critical patent/CN110701742A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • F24F11/63Electronic processing
    • F24F11/64Electronic processing using pre-stored data
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/52Indication arrangements, e.g. displays
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/56Remote control
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/61Control or safety arrangements characterised by user interfaces or communication using timers

Landscapes

  • Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Air Conditioning Control Device (AREA)

Abstract

The invention discloses a control method and device, a storage medium and a processor. The invention comprises the following steps: in a preset mode, acquiring the running time of the air conditioner at intervals of first preset time; and comparing the operation duration with the threshold duration, and generating prompt information, wherein the prompt information is at least information indicating whether the operation duration is greater than the threshold duration. The invention solves the technical problem that the air conditioner companion bag in the related technology cannot regularly remind a user of the continuous operation time of the air conditioner and give out healthy operation time, so that the utilization rate of the air conditioner companion is low.

Description

Control method and device, storage medium and processor
Technical Field
The invention relates to the field of air conditioner control, in particular to a control method and device, a storage medium and a processor.
Background
The air conditioner partner in the related art is equivalent to a universal remote controller, can be matched with control codes of a main stream and various air conditioners, can store infrared codes for special function keys through infrared learning to realize remote control, has functions of electric quantity statistics, safety threshold protection and the like, and improves the utilization rate of air conditioners without intelligent functions.
With the improvement of living standard, the air conditioner has been popularized among households, but the power consumption of the air conditioner is higher than that of other electric appliances, and the air conditioner is uncomfortable even if being blown for a long time, but an air conditioner partner in the prior art cannot regularly remind a user of the continuous operation time of the air conditioner, and cannot remind the user of adjusting the operation mode of the air conditioner to achieve an ecological and healthy environment under the condition that the long-time air conditioner blowing by the user is not healthy for a long time.
Meanwhile, when the user forgets to turn off the air conditioner when going out, the air conditioner companion cannot regularly remind the user of the normal running time of the air conditioner, so that unnecessary electric quantity is wasted by the air conditioner.
In view of the above problems in the related art, no effective solution has been proposed.
Disclosure of Invention
The invention mainly aims to provide a control method and device, a storage medium and a processor, and aims to solve the technical problem that the utilization rate of an air conditioner partner is low because an air conditioner partner bag in the related art cannot regularly remind a user of the continuous operation time of an air conditioner and give a healthy operation time.
In order to achieve the above object, according to one aspect of the present invention, a control method is provided. The invention comprises the following steps: in a preset mode, acquiring the running time of the air conditioner at intervals of first preset time; and comparing the operation duration with the threshold duration, and generating prompt information, wherein the prompt information is at least information indicating whether the operation duration is greater than the threshold duration.
Further, before acquiring the operation time length of the air conditioner at every first preset time, the method further comprises the following steps: receiving a first control instruction sent by a target terminal, wherein the first control instruction comprises a first field and a second field, the first field is a field for indicating that a preset mode is started, and the second field is a field for defining first preset time; analyzing the first control instruction to obtain an analysis result; and controlling to start a preset mode according to the analysis result, and determining first preset time.
Further, before recording the operation time of the air conditioner at every first preset time, the method further comprises the following steps: acquiring current time information and writing the current time information into a timer; and calibrating the current time information every second preset time.
Further, after the preset mode is controlled to be started according to the analysis result and the first preset time is determined, the method comprises the following steps: reading current time information in the timer when a preset mode is started; after reading the first time information in the timer, the method further comprises: the method comprises the steps of obtaining the running time of the air conditioner when the timer times a first preset time, wherein the running time is the sum of the first preset time or a plurality of first preset times.
Further, before comparing the operation duration with the threshold duration and generating the prompt message, the method further includes: and receiving the threshold duration sent by the target terminal.
Further, comparing the operation duration with a threshold duration, and generating the prompt message includes: under the condition that the operation time length is less than or equal to the threshold time length, calculating the difference time length between the operation time length and the threshold time length, and generating first prompt information, wherein the first prompt information comprises the operation time length and the difference time length of the air conditioner; or generating second prompt information under the condition that the operation time length is greater than the threshold time length, wherein the second prompt information at least comprises overtime warning and inquiry requests, and the inquiry requests are control information for requesting whether to close the air conditioner.
Further, in the case that the operation duration is greater than the threshold duration, after the second prompt message is generated, the method further includes: and after receiving the control information for closing the air conditioner, sending a second control instruction to the air conditioner to close the air conditioner.
In order to achieve the above object, according to another aspect of the present invention, there is provided a control apparatus. The device includes: the first acquisition unit is used for acquiring the running time of the air conditioner at intervals of first preset time in a preset mode; and the comparison unit is used for comparing the operation duration with the threshold duration and generating prompt information, wherein the prompt information is at least information indicating whether the operation duration is greater than the threshold duration.
The invention adopts the following steps: in a preset mode, acquiring the running time of the air conditioner at intervals of first preset time; the operating duration is compared with the threshold duration, and prompt information is generated, wherein the prompt information is at least information for prompting whether the operating duration is greater than the threshold duration, so that the technical problem that the utilization rate of an air conditioner partner is low due to the fact that the air conditioner partner bag in the related technology cannot regularly remind a user of the continuous operating duration of the air conditioner and give out healthy operating duration is solved, and the technical effect of improving the intelligence of the air conditioner partner is further achieved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate an embodiment of the invention and, together with the description, serve to explain the invention and not to limit the invention. In the drawings:
fig. 1 is a flowchart of a control method provided according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating an air conditioner partner controlling an air conditioner according to an embodiment of the present invention; and
fig. 3 is a schematic diagram of a control device according to an embodiment of the present invention.
Detailed Description
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict. The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged under appropriate circumstances in order to facilitate the description of the embodiments of the invention herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
For convenience of description, some terms or expressions referring to the embodiments of the present invention are explained below:
an air conditioner partner: mainly have functions such as infrared emission, infrared study, old-fashioned air conditioner in the past does not carry on wifi or other communication module, can only pass through remote controller control, can not pass through wireless remote control, the air conditioner companion is a smart jack, the wifi module is carried on to the inside, the cell-phone forwards the instruction for the air conditioner companion through the route, thereby the air conditioner companion receives after the instruction if for control command then generate corresponding infrared sign indicating number and pass through infrared emission module transmission and go out the remote control air conditioner no longer need the remote controller to control the air conditioner.
According to an embodiment of the present invention, there is provided a control method.
Fig. 1 is a flowchart of a control method according to an embodiment of the present invention. As shown in fig. 1, the present invention comprises the steps of:
step S101, in a preset mode, obtaining the running time of the air conditioner at intervals of first preset time.
In the foregoing, an embodiment of the present application provides an air conditioner partner with an air conditioner guarding function, where in an air conditioner guarding mode, the air conditioner partner periodically obtains a total operation duration of an air conditioner.
Step S102, comparing the running time with a threshold value time, and generating prompt information, wherein the prompt information is at least information indicating whether the running time is greater than the threshold value time.
Specifically, after the air conditioner partner obtains the operation duration of the air conditioner, the operation duration is compared with the health threshold duration, prompt information is generated according to the comparison result, the prompt information at least comprises information whether the operation duration of the air conditioner is larger than the health threshold duration, the generated information is sent to the terminal device, and a user is reminded whether the operation of the air conditioner is healthy or not through pushing of the terminal device.
By the method, the air conditioner partner periodically pushes the continuous operation time of the air conditioner at regular time, and judges whether the duration of the time affects the health, so that the user can pay attention to ecological health while the user feels comfortable.
Optionally, before obtaining the operation duration of the air conditioner at every first preset time, the method further includes: receiving a first control instruction sent by a target terminal, wherein the first control instruction comprises a first field and a second field, the first field is a field for indicating that a preset mode is started, and the second field is a field for defining first preset time; analyzing the first control instruction to obtain an analysis result; and controlling to start a preset mode according to the analysis result, and determining first preset time.
In the above, before the air conditioner partner enters the air conditioner daemon mode, the air conditioner partner first receives control execution sent by the terminal, and a control instruction contains field information for controlling the air conditioner partner to start the air conditioner daemon mode, and at the same time, the control instruction includes definition of first preset time, that is, a period for the air conditioner partner to acquire an air conditioner running time, that is, a period for the air conditioner partner to push prompt information to the terminal is completed at the terminal, so that a user can set the period for the air conditioner partner to push prompt information through the terminal.
Further, after receiving and analyzing the control command, the air conditioner partner starts an air conditioner daemon mode according to an analysis result, and detects the operation time length of the air conditioner according to a period defined by the terminal.
It should be noted that, before the period for acquiring the air conditioner running time length by setting the air conditioner partner through the terminal, the method further includes: and (4) distributing the air conditioner mate to a network, and connecting the air conditioner mate of the network with the terminal.
Optionally, before recording the operation time of the air conditioner at every first preset time, the method further comprises: acquiring current time information and writing the current time information into a timer; and calibrating the current time information every second preset time.
In the foregoing, before the air conditioner partner starts the daemon function, the air conditioner partner in the distribution network obtains current time information corresponding to the start of the daemon function from the server, writes the current time information into the hardware timer through the real-time clock chip, and reads time calibration from the server at regular intervals, so as to ensure the accuracy of time.
It should be noted that, no matter whether the air conditioner partner starts the guarding function, the air conditioner partner may display time through the acquired time information, that is, the air conditioner partner provided in this embodiment has a timing function.
Optionally, after the preset mode is controlled to be started according to the analysis result and the first preset time is determined, the method includes: reading current time information in the timer when a preset mode is started; after reading the first time information in the timer, the method further comprises: the method comprises the steps of obtaining the running time of the air conditioner when the timer times a first preset time, wherein the running time is the sum of the first preset time or a plurality of first preset times.
Specifically, the timer is arranged in the air conditioner partner, so that the current time information recorded by the timer is obtained after the air conditioner partner starts the guard function, when the first preset time is read by the timer, a time period is proved to pass, and the passed time period (a first preset time) is recorded as the operation duration of the air conditioner. And recording a plurality of first preset time periods as the running time of the air conditioner after the plurality of time periods.
It should be noted that the air conditioner partner obtains the operation duration of the air conditioner when detecting that a time period is counted by the timer.
Optionally, before comparing the operation duration with the threshold duration and generating the prompt message, the method further includes: and receiving the threshold duration sent by the target terminal.
Specifically, the terminal may obtain the health threshold durations of the air conditioner in different modes through a network, or the terminal may customize the air conditioner operation duration suitable for the user through the age, sex, and current season of the user.
Optionally, comparing the operation duration with a threshold duration, and generating the prompt information includes: under the condition that the operation time length is less than or equal to the threshold time length, calculating the difference time length between the operation time length and the threshold time length, and generating first prompt information, wherein the first prompt information comprises the operation time length and the difference time length of the air conditioner; or generating second prompt information under the condition that the operation time length is greater than the threshold time length, wherein the second prompt information at least comprises overtime warning and inquiry requests, and the inquiry requests are control information for requesting whether to close the air conditioner.
In each time period, after the air conditioner partner obtains the operation time length of the air conditioner, the operation time length of the air conditioner is compared with the health threshold time length, when the operation time length is smaller than or equal to the threshold time length, the difference time length between the threshold time length and the operation time length is calculated, and the calculated difference time length and the operation time length of the air conditioner are generated to prompt information and pushed to the terminal.
Above-mentioned, can remind the user air conditioner can also be in healthy time length within range how long through the difference duration.
In another case, after the comparison, when the operation duration of the air conditioner is longer than the threshold duration, it indicates that the operation of the current air conditioner is already in the unhealthy operation duration, in this case, the air conditioner partner generates a second prompt message, where the second prompt message at least includes an overtime warning and an inquiry request for whether the air conditioner needs to be turned off, and the second prompt message may further include the overtime duration of the operation of the air conditioner.
By the method, the air conditioner companion with the air conditioner guarding function can provide a more ecological and healthier mode for the user to protect the user from driving healthily, has the function of energy saving and protection, and can remind the user to turn off the air conditioner in time through the guarding function when the user forgets to turn off the air conditioner when going out, so that unnecessary waste is saved for the user, and the electrical appliance is safer.
It should be noted that, if the air conditioner is turned off during the process of turning on the air conditioner daemon and is turned on again within a second preset time, the operation time of the air conditioner before turning off the air conditioner is also accumulated, where the second preset time is a relatively short time, for example: 5 minutes, 10 minutes or 15 minutes.
Similarly, if the air conditioner is turned off in the air conditioner daemon function and the air conditioner is turned on again at a third preset time interval, the previous air conditioner operation time is cleared and accumulated again, and the setting may be specifically performed at the mobile terminal, where the third preset time interval is a longer time interval, for example, 1 hour or two hours.
Optionally, in a case that the operation duration is greater than the threshold duration, after the second prompt message is generated, the method further includes: and after receiving the control information for closing the air conditioner, sending a second control instruction to the air conditioner to close the air conditioner.
After the air conditioner mate generates the prompt information, the air conditioner mate sends the prompt information to the terminal, and the terminal can push and display the information.
According to the method, an air conditioner guarding function is added on the air conditioner partner, a user sets time interval reminding on the terminal, after the guarding function is started, if the air conditioner is not closed all the time, the device can report information to be pushed to the mobile terminal at certain intervals, the terminal can remind the user of whether the continuous operation time of the air conditioner and the time length influence the health of the user, the user can close the air conditioner or close the air conditioner in an appointment mode according to the reminding mode, discomfort caused by long-time air-conditioning blowing is avoided, the air conditioner is prevented from operating for a long time to damage a circuit, and the use process of the air conditioner is more.
According to the control method provided by the embodiment of the invention, the operation time of the air conditioner is obtained at intervals of a first preset time in a preset mode; the operating duration is compared with the threshold duration, and prompt information is generated, wherein the prompt information is at least information for prompting whether the operating duration is greater than the threshold duration, so that the technical problem that the utilization rate of an air conditioner partner is low due to the fact that the air conditioner partner bag in the related technology cannot regularly remind a user of the continuous operating duration of the air conditioner and give out healthy operating duration is solved, and the technical effect of improving the intelligence of the air conditioner partner is further achieved.
Fig. 2 is a flowchart of an air conditioner partner controlling an air conditioner according to an embodiment of the present invention. As shown in fig. 2, the method includes:
step S201, the mobile terminal is networked with an air conditioner partner;
step S202, the mobile terminal sets an information push period and starts a guard function of an air conditioner mate;
step S203, the air conditioner partner reports information to the mobile terminal every other time period, and judges whether the running time of the air conditioner exceeds the health threshold time;
step S204, when the running time of the air conditioner does not exceed the health threshold value, the mobile terminal pushes a message to remind a user of the running time of the air conditioner, and the user can continue to run for a long time to ensure health;
step S205, when the running time of the air conditioner exceeds the health threshold time, the mobile terminal pops up a warning, the running time of the air conditioner exceeds the health threshold time, and the air conditioner is required to be turned off for health;
step S206, whether the air conditioner is closed or not;
step S207, receiving an instruction for closing the air conditioner, ending the whole process, and turning to step S203 when receiving an instruction for not closing the air conditioner;
through the steps, the technical problem that the utilization rate of the air conditioner partner is low due to the fact that the air conditioner partner bag in the related technology cannot regularly remind a user of the continuous operation duration of the air conditioner and give out healthy operation duration is solved, and the technical effect of improving the intelligence of the air conditioner partner is further achieved.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
The embodiment of the present invention further provides a control device, and it should be noted that the control device according to the embodiment of the present invention may be used to execute the control method provided by the embodiment of the present invention. A control device according to an embodiment of the present invention will be described below.
Fig. 3 is a schematic diagram of a control device according to an embodiment of the present invention. As shown in fig. 3, the apparatus includes: a first obtaining unit 301, configured to obtain an operation duration of the air conditioner every first preset time in a preset mode; a comparing unit 302, configured to compare the operation duration with a threshold duration, and generate a prompt message, where the prompt message is at least information indicating whether the operation duration is greater than the threshold duration.
According to the control device provided by the embodiment of the invention, the first obtaining unit 301 obtains the operation duration of the air conditioner at intervals of a first preset time in a preset mode; the comparison unit 302 compares the operation duration with a threshold duration and generates prompt information, wherein the prompt information is at least information for prompting whether the operation duration is greater than the threshold duration, so that the technical problem that an air conditioner companion packet in the related art cannot regularly remind a user of the continuous operation duration of an air conditioner and give out healthy operation duration, and the utilization rate of the air conditioner companion is low is solved, and the technical effect of improving the intelligence of the air conditioner companion is achieved
Optionally, the apparatus further comprises: the first receiving unit is used for receiving a first control instruction sent by a target terminal before the running time of the air conditioner is acquired at intervals of first preset time, wherein the first control instruction comprises a first field and a second field, the first field is a field for indicating the starting of a preset mode, and the second field is a field for defining the first preset time; the analysis unit is used for analyzing the first control instruction to obtain an analysis result; and the determining unit is used for controlling the opening of the preset mode according to the analysis result and determining the first preset time.
Optionally, the apparatus further comprises: the second acquisition unit is used for acquiring current time information before recording the running time of the air conditioner at intervals of first preset time and writing the current time information into the timer; and the calibration unit is used for calibrating the current time information every second preset time.
Optionally, the apparatus comprises: the reading unit is used for reading the current time information in the timer when the preset mode is started after the preset mode is controlled to be started according to the analysis result and the first preset time is determined; the device still includes: and the second obtaining unit is used for obtaining the running time length of the air conditioner when the timer counts a first preset time after reading the first time information in the timer, wherein the running time length is a first preset time or the sum of a plurality of first preset times.
Optionally, the apparatus further comprises: and the first receiving unit is used for receiving the threshold duration sent by the target terminal before comparing the running duration with the threshold duration and generating the prompt message.
Optionally, the comparing unit 302 includes: the first generation subunit is used for calculating the difference duration between the operation duration and the threshold duration and generating first prompt information under the condition that the operation duration is less than or equal to the threshold duration, wherein the first prompt information comprises the operation duration and the difference duration of the air conditioner; or the second generating subunit is configured to generate second prompt information when the operation duration is greater than the threshold duration, where the second prompt information at least includes an overtime warning and an inquiry request, and the inquiry request is control information requesting whether to turn off the air conditioner.
Optionally, the apparatus further comprises: and the sending unit is used for sending a second control instruction to the air conditioner to close the air conditioner after receiving the control information for closing the air conditioner after generating the second prompt information under the condition that the running time length is greater than the threshold time length.
The first acquisition unit 301, the comparison unit 302 and the like are stored in the memory as program units, and the corresponding functions are realized by executing the program units stored in the memory by the processor.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more than one, and the technical problem that the utilization rate of the air conditioner partner is low because the air conditioner partner bag in the related technology cannot regularly remind a user of the continuous operation time of the air conditioner and give a healthy operation time is solved by adjusting the kernel parameters.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
An embodiment of the present invention provides a storage medium having a program stored thereon, the program implementing a control method when executed by a processor.
The embodiment of the invention provides a processor, which is used for running a program, wherein a control method is executed when the program runs.
The embodiment of the invention provides equipment, which comprises a processor, a memory and a program which is stored on the memory and can run on the processor, wherein the processor executes the program and realizes the following steps: in a preset mode, acquiring the running time of the air conditioner at intervals of first preset time; and comparing the operation duration with the threshold duration, and generating prompt information, wherein the prompt information is at least information indicating whether the operation duration is greater than the threshold duration.
Optionally, before obtaining the operation duration of the air conditioner at every first preset time, the method further includes: receiving a first control instruction sent by a target terminal, wherein the first control instruction comprises a first field and a second field, the first field is a field for indicating that a preset mode is started, and the second field is a field for defining first preset time; analyzing the first control instruction to obtain an analysis result; and controlling to start a preset mode according to the analysis result, and determining first preset time.
Optionally, before recording the operation time of the air conditioner at every first preset time, the method further comprises: acquiring current time information and writing the current time information into a timer; and calibrating the current time information every second preset time.
Optionally, after the preset mode is controlled to be started according to the analysis result and the first preset time is determined, the method includes: reading current time information in the timer when a preset mode is started; after reading the first time information in the timer, the method further comprises: the method comprises the steps of obtaining the running time of the air conditioner when the timer times a first preset time, wherein the running time is the sum of the first preset time or a plurality of first preset times.
Optionally, before comparing the operation duration with the threshold duration and generating the prompt message, the method further includes: and receiving the threshold duration sent by the target terminal.
Optionally, comparing the operation duration with a threshold duration, and generating the prompt information includes: under the condition that the operation time length is less than or equal to the threshold time length, calculating the difference time length between the operation time length and the threshold time length, and generating first prompt information, wherein the first prompt information comprises the operation time length and the difference time length of the air conditioner; or generating second prompt information under the condition that the operation time length is greater than the threshold time length, wherein the second prompt information at least comprises overtime warning and inquiry requests, and the inquiry requests are control information for requesting whether to close the air conditioner.
Optionally, in a case that the operation duration is greater than the threshold duration, after the second prompt message is generated, the method further includes: and after receiving the control information for closing the air conditioner, sending a second control instruction to the air conditioner to close the air conditioner. The device herein may be a server, a PC, a PAD, a mobile phone, etc.
The invention also provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device: in a preset mode, acquiring the running time of the air conditioner at intervals of first preset time; and comparing the operation duration with the threshold duration, and generating prompt information, wherein the prompt information is at least information indicating whether the operation duration is greater than the threshold duration.
Optionally, before obtaining the operation duration of the air conditioner at every first preset time, the method further includes: receiving a first control instruction sent by a target terminal, wherein the first control instruction comprises a first field and a second field, the first field is a field for indicating that a preset mode is started, and the second field is a field for defining first preset time; analyzing the first control instruction to obtain an analysis result; and controlling to start a preset mode according to the analysis result, and determining first preset time.
Optionally, before recording the operation time of the air conditioner at every first preset time, the method further comprises: acquiring current time information and writing the current time information into a timer; and calibrating the current time information every second preset time.
Optionally, after the preset mode is controlled to be started according to the analysis result and the first preset time is determined, the method includes: reading current time information in the timer when a preset mode is started; after reading the first time information in the timer, the method further comprises: the method comprises the steps of obtaining the running time of the air conditioner when the timer times a first preset time, wherein the running time is the sum of the first preset time or a plurality of first preset times.
Optionally, before comparing the operation duration with the threshold duration and generating the prompt message, the method further includes: and receiving the threshold duration sent by the target terminal.
Optionally, comparing the operation duration with a threshold duration, and generating the prompt information includes: under the condition that the operation time length is less than or equal to the threshold time length, calculating the difference time length between the operation time length and the threshold time length, and generating first prompt information, wherein the first prompt information comprises the operation time length and the difference time length of the air conditioner; or generating second prompt information under the condition that the operation time length is greater than the threshold time length, wherein the second prompt information at least comprises overtime warning and inquiry requests, and the inquiry requests are control information for requesting whether to close the air conditioner.
Optionally, in a case that the operation duration is greater than the threshold duration, after the second prompt message is generated, the method further includes: and after receiving the control information for closing the air conditioner, sending a second control instruction to the air conditioner to close the air conditioner.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present invention, and are not intended to limit the present invention. Various modifications and alterations to this invention will become apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims (10)

1. A control method, comprising:
in a preset mode, acquiring the running time of the air conditioner at intervals of first preset time;
and comparing the operation time length with a threshold time length, and generating prompt information, wherein the prompt information is at least information for prompting whether the operation time length is greater than the threshold time length.
2. The method of claim 1, before acquiring the operation time period of the air conditioner at every first preset time, further comprising:
receiving a first control instruction sent by a target terminal, wherein the first control instruction comprises a first field and a second field, the first field is a field indicating that the preset mode is started, and the second field is a field defining the first preset time;
analyzing the first control instruction to obtain an analysis result;
and controlling to start the preset mode according to the analysis result, and determining the first preset time.
3. The method of claim 2, before recording the operation time period of the air conditioner at every first preset time, further comprising:
acquiring current time information and writing the current time information into a timer;
and calibrating the current time information every second preset time.
4. The method of claim 3, comprising:
after the preset mode is controlled to be started according to the analysis result and the first preset time is determined, the method comprises the following steps: reading current time information in the timer when the preset mode is started;
after reading the first time information in the timer, the method further comprises: and when the timer times one first preset time, acquiring the running time of the air conditioner, wherein the running time is the sum of one first preset time or a plurality of first preset times.
5. The method of claim 1, wherein prior to comparing the run length to a threshold length and generating a prompt, the method further comprises:
and receiving the threshold duration sent by the target terminal.
6. The method of claim 1, wherein comparing the run length to a threshold length and generating a hint comprises:
under the condition that the operation time length is less than or equal to the threshold time length, calculating a difference time length between the operation time length and the threshold time length, and generating first prompt information, wherein the first prompt information comprises the operation time length of the air conditioner and the difference time length; alternatively, the first and second electrodes may be,
and generating second prompt information under the condition that the operation time length is greater than the threshold time length, wherein the second prompt information at least comprises overtime warning and inquiry requests, and the inquiry requests are control information for requesting whether to close the air conditioner.
7. The method of claim 6, wherein after generating a second prompt message if the operational time duration is greater than the threshold time duration, the method further comprises:
and after receiving the control information for closing the air conditioner, sending a second control instruction to the air conditioner to close the air conditioner.
8. A control device, comprising:
the first acquisition unit is used for acquiring the running time of the air conditioner at intervals of first preset time in a preset mode;
and the comparison unit is used for comparing the operation time length with a threshold time length and generating prompt information, wherein the prompt information is at least information for prompting whether the operation time length is greater than the threshold time length.
9. A storage medium characterized by comprising a stored program, wherein the program executes a control method according to any one of claims 1 to 7.
10. A processor for running a program, wherein the program is run to perform a control method according to any one of claims 1 to 7.
CN201910985247.6A 2019-10-16 2019-10-16 Control method and device, storage medium and processor Pending CN110701742A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910985247.6A CN110701742A (en) 2019-10-16 2019-10-16 Control method and device, storage medium and processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910985247.6A CN110701742A (en) 2019-10-16 2019-10-16 Control method and device, storage medium and processor

Publications (1)

Publication Number Publication Date
CN110701742A true CN110701742A (en) 2020-01-17

Family

ID=69201272

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910985247.6A Pending CN110701742A (en) 2019-10-16 2019-10-16 Control method and device, storage medium and processor

Country Status (1)

Country Link
CN (1) CN110701742A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111878977A (en) * 2020-07-31 2020-11-03 中国平安人寿保险股份有限公司 Distributed equipment control method, device, equipment and medium based on network
CN112413846A (en) * 2020-11-20 2021-02-26 珠海格力电器股份有限公司 Control method and device
CN113606747A (en) * 2021-08-03 2021-11-05 深圳万茂环境建设发展有限公司 Embedded intelligent electromechanical device state monitoring method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101430905A (en) * 2008-11-21 2009-05-13 无敌科技(西安)有限公司 Hand-hold electronic apparatus and method with music play time-out protection function
CN103512147A (en) * 2012-06-25 2014-01-15 珠海格力电器股份有限公司 Air conditioner and control device and method thereof
CN103954025A (en) * 2014-05-21 2014-07-30 江苏新科电器有限公司 Intelligent control system of air conditioner and intelligent control method thereof
CN106228060A (en) * 2016-07-27 2016-12-14 广东欧珀移动通信有限公司 Control method and control device
US20170124838A1 (en) * 2015-10-28 2017-05-04 Johnson Controls Technology Company Multi-function thermostat with health monitoring features
CN108332363A (en) * 2018-04-27 2018-07-27 奥克斯空调股份有限公司 A kind of band voice control function air conditioner and its control method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101430905A (en) * 2008-11-21 2009-05-13 无敌科技(西安)有限公司 Hand-hold electronic apparatus and method with music play time-out protection function
CN103512147A (en) * 2012-06-25 2014-01-15 珠海格力电器股份有限公司 Air conditioner and control device and method thereof
CN103954025A (en) * 2014-05-21 2014-07-30 江苏新科电器有限公司 Intelligent control system of air conditioner and intelligent control method thereof
US20170124838A1 (en) * 2015-10-28 2017-05-04 Johnson Controls Technology Company Multi-function thermostat with health monitoring features
CN106228060A (en) * 2016-07-27 2016-12-14 广东欧珀移动通信有限公司 Control method and control device
CN108332363A (en) * 2018-04-27 2018-07-27 奥克斯空调股份有限公司 A kind of band voice control function air conditioner and its control method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
高濂: "《我的第一本健康书:四季养生》", 31 March 2009, 陕西师范大学出版社 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111878977A (en) * 2020-07-31 2020-11-03 中国平安人寿保险股份有限公司 Distributed equipment control method, device, equipment and medium based on network
CN111878977B (en) * 2020-07-31 2022-06-10 中国平安人寿保险股份有限公司 Distributed equipment control method, device, equipment and medium based on network
CN112413846A (en) * 2020-11-20 2021-02-26 珠海格力电器股份有限公司 Control method and device
CN113606747A (en) * 2021-08-03 2021-11-05 深圳万茂环境建设发展有限公司 Embedded intelligent electromechanical device state monitoring method and system

Similar Documents

Publication Publication Date Title
CN110701742A (en) Control method and device, storage medium and processor
WO2021073169A1 (en) Method and apparatus for generating prompt information, and mobile terminal
CN112153216A (en) Electric quantity early warning method and device, terminal equipment and storage medium
CN111479016B (en) Terminal use duration reminding method and device, terminal and storage medium
CN107943269B (en) Scheduling job control method, device, terminal equipment and storage medium
CN109656440B (en) Application icon display method, device and medium
CN107306443B (en) Information processing method and terminal
CN105281965B (en) Traffic acquisition method and device based on IOS (input/output system)
CN108678564B (en) Awakening method and device of intelligent lock
CN110783970A (en) Charging method, charging device, charging terminal and computer readable storage medium
CN110875091A (en) Method for analyzing living habits of user based on refrigerator, refrigerator and medium
CN110736224B (en) Control method and device of intelligent household equipment, storage medium and processor
CN113728294B (en) Power consumption control and scheme generation method, device, system and storage medium
CN109933419B (en) Control method and device
CN115933421A (en) Energy-saving control method and device for electrical equipment and electrical equipment
CN108107740B (en) Household appliance control method and device
CN113947827A (en) Method and device for adjusting running power consumption of door lock, electronic equipment and storage medium
CN117006625A (en) Operation control method and device of equipment, air treatment equipment and electronic device
CN112715040A (en) Method for reducing power consumption, terminal equipment and storage medium
CN114500143A (en) Method and device for controlling equipment based on knowledge graph
CN107734184A (en) A kind of indicating mode switching method, device, terminal and readable storage medium storing program for executing
CN108845531B (en) Voice control command word pushing method and device
CN112617669A (en) Information processing method, device, equipment and storage medium
CN113364080A (en) Activation circuit, battery management system and cleaning equipment
CN111722568B (en) Method and device for controlling electric toothbrush and central control device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200117

RJ01 Rejection of invention patent application after publication