WO2019051894A1 - Schedule updating method and apparatus for home appliance, and computer readable storage medium - Google Patents

Schedule updating method and apparatus for home appliance, and computer readable storage medium Download PDF

Info

Publication number
WO2019051894A1
WO2019051894A1 PCT/CN2017/104124 CN2017104124W WO2019051894A1 WO 2019051894 A1 WO2019051894 A1 WO 2019051894A1 CN 2017104124 W CN2017104124 W CN 2017104124W WO 2019051894 A1 WO2019051894 A1 WO 2019051894A1
Authority
WO
WIPO (PCT)
Prior art keywords
schedule
home appliance
execution time
executed
new
Prior art date
Application number
PCT/CN2017/104124
Other languages
French (fr)
Chinese (zh)
Inventor
李苇营
史绍甫
张弛
Original Assignee
广东美的制冷设备有限公司
美的集团股份有限公司
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 广东美的制冷设备有限公司, 美的集团股份有限公司 filed Critical 广东美的制冷设备有限公司
Publication of WO2019051894A1 publication Critical patent/WO2019051894A1/en

Links

Classifications

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

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Selective Calling Equipment (AREA)
  • Telephonic Communication Services (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

Provided is a schedule updating method for a home appliance. The schedule updating method for a home appliance comprises the following steps: when a new schedule is received, determining a device to be controlled corresponding to the new schedule; acquiring a schedule to be executed of the device to be controlled; and updating the schedule to be executed by using the new schedule. Further provided are a schedule updating apparatus for a home appliance and a computer readable storage medium. According to the present invention, the server can update the schedule to be executed of the home appliance in a timely manner according to the received new schedule, so that the server can control the home appliance to run in a timely manner according to the new schedule to be executed, thereby improving the user experience.

Description

家电的日程更新方法、装置和计算机可读存储介质  Method, device and computer readable storage medium for updating schedule of home appliances
技术领域Technical field
本发明涉及互联网技术领域,尤其涉及家电的日程更新方法、装置和计算机可读存储介质。The present invention relates to the field of Internet technologies, and in particular, to a method, an apparatus, and a computer readable storage medium for updating a schedule of a home appliance.
背景技术Background technique
随着人们生活节奏的加快,人们的日常工作以及生活中事务越来越多,为了能够及时处理这些事项,需要建立日程来提醒人们。With the acceleration of people's life rhythm, people's daily work and life affairs are more and more. In order to deal with these matters in time, it is necessary to establish a schedule to remind people.
当人们执行处于室内环境的日程时,控制中心会对与日程关联的家电进行控制以调节室内环境。控制中心会根据用户设定的日程预先设置家电的启动参数,但在实际情况中,用户会新增或取消日程,且由于网络原因,终端不能及时将新增日程或者取消信息发送至控制中心,使得家电的控制不具备及时性,降低了用户的体验。When people execute a schedule in an indoor environment, the control center controls the home appliances associated with the schedule to adjust the indoor environment. The control center presets the startup parameters of the appliance according to the schedule set by the user. However, in the actual situation, the user adds or cancels the schedule, and due to the network, the terminal cannot send the new schedule or cancellation information to the control center in time. The control of home appliances is not timely, which reduces the user experience.
发明内容Summary of the invention
本发明的主要目的在于提供家电的日程更新方法、装置和计算机可读存储介质,旨在解决家电的控制不具备及时性,降低了用户的体验的问题。The main object of the present invention is to provide a method and device for updating a schedule of a home appliance and a computer readable storage medium, aiming at solving the problem that the control of the home appliance does not have timeliness and reduces the user's experience.
为实现上述目的,本发明提供一种家电的日程更新方法,所述家电的日程更新方法包括以下步骤:In order to achieve the above object, the present invention provides a schedule update method for a home appliance, and the schedule update method of the home appliance includes the following steps:
在接收到新建日程时,确定所述新建日程对应的待控制设备;When the new schedule is received, determining the device to be controlled corresponding to the new schedule;
获取所述待控制设备的待执行日程;Obtaining a to-be-executed schedule of the device to be controlled;
采用所述新建日程更新所述待执行日程。The to-be-executed schedule is updated with the new schedule.
优选地,所述获取所述待控制设备的待执行日程的步骤之后,还包括:Preferably, after the step of acquiring the to-be-executed schedule of the device to be controlled, the method further includes:
获取所述新建日程的第一执行时间点,并获取所述待执行日程的第二执行时间点;Obtaining a first execution time point of the new schedule, and acquiring a second execution time point of the to-be-executed schedule;
在所述第一执行时间点早于所述第二执行时间点时,执行所述采用所述新建日程更新所述待执行日程的步骤。The step of updating the to-be-executed schedule by using the new schedule is performed when the first execution time point is earlier than the second execution time point.
优选地,所述获取所述待执行日程的第二执行时间点的步骤之后,所述家电的日程更新方法还包括:Preferably, after the step of acquiring the second execution time point of the to-be-executed schedule, the schedule update method of the home appliance further includes:
在所述第一执行时间点晚于第二执行时间点时,保存所述新建日程。The new schedule is saved when the first execution time point is later than the second execution time point.
优选地,所述获取所述待执行日程的第二执行时间点的步骤之后,还包括:Preferably, after the step of acquiring the second execution time point of the to-be-executed schedule, the method further includes:
在所述第一执行时间点晚于所述第二执行时间点时,获取所述新建日程的第一执行时间段以及所述待执行日程的第二执行时间段;Acquiring the first execution time period of the new schedule and the second execution time period of the to-be-executed schedule when the first execution time point is later than the second execution time point;
在所述第一执行时间段与所述第二执行时间段重叠时,执行所述采用所述新建日程更新所述待执行日程的步骤;When the first execution time period overlaps with the second execution time period, performing the step of updating the to-be-executed schedule by using the new schedule;
在所述第一执行时间段与所述第二执行时间段不重叠时,执行所述保存所述新建日程的步骤。The step of saving the new schedule is performed when the first execution time period and the second execution time period do not overlap.
优选地,所述保存所述新建日程的步骤包括:Preferably, the step of saving the new schedule includes:
获取所述待控制设备关联的各个未执行日程形成的未执行日程序列,其中,所述未执行日程序列按照执行时间点排序;Obtaining an unexecuted schedule sequence formed by each unexecuted schedule associated with the device to be controlled, wherein the unexecuted schedule sequence is sorted according to an execution time point;
根据所述第一执行时间点将所述新建日程保存至所述未执行日程序列中。The new schedule is saved to the unexecuted schedule sequence according to the first execution time point.
优选地,所述家电的日程更新方法,还包括:Preferably, the method for updating the schedule of the home appliance further includes:
在接收到所述未执行日程的取消信息时,更新所述未执行日程序列。The unexecuted schedule sequence is updated upon receiving the cancellation information of the unexecuted schedule.
优选地,所述家电的日程更新方法,还包括:Preferably, the method for updating the schedule of the home appliance further includes:
在接收到未执行日程的取消信息时,根据所述取消信息确定未执行日程;When receiving the cancellation information of the unexecuted schedule, determining the unexecuted schedule based on the cancellation information;
在所述确定的未执行日程为所述待执行日程时,重新确定待执行日程。When the determined unexecuted schedule is the to-be-executed schedule, the to-be-executed schedule is re-determined.
优选地,所述保存所述新建日程的步骤之后,还包括:Preferably, after the step of saving the new schedule, the method further includes:
确定所述新建日程的第一日程标识;Determining a first schedule identifier of the new schedule;
获取所述待控制设备的未执行日程序列,并获取所述未执行日程序列中各个未执行日程的第二日程标识;Obtaining an unexecuted schedule sequence of the device to be controlled, and acquiring a second schedule identifier of each unexecuted schedule in the unexecuted schedule sequence;
在检测到有与所述第一日程标识一致的所述第二日程标识时,确定所述第二日程标识对应的未执行日程作为待替换日程;When it is detected that the second schedule identifier is consistent with the first schedule identifier, determining an unexecuted schedule corresponding to the second schedule identifier as a schedule to be replaced;
将所述待替换日程替换为所述新建日程。The schedule to be replaced is replaced with the new schedule.
优选地,所述在所述第一执行时间段与所述第二执行时间段重叠时,所述采用所述新建日程更新所述待执行日程的步骤包括:获取所述新建日程的第一执行时间段以及所述待执行日程的第二执行时间段;Preferably, when the first execution time period overlaps with the second execution time period, the step of updating the to-be-executed schedule by using the new schedule includes: acquiring a first execution of the new schedule a time period and a second execution time period of the to-be-executed schedule;
确定所述第一时间段与所述第二时间段的重叠时间段;Determining an overlapping time period of the first time period and the second time period;
根据所述重叠时间段更改所述第二时间段,以更新所述待执行日程。The second time period is changed according to the overlapping time period to update the to-be-executed schedule.
优选地,所述根据所述第一执行时间点将所述新建日程保存至所述未执行日程序列中的步骤之后,还包括:Preferably, after the step of saving the new schedule to the unexecuted schedule sequence according to the first execution time point, the method further includes:
并对所述未执行日程序列中的所述未执行日程以及所述新建日程重新排序。And reordering the unexecuted schedule in the unexecuted schedule sequence and the new schedule.
优选地,所述获取所述待控制设备的待执行日程的步骤包括:Preferably, the step of acquiring the to-be-executed schedule of the device to be controlled includes:
获取所述待控制设备关联的各个未执行日程,并确定各个所述未执行日程的执行时间点;Acquiring each unexecuted schedule associated with the device to be controlled, and determining an execution time point of each of the unexecuted schedules;
将最早的所述执行时间点对应的所述未执行日程作为待执行日程。The unexecuted schedule corresponding to the earliest execution time point is taken as a to-be-executed schedule.
优选地,在所述采用所述新建日程更新所述待执行日程的步骤之后,还包括:Preferably, after the step of updating the to-be-executed schedule by using the new schedule, the method further includes:
获取所述新建日程的日程信息,并根据所述日程信息确定对应的目标环境参数;Obtaining schedule information of the new schedule, and determining a corresponding target environment parameter according to the schedule information;
根据所述目标环境参数以及所述日程信息确定所述待控制设备的启动时间点以及启动参数,以供所述待控制设备在所述启动时间点按照所述启动参数运行。And determining, according to the target environment parameter and the schedule information, a startup time point of the device to be controlled and a startup parameter, so that the device to be controlled runs according to the startup parameter at the startup time point.
优选地,所述目标环境参数包括温度、湿度及/或空气质量中的至少一种。Preferably, the target environmental parameter comprises at least one of temperature, humidity and/or air quality.
为实现上述目的,本发明还提供一种家电的日程更新装置,所述家电的日程更新装置包括处理器、存储器和存储在所述存储器并可在所述处理器运行的家电的日程更新程序,所述家电的日程更新程序被处理器执行时实现如上所述的家电的日程更新方法的步骤。In order to achieve the above object, the present invention also provides a schedule update device for a home appliance, wherein the schedule update device of the home appliance includes a processor, a memory, and a schedule update program of the home appliance stored in the memory and operable by the processor, When the schedule update program of the home appliance is executed by the processor, the steps of the schedule update method of the home appliance as described above are implemented.
为实现上述目的,本发明还提供一种计算机可读存储介质,所述计算机可读存储介质存储有家电的日程更新程序,所述家电的日程更新程序被处理器执行时实现如上所述的家电的日程更新方法的各个步骤。In order to achieve the above object, the present invention also provides a computer readable storage medium storing a schedule update program of a home appliance, wherein the home appliance schedule update program is executed by the processor to implement the home appliance as described above The various steps of the schedule update method.
本发明提供的家电的日程更新方法、装置和计算机可读存储介质,服务器在接收到新建日程时,确定新建日程对应的家电,然后获取家电的待执行日程,再采用新建日程更新待执行日程,从而使得服务器能够及时的根据接收的新建日程更新家电的待执行日程,从而使得服务器能够及时的控制家电以新的待执行日程运行,提高了用户的体验。The method and device for updating the schedule of the home appliance provided by the present invention, and the computer-readable storage medium, when the server receives the new schedule, determines the home appliance corresponding to the new schedule, and then acquires the to-be-executed schedule of the home appliance, and then updates the to-be-executed schedule with the new schedule. Therefore, the server can update the to-be-executed schedule of the home appliance according to the received new schedule in time, so that the server can timely control the home appliance to run on the new to-be-executed schedule, thereby improving the user experience.
附图说明DRAWINGS
图1为本发明实施例所涉及的硬件结构示意图;FIG. 1 is a schematic structural diagram of hardware according to an embodiment of the present invention;
图2为本发明家电的日程更新方法第一实施例的流程示意图;2 is a schematic flow chart of a first embodiment of a method for updating a schedule of a home appliance according to the present invention;
图3为图2中步骤S20之后是否采用新建日程更新待执行日程的流程示意图;FIG. 3 is a schematic flowchart of whether a new schedule is used to update a to-be-executed schedule after step S20 in FIG. 2;
图4为图3中步骤S40之后是否采用新建日程更新待执行日程细化流程示意图;4 is a schematic diagram of a process of refining the to-be-executed schedule by using a new schedule after step S40 in FIG. 3;
图5为图4中步骤S80保存新建日程的细化流程示意图;FIG. 5 is a schematic diagram of a refinement process of saving a new schedule in step S80 of FIG. 4;
图6为本发明家电的日程更新方法第二实施例的流程示意图。FIG. 6 is a schematic flow chart of a second embodiment of a method for updating a schedule of a home appliance according to the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式Detailed ways
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本发明实施例的主要解决方案是:在接收到新建日程时,确定所述新建日程对应的待控制设备;获取所述待控制设备的待执行日程;采用所述新建日程更新所述待执行日程。The main solution of the embodiment of the present invention is: when the new schedule is received, determining the device to be controlled corresponding to the new schedule; acquiring the to-be-executed schedule of the device to be controlled; and updating the to-be-executed schedule by using the new schedule .
现有技术中,当人们执行处于室内环境的日程时,控制中心会对与日程关联的家电进行控制以调节室内环境。控制中心会根据用户设定的日程预先设置家电的启动参数,但在实际情况中,用户会新增或取消日程,且由于网络原因,终端不能及时将新增日程或者取消信息发送至控制中心,使得家电的控制不具备及时性,降低了用户的体验。In the prior art, when a person performs a schedule in an indoor environment, the control center controls the home appliance associated with the schedule to adjust the indoor environment. The control center presets the startup parameters of the appliance according to the schedule set by the user. However, in the actual situation, the user adds or cancels the schedule, and due to the network, the terminal cannot send the new schedule or cancellation information to the control center in time. The control of home appliances is not timely, which reduces the user experience.
本发明提供一种解决方案:因服务器能够及时的根据接收的新建日程更新家电的待执行日程,从而使得服务器能够及时的控制家电以新的待执行日程运行,提高了用户的体验。The present invention provides a solution: the server can update the waiting schedule of the home appliance according to the received new schedule in time, so that the server can timely control the home appliance to run on the new to-be-executed schedule, thereby improving the user experience.
如图1所示,图1是本发明实施例方案涉及的硬件运行环境的结构示意图。As shown in FIG. 1, FIG. 1 is a schematic structural diagram of a hardware operating environment involved in an embodiment of the present invention.
服务器,服务器包括:处理器1001,例如CPU,存储器1002,通信总线1003。其中,通信总线1003用于实现这些组件之间的连接通信。The server includes a processor 1001, such as a CPU, a memory 1002, and a communication bus 1003. Among them, the communication bus 1003 is used to implement connection communication between these components.
存储器1002可以是高速RAM存储器,也可以是稳定的存储器(non-volatilememory),例如磁盘存储器。如图1所示,作为一种计算机存储介质的存储器1002中可以包括家电的日程更新程序;而处理器1001可以用于调用存储器1002中存储的家电的日程更新程序,并执行以下操作:The memory 1002 may be a high speed RAM memory or a non-volatile memory such as a disk memory. As shown in FIG. 1, a memory update program as a computer storage medium may include a schedule update program for a home appliance; and the processor 1001 may be configured to call a schedule update program of a home appliance stored in the memory 1002, and perform the following operations:
在接收到新建日程时,确定所述新建日程对应的待控制设备;When the new schedule is received, determining the device to be controlled corresponding to the new schedule;
获取所述待控制设备的待执行日程;Obtaining a to-be-executed schedule of the device to be controlled;
采用所述新建日程更新所述待执行日程。The to-be-executed schedule is updated with the new schedule.
进一步的,控制器1001可以用于调用存储器1003中存储的气体吸附剂的失效检测程序,并执行以下操作:Further, the controller 1001 may be configured to call a failure detecting program of the gas adsorbent stored in the memory 1003 and perform the following operations:
获取所述新建日程的第一执行时间点,并获取所述待执行日程的第二执行时间点;Obtaining a first execution time point of the new schedule, and acquiring a second execution time point of the to-be-executed schedule;
在所述第一执行时间点早于所述第二执行时间点时,执行所述采用所述新建日程更新所述待执行日程的步骤。The step of updating the to-be-executed schedule by using the new schedule is performed when the first execution time point is earlier than the second execution time point.
进一步的,控制器1001可以用于调用存储器1003中存储的气体吸附剂的失效检测程序,并执行以下操作:Further, the controller 1001 may be configured to call a failure detecting program of the gas adsorbent stored in the memory 1003 and perform the following operations:
在所述第一执行时间点晚于第二执行时间点时,保存所述新建日程。The new schedule is saved when the first execution time point is later than the second execution time point.
进一步的,控制器1001可以用于调用存储器1003中存储的气体吸附剂的失效检测程序,并执行以下操作:Further, the controller 1001 may be configured to call a failure detecting program of the gas adsorbent stored in the memory 1003 and perform the following operations:
在所述第一执行时间点晚于所述第二执行时间点时,获取所述新建日程的第一执行时间段以及所述待执行日程的第二执行时间段;Acquiring the first execution time period of the new schedule and the second execution time period of the to-be-executed schedule when the first execution time point is later than the second execution time point;
在所述第一执行时间段与所述第二执行时间段重叠时,执行所述采用所述新建日程更新所述待执行日程的步骤;When the first execution time period overlaps with the second execution time period, performing the step of updating the to-be-executed schedule by using the new schedule;
在所述第一执行时间段与所述第二执行时间段不重叠时,执行所述保存所述新建日程的步骤。The step of saving the new schedule is performed when the first execution time period and the second execution time period do not overlap.
进一步的,控制器1001可以用于调用存储器1003中存储的气体吸附剂的失效检测程序,并执行以下操作:Further, the controller 1001 may be configured to call a failure detecting program of the gas adsorbent stored in the memory 1003 and perform the following operations:
获取所述待控制设备关联的各个未执行日程形成的未执行日程序列,其中,所述未执行日程序列按照执行时间点排序;Obtaining an unexecuted schedule sequence formed by each unexecuted schedule associated with the device to be controlled, wherein the unexecuted schedule sequence is sorted according to an execution time point;
根据所述第一执行时间点将所述新建日程保存至所述未执行日程序列中。The new schedule is saved to the unexecuted schedule sequence according to the first execution time point.
进一步的,控制器1001可以用于调用存储器1003中存储的气体吸附剂的失效检测程序,并执行以下操作:Further, the controller 1001 may be configured to call a failure detecting program of the gas adsorbent stored in the memory 1003 and perform the following operations:
在接收到所述未执行日程的取消信息时,更新所述未执行日程序列。The unexecuted schedule sequence is updated upon receiving the cancellation information of the unexecuted schedule.
进一步的,控制器1001可以用于调用存储器1003中存储的气体吸附剂的失效检测程序,并执行以下操作:Further, the controller 1001 may be configured to call a failure detecting program of the gas adsorbent stored in the memory 1003 and perform the following operations:
获取所述新建日程的日程信息,并根据所述日程信息确定对应的目标环境参数;Obtaining schedule information of the new schedule, and determining a corresponding target environment parameter according to the schedule information;
根据所述目标环境参数以及所述日程信息确定所述待控制设备的启动时间点以及启动参数,以供所述待控制设备在所述启动时间点按照所述启动参数运行。And determining, according to the target environment parameter and the schedule information, a startup time point of the device to be controlled and a startup parameter, so that the device to be controlled runs according to the startup parameter at the startup time point.
本实施例根据上述方案,服务器在接收到新建日程时,确定新建日程对应的家电,然后获取家电的待执行日程,再采用新建日程更新待执行日程,从而使得服务器能够及时的根据接收的新建日程更新家电的待执行日程,从而使得服务器能够及时的控制家电以新的待执行日程运行,提高了用户的体验。According to the above solution, when the server receives the new schedule, the server determines the home appliance corresponding to the new schedule, and then acquires the to-be-executed schedule of the home appliance, and then updates the to-be-executed schedule with the new schedule, so that the server can timely according to the received new schedule. The waiting schedule of the home appliance is updated, so that the server can timely control the home appliance to run on the new to-be-executed schedule, thereby improving the user experience.
基于上述硬件构架,提出本发明家电的日程更新方法的实施例。Based on the hardware architecture described above, an embodiment of a schedule update method for the home appliance of the present invention is proposed.
参照图2,图2为本发明家电的日程更新方法的第一实施例,所述家电的日程更新方法包括以下步骤:Referring to FIG. 2, FIG. 2 is a first embodiment of a method for updating a schedule of a home appliance according to the present invention. The method for updating a schedule of the home appliance includes the following steps:
步骤S10,在接收到新建日程时,确定所述新建日程对应的待控制设备;Step S10, when receiving a new schedule, determining a device to be controlled corresponding to the new schedule;
在本发明中,待控制设备指的是家电,比如空调器、空气净化器等电器,这些家电关联同一个控制中心。用户在建立日程后,日程服务器会保存建立的日程,然后根据日程信息判断日程是否与控制中心(家电服务器)的家电关联,若含有与家电关联的日程,日程服务器会将日程向控制中心发送,具体的,比如日程的执行内容为家庭聚会,那么该日程与空调器关联,此时日程服务器将该日程向家电服务器发送。需要说明的时,日程服务器与家电服务器并不是时刻连接的,即在网络状态不好的情况下,二者的连接是断开的,因此,家电服务器需要定时检测是否连接日程服务器,以接收新建日程,定时时长可以是任何合适的数值,比如30s、60s。In the present invention, the device to be controlled refers to appliances such as air conditioners, air purifiers, etc., which are associated with the same control center. After the user establishes the schedule, the schedule server saves the established schedule, and then determines whether the schedule is associated with the home appliance of the control center (home appliance server) based on the schedule information. If the schedule associated with the home appliance is included, the schedule server transmits the schedule to the control center. Specifically, for example, if the execution content of the schedule is a family gathering, the schedule is associated with the air conditioner, and the schedule server transmits the schedule to the home appliance server. When it is necessary to explain, the schedule server and the home appliance server are not connected at all times, that is, when the network status is not good, the connection between the two is disconnected. Therefore, the home appliance server needs to periodically detect whether or not the schedule server is connected to receive the new connection. Schedule, the duration can be any suitable value, such as 30s, 60s.
在当家电服务器接收到新建日程时,会根据新建日程的日程信息确定对应的待控制设备(家电),例如,日程信息的执行内容为煲汤,那么该日程对应的待控制设备为电饭煲。When the home appliance server receives the new schedule, the corresponding device to be controlled (home appliance) is determined according to the schedule information of the new schedule. For example, the execution content of the schedule information is a soup, and the device to be controlled corresponding to the schedule is a rice cooker.
步骤S20,获取所述待控制设备的待执行日程;Step S20: Obtain a to-be-executed schedule of the device to be controlled.
步骤S30,采用所述新建日程更新所述待执行日程;Step S30, updating the to-be-executed schedule by using the new schedule;
在家电服务器确定待控制设备后,会进一步的确定待控制设备的待执行日程,以判断新建日程是否与待执行日程是否冲突,具体的,请参照图3,即步骤S20之后,还包括:After the home appliance server determines the device to be controlled, the to-be-executed schedule of the device to be controlled is further determined to determine whether the new schedule conflicts with the to-be-executed schedule. Specifically, refer to FIG. 3, that is, after step S20, the method further includes:
步骤S40,获取所述新建日程的第一执行时间点,并获取所述待执行日程的第二执行时间点;Step S40, acquiring a first execution time point of the new schedule, and acquiring a second execution time point of the to-be-executed schedule;
步骤S50,在所述第一执行时间点早于所述第二执行时间点时,执行所述采用所述新建日程更新所述待执行日程的步骤;Step S50, when the first execution time point is earlier than the second execution time point, performing the step of updating the to-be-executed schedule by using the new schedule;
待执行日程指的是待控制设备即将执行的日程,待执行日程是根据与待控制设备关联的未执行日程的执行时间点来确定的,家电服务器将最早的执行时间点对应的未执行日程作为待执行日程。 The to-be-executed schedule refers to a schedule to be executed by the device to be controlled, and the to-be-executed schedule is determined according to an execution time point of the unexecuted schedule associated with the device to be controlled, and the home appliance server takes the unexecuted schedule corresponding to the earliest execution time point as Pending schedule.
家电服务器会获取新建日程的执行时间点(第一执行时间点),以及待执行日程的执行时间点(第二执行时间点),然后比对第一执行时间点与第二执行时间点,如果第一执行时间点早于第二执行时间点的话,那么新建日程应为新的待执行日程,并以新建日程替换原来的待执行日程,即家电服务器会以新建日程控制待控制设备;若第一执行时间点晚于第二执行时间点时,家电服务器保存新建日程,且保存待执行日程,进一步的,在当第一执行时间点晚于第二执行时间点时,会根据新建日程的执行时间段以及待执行日程的执行时间段判断是否更新待执行日程,具体的,请参照图4,即步骤S40之后,还包括:The home appliance server acquires an execution time point (first execution time point) of the new schedule, and an execution time point (second execution time point) of the to-be-executed schedule, and then compares the first execution time point with the second execution time point, if If the first execution time is earlier than the second execution time, then the new schedule should be a new pending schedule, and the original schedule to be executed is replaced by the new schedule, that is, the appliance server controls the device to be controlled with the new schedule; When the execution time is later than the second execution time point, the home appliance server saves the new schedule and saves the to-be-executed schedule. Further, when the first execution time is later than the second execution time point, the execution is performed according to the new schedule. The time period and the execution time period of the to-be-executed schedule determine whether to update the to-be-executed schedule. Specifically, refer to FIG. 4, that is, after step S40, the method further includes:
步骤S60,在所述第一执行时间点晚于所述第二执行时间点时,获取所述新建日程的第一执行时间段以及所述待执行日程的第二执行时间段;Step S60, when the first execution time point is later than the second execution time point, acquiring a first execution time period of the new schedule and a second execution time period of the to-be-executed schedule;
步骤S70,在所述第一执行时间段与所述第二执行时间段重叠时,执行所述采用所述新建日程更新所述待执行日程的步骤;Step S70, when the first execution time period overlaps with the second execution time period, performing the step of updating the to-be-executed schedule by using the new schedule;
步骤S80,在所述第一执行时间段与所述第二执行时间段不重叠时,执行所述保存所述新建日程的步骤;Step S80, performing the step of saving the new schedule when the first execution time period and the second execution time period do not overlap;
在服务器获得新建日程的执行时间段(第一执行时间段)与待执行日程的执行时间段(第二执行时间段),会判断第一执行时间段与第二执行时间段是否冲突,比如第一执行时间段为下午5点-8点,第二执行时间段为下午4点-6点(第一执行时间段与第二执行时间段为同一天),此时第一执行时间段与第二执行时间段重叠(重叠部分为下午5点-6点),此时需要根据新建日程更新待执行日程,具体的,将待执行日程的执行时间段更改为4点-5点(新建日程的执行时间段不发生变化,且保存新建日程作为未执行日程),从而完成“采用新建日程更新待执行日程”的步骤。若第一执行时间段为下午6点-8点,第二执行时间段为上午10点-12点(第一执行时间段与第二执行时间段为同一天),第一执行时间段与第二执行时间段不重叠,则新建日程与待执行日程不发生冲突,此时可将新建日程保存作为待控制设备的未执行日程,具体的,保护新建日程的步骤请参照图5,即步骤S80包括:When the server obtains the execution time period (first execution time period) of the new schedule and the execution time period (second execution time period) of the to-be-executed schedule, it is determined whether the first execution time period and the second execution time period conflict, for example, An execution time period is from 5 pm to 8 pm, and a second execution time period is from 4 pm to 6 pm (the first execution time period is the same as the second execution time period), and the first execution time period and the first execution time period are The execution time period overlaps (the overlap part is 5:00 pm to 6:00 pm), and the execution schedule needs to be updated according to the new schedule. Specifically, the execution time period of the execution schedule is changed to 4-5 points (new schedule) The execution time period does not change, and the new schedule is saved as an unexecuted schedule, thereby completing the step of "updating the pending schedule with the new schedule". If the first execution time period is from 6:00 pm to 8 pm, and the second execution time period is from 10:00 to 2:00 am (the first execution time period is the same as the second execution time period), the first execution time period and the first execution time period are If the two execution time periods do not overlap, the new schedule does not conflict with the pending schedule. In this case, the new schedule can be saved as the unexecuted schedule of the device to be controlled. Specifically, for the step of protecting the new schedule, refer to FIG. 5, that is, step S80. include:
步骤S81,获取所述待控制设备关联的各个未执行日程形成的未执行日程序列,其中,所述未执行日程序列按照执行时间点排序;Step S81: Acquire an unexecuted schedule sequence formed by each unexecuted schedule associated with the device to be controlled, where the unexecuted schedule sequence is sorted according to an execution time point;
步骤S82,根据所述第一执行时间点将所述新建日程保存至所述未执行日程序列中;Step S82, saving the new schedule to the unexecuted schedule sequence according to the first execution time point;
家电服务器会将待控制设备的未执行日程作为一个日程集合,然后根据未执行日程的执行时间点进行排序以获得未执行日程序列,以执行时间点与当前时间点的间隔时长作为排序参考,将间隔时长由短到长进行排序,从而获得未执行日程序列。The home appliance server treats the unexecuted schedule of the device to be controlled as a schedule set, and then sorts according to the execution time point of the unexecuted schedule to obtain an unexecuted schedule sequence, and performs the interval between the time point and the current time point as a sorting reference, and The interval durations are sorted from short to long to obtain an unexecuted schedule sequence.
在当新建日程与待执行日程不发生冲突时,且新建日程的执行时间点晚于待执行日程的执行时间点时,新建日程作为待控制设备的未执行日程添加至日程集合中,此时需要对未执行日程序列重新进行排序。When the new schedule does not conflict with the to-be-executed schedule, and the execution time of the new schedule is later than the execution time of the to-be-executed schedule, the new schedule is added to the schedule set as the unexecuted schedule of the device to be controlled, and this is required. Reorder the unexecuted schedule sequence.
需要说明的是,在当家电服务器接收取消未执行日程的信息后,会在日程集合中删除对应的未执行日程,此时会对未执行日程序列进行排序,以重新确定待执行日程。It should be noted that after the home appliance server receives the information for canceling the unexecuted schedule, the corresponding unexecuted schedule is deleted in the schedule set, and the unexecuted schedule sequence is sorted to re-determine the to-be-executed schedule.
另外,家电服务器接收到的新建日程可能是基于未执行日程修改后的日程,此时需要以新建日程来替换未执行日程。日程服务器对每个存储的日程进行编号,即每一个日程具有唯一的日程标识,日程服务器向家电服务器发送与待控制设备关联的日程后,并不会删除该日程,所以在当用户需要更改日程时,日程服务器调取用户需要修改的日程,并在该日程的基础上重新更新日程,即可以认为修改后的日程与修改前的日程的日程标识不变,对应的,在家电服务器接收到新建日程(新建日程与待控制设备关联)后,会获取该新建日程的日程标识,然后在未执行日程序列内获取各个未执行日程的日程标识,若是新建日程的日程标识与某个未执行日程的日程标识一致的话,则新建日程是该未执行日程的修改日程,此时服务器将该未执行日程删除,并将新建日程加入未执行序列中,然后再根据步骤S10至步骤S80判断新建日程是否能够保存或者是否更够更新待执行日程;若是新建日程的身份标识与各个未执行日程的日程标识都不相同的话,则新建日程不是某个未执行日程的修改日程。In addition, the new schedule received by the home appliance server may be based on the schedule after the schedule modification is not executed, and it is necessary to replace the unexecuted schedule with the new schedule. The schedule server numbers each stored schedule, that is, each schedule has a unique schedule identifier. After the schedule server sends the schedule associated with the device to be controlled to the home appliance server, the schedule is not deleted, so when the user needs to change the schedule When the schedule server retrieves the schedule that the user needs to modify, and re-updates the schedule based on the schedule, it can be considered that the modified schedule and the schedule identifier of the schedule before the modification are unchanged, and correspondingly, the new home appliance server receives the new one. After the schedule (new schedule is associated with the device to be controlled), the schedule identifier of the newly created schedule is acquired, and then the schedule identifier of each unexecuted schedule is acquired in the unexecuted schedule sequence, and if the schedule identifier of the new schedule is related to an unexecuted schedule If the schedule identifier is the same, the new schedule is the modification schedule of the unexecuted schedule. At this time, the server deletes the unexecuted schedule, adds the new schedule to the unexecuted sequence, and then determines whether the new schedule can be determined according to steps S10 to S80. Save or update the pending schedule; if it is new Schedule of identity with each schedule unexecuted schedule identity are not the same, then the new schedule is not an unexecuted schedule modification schedule.
本实施例提供的技术方案中,服务器在接收到新建日程时,确定新建日程对应的家电,然后获取家电的待执行日程,再采用新建日程更新待执行日程,从而使得服务器能够及时的根据接收的新建日程更新家电的待执行日程,从而使得服务器能够及时的控制家电以新的待执行日程运行,提高了用户的体验。In the technical solution provided by the embodiment, when the server receives the new schedule, the server determines the home appliance corresponding to the new schedule, and then acquires the to-be-executed schedule of the home appliance, and then updates the to-be-executed schedule by using the new schedule, so that the server can timely receive the received schedule. The new schedule updates the to-be-executed schedule of the home appliance, so that the server can timely control the home appliance to run on the new to-be-executed schedule, thereby improving the user experience.
参照图6,图6为家电的日程更新方法的第二实施例,基于上述实施例,所述步骤S30之后,还包括:Referring to FIG. 6 , FIG. 6 is a second embodiment of a method for updating a schedule of a home appliance. After the step S30, the method further includes:
步骤S90,获取所述新建日程的日程信息,并根据所述日程信息确定对应的目标环境参数;Step S90, acquiring schedule information of the new schedule, and determining a corresponding target environment parameter according to the schedule information;
在新建日程更新待执行日程后,家电服务器需要重新确定待控制设备的启动时间点和启动参数。具体的,家电服务器会获取新建日程的日程信息,根据日程信息中的执行内容确定所述目标环境参数。After the new schedule is updated, the home appliance server needs to re-determine the startup time point and startup parameters of the device to be controlled. Specifically, the home appliance server acquires schedule information of the new schedule, and determines the target environment parameter according to the execution content in the schedule information.
需要说明的是,环境参数指的是温度、湿度及/或空气质量,空调器调节温度,湿度可由加湿器调节,而空气质量可由空气净化器调节。不同的执行内容对应不同的目标环境参数,而目标环境参数的确定可由用户自行设定并保存于家电服务器,家电服务器也可以根据用户平常使用家电的习惯与执行内容关联得到。比如,执行内容为开会,那么家电服务器会调取会议室的空调器用户平时设定的温度作为目标温度(目标环境参数)。优选地,家电服务器可以具体的根据执行内容修正目标环境参数,比如,执行内容为家庭聚会,而家庭聚会一般处于大厅,即家电服务器会获取大厅的空调器的用户温度设定习惯,根据温度设定习惯获取目标温度(如用户对空调器设定的温度为22℃居多,那么目标温度为22℃),考虑到执行内容为家庭聚会,相较于以往来说,成员人数增多,家电服务器可以适当的降低目标温度(比如将,22℃将为20℃);另,在家电服务器获取目标温度时,需要根据当前时间点所处的时间段来获得目标温度,比如当前时间点为8月20号,即当前时间点处于夏季,那么空调器应该是获取用户在夏季的温度设定习惯以获取目标温度。进一步的,家电服务器器还可以根据执行内容的类型来修正目标温度,比如家电服务器将执行内容分为运动型和非运动型二类,若为运动型的执行内容,家电服务器可以适当的降低目标温度,若为非运动型执行内容,则不会目标温度进行修正。It should be noted that the environmental parameters refer to temperature, humidity and/or air quality, the air conditioner adjusts the temperature, the humidity can be adjusted by the humidifier, and the air quality can be adjusted by the air purifier. The different execution contents correspond to different target environment parameters, and the determination of the target environment parameters can be set by the user and stored in the home appliance server, and the home appliance server can also be obtained according to the habit of the user's usual use of the home appliance and the execution content. For example, if the execution content is a meeting, the home appliance server will retrieve the temperature set by the air conditioner user of the conference room as the target temperature (target environment parameter). Preferably, the home appliance server may specifically modify the target environment parameter according to the execution content, for example, the execution content is a family gathering, and the family gathering is generally in the lobby, that is, the home appliance server acquires the user temperature setting habit of the air conditioner of the lobby, according to the temperature setting. It is customary to get the target temperature (if the user sets the temperature of the air conditioner to 22 °C, then the target temperature is 22 °C), considering that the execution content is a family gathering, compared with the past, the number of members increases, the appliance server can Appropriately lower the target temperature (for example, 22 ° C will be 20 ° C); In addition, when the home appliance server obtains the target temperature, it needs to obtain the target temperature according to the time period of the current time point, for example, the current time point is August 20 No., that is, the current time point is in the summer, then the air conditioner should be to obtain the user's temperature setting habit in the summer to obtain the target temperature. Further, the home appliance server may also correct the target temperature according to the type of the execution content. For example, the home appliance server divides the execution content into two types: a sports type and a non-sport type. If the exercise type is performed, the home appliance server may appropriately lower the target. Temperature, if it is non-sport type execution content, the target temperature will not be corrected.
需要说明的是,加湿器、空气净化器等调节环境参数的家电也可以采用上述方式对日程对应的执行环境进行环境参数的调节,对此,不再一一赘述,因此一项日程可以对应的执行内容可以调节多个环境参数,比如开会,可调节温度、湿度、控制质量,本发明对此不做限定。It should be noted that the home appliance that adjusts the environmental parameters, such as a humidifier or an air purifier, can also adjust the environmental parameters of the execution environment corresponding to the schedule in the above manner, and thus will not be described one by one, so a schedule can be corresponding. The execution content can adjust a plurality of environmental parameters, such as a meeting, and can adjust temperature, humidity, and control quality, which is not limited by the present invention.
步骤S100,根据所述目标环境参数以及所述日程信息确定所述待控制设备的启动时间点以及启动参数,以供所述待控制设备在所述启动时间点按照所述启动参数运行;Step S100, determining, according to the target environment parameter and the schedule information, a startup time point of the device to be controlled and a startup parameter, so that the device to be controlled runs according to the startup parameter at the startup time point;
在家电服务器获得目标环境参数时,会根据日程信息中的执行地点以及执行时间点获取对应的天气信息,根据天气信息(天气信息中含有温度、湿度等外部环境参数)中的外部环境参数与目标环境参数确定家电的启动时间点以及启动参数,以使得家电在用户执行日程时达到最佳室内环境。When the home appliance server obtains the target environment parameter, the corresponding weather information is obtained according to the execution location and the execution time point in the schedule information, and the external environment parameter and target in the weather information (the weather information includes external environment parameters such as temperature and humidity) The environmental parameters determine the startup time point of the home appliance and the startup parameters so that the home appliance reaches the optimal indoor environment when the user executes the schedule.
具体的,家电服务器根据日程信息获取所述日程的执行时间点,并根据执行地点以及执行时间点获取对应的天气信息;然后,家电服务器根据天气信息获取执行时间点的外部环境参数;再根据外部环境参数与目标环境参数确定调节时长;最后根据调节时长与执行时间点确定启动时间点,且根据目标环境参数确定启动参数;Specifically, the home appliance server acquires an execution time point of the schedule according to the schedule information, and acquires corresponding weather information according to the execution location and the execution time point; then, the home appliance server acquires an external environment parameter of the execution time point according to the weather information; The environmental parameter and the target environmental parameter determine the adjustment duration; finally, the startup time point is determined according to the adjustment duration and the execution time point, and the startup parameter is determined according to the target environment parameter;
在家电服务器获得目标环境参数后,进一步的,家电服务器根据日程信息中的执行地点以及执行时间点获取对应的天气信息,该天气信息中包括有温度、湿度以及空气质量指数等环境参数,需要说明的是,日程执行地点对应的大都为室内执行地点,可以认为室内环境参数与天气信息中的外部环境参数一致。另,若是目标环境参数为温度的话,那么对应的外部环境参数也为温度,即目标环境参数与外部环境参数为同一类型的参数。After the home appliance server obtains the target environment parameter, the home appliance server obtains corresponding weather information according to the execution location and the execution time point in the schedule information, and the weather information includes environmental parameters such as temperature, humidity, and air quality index, and needs to be explained. Most of the schedule execution locations are indoor execution locations, and the indoor environment parameters can be considered to be consistent with the external environment parameters in the weather information. In addition, if the target environment parameter is temperature, then the corresponding external environment parameter is also temperature, that is, the target environment parameter and the external environment parameter are the same type of parameter.
在获得外部环境参数之后,家电服务器根据外部环境参数以及目标环境参数确定家电的调节时长,比如,目标环境参数为温度,对应的参数值为22℃,外部环境参数对应的参数值为35℃,此时,家电服务器计算目标环境温度与外部环境温度的差值,即△t为13℃,家电服务器获取空调器的历史温度调节速率(空调器每一次运行时,都会记录其温度调节的情况,并上报家电服务器,),然后根据温度差值△t计算得到从35℃降低到22℃所需的时长(调节时长)。After obtaining the external environment parameters, the home appliance server determines the adjustment time of the home appliance according to the external environment parameter and the target environment parameter. For example, the target environment parameter is temperature, the corresponding parameter value is 22 ° C, and the parameter value corresponding to the external environment parameter is 35 ° C. At this time, the home appliance server calculates the difference between the target ambient temperature and the external ambient temperature, that is, Δt is 13 ° C, and the home appliance server acquires the historical temperature adjustment rate of the air conditioner (the air conditioner records its temperature adjustment every time the air conditioner is operated, And reported to the home appliance server,), and then calculated according to the temperature difference Δt the time required to reduce from 35 ° C to 22 ° C (adjustment duration).
在确定调节时长后,家电服务器在日程信息中获取执行时间点,然后根据执行时间点以及调节时长确定家电的启动时间点,然后根据目标环境参数确定家电的启动参数(比如,目标环境参数为25℃,那么空调器以设定温度25℃启动),例如,执行时间点(日程当天执行)为下午3点,调节时长为20min,那么对应的,空调器的启动时间点应为下午2点40分,当然,可以根据△t的大小适当对调节时长进行修正,比如,若是△t为10℃以上,减少调节时长(人体在高温环境突然进入低温环境,需要有一个适应时间,若温差过大,会造成身体不适,即适当的减少调节时长,以降低温差),从而使得家电服务器能够更加智能的调节空调器,以提高用户的体验。After determining the adjustment duration, the home appliance server obtains the execution time point in the schedule information, and then determines the startup time point of the home appliance according to the execution time point and the adjustment time length, and then determines the startup parameter of the home appliance according to the target environment parameter (for example, the target environment parameter is 25) °C, then the air conditioner starts at a set temperature of 25 °C). For example, the execution time point (executed on the day of the schedule) is 3 pm and the adjustment time is 20 minutes. Correspondingly, the start time of the air conditioner should be 2:40 pm. According to the size of Δt, the adjustment time can be corrected. For example, if Δt is 10 °C or more, the adjustment time is reduced. (The human body suddenly enters the low temperature environment in a high temperature environment, and it is necessary to have an adaptation time. If the temperature difference is too large , it will cause physical discomfort, that is, reduce the adjustment time to reduce the temperature difference), so that the home appliance server can adjust the air conditioner more intelligently to improve the user experience.
本实施例提供的技术方案中,在新建日程更新待执行日程后,服务器获取日程的日程信息,再根据日程信息确定目标环境参数以及日程对应的家电,使得服务器根据目标环境参数以及日程信息确定家电的启动时间点和启动参数,从而使得家电在启动时间点以启动参数启动;因服务器可根据日程信息确定家电的启动时间点以及启动参数,使得家电提前对日程的执行环境进行调节,提高了用户的体验。In the technical solution provided by the embodiment, after the schedule is updated, the server acquires the schedule information of the schedule, and then determines the target environment parameter and the home appliance corresponding to the schedule according to the schedule information, so that the server determines the home appliance according to the target environment parameter and the schedule information. The startup time point and the startup parameter, so that the home appliance is started with the startup parameter at the startup time point; the server can determine the startup time point and the startup parameter of the home appliance according to the schedule information, so that the home appliance adjusts the execution environment of the schedule in advance, thereby improving the user. Experience.
本发明提供一种家电的日程更新装置,所述家电的日程更新装置包括处理器、存储器和存储在所述存储器并可在所述处理器运行的家电的日程更新程序,所述家电的日程更新程序被处理器执行时实现如上实施例所述的家电的日程更新方法的步骤。The present invention provides a schedule update device for a home appliance, wherein the schedule update device of the home appliance includes a processor, a memory, and a schedule update program of the home appliance stored in the memory and operable by the processor, the schedule update of the home appliance The step of implementing the schedule update method of the home appliance as described in the above embodiment when the program is executed by the processor.
本发明还提供一种计算机可读存储介质,所述计算机可读存储介质存储有家电的日程更新程序,所述家电的日程更新程序被处理器执行时实现如上实施例所述的家电的日程更新方法的各个步骤。The present invention also provides a computer readable storage medium storing a schedule update program of a home appliance, wherein the schedule update program of the home appliance is executed by a processor to implement schedule update of the home appliance as described in the above embodiment The various steps of the method.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It is to be understood that the term "comprises", "comprising", or any other variants thereof, is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes those elements. It also includes other elements that are not explicitly listed, or elements that are inherent to such a process, method, article, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better. Implementation. Based on such understanding, portions of the technical solution of the present invention that contribute substantially or to the prior art may be embodied in the form of a software product stored in a storage medium (such as a ROM/RAM as described above). , a disk, an optical disk, including a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.

