Electric appliance, timing information display method and device thereof, storage medium and program product
Through wireless communication between the mini program and the air conditioner, synchronization and update timing information, the problem of timing information out of synchronization between different terminals is solved, and convenient timing information viewing and setting for users is realized, improving user experience.
Patent Information
- Application Number
- CN202411221050.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-02
- Publication Date
- 2024-11-19
AI Technical Summary
The timing information of the air conditioner set by different terminals cannot be displayed synchronously, resulting in users being unable to accurately understand the timing status of the air conditioner.
The timing information stored locally by the appliance is obtained through the applet, and synchronizes with the appliance through wireless communication (such as Bluetooth or wireless LAN) to update the display information in real time to ensure that the displayed timing information is the latest.
It solves the problem of synchronization of timed information in multiple terminals, improves the user experience, and users can easily view and set the timing information of the air conditioner, reducing operational complexity.
Smart Images

Figure CN118980159A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of control, and in particular to an electrical appliance and a timing information display method, device, storage medium and program product thereof. Background Art
[0002] The air conditioner timing function is a function that users often use. According to statistics, most users like to set a timer at night so that the air conditioner can automatically turn on and off when they are resting. The timing schemes in related technologies usually include cloud timing and air conditioner timing. Cloud timing stores the timing information on the server. After the timing time is up, the server sends a power on and off command to the air conditioner, and the execution subject is the server; the air conditioner timing is executed by the air conditioner's MCU, and the air conditioner MCU counts down. After the countdown ends, the air conditioner turns on or off. The timing information set by different terminals (such as APP applications, remote controls) cannot be displayed uniformly and synchronously, resulting in users being unable to accurately understand the timing status of the air conditioner. Summary of the invention
[0003] The main purpose of the present invention is to overcome the defects of the above-mentioned related technologies and to provide an electrical appliance and its timing information display method, device, storage medium and program product to solve the problem in the related technology that the timing information set by different terminals cannot be displayed uniformly and synchronously, resulting in the user being unable to accurately understand the timing status of the electrical appliance.
[0004] On the one hand, the present invention provides a method for displaying timing information of an electrical appliance, comprising: obtaining, through a mini-program, first timing information of the electrical appliance executing a preset timing task stored locally in a terminal; determining, based on the obtained first timing information, a first remaining time between the current time and the execution time of the electrical appliance executing the preset timing task; and displaying the execution information of the preset timing task on the mini-program interface based on the determined first remaining time, wherein: when the first remaining time is less than the preset time, a prompt message that the preset timing task is about to be executed is displayed; when the first remaining time is greater than or equal to the preset time, the execution time of the preset timing task is displayed; wherein the first timing information is set through the mini-program, the control client of the electrical appliance and / or the remote control of the electrical appliance.
[0005] Optionally, setting the first timing information through the mini-program includes: receiving the first timing information for the appliance to perform a preset timing task set through the mini-program interface, storing it locally in the terminal, and sending the received first timing information to the appliance.
[0006] Optionally, sending the received first timing information to the appliance includes: determining a second remaining time from the current time to the execution time for the appliance to perform the preset timing task, and sending the second remaining time to the appliance so that the appliance counts down according to the second remaining time, and when the countdown ends, that is, the execution time arrives, the corresponding timing task is executed.
[0007] Optionally, when the first timing information is not set through the applet, the first timing information of the appliance executing a preset timing task stored in the appliance is obtained through the applet and stored locally in the terminal.
[0008] Optionally, the applet communicates with the appliance via wireless communication via the terminal to obtain first timing information of the appliance performing a preset timing task stored in the appliance, and the wireless communication method includes: Bluetooth and / or wireless local area network.
[0009] Optionally, it also includes: obtaining, through a mini-program, second timing information of the appliance performing a preset timing task stored in the appliance; comparing the obtained second timing information with the first timing information stored locally in the terminal to obtain a time difference between the second timing information and the first timing information; if the time difference is greater than or equal to a preset time threshold, updating the first timing information stored locally in the terminal to the second timing information; if the time difference is less than the preset time threshold, the first timing information stored locally in the terminal remains unchanged.
[0010] On the other hand, the present invention provides a timing information display device for an electrical appliance, comprising: a first acquisition unit, used to acquire, through a mini-program, first timing information of the electrical appliance performing a preset timing task stored locally in a terminal; a determination unit, used to determine, based on the first timing information acquired by the first acquisition unit, a first remaining time between the current time and the execution time of the electrical appliance performing the preset timing task; a display unit, used to display the execution information of the preset timing task on the mini-program interface based on the first remaining time determined by the determination unit, wherein: when the first remaining time is less than the preset time, a prompt message that the preset timing task is about to be executed is displayed; when the first remaining time is greater than or equal to the preset time, the execution time of the preset timing task is displayed; wherein the first timing information is set through the mini-program, the control client of the electrical appliance and / or the remote control of the electrical appliance.
[0011] Optionally, it also includes: a setting unit for setting the first timing information through the mini-program, including: receiving the first timing information of the appliance performing a preset timing task set through the mini-program interface, storing it locally in the terminal, and sending the received first timing information to the appliance.
[0012] Optionally, the setting unit sends the received first timing information to the appliance, including: determining a second remaining time from the current time to the execution time for the appliance to perform the preset timing task, and sending the second remaining time to the appliance, so that the appliance counts down according to the second remaining time, and when the countdown ends, that is, the execution time is reached, the corresponding timing task is executed.
[0013] Optionally, the first acquisition unit is further used to: when the first timing information is not set through the mini-program, obtain the first timing information of the appliance performing a preset timing task stored in the appliance through the mini-program, and store it locally in the terminal.
[0014] Optionally, the applet communicates with the appliance via wireless communication via the terminal to obtain first timing information of the appliance performing a preset timing task stored in the appliance, and the wireless communication method includes: Bluetooth and / or wireless local area network.
[0015] Optionally, it also includes: a second acquisition unit, used to obtain, through a mini-program, second timing information of the appliance performing a preset timing task stored in the appliance; a comparison unit, used to compare the second timing information acquired by the second acquisition unit with the first timing information stored locally in the terminal to obtain a time difference between the second timing information and the first timing information; an update unit, used to update the first timing information stored locally in the terminal to the second timing information if the time difference is greater than or equal to a preset time threshold; if the time difference is less than the preset time threshold, the first timing information stored locally in the terminal remains unchanged.
[0016] Another aspect of the present invention provides a storage medium having a computer program stored thereon, wherein the program implements the steps of any of the aforementioned methods when executed by a processor.
[0017] In another aspect, the present invention provides an electrical appliance, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any of the aforementioned methods when executing the program.
[0018] In another aspect, the present invention provides an electrical appliance, comprising any of the above-mentioned timing information display devices.
[0019] According to the technical solution of the present invention, the timing information set by other terminals can be obtained and displayed through the applet, solving the problem of asynchronous timing information of multiple terminals. The applet can obtain the timing information of the air conditioner in real time and automatically update it when inconsistencies are found to ensure that the displayed timing information is the latest. Users can conveniently view and set the timing of the air conditioner through the applet, reducing the complexity of operation and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0021] Figure 1 It is a method schematic diagram of an embodiment of a method for displaying timing information of an electrical appliance provided by the present invention;
[0022] Figure 2 is a method schematic diagram of another embodiment of a method for displaying timing information of an electrical appliance provided by the present invention;
[0023] Figure 3 It is a method schematic diagram of a specific embodiment of the method for displaying timing information of an electrical appliance provided by the present invention;
[0024] Figure 4 It is a structural block diagram of an embodiment of a timing information display device for an electrical appliance provided by the present invention;
[0025] Figure 5 It is a structural block diagram of another embodiment of the timing information display device for an electrical appliance provided by the present invention. DETAILED DESCRIPTION
[0026] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the specific embodiments of the present invention and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0027] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0028] The countdown method is also a timing method that is widely used in related technologies. The remote control sets the timing, such as the air conditioner turns on after 1 hour. The air conditioner MCU stores the timing information and counts for 1 second or 2 seconds. Every 60 seconds, the number of minutes is reduced by 1 until the number of minutes reaches 0, and the air conditioner is executed.
[0029] Due to the use of countdown, there is a difference between the time calculated by the air conditioner and the initial time stored in other terminals, which may cause a jump or the timing time displayed after the multi-terminal information is synchronized is longer than the actual execution timing time.
[0030] The present invention provides a method for displaying timing information of an electrical appliance, wherein the electrical appliance includes at least one of an air conditioner, a refrigerator, a washing machine, a television and an electric rice cooker.
[0031] Figure 1 It is a method schematic diagram of an embodiment of a method for displaying timing information of an electrical appliance provided by the present invention.
[0032] like Figure 1 As shown, according to an embodiment of the present invention, the method for displaying timing information of an electrical appliance at least includes step S110, step S120 and step S130.
[0033] Step S110, obtaining, through the mini-program, first timing information of the appliance executing a preset timing task stored locally in the terminal.
[0034] The first timing information may be set through the applet, the control client of the appliance and / or the remote controller of the appliance. The control client of the appliance is a control client installed on a mobile terminal for controlling the appliance, such as a mobile phone APP.
[0035] When the preset scheduled task and the first timing information of the appliance are set through the mini-program, the first timing information of the appliance executing the preset scheduled task stored locally in the terminal is obtained through the mini-program, wherein the first timing information of the appliance executing the preset scheduled task stored locally in the terminal is the execution time of the appliance executing the preset scheduled task.
[0036] The first timing information is the execution time of the preset timing task. In a specific embodiment, when the first timing information is set through the applet, setting the first timing information through the applet includes: receiving the first timing information of the appliance executing the preset timing task set through the applet interface, storing it locally in the terminal, and sending the received first timing information to the appliance.
[0037] Specifically, the second remaining time between the current time and the execution time for the appliance to execute the preset timed task is determined, and the second remaining time is sent to the appliance so that the appliance counts down according to the second remaining time, and when the countdown ends, that is, the execution time is reached, the corresponding timed task is executed.
[0038] When the first timing information is not set through the applet but is set through the control client of the appliance and / or the remote control of the appliance, the first timing information of the appliance executing the preset timing task stored in the appliance is obtained through the applet and stored locally in the terminal. The first timing information of the appliance executing the preset timing task stored in the appliance is the remaining time before the execution time of the appliance executing the preset timing task.
[0039] In a specific implementation, the applet communicates with the appliance via a wireless communication method through the terminal where it is located. The wireless communication method may include, for example, Bluetooth and / or a wireless local area network (e.g., a WiFi network). The applet communicates with the appliance via the terminal where it is located according to a preset communication protocol. The applet communicates with the appliance via a wireless communication method to obtain first timing information stored in the appliance for the appliance to perform a preset timing task.
[0040] When the first timing information is set through the control client of the appliance, it is the same as the setting method through the applet. When the preset timed task and the first timing information are set through the remote control of the appliance, it is the second remaining time from the current time to the execution time of the preset timed task by the appliance, for example, the user sets a period of time (equal to the second remaining time) through the remote control to execute the preset timed task.
[0041] The appliance does not have the function of obtaining real-time time, so it needs to store the countdown through the chip for timing, and then execute the timing command, that is, execute the preset timing task when the countdown ends. That is, the terminal where the mini-program is located locally stores the execution time of the preset timing task, and the appliance locally stores the remaining time from the execution time of the preset timing task (i.e., the second remaining time), and starts the countdown from the time the preset timing task and the first timing information (i.e., the second remaining time) sent by the mini-program are received, and executes the preset timing task when the countdown ends. In a specific embodiment, the preset timing task may include: timed startup and / or timed shutdown.
[0042] Step S120: determining a first remaining time between the current time and the execution time of the preset timing task by the appliance according to the first timing information obtained.
[0043] Specifically, after obtaining the first timing information, the remaining time from the current time to the execution time of the preset timed task performed by the appliance is determined according to the first timing information, that is, the first remaining time. When the first timing information of the appliance performing the preset timed task stored locally in the terminal is obtained through the applet, the first timing information is the execution time of the appliance performing the preset timed task, and the remaining time from the current time to the execution time is recorded as the first remaining time.
[0044] Step S130: Displaying the execution information of the preset scheduled task on the mini-program interface according to the determined first remaining time.
[0045] Specifically, when the remaining time is less than the preset time, a prompt message indicating that the preset scheduled task is about to be executed is displayed; when the remaining time is greater than or equal to the preset time, the execution time of the preset scheduled task is displayed. Wherein, when the first timing information obtained is not stored locally in the terminal, that is, the preset scheduled task and the first timing information are not set through the applet, but through the control client of the appliance and / or the remote control of the appliance, the first timing information obtained is stored locally in the terminal, and the execution time of the preset scheduled task is displayed.
[0046] For example, if the current execution time is within 5 minutes, the mini program displays "Air conditioner will be turned off soon" or "Air conditioner will be turned on soon". If the current execution time is greater than 5 minutes and it is the timer set by the mini program, the required execution time will be saved and displayed. If the current execution time is greater than 5 minutes and it is not the timer set by the mini program, the mini program will obtain the timer, save the first obtained timer (recorded as T1), and display it on the mini program.
[0047] When the mini program itself does not set a timing (that is, the timing is not set through the mini program), when the mini program is used to synchronize the air conditioner status, the timing information stored in the air conditioner will be obtained (if the air conditioner has a timing). The mini program stores the timing information synchronized for the first time and stores it in the terminal, such as a mobile device.
[0048] The timing used by electrical appliances such as air conditioners is different from that of smart terminals. Without an Internet connection, there is no way to obtain the current specific time. The timing set by the remote control or other terminals is stored in the appliance. The appliance uses a crystal oscillator to calculate time, which can be fast or slow. When the mini program is synchronized, the obtained time will change. Since the mini program will display the timing (a certain time and minute), users can intuitively see the information about the timing to be executed, such as 10:49. When the mini program is synchronized, the time may become 10:48.
[0049] Figure 2 It is a method schematic diagram of another embodiment of the method for displaying timing information of an electrical appliance provided by the present invention.
[0050] like Figure 2 As shown, according to another embodiment of the present invention, the method for displaying timing information of an electrical appliance further includes step S140, step S150 and step S160.
[0051] Step S140, obtaining, through the applet, second timing information of the appliance executing a preset timing task stored in the appliance.
[0052] Specifically, the acquired second timing information is the countdown for the electrical appliance to execute the preset timing task, that is, the remaining time until the electrical appliance executes the preset timing task.
[0053] Step S150: compare the acquired second timing information with the first timing information stored locally in the terminal to obtain a time difference between the second timing information and the first timing information.
[0054] For example, when there is a timing T1 stored in the terminal, the timing T2 stored in the appliance is obtained, and the difference |T2-T1| between the timing T1 stored in the terminal where the mini program is located and the timing T2 stored locally in the appliance is compared.
[0055] The second timing information T2 may be the timing information for the appliance to execute a preset timing task set by the applet, the control client of the appliance and / or the remote control of the appliance, and is stored in the appliance. The appliance locally stores the remaining time before the execution time of the preset timing task. Therefore, after obtaining the countdown stored in the appliance, the first timing information T1 stored in the terminal where the applet is located is compared with the second timing information T2 (current time + countdown = T2) obtained according to the current time and the remaining countdown time.
[0056] Step S160: if the time difference is greater than or equal to a preset time threshold, the first timing information stored locally in the terminal is updated to the second timing information; if the time difference is less than the preset time threshold, the first timing information stored locally in the terminal remains unchanged.
[0057] For example, if |T2-T1|≥1 (unit: min), the timing currently stored in the mini program is considered inconsistent with the timing stored in the air conditioner, and is updated to the timing information T2 of the air conditioner and displayed as T2. If |T2-T1|<1 (unit: min), the mini program timing display time remains unchanged and displays T1.
[0058] For example, the preset time threshold is 1 minute. The mini program periodically obtains the timing information from the air conditioner and compares it with the locally stored timing information. If the difference between the two is greater than or equal to 1 minute, the mini program updates the local timing information and displays the latest timing information. If the difference between the two is less than 1 minute, the currently displayed timing information remains unchanged.
[0059] Through the above solution, the mini program can accurately and real-time display the timing information of the air conditioner, solve the problem of synchronization and real-time update of timing information on multiple terminals, and improve the user experience.
[0060] To clearly illustrate the technical solution of the present invention, the execution flow of the method for displaying timing information of an electrical appliance provided by the present invention is described below with reference to a specific embodiment.
[0061] Figure 3 FIG. 1 is a schematic diagram of a method for displaying timing information of an electrical appliance provided by the present invention in accordance with a specific embodiment of the present invention. Figure 3As shown, after the mini program is started, a communication connection is established with the air conditioner via BLE Bluetooth. The user sets the timing through the mini program interface, and the mini program saves the timing information (timing time is recorded as T1) to the mobile device and sends it to the air conditioner master control in the form of a countdown. In the case where the timing information is not stored locally, the mini program obtains the timing information stored by the air conditioner, and saves the first obtained timing time as T1; enters the mini program or synchronization state, and in the case where the timing information is not stored locally, obtains the countdown of the air conditioner master control, and displays it on the mini program according to the set timing, wherein, when the execution time (countdown) is within 5 minutes, the corresponding prompt information is displayed on the mini program, such as "the air conditioner is about to shut down" or "the air conditioner is about to start up"; when the execution time (countdown) is greater than 5 minutes, the set execution time is displayed on the mini program, and the execution time is equal to the current time + countdown = T2; the mini program compares the stored timing time T1 with the timing time T2 obtained from the appliance master control (current time + countdown = T2). If the difference between the two is greater than or equal to 1 minute, the applet updates the local timing information of the terminal to T2 and displays the latest timing information T2. If the difference is less than 1 minute, the currently displayed timing information T1 remains unchanged.
[0062] The present invention provides a method for displaying timing information of an electrical appliance, wherein the electrical appliance includes at least one of an air conditioner, a refrigerator, a washing machine, a television and an electric rice cooker.
[0063] Figure 4 FIG. 1 is a structural block diagram of an embodiment of a timing information display device for an electrical appliance provided by the present invention. Figure 4 As shown, the timing information display device 100 includes: a first acquisition unit 110 , a determination unit 120 and a display unit 130 .
[0064] The first acquisition unit 110 is used to acquire, through the mini-program, first timing information of the appliance executing a preset timing task stored locally in the terminal.
[0065] The first timing information may be set through the applet, the control client of the appliance and / or the remote controller of the appliance. The control client of the appliance is a control client installed on a mobile terminal for controlling the appliance, such as a mobile phone APP.
[0066] When the preset timed task and the first timed information of the appliance are set through the applet, the first timed information of the appliance executing the preset timed task stored locally in the terminal is obtained through the applet, wherein the first timed information of the appliance executing the preset timed task stored locally in the terminal is the execution time of the appliance executing the preset timed task. The first timed information is the execution time of executing the preset timed task.
[0067] Optionally, the device 100 further includes: a setting unit (not shown), configured to set the first timing information through the applet.
[0068] In a specific implementation, setting the first timing information through the mini-program includes: receiving the first timing information for the appliance to perform a preset timing task set through the mini-program interface, storing it locally in the terminal, and sending the received first timing information to the appliance.
[0069] Specifically, the second remaining time between the current time and the execution time for the appliance to execute the preset timed task is determined, and the second remaining time is sent to the appliance so that the appliance counts down according to the second remaining time, and when the countdown ends, that is, the execution time is reached, the corresponding timed task is executed.
[0070] When the first timing information is not set through the applet but is set through the control client of the appliance and / or the remote control of the appliance, the first acquisition unit 110 is further used to: acquire the first timing information of the appliance executing the preset timing task stored in the appliance through the applet, and store it locally in the terminal. The first timing information of the appliance executing the preset timing task stored in the appliance is the remaining time before the execution time of the appliance executing the preset timing task.
[0071] In a specific implementation, the applet communicates with the appliance via a wireless communication method through the terminal where it is located. The wireless communication method may include, for example, Bluetooth and / or a wireless local area network (e.g., a WiFi network). The applet communicates with the appliance via the terminal where it is located according to a preset communication protocol. The applet communicates with the appliance via a wireless communication method to obtain first timing information stored in the appliance for the appliance to perform a preset timing task.
[0072] When the first timing information is set through the control client of the appliance, it is the same as the setting method through the applet. When the preset timed task and the first timing information are set through the remote control of the appliance, it is the second remaining time from the current time to the execution time of the preset timed task by the appliance, for example, the user sets a period of time (equal to the second remaining time) through the remote control to execute the preset timed task.
[0073] The appliance does not have the function of obtaining real-time time, so it needs to store the countdown through the chip for timing, and then execute the timing command, that is, execute the preset timing task when the countdown ends. That is, the terminal where the mini-program is located locally stores the execution time of the preset timing task, and the appliance locally stores the remaining time from the execution time of the preset timing task (i.e., the second remaining time), and starts the countdown from the time the preset timing task and the first timing information (i.e., the second remaining time) sent by the mini-program are received, and executes the preset timing task when the countdown ends. In a specific embodiment, the preset timing task may include: timed startup and / or timed shutdown.
[0074] The determination unit 120 is configured to determine, according to the first timing information acquired by the first acquisition unit, a first remaining time between the current time and the execution time of the preset timing task performed by the electrical appliance.
[0075] Specifically, after obtaining the first timing information, the remaining time from the current time to the execution time of the preset timed task performed by the appliance is determined according to the first timing information, that is, the first remaining time. When the first timing information of the appliance performing the preset timed task stored locally in the terminal is obtained through the applet, the first timing information is the execution time of the appliance performing the preset timed task, and the remaining time from the current time to the execution time is recorded as the first remaining time.
[0076] The display unit 130 is used to display the execution information of the preset scheduled task on the mini-program interface according to the first remaining time determined by the determination unit.
[0077] Specifically, when the remaining time is less than the preset time, a prompt message indicating that the preset scheduled task is about to be executed is displayed; when the remaining time is greater than or equal to the preset time, the execution time of the preset scheduled task is displayed. Wherein, when the first timing information obtained is not stored locally in the terminal, that is, the preset scheduled task and the first timing information are not set through the applet, but through the control client of the appliance and / or the remote control of the appliance, the first timing information obtained is stored locally in the terminal, and the execution time of the preset scheduled task is displayed.
[0078] For example, if the current execution time is within 5 minutes, the mini program displays "Air conditioner will be turned off soon" or "Air conditioner will be turned on soon". If the current execution time is greater than 5 minutes and it is the timer set by the mini program, the required execution time will be saved and displayed. If the current execution time is greater than 5 minutes and it is not the timer set by the mini program, the mini program will obtain the timer, save the first obtained timer (recorded as T1), and display it on the mini program.
[0079] When the mini program itself does not set a timing (that is, the timing is not set through the mini program), when the mini program is used to synchronize the air conditioner status, the timing information stored in the air conditioner will be obtained (if the air conditioner has a timing). The mini program stores the timing information synchronized for the first time and stores it in the terminal, such as a mobile device.
[0080] Figure 5 FIG. 1 is a structural block diagram of an embodiment of a timing information display device for an electrical appliance provided by the present invention. Figure 5 As shown, the timing information display device 100 includes: a second acquisition unit 140 , a comparison unit 150 and an update unit 160 .
[0081] The second acquisition unit 140 is used to acquire, through the applet, second timing information of the electrical appliance executing a preset timing task stored in the electrical appliance.
[0082] Specifically, the acquired second timing information is the countdown for the electrical appliance to execute the preset timing task, that is, the remaining time until the electrical appliance executes the preset timing task.
[0083] The comparing unit 150 is configured to compare the second timing information acquired by the second acquiring unit with the first timing information stored locally in the terminal to obtain a time difference between the second timing information and the first timing information.
[0084] For example, when there is a timing T1 stored in the terminal, the timing T2 stored in the appliance is obtained, and the difference |T2-T1| between the timing T1 stored in the terminal where the mini program is located and the timing T2 stored locally in the appliance is compared.
[0085] The second timing information T2 may be the timing information for the appliance to execute a preset timing task set by the applet, the control client of the appliance and / or the remote control of the appliance, and is stored in the appliance. The appliance locally stores the remaining time before the execution time of the preset timing task. Therefore, after obtaining the countdown stored in the appliance, the first timing information T1 stored in the terminal where the applet is located is compared with the second timing information T2 (current time + countdown = T2) obtained according to the current time and the remaining countdown time.
[0086] The updating unit 160 is used to update the first timing information stored locally in the terminal to the second timing information if the time difference is greater than or equal to a preset time threshold; if the time difference is less than the preset time threshold, the first timing information stored locally in the terminal remains unchanged.
[0087] For example, if |T2-T1|≥1 (unit: min), the timing currently stored in the mini program is considered inconsistent with the timing stored in the air conditioner, and is updated to the timing information T2 of the air conditioner and displayed as T2. If |T2-T1|<1 (unit: min), the mini program timing display time remains unchanged and displays T1.
[0088] For example, the preset time threshold is 1 minute. The mini program periodically obtains the timing information from the air conditioner and compares it with the locally stored timing information. If the difference between the two is greater than or equal to 1 minute, the mini program updates the local timing information and displays the latest timing information. If the difference between the two is less than 1 minute, the currently displayed timing information remains unchanged.
[0089] Through the above solution, the mini program can accurately and real-time display the timing information of the air conditioner, solve the problem of synchronization and real-time update of timing information on multiple terminals, and improve the user experience.
[0090] The present invention also provides a storage medium corresponding to the timing information display method of the electrical appliance, on which a computer program is stored, and when the program is executed by a processor, the steps of any of the above methods are implemented.
[0091] The present invention also provides an appliance corresponding to the timing information display method of the appliance, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any of the aforementioned methods when executing the program.
[0092] The present invention also provides an electrical appliance corresponding to the timing information display device of the electrical appliance, comprising any of the timing information display devices described above.
[0093] Based on this, the solution provided by the present invention can obtain and display the timing information set by other terminals through the applet, solving the problem of asynchronous timing information of multiple terminals. The applet can obtain the timing information of the air conditioner in real time and automatically update it when inconsistencies are found to ensure that the displayed timing information is the latest. Users can conveniently view and set the timing of the air conditioner through the applet, reducing the complexity of operation and improving the user experience.
[0094] The functions described herein may be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software executed by a processor, the functions may be stored as one or more instructions or codes on a computer-readable medium or transmitted via a computer-readable medium. Other examples and implementations are within the scope and spirit of the present invention and the appended claims. For example, due to the nature of software, the functions described above may be implemented using software executed by a processor, hardware, firmware, hard wiring, or a combination of any of these. In addition, each functional unit may be integrated into a processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit.
[0095] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0096] The units described as separate components may or may not be physically separated, and the components of the control device may or may not be physical units, that is, they may be located in one place or distributed in multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0097] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the relevant technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.
[0098] The above description is only an embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention shall be included in the scope of the claims of the present invention.
Claims
1. A method for displaying timing information of an electrical appliance, characterized in that: include: Acquiring, through the applet, first timing information of the appliance executing a preset timing task stored locally in the terminal; Determine, according to the first timing information obtained, a first remaining time from the current time to the execution time of the preset timing task by the electrical appliance; The execution information of the preset scheduled task is displayed on the mini-program interface according to the determined first remaining time, wherein: When the first remaining time is less than the preset time, a prompt message indicating that the preset scheduled task is about to be executed is displayed; when the first remaining time is greater than or equal to the preset time, the execution time of the preset scheduled task is displayed; The first timing information is set through the applet, the control client of the appliance and / or the remote control of the appliance.
2. The method according to claim 1, characterized in that Setting the first timing information through the applet includes: The first timing information for the electrical appliance to execute a preset timing task set through the mini-program interface is received, stored locally in the terminal, and the received first timing information is sent to the electrical appliance.
3. The method according to claim 2, characterized in that Sending the received first timing information to the electrical appliance includes: Determine the second remaining time from the current time to the execution time for the appliance to execute the preset timed task, and send the second remaining time to the appliance so that the appliance counts down according to the second remaining time. When the countdown ends, that is, the execution time arrives, the corresponding timed task is executed.
4. The method according to any one of claims 1 to 3, characterized in that: When the first timing information is not set through the applet, the first timing information of the appliance executing the preset timing task stored in the appliance is obtained through the applet and stored locally in the terminal.
5. The method according to claim 4, characterized in that The mini program communicates with the appliance via wireless communication via the terminal to obtain first timing information stored in the appliance for the appliance to perform a preset timing task. The wireless communication method includes: Bluetooth and / or wireless local area network.
6. The method according to any one of claims 1 to 5, characterized in that: Also includes: Acquiring, through the applet, second timing information of the electrical appliance performing a preset timing task stored in the electrical appliance; Compare the acquired second timing information with the first timing information stored locally in the terminal to obtain a time difference between the second timing information and the first timing information; If the time difference is greater than or equal to a preset time threshold, updating the first timing information stored locally in the terminal to the second timing information; If the time difference is less than a preset time threshold, the first timing information locally stored in the terminal remains unchanged.
7. A timing information display device for an electrical appliance, characterized in that: include: A first acquisition unit, configured to acquire, through the applet, first timing information of the electrical appliance executing a preset timing task stored locally in the terminal; a determining unit, configured to determine, according to the first timing information acquired by the first acquiring unit, a first remaining time between the current time and the execution time of the preset timing task executed by the electrical appliance; a display unit, configured to display the execution information of the preset scheduled task on the mini-program interface according to the first remaining time determined by the determination unit, wherein: When the first remaining time is less than the preset time, a prompt message indicating that the preset scheduled task is about to be executed is displayed; when the first remaining time is greater than or equal to the preset time, the execution time of the preset scheduled task is displayed; The first timing information is set through the applet, the control client of the appliance and / or the remote control of the appliance.
8. A storage medium, characterized in that: A computer program is stored thereon, and when the program is executed by a processor, the steps of any method described in claims 1-6 are implemented.
9. An electrical appliance, characterized in that: The device comprises a processor, a memory and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any method described in claims 1 to 6 when executing the program, or comprises the timing information display device described in claim 7.
10. A computer program product, characterized in that The invention comprises a computer program, which implements the steps of any one of the methods of claims 1 to 6 when executed by a processor.
