CN113359517B - Method and device for recovering power failure of equipment operation, storage medium and electronic equipment - Google Patents

Method and device for recovering power failure of equipment operation, storage medium and electronic equipment Download PDF

Info

Publication number
CN113359517B
CN113359517B CN202110465662.6A CN202110465662A CN113359517B CN 113359517 B CN113359517 B CN 113359517B CN 202110465662 A CN202110465662 A CN 202110465662A CN 113359517 B CN113359517 B CN 113359517B
Authority
CN
China
Prior art keywords
time
reservation instruction
new reservation
power supply
condition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110465662.6A
Other languages
Chinese (zh)
Other versions
CN113359517A (en
Inventor
王先庆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202110465662.6A priority Critical patent/CN113359517B/en
Publication of CN113359517A publication Critical patent/CN113359517A/en
Application granted granted Critical
Publication of CN113359517B publication Critical patent/CN113359517B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application relates to the technical field of intelligent household appliances, and discloses a method for recovering equipment operation power failure, which comprises the following steps: judging a power supply condition based on signal conditions of a plurality of devices; under the condition of power failure, screening out equipment with reserved operation according to state data reported by the household appliance equipment, and storing related data; and under the condition of power supply recovery, judging whether a new reservation instruction needs to be generated or not, and if so, generating and issuing a new reservation instruction according to the stored related data. Therefore, under the condition that power supply is recovered after power failure, a new reservation instruction can be generated according to the related data of the equipment with the reservation operation, the condition that the reservation operation cannot be executed according to a plan due to power failure is improved, and user experience is improved.

Description

Method and device for recovering power failure of equipment operation, storage medium and electronic equipment
Technical Field
The present application relates to the field of intelligent home appliance technologies, and for example, to a method, an apparatus, a storage medium, and an electronic device for recovering from a power failure in device operation.
Background
At present, the control mode of intelligent household electrical appliance includes: the user directly operates the home appliance body (such as keys, a touch screen and the like). The user controls the household appliance through the household appliance remote controller. The user controls through the APP; according to the position of the user, the method can be divided into two types: and (3) small circulation: the user uses the APP to carry out close range control through the home domain network within the home range; and (3) large circulation: the user uses the APP to carry out remote control through the mobile internet outside the family range.
The user controls the household appliance in a voice mode, which can be divided into direct control and indirect control. Directly controlling: a user directly sends a voice control instruction to a target intelligent household appliance; and (3) indirect control: and the user sends a voice control instruction to equipment such as the intelligent sound box/the robot and the like, and the intelligent sound box/the robot sends a control instruction to the target household appliance.
In the existing intelligent household appliance control mode, after the equipment is powered off, even if the electric power is recovered, the equipment cannot timely recover and execute the original reservation operation, so that the reservation operation of a user cannot be executed according to a plan due to the power off, and the user experience is influenced.
Disclosure of Invention
The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosed embodiments. This summary is not an extensive overview nor is intended to identify key/critical elements or to delineate the scope of such embodiments but rather as a prelude to the more detailed description that is presented later.
The embodiment of the disclosure provides a method, a device, a storage medium and an electronic device for recovering power failure of device operation, so as to solve the technical problem that the user experience is influenced because the reserved operation cannot be executed according to a plan due to power failure in the reserved operation of a user.
In some embodiments, there is provided a method for power down recovery of device operations, comprising:
judging a power supply condition based on signal conditions of a plurality of devices;
under the condition of power failure, screening out equipment with reserved operation according to state data reported by the household appliance equipment, and storing related data;
and under the condition of power supply recovery, judging whether a new reservation instruction needs to be generated or not, and if so, generating and issuing a new reservation instruction according to the stored related data.
In some embodiments, the determining a power supply condition based on signal conditions of a plurality of devices includes:
determining that the power supply condition is power off under the condition that the heartbeat signals of the plurality of devices cannot be received for a first set time length;
and under the condition that the heartbeat signals of the plurality of devices are received for a second set time after the power failure, determining that the power supply condition is the power restoration.
In some embodiments, the relevant data comprises:
the method comprises the steps of reserving finishing time of a reserving instruction of the household appliance equipment and operation starting time of the reserving instruction.
In some embodiments, the determining whether a new reservation instruction needs to be generated in the case of power restoration includes:
judging the sequence relation between the power supply recovery time and the appointment completion time and the operation starting time;
and determining whether a new reservation instruction needs to be generated according to the relationship.
In some embodiments, determining whether a new reservation instruction needs to be generated based on the relationship comprises:
and generating a new reservation instruction based on the operation starting time and the reservation finishing time when the power supply restoring time is between the operation starting time and the reservation finishing time.
In some embodiments, determining whether a new reservation instruction needs to be generated based on the relationship comprises:
and generating a new reservation instruction based on the operation starting time and the reservation finishing time when the power supply restoring time is earlier than the operation starting time.
In some embodiments, the determining whether a new reservation instruction needs to be generated according to the relationship comprises:
and under the condition that the power supply recovery time is later than the reservation completion time, generating no new reservation instruction.
In some embodiments, the generating and issuing a new reservation instruction includes:
judging whether the current time is in a no-disturbance time period set by a user;
if not, sending an inquiry statement whether to issue a new reservation instruction to the user;
and after receiving a reply confirmed by the user, sending the new reservation instruction to the corresponding household appliance, so that the corresponding household appliance executes according to the new reservation instruction.
The embodiment of the present disclosure further provides a device for recovering from power failure in device operation, including:
the judging unit is used for judging the power supply condition based on the signal conditions of the plurality of devices;
the screening unit is used for screening out equipment with reserved operation according to the state data reported by the household appliance equipment under the condition of power failure and storing related data;
and the issuing unit is used for judging whether a new reservation instruction needs to be generated or not under the condition of power supply recovery, and if so, generating and issuing the new reservation instruction according to the stored related data.
The embodiment of the disclosure also provides a storage medium, which stores program instructions, and when the program instructions are executed, the method provided by the embodiment of the disclosure is executed.
The disclosed embodiment also provides an electronic device, which comprises a processor and a memory, wherein the memory stores program instructions, and the processor is configured to execute the method provided by the disclosed embodiment based on the program instructions.
The method, the device, the storage medium and the electronic equipment for recovering the power failure of the equipment operation provided by the embodiment of the disclosure can realize the following technical effects:
judging the power supply condition based on the signal conditions of the plurality of devices; under the condition of power failure, screening out equipment with reserved operation according to state data reported by the household appliance equipment, and storing related data; and if so, generating a new reservation instruction according to the stored related data and issuing the new reservation instruction, so that the new reservation instruction can be generated according to the related data of the equipment with the reservation operation under the condition of power supply recovery after power failure, the condition that the reservation operation cannot be executed according to a plan due to power failure is improved, and the user experience is improved.
The foregoing general description and the following description are exemplary and explanatory only and are not restrictive of the application.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the accompanying drawings and not in limitation thereof, in which elements having the same reference numeral designations are shown as like elements and not in limitation thereof, and wherein:
FIG. 1 is a schematic diagram of a method for power-off recovery of device operation provided by an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of another method for power down recovery of device operation provided by an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of another method for device operation outage restoration provided by an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of another method for device operation outage restoration provided by an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of an apparatus for recovering from a power outage of an operation of a device according to an embodiment of the present disclosure;
fig. 6 is a schematic diagram of an electronic device provided by an embodiment of the disclosure.
Detailed Description
So that the manner in which the features and elements of the disclosed embodiments can be understood in detail, a more particular description of the disclosed embodiments, briefly summarized above, may be had by reference to the embodiments, some of which are illustrated in the appended drawings. In the following description of the technology, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the disclosed embodiments. However, one or more embodiments may be practiced without these details. In other instances, well-known structures and devices may be shown in simplified form in order to simplify the drawing.
The terms "first," "second," and the like in the description and in the claims, and the above-described drawings of embodiments of the present disclosure, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the present disclosure described herein may be made. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions.
The term "plurality" means two or more unless otherwise specified.
In the embodiment of the present disclosure, the character "/" indicates that the preceding and following objects are in an or relationship. For example, A/B represents: a or B.
The term "and/or" is an associative relationship that describes objects, meaning that three relationships may exist. For example, a and/or B, represents: a or B, or A and B.
The embodiment of the disclosure provides a method, a device, a storage medium and electronic equipment for recovering equipment operation power failure, so as to solve the technical problem that the user experience is influenced because the reserved operation of a user cannot be executed according to a plan due to power failure.
In some embodiments, as shown in fig. 1, there is provided a method for power down recovery of device operation, comprising:
s101, judging a power supply condition based on signal conditions of a plurality of devices;
s102, under the condition of power failure, screening out equipment with reserved operation according to state data reported by the household appliance equipment, and storing related data;
and S103, judging whether a new reservation instruction needs to be generated or not when the power supply is recovered, and if so, generating and issuing a new reservation instruction according to the stored related data.
Judging a power supply condition based on signal conditions of a plurality of devices; under the condition of power failure, screening out equipment with reserved operation according to state data reported by the household appliance equipment, and storing related data;
and if so, generating and issuing a new reservation instruction according to the stored related data, so that the new reservation instruction can be generated according to the related data of the equipment with the reservation operation under the condition of power supply restoration after power failure, thereby improving the condition that the reservation operation cannot be executed according to a plan due to power failure and improving the user experience.
The method provided by the embodiment of the disclosure can be applied to a cloud platform, or a cloud server and the like control the intelligent household appliance at the cloud end.
In practical application, a plurality of devices can be selected as reference devices for power supply conditions. The plurality of devices may be devices that continue to operate when powered, such as routers or refrigerators. The router and the refrigerator can be selected as reference devices by those skilled in the art, and after a plurality of devices are selected, heartbeat signals of the plurality of devices can be continuously detected, and under the condition that the power supply is normal, the heartbeat signals of the plurality of devices can be continuously received. If the heartbeat signals of the plurality of devices are not received for the first set time period, it can be determined that the power-off condition is currently present. If heartbeat signals of a plurality of devices are received for a second set time after the power failure, it can be judged that the power supply condition is changed from the power failure to the power failure recovery.
In some embodiments, as shown in fig. 2, the determining the power supply condition based on the signal conditions of the plurality of devices includes:
s201, determining that the power supply condition is power off under the condition that the heartbeat signals of the plurality of devices cannot be received for a first set time period;
s202, under the condition that heartbeat signals of the plurality of devices are received for a second set time after power failure, determining that the power supply condition is power restoration.
The first set time period and the second set time period may be the same time period or different, and those skilled in the art may set the time periods according to requirements, which is not limited in the present application.
In some embodiments, the relevant data comprises:
the method comprises the steps of reserving finishing time of a reserving instruction of the household appliance equipment and operation starting time of the reserving instruction.
The related data may also include other data, for example, the operation parameters of the reservation instruction, i.e. taking an electric cooker as an example, the related data may include the operation parameters of the electric cooker, i.e. "mode = rice", "taste = moderate". The related data also comprises the reservation finishing time of the reservation instruction of the household appliance and the operation starting time of the reservation instruction, wherein the reservation finishing time and the operation starting time can be set by a user, or can be obtained by converting the household appliance after the user sets one of the reservation finishing time and the operation starting time, and a person skilled in the art can set the reservation finishing time and the operation starting time according to actual needs.
In some embodiments, in the case of power restoration, as shown in fig. 3, the determining whether a new reservation instruction needs to be generated includes:
s301, judging the sequence relation between the power supply recovery time and the appointment completion time and the operation starting time;
s302, determining whether a new reservation instruction needs to be generated according to the relation.
In practical applications, when the power supply is resumed, a time point for determining the time for resuming the power supply may be obtained, and the time for resuming the power supply may be compared with the time for completing the reservation and the time for starting the operation. If the power supply resuming time is after the reservation completing time, a new reservation command does not need to be generated again, and if the power supply resuming time is before the reservation completing time, a new reservation command can be generated. In practical application, if the power supply recovery time is before the operation starting time, a new reservation instruction can be directly generated and issued to the equipment, so that the equipment can continue to execute the reservation operation according to a plan. If the power supply recovery time is after the operation starting time and before the reservation finishing time, a new reservation instruction can be generated, the user can be inquired before the reservation finishing time is issued to the equipment, if the user confirms that the reservation instruction needs to be issued to the equipment, the new reservation instruction is issued, and if the user feeds back that the reservation instruction does not need to be issued to the equipment, the issuing action of the new reservation instruction is stopped. In some embodiments, the user is asked whether to issue the reservation instruction to the device, whether the user is currently in the do-not-disturb time period or not can be judged in advance, if the user is in the do-not-disturb time period, a new reservation instruction can be directly issued to the device to ensure timely execution of the reservation operation, and if the user is not in the do-not-disturb time period, the user can be asked to confirm whether the reservation instruction needs to be issued to the device or not.
In some embodiments, determining whether a new reservation instruction needs to be generated based on the relationship comprises:
and generating a new reservation instruction based on the operation starting time and the reservation finishing time when the power supply restoring time is between the operation starting time and the reservation finishing time.
In some embodiments, determining whether a new reservation instruction needs to be generated based on the relationship comprises:
and generating a new reservation instruction based on the operation starting time and the reservation finishing time under the condition that the power supply recovering time is earlier than the operation starting time.
In some embodiments, the determining whether a new reservation instruction needs to be generated according to the relationship comprises:
and under the condition that the power supply recovery time is later than the reservation completion time, generating no new reservation instruction.
In some embodiments, as shown in fig. 4, the generating and issuing a new reservation instruction includes:
s401, judging whether the current time is in a do-not-disturb time period set by a user;
s402, if not, sending an inquiry statement whether to issue a new reservation instruction to the user;
and S403, after receiving a reply confirmed by the user, sending the new reservation instruction to the corresponding household appliance, so that the corresponding household appliance executes according to the new reservation instruction.
In some embodiments, taking an implementation subject as a cloud platform as an example, the present disclosure provides an example of a method for recovering from a power failure in device operation, including:
the user sends a reservation command opk to the household appliance D, the operation parameter is P, and the reservation completion time is T dst_a . The instruction sending mode comprises the step of sending through control terminals such as an APP (application), or directly operating in a local machine of the household appliance D. The household appliance D needs to report the instruction content to the cloud platform. The operation parameter refers to the operation content of the reservation instruction, such as the cooking operation of an electric rice cooker or the cooling operation of an air conditioner.
After the household appliance D receives the reservation instruction, the time length t required by the operation is calculated according to the operation parameter P op And reporting to the cloud platform. Then, the cloud platform completes time T according to the appointment dst_a And t op Calculating the operation starting time T start
Figure BDA0003043807950000071
T stop And at any moment, when the cloud platform cannot receive heartbeat signals of all reference devices in the house for the first set duration, judging that the house is powered off.
The cloud platform traverses the household appliance equipment, and judges whether the equipment has a reservation instruction opk according to the state data reported by the equipment currently. The criterion includes "T dst_a Not null "," operating state = reserved ", and the like. If yes, recording the operation starting time T of the household appliance D and the command opk start And the state data reported by the household appliance D at the current moment are used as related data.
T recover And at the moment, the cloud platform receives heartbeat signals of all the reference devices for a second set duration, and power supply recovery is judged.
And the cloud platform acquires the recorded related data of the household appliances one by one. Compare reservation completion time T of instruction opk dst_a And operation start time T start And a power supply restoration time T recover
If T is recover Later than T dst_a When the power supply is recovered, the reservation command is overtime. At this time, the cloud platform does not need to generate a new reservation instruction.
If T recover Between T start And T dst_a In between, it is stated that the reservation command should have been initiated prior to restoration of power. At this time, the cloud platform generates a new reservation instruction according to the operation parameter P of the original reservation instruction.
If T recover Earlier than T start When the power supply is recovered, the reservation command does not reach the starting time yet. At the moment, the cloud platform compares the operating parameters P and T of the original reservation instruction dst_a And generating a new reservation instruction.
The cloud platform judges whether the current time is in a no-disturbance time period set by a user. If the user does not disturb the service within the time period (for example, 23; and when the user selects 'yes', the generated new reservation instruction is issued to the target household appliance. If the user is in the no-disturbance time period, the user is not inquired, and a new reservation instruction can be directly issued.
In practical applications, when the power supply is resumed, a time point for determining the time for resuming the power supply may be obtained, and the time for resuming the power supply may be compared with the time for completing the reservation and the time for starting the operation. If the power supply resuming time is after the reservation completing time, a new reservation command does not need to be generated again, and if the power supply resuming time is before the reservation completing time, a new reservation command can be generated. In practical application, if the power supply recovery time is before the operation starting time, a new reservation instruction can be directly generated and issued to the equipment, so that the equipment continues to execute the reservation operation according to a plan. If the power supply recovery time is after the operation starting time and before the reservation finishing time, a new reservation instruction can be generated, the user can be inquired before the reservation instruction is issued to the equipment, if the user confirms that the reservation instruction needs to be issued to the equipment, the new reservation instruction is issued, and if the user feeds back that the reservation instruction does not need to be issued to the equipment, the issuing action of the new reservation instruction is stopped. In some embodiments, the user is asked whether to issue the reservation instruction to the device, whether the user is currently in a do-not-disturb time period or not can be judged in advance, if the user is in the do-not-disturb time period, a new reservation instruction can be directly issued to the device to ensure timely execution of the reservation operation, and if the user is not in the do-not-disturb time period, the user can be asked to confirm whether the reservation instruction needs to be issued to the device or not.
Taking an electric cooker as an example, the embodiment of the disclosure also provides an exemplary implementation mode.
The user directly sets the reserved cooking operation on the electric cooker at the moment of 23 dst_r The (relative time format) was 8 hours.
The electric cooker calculates and completes according to the operation parameters set by the userThe time length t required by the cooking operation op And reporting the data to the cloud platform together with the content of the reservation instruction for 1 hour. After the cloud platform receives the reported data of the electric cooker, the T is sent dst_r Conversion to T dst_a Is 7 op Calculating the operation starting time T start Is 6.
1, in the morning, the cloud platform cannot receive heartbeat signals of the refrigerator and the router for a first set time, and the power failure in the home is judged.
The cloud platform traverses the household appliances and finds T in the state data reported by the electric rice cooker dst_a And =8h, the running state = reserved, and the electric cooker is judged to have the reserved operation. Recording the starting time T of the electric cooker and operation start And status data of the current time as related data.
In 5 a morning, the cloud platform receives heartbeat signals of the refrigerator and the router for a second set time duration, and power supply recovery is judged.
And the cloud platform analyzes the recorded electric cooker data. Since the power restoration time 5 is earlier than the operation start time 6, the cloud platform needs to package the operation parameters ("mode = rice", "taste = moderate") into a new reservation instruction. Moreover, because the electric cooker supports a relative time format, the cloud platform needs to convert the reserved completion time into T according to the current time dst_r It was 1 hour.
The cloud platform judges that the current time is in the no-disturbance time period, and directly issues a new reservation instruction to the electric cooker.
Through the embodiment, a new reservation instruction can be generated according to the related data of the equipment with the reservation operation under the condition that the power supply is recovered after the power failure, so that the condition that the reservation operation cannot be executed according to a plan due to the power failure is improved, and the user experience is improved.
In some embodiments, as shown in fig. 5, there is provided an apparatus for device operation outage restoration, comprising:
a judging unit 501 for judging a power supply situation based on signal situations of a plurality of devices;
a screening unit 502, configured to screen, in the case of a power failure, a device with a reserved operation according to status data reported by the home appliance device, and store related data;
the issuing unit 503 is configured to determine whether a new reservation instruction needs to be generated when power supply is resumed, and if so, generate and issue a new reservation instruction according to the stored related data.
Judging a power supply condition based on signal conditions of a plurality of devices; under the condition of power failure, screening out equipment with reserved operation according to state data reported by the household appliance equipment, and storing related data;
and if so, generating a new reservation instruction according to the stored related data and issuing the new reservation instruction, so that the new reservation instruction can be generated according to the related data of the equipment with the reservation operation under the condition of power supply recovery after power failure, the condition that the reservation operation cannot be executed according to a plan due to power failure is improved, and the user experience is improved.
The method provided by the embodiment of the disclosure can be applied to a cloud platform, or a cloud server and the like control the intelligent household appliance at the cloud end.
In practical application, a plurality of devices can be selected as reference devices for power supply conditions. The plurality of devices may be devices that will continue to operate while powered, such as routers or refrigerators. The technical personnel in the field can select a router and a refrigerator as reference equipment, after a plurality of equipment are selected, heartbeat signals of the plurality of equipment can be continuously detected, and the heartbeat signals of the plurality of equipment can be continuously received under the condition that power supply is normal. If the heartbeat signals of the plurality of devices are not received for the first set time period, it can be determined that the power-off condition is currently present. If heartbeat signals of a plurality of devices are received for a second set time after the power failure, it can be judged that the power supply condition is changed from the power failure to the power failure recovery.
In some embodiments, the determining unit 501 determines the power supply condition based on signal conditions of a plurality of devices, and is configured to:
determining that the power supply condition is power off under the condition that the heartbeat signals of the plurality of devices cannot be received for a first set time length;
and under the condition that the heartbeat signals of the plurality of devices are received for a second set time after the power failure, determining that the power supply condition is the power restoration.
The first set time period and the second set time period may be the same time period or different, and those skilled in the art may set the time periods according to requirements, which is not limited in the present application.
In some embodiments, the relevant data comprises:
the method comprises the steps of reserving finishing time of a reserving instruction of the household appliance equipment and operation starting time of the reserving instruction.
The related data may also include other data, for example, the operation parameters of the reservation instruction, i.e. taking an electric cooker as an example, the related data may include the operation parameters of the electric cooker, i.e. "mode = rice", "taste = moderate". The related data also comprises the reservation finishing time of the reservation instruction of the household appliance and the operation starting time of the reservation instruction, wherein the reservation finishing time and the operation starting time can be set by a user, or can be obtained by converting the household appliance after the user sets one of the reservation finishing time and the operation starting time, and a person skilled in the art can set the reservation finishing time and the operation starting time according to actual needs.
In some embodiments, in the case of power supply restoration, the issuing unit 503 determines whether a new reservation instruction needs to be generated, and is configured to:
judging the sequence relation between the power supply recovery time and the appointment completion time and the operation starting time;
and determining whether a new reservation instruction needs to be generated according to the relationship.
In practical applications, when the power supply is resumed, a time point for determining the time for resuming the power supply may be obtained, and the time for resuming the power supply may be compared with the time for completing the reservation and the time for starting the operation. If the power supply resuming time is after the reservation completing time, a new reservation command does not need to be generated again, and if the power supply resuming time is before the reservation completing time, a new reservation command can be generated. In practical application, if the power supply recovery time is before the operation starting time, a new reservation instruction can be directly generated and issued to the equipment, so that the equipment can continue to execute the reservation operation according to a plan. If the power supply recovery time is after the operation starting time and before the reservation finishing time, a new reservation instruction can be generated, the user can be inquired before the reservation instruction is issued to the equipment, if the user confirms that the reservation instruction needs to be issued to the equipment, the new reservation instruction is issued, and if the user feeds back that the reservation instruction does not need to be issued to the equipment, the issuing action of the new reservation instruction is stopped. In some embodiments, the user is asked whether to issue the reservation instruction to the device, whether the user is currently in the do-not-disturb time period or not can be judged in advance, if the user is in the do-not-disturb time period, a new reservation instruction can be directly issued to the device to ensure timely execution of the reservation operation, and if the user is not in the do-not-disturb time period, the user can be asked to confirm whether the reservation instruction needs to be issued to the device or not.
In some embodiments, determining whether a new reservation instruction needs to be generated based on the relationship comprises:
and generating a new reservation instruction based on the operation starting time and the reservation finishing time when the power supply recovery time is between the operation starting time and the reservation finishing time.
In some embodiments, determining whether a new reservation instruction needs to be generated based on the relationship comprises:
and generating a new reservation instruction based on the operation starting time and the reservation finishing time under the condition that the power supply recovering time is earlier than the operation starting time.
In some embodiments, the determining whether a new reservation instruction needs to be generated according to the relationship comprises:
and under the condition that the power supply recovery time is later than the reservation completion time, a new reservation instruction is not generated.
In some embodiments, the issuing unit 503 generates and issues a new reservation instruction, and is configured to:
judging whether the current time is in a no-disturbance time period set by a user;
if not, sending an inquiry statement whether to issue a new reservation instruction to the user;
and after receiving a reply confirmed by the user, sending the new reservation instruction to the corresponding household appliance, so that the corresponding household appliance executes according to the new reservation instruction.
Through the embodiment, a new reservation instruction can be generated according to the related data of the equipment with the reservation operation under the condition that the power supply is recovered after the power failure, so that the condition that the reservation operation cannot be executed according to a plan due to the power failure is improved, and the user experience is improved.
The method, the device, the storage medium and the electronic equipment for recovering the power failure of the equipment operation provided by the embodiment of the disclosure can realize the following technical effects:
judging a power supply condition based on signal conditions of a plurality of devices; under the condition of power failure, screening out equipment with reserved operation according to state data reported by the household appliance equipment, and storing related data;
and if so, generating and issuing a new reservation instruction according to the stored related data, so that the new reservation instruction can be generated according to the related data of the equipment with the reservation operation under the condition of power supply restoration after power failure, thereby improving the condition that the reservation operation cannot be executed according to a plan due to power failure and improving the user experience.
As shown in fig. 6, an embodiment of the present disclosure provides an electronic device including a processor (processor) 100 and a memory (memory) 101. Optionally, the apparatus may also include a Communication Interface (Communication Interface) 102 and a bus 103. The processor 100, the communication interface 102, and the memory 101 may communicate with each other via a bus 103. The communication interface 102 may be used for information transfer. The processor 100 may call logic instructions in the memory 101 to perform the methods of the embodiments described above.
In addition, the logic instructions in the memory 101 may be implemented in the form of software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products.
The memory 101 is used as a computer readable storage medium for storing software programs, computer executable programs, such as program instructions/modules corresponding to the methods in the embodiments of the present disclosure. The processor 100 executes functional applications and data processing, i.e. implements the methods in the above embodiments, by executing program instructions/modules stored in the memory 101.
The memory 101 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal device, and the like. In addition, the memory 101 may include a high-speed random access memory, and may also include a nonvolatile memory.
The embodiment of the disclosure provides an article (for example, a computer, a mobile phone, etc.) comprising the device.
Embodiments of the present disclosure provide a computer-readable storage medium storing computer-executable instructions configured to perform the above-described method.
Embodiments of the present disclosure provide a computer program product comprising a computer program stored on a computer readable storage medium, the computer program comprising program instructions that, when executed by a computer, cause the computer to perform the method for … described above.
The computer-readable storage medium described above may be a transitory computer-readable storage medium or a non-transitory computer-readable storage medium.
The technical solution of the embodiments of the present disclosure may be embodied in the form of a software product, where the computer software product is stored in a storage medium and includes one or more instructions to enable a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method of the embodiments of the present disclosure. And the aforementioned storage medium may be a non-transitory storage medium comprising: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes, and may also be a transient storage medium.
The above description and drawings sufficiently illustrate embodiments of the disclosure to enable those skilled in the art to practice them. Other embodiments may incorporate structural, logical, electrical, process, and other changes. The examples merely typify possible variations. Individual components and functions are optional unless explicitly required, and the sequence of operations may vary. Portions and features of some embodiments may be included in or substituted for those of others. Furthermore, the words used in the specification are words of description only and are not intended to limit the claims. As used in the description of the embodiments and the claims, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. Similarly, the term "and/or" as used in this application is meant to encompass any and all possible combinations of one or more of the associated listed. Furthermore, the terms "comprises" and/or "comprising," when used in this application, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. Without further limitation, an element defined by the phrase "comprising a …" does not exclude the presence of additional like elements in a process, method, or apparatus that comprises the element. In this document, each embodiment may be described with emphasis on differences from other embodiments, and the same and similar parts between the respective embodiments may be referred to each other. For methods, products, etc. of the embodiment disclosures, reference may be made to the description of the method section for relevance if it corresponds to the method section of the embodiment disclosure.
Those of skill in the art would appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software may depend upon the particular application and design constraints imposed on the technical solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments. It can be clearly understood by the skilled person that, for convenience and simplicity of description, the specific working processes of the above-described systems, apparatuses, and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments disclosed herein, the disclosed methods, products (including but not limited to devices, apparatuses, etc.) may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units may be merely a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form. The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to implement the present embodiment. In addition, functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. In the description corresponding to the flowcharts and block diagrams in the figures, operations or steps corresponding to different blocks may also occur in different orders than disclosed in the description, and sometimes there is no specific order between the different operations or steps. For example, two sequential operations or steps may in fact be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. Each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

Claims (10)

1. A method for power down recovery of operation of a device, comprising:
judging the power supply condition based on the signal conditions of the plurality of devices; wherein the plurality of devices are devices that operate continuously under power supply;
under the condition of power failure, screening out equipment with reserved operation according to state data reported by the household appliance equipment, and storing related data;
under the condition of power supply recovery, judging whether a new reservation instruction needs to be generated, if so, generating the new reservation instruction according to the stored related data and issuing the new reservation instruction;
wherein, the generating and issuing of the new reservation instruction comprises: judging whether the current time is in a no-disturbance time period set by a user; if not, sending an inquiry statement whether to issue a new reservation instruction to the user; after receiving a reply confirmed by the user, issuing the new reservation instruction; if yes, the new reservation instruction is directly issued.
2. The method of claim 1, wherein determining a power condition based on signal conditions of a plurality of devices comprises:
determining that the power supply condition is power off under the condition that the heartbeat signals of the plurality of devices cannot be received for a first set time length;
and under the condition that the heartbeat signals of the plurality of devices are received for a second set time after the power failure, determining that the power supply condition is the power restoration.
3. The method of claim 1, wherein the related data comprises:
the method comprises the steps of reserving finishing time of a reserving instruction of the household appliance and operation starting time of the reserving instruction.
4. The method of claim 3, wherein determining whether a new reservation instruction needs to be generated in the event of power restoration comprises:
judging the precedence relationship between the power supply recovery time and the reservation completion time as well as the operation starting time;
and determining whether a new reservation instruction needs to be generated according to the relationship.
5. The method of claim 4, wherein determining whether a new reservation instruction needs to be generated based on the relationship comprises:
and generating a new reservation instruction based on the operation starting time and the reservation finishing time when the power supply recovery time is between the operation starting time and the reservation finishing time.
6. The method of claim 4, wherein determining whether a new reservation instruction needs to be generated based on the relationship comprises:
and generating a new reservation instruction based on the operation starting time and the reservation finishing time under the condition that the power supply recovering time is earlier than the operation starting time.
7. The method of claim 4, wherein determining whether a new reservation instruction needs to be generated based on the relationship comprises:
and under the condition that the power supply recovery time is later than the reservation completion time, generating no new reservation instruction.
8. An apparatus for power outage restoration for operation of a device, comprising:
the judging unit is used for judging the power supply condition based on the signal conditions of the plurality of devices; wherein the plurality of devices are devices that operate continuously under power supply;
the screening unit is used for screening out equipment with reserved operation according to the state data reported by the household appliance equipment under the condition of power failure and storing related data;
the issuing unit is used for judging whether a new reservation instruction needs to be generated or not under the condition of power supply recovery, and if so, generating and issuing a new reservation instruction according to the stored related data; wherein, the issuing of the new reservation instruction comprises: judging whether the current time is in a no-disturbance time period set by a user; if not, sending an inquiry statement for judging whether to issue a new reservation instruction to the user; after receiving a reply confirmed by the user, issuing the new reservation instruction; if yes, the new reservation instruction is directly issued.
9. A storage medium, characterized in that it stores program instructions which, when executed, perform the method of any one of claims 1 to 7.
10. An electronic device comprising a processor and a memory, the memory storing program instructions, the processor being configured to perform the method of any one of claims 1 to 7 based on the program instructions.
CN202110465662.6A 2021-04-28 2021-04-28 Method and device for recovering power failure of equipment operation, storage medium and electronic equipment Active CN113359517B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110465662.6A CN113359517B (en) 2021-04-28 2021-04-28 Method and device for recovering power failure of equipment operation, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110465662.6A CN113359517B (en) 2021-04-28 2021-04-28 Method and device for recovering power failure of equipment operation, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN113359517A CN113359517A (en) 2021-09-07
CN113359517B true CN113359517B (en) 2023-03-28

Family

ID=77525587

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110465662.6A Active CN113359517B (en) 2021-04-28 2021-04-28 Method and device for recovering power failure of equipment operation, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN113359517B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02306303A (en) * 1989-05-19 1990-12-19 Matsushita Electric Ind Co Ltd Equipment controller
US6212174B1 (en) * 1995-06-30 2001-04-03 Interdigital Technology Corporation Capacity management method for a code division multiple access (CDM) communication system
CN107924166A (en) * 2015-04-03 2018-04-17 绿仕环保科技(上海)有限公司 Environmental control system
CN110165632A (en) * 2019-06-17 2019-08-23 北京助创科技有限公司 Power-out reset system applied to electronic equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108255090B (en) * 2016-12-29 2020-12-29 佛山市顺德区美的电热电器制造有限公司 Control method and device
CN108255091B (en) * 2016-12-29 2021-04-13 佛山市顺德区美的电热电器制造有限公司 Control method and device
CN111487954A (en) * 2020-04-30 2020-08-04 深圳市鼎盛光电有限公司 Control device and control method of electronic equipment and advertisement delivery equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02306303A (en) * 1989-05-19 1990-12-19 Matsushita Electric Ind Co Ltd Equipment controller
US6212174B1 (en) * 1995-06-30 2001-04-03 Interdigital Technology Corporation Capacity management method for a code division multiple access (CDM) communication system
CN107924166A (en) * 2015-04-03 2018-04-17 绿仕环保科技(上海)有限公司 Environmental control system
CN110165632A (en) * 2019-06-17 2019-08-23 北京助创科技有限公司 Power-out reset system applied to electronic equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
《Development of a neonatal incubator with phototherapy, biometric fingerprint reader, remote monitoring, and heart rate control adapted for developing countries hospitals》;Pascalin TiamKapen;《Journal of Neonatal Nursing》;20190813;第298页-第303页 *
《基于智能配电终端的分布式供电恢复方法》;丛伟;《电力***自动化》;20180810;第77页-第85页 *

Also Published As

Publication number Publication date
CN113359517A (en) 2021-09-07

Similar Documents

Publication Publication Date Title
US8725274B2 (en) Energy use control system and method
EP2375527B1 (en) Demand Response Method and Demand Response System
EP2842212B1 (en) Energy saving and/or safety device
CN101589531B (en) Storage power supply system, storage device, and their control
CN102739453B (en) Main/standby switching method, equipment and system
CN104881014A (en) Control method and intelligent household control device
KR102081274B1 (en) IOT device state monitor-control system using blockchain network
CN106966245B (en) elevator maintenance system
CN104503252A (en) Household appliance, control method thereof, and information interaction system for household appliance
CN105356604A (en) Demand response method of user side
CN111542130A (en) Method and device for controlling household appliance and terminal equipment
CN113375297A (en) Method and device for controlling air conditioner and air conditioner
CN108418732B (en) Household appliance and control method thereof
US9727104B2 (en) Various PSUs adaptive server and method
CN103971428A (en) Door control monitoring method and door control monitoring system
KR101527617B1 (en) Load control method
CN113436631B (en) Voice information processing method and system and device for voice information processing
CN113359517B (en) Method and device for recovering power failure of equipment operation, storage medium and electronic equipment
CN113395193B (en) Equipment control method and device, computer equipment and storage medium
CN112201231A (en) Remote controller and control method and device thereof
CN108646577A (en) A kind of client operation management method and client
CN113341738A (en) Method, device and equipment for controlling household appliance
CN107168183B (en) Equipment control method and device
CN110657556A (en) Method for controlling remote controller and remote controller
CN113359499B (en) Method and device for controlling household appliance, household appliance and readable storage medium

Legal Events

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