Claims (15)

  1. 一种家电的日程更新方法,其特征在于,所述家电的日程更新方法包括以下步骤: A method for updating a schedule of a home appliance, characterized in that the method for updating a schedule of the home appliance comprises the following steps:
    在接收到新建日程时,确定所述新建日程对应的待控制设备;When the new schedule is received, determining the device to be controlled corresponding to the new schedule;
    获取所述待控制设备的待执行日程;Obtaining a to-be-executed schedule of the device to be controlled;
    采用所述新建日程更新所述待执行日程。 The to-be-executed schedule is updated with the new schedule.
  2. 如权利要求1所述的家电的日程更新方法,其特征在于,所述获取所述待控制设备的待执行日程的步骤之后,还包括:The method of updating the schedule of the home appliance according to claim 1, wherein the step of acquiring the to-be-executed schedule of the device to be controlled further comprises:
    获取所述新建日程的第一执行时间点,并获取所述待执行日程的第二执行时间点;Obtaining a first execution time point of the new schedule, and acquiring a second execution time point of the to-be-executed schedule;
    在所述第一执行时间点早于所述第二执行时间点时,执行所述采用所述新建日程更新所述待执行日程的步骤。The step of updating the to-be-executed schedule by using the new schedule is performed when the first execution time point is earlier than the second execution time point.
  3. 如权利要求2所述的家电的日程更新方法,其特征在于,所述获取所述待执行日程的第二执行时间点的步骤之后,所述家电的日程更新方法还包括:The method of updating the schedule of the home appliance according to claim 2, wherein after the step of acquiring the second execution time point of the to-be-executed schedule, the schedule update method of the home appliance further includes:
    在所述第一执行时间点晚于第二执行时间点时,保存所述新建日程。The new schedule is saved when the first execution time point is later than the second execution time point.
  4. 如权利要求3所述的家电的日程更新方法,其特征在于,所述获取所述待执行日程的第二执行时间点的步骤之后,还包括:The method of updating the schedule of the home appliance according to claim 3, wherein after the step of acquiring the second execution time point of the to-be-executed schedule, the method further includes:
    在所述第一执行时间点晚于所述第二执行时间点时,获取所述新建日程的第一执行时间段以及所述待执行日程的第二执行时间段;Acquiring the first execution time period of the new schedule and the second execution time period of the to-be-executed schedule when the first execution time point is later than the second execution time point;
    在所述第一执行时间段与所述第二执行时间段重叠时,执行所述采用所述新建日程更新所述待执行日程的步骤;When the first execution time period overlaps with the second execution time period, performing the step of updating the to-be-executed schedule by using the new schedule;
    在所述第一执行时间段与所述第二执行时间段不重叠时,执行所述保存所述新建日程的步骤。The step of saving the new schedule is performed when the first execution time period and the second execution time period do not overlap.
  5. 如权利要求4所述的家电的日程更新方法,其特征在于,所述保存所述新建日程的步骤包括:The method of updating a schedule of a home appliance according to claim 4, wherein the step of saving the new schedule includes:
    获取所述待控制设备关联的各个未执行日程形成的未执行日程序列,其中,所述未执行日程序列按照执行时间点排序;Obtaining an unexecuted schedule sequence formed by each unexecuted schedule associated with the device to be controlled, wherein the unexecuted schedule sequence is sorted according to an execution time point;
    根据所述第一执行时间点将所述新建日程保存至所述未执行日程序列中。The new schedule is saved to the unexecuted schedule sequence according to the first execution time point.
  6. 如权利要求5所述的家电的日程更新方法,其特征在于,所述家电的日程更新方法,还包括:The method of updating the schedule of the home appliance according to claim 5, wherein the method for updating the schedule of the home appliance further comprises:
    在接收到所述未执行日程的取消信息时,更新所述未执行日程序列。The unexecuted schedule sequence is updated upon receiving the cancellation information of the unexecuted schedule.
  7. 如权利要求6所述的家电的日程更新方法,其特征在于,所述家电的日程更新方法,还包括:The method for updating a schedule of a home appliance according to claim 6, wherein the method for updating the schedule of the home appliance further comprises:
    在接收到未执行日程的取消信息时,根据所述取消信息确定未执行日程;When receiving the cancellation information of the unexecuted schedule, determining the unexecuted schedule based on the cancellation information;
    在所述确定的未执行日程为所述待执行日程时,重新确定待执行日程。When the determined unexecuted schedule is the to-be-executed schedule, the to-be-executed schedule is re-determined.
  8. 如权利要求3所述的家电的日程更新方法,其特征在于,所述保存所述新建日程的步骤之后,还包括:The method of updating a schedule of a home appliance according to claim 3, wherein the step of saving the new schedule further comprises:
    确定所述新建日程的第一日程标识;Determining a first schedule identifier of the new schedule;
    获取所述待控制设备的未执行日程序列,并获取所述未执行日程序列中各个未执行日程的第二日程标识;Obtaining an unexecuted schedule sequence of the device to be controlled, and acquiring a second schedule identifier of each unexecuted schedule in the unexecuted schedule sequence;
    在检测到有与所述第一日程标识一致的所述第二日程标识时,确定所述第二日程标识对应的未执行日程作为待替换日程;When it is detected that the second schedule identifier is consistent with the first schedule identifier, determining an unexecuted schedule corresponding to the second schedule identifier as a schedule to be replaced;
    将所述待替换日程替换为所述新建日程。The schedule to be replaced is replaced with the new schedule.
  9. 如权利要求4所述的家电的日程更新方法,其特征在于,所述在所述第一执行时间段与所述第二执行时间段重叠时,所述采用所述新建日程更新所述待执行日程的步骤包括:获取所述新建日程的第一执行时间段以及所述待执行日程的第二执行时间段;The method for updating a schedule of a home appliance according to claim 4, wherein said updating said said to be executed by said new schedule when said first execution time period overlaps said second execution time period The step of the schedule includes: acquiring a first execution time period of the new schedule and a second execution time period of the to-be-executed schedule;
    确定所述第一时间段与所述第二时间段的重叠时间段;Determining an overlapping time period of the first time period and the second time period;
    根据所述重叠时间段更改所述第二时间段,以更新所述待执行日程。The second time period is changed according to the overlapping time period to update the to-be-executed schedule.
  10. 如权利要求5所述的家电的日程更新方法,其特征在于,所述根据所述第一执行时间点将所述新建日程保存至所述未执行日程序列中的步骤之后,还包括:The method of updating the schedule of the home appliance according to claim 5, wherein after the step of saving the new schedule to the unexecuted schedule according to the first execution time point, the method further includes:
    并对所述未执行日程序列中的所述未执行日程以及所述新建日程重新排序。And reordering the unexecuted schedule in the unexecuted schedule sequence and the new schedule.
  11. 如权利要求1所述的家电的日程更新方法,其特征在于,所述获取所述待控制设备的待执行日程的步骤包括:The method for updating a schedule of a home appliance according to claim 1, wherein the step of acquiring a to-be-executed schedule of the device to be controlled includes:
    获取所述待控制设备关联的各个未执行日程,并确定各个所述未执行日程的执行时间点;Acquiring each unexecuted schedule associated with the device to be controlled, and determining an execution time point of each of the unexecuted schedules;
    将最早的所述执行时间点对应的所述未执行日程作为待执行日程。The unexecuted schedule corresponding to the earliest execution time point is taken as a to-be-executed schedule.
  12. 如权利要求1所述的家电的日程更新方法,其特征在于,在所述采用所述新建日程更新所述待执行日程的步骤之后,还包括:The method of updating the schedule of the home appliance according to claim 1, further comprising: after the step of updating the to-be-executed schedule by using the new schedule;
    获取所述新建日程的日程信息,并根据所述日程信息确定对应的目标环境参数;Obtaining schedule information of the new schedule, and determining a corresponding target environment parameter according to the schedule information;
    根据所述目标环境参数以及所述日程信息确定所述待控制设备的启动时间点以及启动参数,以供所述待控制设备在所述启动时间点按照所述启动参数运行。And determining, according to the target environment parameter and the schedule information, a startup time point of the device to be controlled and a startup parameter, so that the device to be controlled runs according to the startup parameter at the startup time point.
  13. 如权里要求12所述的家电的日程更新方法,其特征在于,所述目标环境参数包括温度、湿度及/或空气质量中的至少一种。The method for updating a schedule of a home appliance according to claim 12, wherein the target environmental parameter includes at least one of temperature, humidity, and/or air quality.
  14. 一种家电的日程更新装置,其特征在于,所述家电的日程更新装置包括处理器、存储器和存储在所述存储器并可在所述处理器运行的家电的日程更新程序,所述家电的日程更新程序被处理器执行时实现如权利要求1-13任一项所述的家电的日程更新方法的步骤。A schedule update device for a home appliance, comprising: a processor, a memory, and a schedule update program of the home appliance stored in the memory and operable by the processor, the schedule of the home appliance The step of implementing the schedule update method of the home appliance according to any one of claims 1 to 13 when the update program is executed by the processor.
  15. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有家电的日程更新程序,所述家电的日程更新程序被处理器执行时实现如权利要求1-13任一项所述的家电的日程更新方法的各个步骤。A computer readable storage medium, wherein the computer readable storage medium stores a schedule update program of a home appliance, and the schedule update program of the home appliance is executed by a processor to implement any one of claims 1-13 Each step of the schedule update method of the home appliance.
PCT/CN2017/104124 2017-09-18 2017-09-28 Schedule updating method and apparatus for home appliance, and computer readable storage medium WO2019051894A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710848953.7A CN107577186B (en) 2017-09-18 2017-09-18 Household appliance schedule updating method and device and computer readable storage medium
CN201710848953.7 2017-09-18

Publications (1)

Publication Number Publication Date
WO2019051894A1 true WO2019051894A1 (en) 2019-03-21

Family

ID=61036256

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/104124 WO2019051894A1 (en) 2017-09-18 2017-09-28 Schedule updating method and apparatus for home appliance, and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN107577186B (en)
WO (1) WO2019051894A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024692A (en) * 2012-11-23 2013-04-03 惠州Tcl移动通信有限公司 Method for managing schedules and system thereof
US20140101082A1 (en) * 2012-09-30 2014-04-10 Nest Labs, Inc. Automated presence detection and presence-related control within an intelligent controller
CN106292329A (en) * 2016-10-20 2017-01-04 乐视控股(北京)有限公司 Intelligent home furnishing control method, device, system and a kind of electronic equipment
CN106444403A (en) * 2016-10-29 2017-02-22 深圳智乐信息科技有限公司 Smart home scene setting and controlling method and system
CN106998981A (en) * 2014-11-17 2017-08-01 三星电子株式会社 Robot cleaner, terminal installation and its control method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106899463A (en) * 2017-02-27 2017-06-27 宁夏凯速德科技有限公司 Environmental information and equipment exchange method and system in smart home

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140101082A1 (en) * 2012-09-30 2014-04-10 Nest Labs, Inc. Automated presence detection and presence-related control within an intelligent controller
CN103024692A (en) * 2012-11-23 2013-04-03 惠州Tcl移动通信有限公司 Method for managing schedules and system thereof
CN106998981A (en) * 2014-11-17 2017-08-01 三星电子株式会社 Robot cleaner, terminal installation and its control method
CN106292329A (en) * 2016-10-20 2017-01-04 乐视控股(北京)有限公司 Intelligent home furnishing control method, device, system and a kind of electronic equipment
CN106444403A (en) * 2016-10-29 2017-02-22 深圳智乐信息科技有限公司 Smart home scene setting and controlling method and system

Also Published As

Publication number Publication date
CN107577186B (en) 2021-02-09
CN107577186A (en) 2018-01-12

Similar Documents

Publication Publication Date Title
WO2019051887A1 (en) Method and device for controlling home appliance, and computer-readable storage medium
WO2019051905A1 (en) Air conditioner control method, air conditioner, and computer readable storage medium
WO2019051909A1 (en) Air conditioner running parameter adjusting method, air conditioner, and computer readable storage medium
WO2016058258A1 (en) Terminal remote control method and system
WO2019051902A1 (en) Terminal control method, air conditioner and computer-readable storage medium
WO2017041337A1 (en) Method, terminal and system for controlling air conditioner
WO2019062113A1 (en) Control method and device for home appliance, home appliance, and readable storage medium
WO2019051897A1 (en) Terminal operating parameter adjustment method and device, and computer readable storage medium
WO2018053963A1 (en) Method and apparatus for upgrading system of smart television
WO2018126888A1 (en) Method and apparatus for configuring a shortcut for a television function
WO2019051903A1 (en) Terminal control method and apparatus, and computer-readable storage medium
WO2017193246A1 (en) Defecation monitoring and controlling method and system, wearable terminal, induction terminal, and displaying terminal
WO2019075909A1 (en) Air conditioner, control method and device therefor, and computer readable storage medium
WO2017088427A1 (en) Audio output control method and device
WO2017024877A1 (en) Method and device for switching television main-interface
WO2017084301A1 (en) Audio data playing method and apparatus, and smart television
WO2017201943A1 (en) Method and device for driving display screen
WO2018036057A1 (en) Method and device for background adaptive upgrading of software
WO2019051900A1 (en) Smart home device control method and apparatus, and readable storage medium
WO2016187998A1 (en) Method and device for dynamically adjusting backlight
WO2017121066A1 (en) Application program display method and system
WO2019051904A1 (en) Terminal warning method and apparatus, and computer-readable storage medium
WO2019051901A1 (en) Terminal control method and device, and computer readable storage medium
WO2019061530A1 (en) Method and apparatus for automatically adjusting brightness of display, and storage medium
WO2015143859A1 (en) Method and system for adjusting temperature of photovoltaic air conditioner

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17925305

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17925305

Country of ref document: EP

Kind code of ref document: A1