Method and apparatus for sterilizing refrigerator device, storage medium, and electronic device
By detecting and analyzing temperature change data using temperature sensors inside the refrigerator, it can automatically perform sterilization when the refrigerator is not in use, solving the problem of users forgetting to sterilize and improving user experience and food preservation.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HAIER YOUJIA INTELLIGENT TECH (BEIJING) CO LTD
- Filing Date
- 2022-10-31
- Publication Date
- 2026-07-24
AI Technical Summary
Users often forget to sterilize their refrigerators, causing food to spoil easily and resulting in a poor user experience.
By using a temperature sensor installed inside the refrigerator to detect temperature changes in real time, analyzing usage frequency and operating time, the system can predict when the refrigerator will automatically sterilize.
It enables automatic sterilization of refrigerator equipment, extends the shelf life of food, and improves the user experience.
Smart Images

Figure CN115628584B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of smart home technology, and more specifically, to a sterilization method and apparatus for a refrigerator, a storage medium, and an electronic device. Background Technology
[0002] With the widespread adoption of smart home appliances, more and more of them support internet connectivity and remote control, subtly changing people's lives. Current refrigerators can already perform sterilization, thus extending the shelf life of food. However, existing refrigerators focus more on functionality, offering only a sterilization function. Users often overlook the air pollution generated during refrigerator use, cannot accurately determine when sterilization should be performed, and may forget to sterilize altogether. This results in the food stored in the refrigerator not maximizing its freshness, and the user experience and quality of life are not improved.
[0003] There is currently no effective solution to the problem that users often forget to sterilize their refrigerators, leading to food spoilage and a poor user experience. Summary of the Invention
[0004] This invention provides a method and apparatus for sterilizing refrigerator equipment, a storage medium, and an electronic device, to at least solve the problem in the prior art where users often forget to sterilize refrigerator equipment, leading to food spoilage and a poor user experience.
[0005] According to one embodiment of the present invention, a sterilization method for a refrigerator device is provided, comprising: determining temperature change data inside the refrigerator device using a temperature sensor disposed inside the refrigerator device; determining behavioral data of the refrigerator device based on the temperature change data, wherein the behavioral data includes at least one of the following: the usage frequency of the refrigerator device, the duration of each time the refrigerator device is in an open state; analyzing the behavioral data determined in a first time period prior to the current moment to predict whether a target object will use the refrigerator device in a second time period after the current moment; and, if it is predicted that the target object will not use the refrigerator device in the second time period, controlling the refrigerator device to sterilize the internal cavity area of the refrigerator device.
[0006] In an exemplary embodiment, determining the behavior data of the refrigerator device based on the temperature change data includes: determining at least one set of first temperature change data from the temperature change data, wherein each set of first temperature change data indicates that the temperature inside the refrigerator device changes from a first temperature at a first moment to a second temperature at a second moment, the first temperature being less than the second temperature, the first moment being the start moment corresponding to each set of first temperature change data, and the second moment being the end moment corresponding to each set of first temperature change data; and determining the usage frequency of the refrigerator device included in the behavior data based on the number of sets of first temperature change data and the first moment.
[0007] In an exemplary embodiment, determining the behavior data of the refrigerator device based on the temperature change data includes: determining at least one set of first temperature change data and at least one set of second temperature change data from the temperature change data; and determining a first moment for each set of first temperature change data and a third moment for each set of second temperature change data corresponding to each set of first temperature change data, wherein each set of first temperature change data indicates that the temperature inside the refrigerator device changes from a first temperature at the first moment to a second temperature at the second moment, where the first temperature is less than the second temperature; each set of second temperature change data indicates that the temperature inside the refrigerator device changes from a third temperature at the third moment to a fourth temperature at the fourth moment, where the third temperature is greater than the fourth temperature; the first moment is the start moment corresponding to each set of first temperature change data; the second moment is the end moment corresponding to each set of first temperature change data; the third moment is the start moment corresponding to each set of second temperature change data; and the fourth moment is the end moment corresponding to each set of second temperature change data; each set of first temperature change data corresponds one-to-one with each set of second temperature change data; and the difference between the third moment and the first moment is determined as the usage duration corresponding to using the refrigerator device at the first moment.
[0008] In one exemplary embodiment, analyzing behavioral data determined within a first time period prior to the current moment to predict whether a target object will use the refrigerator device within a second time period after the current moment includes: calculating the behavioral data using a preset algorithm to obtain a first indicator and a second indicator for the refrigerator device within the second time period after the current moment, wherein the first indicator is used to indicate a usage indicator of the target object using the refrigerator device within the second time period, and the second indicator is used to indicate a usage duration threshold of the target object using the refrigerator device within the second time period; and predicting whether the target object will use the refrigerator device within the second time period after the current moment based on the comparison result of the first indicator and the second indicator.
[0009] In one exemplary embodiment, predicting whether the target object will use the refrigerator device in a second time period after the current time based on the comparison result of the first indicator and the second indicator includes: predicting that the target object will not use the refrigerator device in the second time period after the current time if the first indicator is greater than the second indicator; and predicting that the target object will use the refrigerator device in the second time period after the current time if the first indicator is less than the second indicator.
[0010] In one exemplary embodiment, controlling the refrigerator device to sterilize the interior area of the refrigerator device includes: determining the sterilization intensity of the refrigerator device and the time consumption corresponding to the sterilization intensity; determining a third time period based on the current time and the time consumption corresponding to the sterilization intensity, wherein the third time period is used to indicate the time period during which the refrigerator device performs sterilization; and sending a prompt message to a target application bound to the refrigerator device to notify the target application that the refrigerator device performs sterilization according to the sterilization intensity during the third time period.
[0011] In an exemplary embodiment, determining the sterilization intensity of the refrigerator device and the time consumption corresponding to the sterilization intensity includes: calculating a third indicator for a first time period prior to the current moment based on the behavioral data, wherein the third indicator is used to indicate the total usage time of the refrigerator device within the first time period; if the third indicator is greater than a preset time threshold, determining the sterilization intensity of the refrigerator device as a first intensity and the time consumption corresponding to the first intensity as a first time; if the third indicator is less than the preset time threshold, determining the sterilization intensity of the refrigerator device as a second intensity and the time consumption corresponding to the second intensity as a second time, wherein the first intensity is greater than the second intensity and the first time is greater than the second time.
[0012] According to another embodiment of the present invention, a sterilization device for a refrigerator is also provided, comprising: a first determining module, configured to determine temperature change data inside the refrigerator using a temperature sensor disposed inside the refrigerator; a second determining module, configured to determine behavioral data of the refrigerator based on the temperature change data, wherein the behavioral data includes at least one of the following: the usage frequency of the refrigerator, and the duration of each time the refrigerator is in an open state; an analysis module, configured to analyze the behavioral data determined in a first time period prior to the current moment to predict whether a target object will use the refrigerator in a second time period after the current moment; and a control module, configured to control the refrigerator to sterilize the internal cavity area of the refrigerator if it is predicted that the target object will not use the refrigerator in the second time period.
[0013] According to another aspect of the present invention, a computer-readable storage medium is also provided, wherein a computer program is stored in the computer program, wherein the computer program is configured to execute the sterilization method of the refrigerator device described above when it is run.
[0014] According to another aspect of the present invention, an electronic device is also provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the sterilization method of the refrigerator device described above through the computer program.
[0015] In this embodiment, a temperature sensor installed inside the refrigerator is used to detect the internal temperature data in real time to determine the internal temperature change data. Based on the temperature change data, behavioral data of the refrigerator is determined, including at least one of the following: the frequency of use of the refrigerator and the duration of each time the refrigerator is opened. The behavioral data determined in a first time period before the current moment is analyzed to predict whether a target will use the refrigerator in a second time period after the current moment. If it is predicted that the target will not use the refrigerator in the second time period, the refrigerator is controlled to sterilize its internal cavity area; that is, sterilization of the internal cavity area of the refrigerator begins when it is predicted that the target will not use the refrigerator in the second time period. This technical solution solves the problem in the prior art where users often forget to sterilize the refrigerator, leading to food spoilage and a poor user experience. It achieves the technical effect of automatically sterilizing the refrigerator and improving the user experience. Attached Figure Description
[0016] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0017] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 This is a schematic diagram of the hardware environment for an optional sterilization method for a refrigerator device according to an embodiment of this application;
[0019] Figure 2 This is a flowchart of an optional sterilization method for a refrigerator device according to an embodiment of the present invention;
[0020] Figure 3 This is a system framework diagram of an optional sterilization method for a refrigerator device according to an embodiment of the present invention;
[0021] Figure 4 This is a schematic flowchart of an optional sterilization method for a refrigerator device according to an embodiment of the present invention;
[0022] Figure 5 This is a structural block diagram of an optional sterilization device for a refrigerator according to an embodiment of the present invention. Detailed Implementation
[0023] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0024] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0025] According to one aspect of the embodiments of this application, a method for sterilizing a refrigerator device is provided. This sterilization method for a refrigerator device is widely applicable to whole-house intelligent digital control application scenarios such as smart homes, smart home ecosystems, and intelligence house ecosystems. Optionally, in this embodiment, the above-mentioned sterilization method for a refrigerator device can be applied to, for example... Figure 1 The hardware environment shown consists of terminal device 102 and server 104. For example... Figure 1 As shown, server 104 is connected to terminal device 102 via a network and can be used to provide services (such as application services) to the terminal or clients installed on the terminal. A database can be set up on the server or independently of the server to provide data storage services for server 104. Cloud computing and / or edge computing services can be configured on the server or independently of the server to provide data processing services for server 104.
[0026] The aforementioned network may include, but is not limited to, at least one of the following: wired network, wireless network. The aforementioned wired network may include, but is not limited to, at least one of the following: wide area network, metropolitan area network, local area network. The aforementioned wireless network may include, but is not limited to, at least one of the following: Wi-Fi (Wireless Fidelity), Bluetooth. Terminal device 102 may not be limited to PC, mobile phone, tablet computer, smart air conditioner, smart range hood, refrigerator, smart oven, smart stove, smart washing machine, smart water heater, smart washing equipment, smart dishwasher, smart projector, smart TV, smart clothes rack, smart curtains, smart audio-visual equipment, smart socket, smart speaker, smart speaker box, smart fresh air equipment, smart kitchen and bathroom equipment, smart bathroom equipment, smart robot vacuum cleaner, smart window cleaning robot, smart mopping robot, smart air purifier, smart steam oven, smart microwave oven, smart water heater, smart air purifier, smart water dispenser, smart door lock, etc.
[0027] This embodiment provides a sterilization method for refrigerator equipment, applied to the aforementioned refrigerator equipment. Figure 2 This is a flowchart of an optional sterilization method for a refrigerator device according to an embodiment of the present invention, the process including the following steps:
[0028] Step S202: Determine the temperature change data inside the refrigerator using a temperature sensor installed inside the refrigerator.
[0029] It should be noted that the temperature change data determined by the temperature sensor is obtained by real-time monitoring of the internal temperature data of the refrigerator by the temperature sensor, thereby forming a temperature data change curve.
[0030] Step S204: Determine the behavior data of the refrigerator device based on the temperature change data, wherein the behavior data includes at least one of the following: the usage frequency of the refrigerator device, and the duration of each time the refrigerator device is in the open state;
[0031] Step S206: Analyze the behavioral data determined in the first time period before the current moment to predict whether the target object will use the refrigerator device in the second time period after the current moment;
[0032] Step S208: If it is predicted that the target object will not use the refrigerator during the second time period, control the refrigerator to sterilize the inner cavity area of the refrigerator.
[0033] In this embodiment, a temperature sensor installed inside the refrigerator is used to detect the internal temperature data in real time to determine the internal temperature change data. Based on the temperature change data, behavioral data of the refrigerator is determined, including at least one of the following: the frequency of use of the refrigerator and the duration of each time the refrigerator is opened. The behavioral data determined in a first time period before the current moment is analyzed to predict whether a target will use the refrigerator in a second time period after the current moment. If it is predicted that the target will not use the refrigerator in the second time period, the refrigerator is controlled to sterilize its internal cavity area; that is, sterilization of the internal cavity area of the refrigerator begins when it is predicted that the target will not use the refrigerator in the second time period. This technical solution solves the problem in the prior art where users often forget to sterilize the refrigerator, leading to food spoilage and a poor user experience. It achieves the technical effect of automatically sterilizing the refrigerator and improving the user experience.
[0034] It should be noted that the concept of the duration of each time the refrigerator is in the open state can be understood as follows: each time the refrigerator is opened by the user, the refrigerator door will remain open as the user takes things out. Therefore, one of the behavioral data is the duration of time the refrigerator remains in the open state each time it is opened.
[0035] Optionally, in step S204, determining the behavior data of the refrigerator device based on the temperature change data includes: determining at least one set of first temperature change data from the temperature change data, wherein each set of first temperature change data is used to indicate that the temperature inside the refrigerator device changes from a first temperature at a first moment to a second temperature at a second moment, the first temperature being less than the second temperature, the first moment being the start moment corresponding to each set of first temperature change data, and the second moment being the end moment corresponding to each set of first temperature change data; and determining the usage frequency of the refrigerator device included in the behavior data based on the number of sets of first temperature change data and the first moment.
[0036] It is understandable that when a user (equivalent to the aforementioned target object) uses the refrigerator, they will turn it on. While the refrigerator is on, it will not continue cooling. Furthermore, due to convection between the cold air inside the refrigerator and the outside air, the air inside and outside the refrigerator exchanges rapidly, causing the internal temperature of the refrigerator to rise quickly. Therefore, when the internal temperature of the refrigerator begins to rise, it is confirmed that the user is using the refrigerator. The system acquires at least one set of first temperature change data indicating a temperature rise. Each set of first temperature change data represents the temperature change data corresponding to a period of continuous temperature rise within the refrigerator. The first moment is the start time of this period, and the second moment is the end time of this period. Based on the number of sets of first temperature change data and the first moment, the frequency of the user's use of the refrigerator within each time period is calculated.
[0037] It should be noted that when a user opens the refrigerator, the internal temperature will rise due to air convection and other factors. Therefore, if a rise in the internal temperature is detected, it can be assumed that the user is using the refrigerator. Thus, the frequency of refrigerator use can be calculated by acquiring at least one set of first temperature change data indicating the rise in the internal temperature of the refrigerator. For example, the refrigerator can plot a temperature change curve based on the monitored temperature data. Each time the refrigerator is opened, the temperature curve rises continuously. Therefore, at least one set of first temperature change data is acquired. This first temperature change data corresponds to the temperature change data of the continuously rising segment of the temperature change curve. This segment of the curve indicates that the internal temperature of the refrigerator has risen from a first temperature at a first moment to a second temperature at a second moment. The first moment is the starting moment of this segment of the curve, and the second moment is the ending moment of this segment of the curve.
[0038] Optionally, step S204: determining the behavior data of the refrigerator device based on the temperature change data can also be implemented through the following scheme, including: determining at least one set of first temperature change data and at least one set of second temperature change data from the temperature change data, and determining a first moment for each set of first temperature change data and a third moment for each set of second temperature change data corresponding to each set of first temperature change data, wherein each set of first temperature change data is used to indicate that the temperature inside the refrigerator device changes from a first temperature at the first moment to a second temperature at the second moment, the first temperature being lower than the second temperature, and each set of second temperature change data is used to indicate The internal temperature of the refrigerator changes from a third temperature at a third time point to a fourth temperature at a fourth time point, where the third temperature is greater than the fourth temperature. The first time point is the start time corresponding to each set of first temperature change data, the second time point is the end time corresponding to each set of first temperature change data, the third time point is the start time corresponding to each set of second temperature change data, and the fourth time point is the end time corresponding to each set of second temperature change data. Each set of first temperature change data corresponds one-to-one with each set of second temperature change data. The difference between the third time point and the first time point is determined as the usage time corresponding to using the refrigerator at the first time point.
[0039] It is understandable that after a user finishes using the refrigerator, they will close the refrigerator door. After closing the refrigerator, it will start operating and begin cooling its interior. Therefore, the internal temperature of the refrigerator will begin to drop after the user finishes using it. Thus, it is necessary to acquire at least one set of first temperature change data and its corresponding first moment to indicate a rise in the internal temperature, and second temperature change data and its corresponding third moment to indicate a drop in the internal temperature. A single set of adjacent first and second temperature change data indicates one complete cycle of the user's use of the refrigerator. Therefore, the difference between the third moment and the first moment is determined as the duration of the user's use of the refrigerator at the first moment. In other words, the usage time of the refrigerator is determined through two temperature change cycles, thus enabling accurate determination of the usage time using two endpoint moments (the third moment and the first moment).
[0040] Optionally, step S206 above: analyzing the behavioral data determined in the first time period before the current moment to predict whether the target object will use the refrigerator device in the second time period after the current moment, includes: calculating the behavioral data using a preset algorithm to obtain a first indicator and a second indicator of the refrigerator device in the second time period after the current moment, wherein the first indicator is used to indicate the usage index of the target object using the refrigerator device in the second time period, and the second indicator is used to indicate the usage duration threshold of the target object using the refrigerator device in the second time period; predicting whether the target object will use the refrigerator device in the second time period after the current moment based on the comparison result of the first indicator and the second indicator.
[0041] It is understood that the acquired behavioral data (including at least one of usage frequency and usage duration) is calculated using a preset algorithm to obtain a first indicator indicating the target object's use of the refrigerator in a second time period and a second indicator indicating the target object's usage duration threshold in the second time period. Based on the comparison between the first and second indicators, it is predicted whether the target object will use the refrigerator in the second time period after the current moment. In this embodiment of the invention, the target object's use of the refrigerator in the second time period is comprehensively predicted using both the usage indicator and the usage duration threshold.
[0042] Regarding the calculation of behavioral data using a preset algorithm, this application proposes an optional implementation method, including: acquiring user behavioral data over a period of time, calculating the total cumulative usage time A of the refrigerator per hour, and the time B between the last use of the refrigerator and the next hour within each hour; using Bayesian and clustering algorithms to calculate A and B, obtaining the probability C of the user using the refrigerator and a usage time threshold D (equivalent to the second indicator mentioned above), and using Flink to calculate the user's cumulative usage time E of the refrigerator in the previous hour, using the formula F = log 10 (E / 3600+0.00001)+1.2*log 10 (C+0.00001) calculates the usage index F (equivalent to the first index mentioned above).
[0043] It should be noted that the above usage metrics can be understood as the score data of a user not using the refrigerator in the second time period after the current moment, and the above usage duration threshold can be understood as the score threshold of a user not using the refrigerator in the second time period after the current moment.
[0044] It should be noted that the above-mentioned method for calculating behavioral data is only one option, and other methods can also be used for calculation, which this application does not limit.
[0045] Optionally, predicting whether the target object will use the refrigerator in a second time period after the current time based on the comparison result of the first indicator and the second indicator can be achieved through the following scheme: if the first indicator is greater than the second indicator, it is predicted that the target object will not use the refrigerator in the second time period after the current time; if the first indicator is less than the second indicator, it is predicted that the target object will use the refrigerator in the second time period after the current time. This allows for flexible prediction of whether the target object will use the refrigerator based on both the first and second indicators.
[0046] If the calculated first indicator is greater than the second indicator, that is, the usage indicator is greater than the usage duration threshold, it is predicted that the target object will not use the refrigerator in the second time period after the current moment. If the calculated first indicator is less than the second indicator, that is, the usage indicator is less than the usage duration threshold, it is predicted that the target object will use the refrigerator in the second time period after the current moment.
[0047] Optionally, step S208 above: controlling the refrigerator device to sterilize the inner cavity area of the refrigerator device includes: determining the sterilization intensity of the refrigerator device and the time consumption corresponding to the sterilization intensity; determining a third time period based on the current time and the time consumption corresponding to the sterilization intensity, wherein the third time period is used to indicate the time period during which the refrigerator device performs sterilization; sending a prompt message to a target application bound to the refrigerator device to notify the target application that the refrigerator device performs sterilization according to the sterilization intensity during the third time period.
[0048] The process of controlling the refrigerator to sterilize its internal cavity includes: first, determining the sterilization intensity and the corresponding time for this sterilization; second, determining a third time period based on the current time and the corresponding time for this sterilization; and third, sending a notification message to the target application bound to the refrigerator to inform the user that the refrigerator will sterilize at the specified intensity within this third time period, while also reminding the user not to open the refrigerator during this time period to avoid interrupting the sterilization process.
[0049] In an exemplary embodiment, determining the sterilization intensity of the refrigerator device and the time consumption corresponding to the sterilization intensity includes: calculating a third indicator for a first time period prior to the current moment based on the behavioral data, wherein the third indicator is used to indicate the total usage time of the refrigerator device within the first time period; if the third indicator is greater than a preset time threshold, determining the sterilization intensity of the refrigerator device as a first intensity and the time consumption corresponding to the first intensity as a first time; if the third indicator is less than the preset time threshold, determining the sterilization intensity of the refrigerator device as a second intensity and the time consumption corresponding to the second intensity as a second time, wherein the first intensity is greater than the second intensity and the first time is greater than the second time.
[0050] Determining the sterilization intensity and corresponding time for this sterilization of the refrigerator involves the following steps: First, based on the acquired behavioral data, calculate a third indicator to indicate the total usage time of the refrigerator within the first time period prior to the current moment. For example, obtain the total usage time of the refrigerator by users within the hour preceding the current moment. This helps determine the degree of contamination of the refrigerator during this time period. Based on the comparison between the third indicator and a preset time threshold, if the third indicator is greater than the preset time threshold, the refrigerator is considered to be severely contaminated, requiring sterilization of the first intensity. If the third indicator is less than the preset time threshold, the refrigerator is considered to be lightly contaminated, requiring only sterilization of the second intensity. The time required for different sterilization intensities varies, with the first intensity requiring more time than the second intensity. Therefore, the first time also requires more time than the second time.
[0051] It should be noted that, as an optional solution, the first intensity sterilization mode mentioned above can be ultraviolet light combined with ozone sterilization, and the second intensity sterilization mode mentioned above can be ozone sterilization alone; other sterilization methods are also possible, and this application does not limit them.
[0052] This embodiment provides a method for obtaining device information. Figure 3 This is a system framework diagram of an optional sterilization method for a refrigerator device according to an embodiment of the present invention, such as... Figure 3 As shown:
[0053] The present invention includes a smart refrigerator device with a temperature sensor, a user's own home router, a receiving server for receiving sensor data, a computing server for calculating user refrigerator usage data in real time via Flink, a prediction server for predicting user behavior, and a push server for pushing messages and device commands to the user.
[0054] Understandably, when a user uses a smart refrigerator, opening the refrigerator door creates air convection, causing temperature changes inside the refrigerator. This triggers the temperature sensor, which collects the temperature change data and uploads it to a receiving server via the home router. The receiving server then forwards the received data to a computing server. Using Flink and real-time calculations, the time data indicated by the refrigerator's temperature changes is used to determine the duration of air exchange between the inside and outside of the refrigerator, i.e., the duration of each user's use of the refrigerator. The prediction server then uses a preset algorithm to calculate and predict that the user will not operate the refrigerator again within a certain period of time (equivalent to the second time period mentioned above). Finally, the push server sends a message to the app linked to the refrigerator to inform the user that the smart disinfection function will be automatically activated.
[0055] In one exemplary embodiment, a message can be pushed to the user's app to remind the user to turn on the smart disinfection function, notifying the user to turn on the automatic disinfection function, and after the user triggers the automatic disinfection function, a command to start disinfection can be pushed to the smart refrigerator device.
[0056] The system described above uses a temperature sensor installed inside the refrigerator to monitor the internal temperature data in real time. Based on the temperature change data, it determines the user's usage data (equivalent to the aforementioned behavioral data). It then predicts whether the user will use the refrigerator in the next time period. If the prediction is that the user will not use the refrigerator, the system automatically activates the sterilization function. This system solves the problem in existing technologies where users often forget to sterilize their refrigerators, leading to food spoilage and a poor user experience. It achieves the technical effect of automatically sterilizing refrigerators, thus improving the user experience.
[0057] Furthermore, this application also proposes another embodiment, which combines the embodiments of this application with Figure 4 To explain, such as Figure 4 As shown, Figure 4 This is a flowchart illustrating an optional sterilization method for refrigerator equipment.
[0058] As can be seen, when a user uses the refrigerator, the exchange of air inside and outside the refrigerator triggers the temperature sensor, which collects a large amount of temperature data. This temperature data is then reported to the server via temperature sensor logs. The server collects the log data reported by the refrigerator through the log data receiving service, and then uses Flink to calculate the frequency and duration of the user's refrigerator usage in real time. Based on the frequency, duration, and time distribution of the user's refrigerator usage, the server analyzes and predicts that the user will not use the refrigerator again in the near future. Based on the duration of the user's last use of the refrigerator, the server determines the disinfection intensity and then sends a reminder message to the user via the message and command push service, informing the user that the refrigerator needs to activate the sterilization function, as well as the disinfection intensity and estimated time. The server also sends a command to the refrigerator to activate the sterilization function of the corresponding intensity.
[0059] Optionally, in this embodiment, if the temperature sensor inside the refrigerator detects that the user has started using the refrigerator to store or retrieve items before the sterilization function is completed, i.e., the temperature sensor detects that the internal temperature of the refrigerator has started to rise, then the sterilization process is immediately stopped.
[0060] Optionally, in this embodiment, if it is determined that the refrigerator fails to complete a full sterilization function within a certain period of time, and the refrigerator is being used during this period, i.e., the refrigerator is being used frequently, causing the sterilization function to fail to start or to fail to perform a full sterilization, then a message is pushed to the user, informing the user of the interval since the last sterilization, and suggesting that the user manually start the sterilization function once, in order to avoid the refrigerator being too contaminated inside, which would cause food to spoil easily.
[0061] It should be noted that users can subscribe to the smart disinfection service through the app linked to the refrigerator, which will remind them to perform smart disinfection on a regular basis.
[0062] With the above solution, users no longer need to manually judge and activate the sterilization function. The refrigerator will automatically activate sterilization, extending the shelf life of food and thus improving the user experience and quality of life. It also solves the problem that some users may not be able to fully master the many operations of the smart refrigerator, or due to lack of energy, they often neglect to manage the sterilization function of the refrigerator and cannot maximize the refrigerator's preservation function.
[0063] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of the present invention.
[0064] This embodiment also provides a sterilization device for a refrigerator, which is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0065] Figure 5 This is a structural block diagram of an optional sterilization device for a refrigerator according to an embodiment of the present invention; as shown below. Figure 5 As shown, it includes:
[0066] The first determining module 52 is used to determine the temperature change data inside the refrigerator by using a temperature sensor installed inside the refrigerator device;
[0067] The second determining module 54 is used to determine the behavior data of the refrigerator device based on the temperature change data, wherein the behavior data includes at least one of the following: the usage frequency of the refrigerator device, and the duration of each time the refrigerator device is in the open state;
[0068] Analysis module 56 is used to analyze the behavioral data determined in the first time period before the current moment in order to predict whether the target object will use the refrigerator device in the second time period after the current moment.
[0069] The control module 58 is used to control the refrigerator to sterilize the inner cavity area of the refrigerator when it is predicted that the target object will not use the refrigerator during the second time period.
[0070] The aforementioned device uses a temperature sensor installed inside the refrigerator to detect internal temperature data in real time, thereby determining internal temperature changes. Based on this temperature change data, behavioral data of the refrigerator is determined, including at least one of the following: the frequency of refrigerator use and the duration of each open state. The behavioral data determined within a first time period prior to the current moment is analyzed to predict whether a target will use the refrigerator in a second time period following the current moment. If it is predicted that the target will not use the refrigerator in the second time period, the refrigerator is controlled to sterilize its internal cavity area; that is, sterilization of the internal cavity area begins when it is predicted that the target will not use the refrigerator in the second time period. This technical solution solves the problem in the prior art where users often forget to sterilize refrigerators, leading to food spoilage and a poor user experience. It achieves automatic sterilization of refrigerators, improving the user experience.
[0071] Optionally, the second determining module 54 is further configured to determine at least one set of first temperature change data from the temperature change data, wherein each set of first temperature change data is used to indicate that the temperature inside the refrigerator changes from a first temperature at a first moment to a second temperature at a second moment, the first temperature being less than the second temperature, the first moment being the start moment corresponding to each set of first temperature change data, and the second moment being the end moment corresponding to each set of first temperature change data; and to determine the usage frequency of the refrigerator included in the behavior data based on the number of sets of first temperature change data and the first moment.
[0072] It is understandable that when a user (equivalent to the aforementioned target object) uses the refrigerator, they will turn it on. While the refrigerator is on, it will not continue cooling. Furthermore, due to convection between the cold air inside the refrigerator and the outside air, the air inside and outside the refrigerator exchanges rapidly, causing the internal temperature of the refrigerator to rise quickly. Therefore, when the internal temperature of the refrigerator begins to rise, it is confirmed that the user is using the refrigerator. The system acquires at least one set of first temperature change data indicating a temperature rise. Each set of first temperature change data represents the temperature change data corresponding to a period of continuous temperature rise within the refrigerator. The first moment is the start time of this period, and the second moment is the end time of this period. Based on the number of sets of first temperature change data and the first moment, the frequency of the user's use of the refrigerator within each time period is calculated.
[0073] It should be noted that when a user opens the refrigerator, the internal temperature will rise due to air convection and other factors. Therefore, if a rise in the internal temperature is detected, it can be assumed that the user is using the refrigerator. Thus, the frequency of refrigerator use can be calculated by acquiring at least one set of first temperature change data indicating the rise in the internal temperature of the refrigerator. For example, the refrigerator can plot a temperature change curve based on the monitored temperature data. Each time the refrigerator is opened, the temperature curve rises continuously. Therefore, at least one set of first temperature change data is acquired. This first temperature change data corresponds to the temperature change data of the continuously rising segment of the temperature change curve. This segment of the curve indicates that the internal temperature of the refrigerator has risen from a first temperature at a first moment to a second temperature at a second moment. The first moment is the starting moment of this segment of the curve, and the second moment is the ending moment of this segment of the curve.
[0074] Optionally, the second determining module 54 is further configured to determine at least one set of first temperature change data and at least one set of second temperature change data from the temperature change data, and to determine a first time for each set of first temperature change data and a third time for each set of second temperature change data corresponding to each set of first temperature change data, wherein each set of first temperature change data indicates that the temperature inside the refrigerator changes from a first temperature at the first time to a second temperature at the second time, where the first temperature is less than the second temperature; each set of second temperature change data indicates that the temperature inside the refrigerator changes from a third temperature at the third time to a fourth temperature at the fourth time, where the third temperature is greater than the fourth temperature; the first time is the start time corresponding to each set of first temperature change data, the second time is the end time corresponding to each set of first temperature change data, the third time is the start time corresponding to each set of second temperature change data, and the fourth time is the end time corresponding to each set of second temperature change data; and each set of first temperature change data corresponds one-to-one with each set of second temperature change data; the difference between the third time and the first time is determined as the usage time corresponding to using the refrigerator at the first time.
[0075] It is understandable that after a user finishes using the refrigerator, they will close the refrigerator door. After closing the refrigerator, it will start operating and begin cooling its interior. Therefore, the internal temperature of the refrigerator will begin to drop after the user finishes using it. Thus, it is necessary to acquire at least one set of first temperature change data and its corresponding first moment to indicate a rise in the internal temperature, and second temperature change data and its corresponding third moment to indicate a drop in the internal temperature. A single set of adjacent first and second temperature change data indicates one complete cycle of the user's use of the refrigerator. Therefore, the difference between the third moment and the first moment is determined as the duration of the user's use of the refrigerator at the first moment. In other words, the usage time of the refrigerator is determined through two temperature change cycles, thus enabling accurate determination of the usage time using two endpoint moments (the third moment and the first moment).
[0076] Optionally, the analysis module 56 is further configured to calculate the behavioral data using a preset algorithm to obtain a first indicator and a second indicator for the refrigerator device in a second time period after the current moment. The first indicator is used to indicate the usage index of the target object using the refrigerator device in the second time period, and the second indicator is used to indicate the usage duration threshold of the target object using the refrigerator device in the second time period. Based on the comparison result between the usage index and the usage duration threshold, it is predicted whether the target object will use the refrigerator device in the second time period after the current moment.
[0077] Understandably, the acquired behavioral data, including at least one of usage frequency and usage duration, is calculated using a preset algorithm to obtain a first indicator for indicating the target object's use of the refrigerator equipment in the second time period and a second indicator for indicating the target object's usage duration threshold of the refrigerator equipment in the second time period. Based on the comparison result of the first indicator and the second indicator, it is predicted whether the target object will use the refrigerator equipment in the second time period after the current moment.
[0078] Regarding the calculation of behavioral data using a preset algorithm, this application proposes an optional implementation method, including: acquiring user behavioral data over a period of time, calculating the total cumulative usage time A of the refrigerator per hour, and the time B between the last use of the refrigerator and the next hour within each hour; using Bayesian and clustering algorithms to calculate A and B, obtaining the probability C of the user using the refrigerator and a usage time threshold D (equivalent to the second indicator mentioned above), and using Flink to calculate the user's cumulative usage time E of the refrigerator in the previous hour, using the formula F = log 10 (E / 3600+0.00001)+1.2*log 10 (C+0.00001) calculates the usage index F (equivalent to the first index mentioned above).
[0079] It should be noted that the above usage metrics can be understood as the score data of a user not using the refrigerator in the second time period after the current moment, and the above usage duration threshold can be understood as the score threshold of a user not using the refrigerator in the second time period after the current moment.
[0080] It should be noted that the above-mentioned method for calculating behavioral data is only one option, and other methods can also be used for calculation, which this application does not limit.
[0081] Optionally, the analysis module 56 is further configured to predict, if the usage index is greater than the usage duration threshold, that the target object will not use the refrigerator device in a second time period after the current time; and to predict, if the usage index is less than the usage duration threshold, that the target object will use the refrigerator device in a second time period after the current time.
[0082] If the calculated first indicator is greater than the second indicator, that is, the usage indicator is greater than the usage duration threshold, it is predicted that the target object will not use the refrigerator in the second time period after the current moment. If the calculated first indicator is less than the second indicator, that is, the usage indicator is less than the usage duration threshold, it is predicted that the target object will use the refrigerator in the second time period after the current moment.
[0083] Optionally, the control module 58 is further configured to determine the sterilization intensity of the refrigerator device and the time consumption corresponding to the sterilization intensity; determine a third time period based on the current time and the time consumption corresponding to the sterilization intensity, wherein the third time period is used to indicate the time period during which the refrigerator device performs sterilization; and send a prompt message to a target application bound to the refrigerator device to notify the target application that the refrigerator device performs sterilization according to the sterilization intensity during the third time period.
[0084] The process of controlling the refrigerator to sterilize its internal cavity includes: first, determining the sterilization intensity and the corresponding time for this sterilization; second, determining a third time period based on the current time and the corresponding time for this sterilization; and third, sending a notification message to the target application bound to the refrigerator to inform the user that the refrigerator will sterilize at the specified intensity within this third time period, while also reminding the user not to open the refrigerator during this time period to avoid interrupting the sterilization process.
[0085] In an exemplary embodiment, the second determining module 54 is further configured to calculate a third indicator for a first time period prior to the current moment based on the behavioral data, wherein the third indicator is used to indicate the total usage time of the refrigerator device within the first time period; if the third indicator is greater than a preset time threshold, determine the sterilization intensity of the refrigerator device as a first intensity and the time consumption corresponding to the first intensity as a first time; if the third indicator is less than the preset time threshold, determine the sterilization intensity of the refrigerator device as a second intensity and the time consumption corresponding to the second intensity as a second time, wherein the first intensity is greater than the second intensity and the first time is greater than the second time.
[0086] Determining the sterilization intensity and corresponding time for this sterilization of the refrigerator involves the following steps: First, based on the acquired behavioral data, calculate a third indicator to indicate the total usage time of the refrigerator within the first time period prior to the current moment. For example, obtain the total usage time of the refrigerator by users within the hour preceding the current moment. This helps determine the degree of contamination of the refrigerator during this time period. Based on the comparison between the third indicator and a preset time threshold, if the third indicator is greater than the preset time threshold, the refrigerator is considered to be severely contaminated, requiring sterilization of the first intensity. If the third indicator is less than the preset time threshold, the refrigerator is considered to be lightly contaminated, requiring only sterilization of the second intensity. The time required for different sterilization intensities varies, with the first intensity requiring more time than the second intensity. Therefore, the first time also requires more time than the second time.
[0087] Embodiments of the present invention also provide a storage medium comprising a stored program, wherein the program, when executed, performs any of the methods described above.
[0088] Optionally, in this embodiment, the storage medium may be configured to store program code for performing the following steps:
[0089] S1, The temperature change data inside the refrigerator is determined by a temperature sensor installed inside the refrigerator;
[0090] S2, determine the behavior data of the refrigerator device based on the temperature change data, wherein the behavior data includes at least one of the following: the usage frequency of the refrigerator device, and the duration of each time the refrigerator device is in the open state;
[0091] S3, Analyze the behavioral data determined in the first time period before the current moment to predict whether the target object will use the refrigerator device in the second time period after the current moment;
[0092] S4, if it is predicted that the target object will not use the refrigerator during the second time period, control the refrigerator to sterilize the inner cavity area of the refrigerator.
[0093] Embodiments of the present invention also provide an electronic device including a memory and a processor, the memory storing a computer program and the processor being configured to run the computer program to perform the steps in any of the above method embodiments.
[0094] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor and the input / output device is connected to the processor.
[0095] Optionally, in this embodiment, the processor can be configured to perform the following steps via a computer program:
[0096] S1, The temperature change data inside the refrigerator is determined by a temperature sensor installed inside the refrigerator;
[0097] S2, determine the behavior data of the refrigerator device based on the temperature change data, wherein the behavior data includes at least one of the following: the usage frequency of the refrigerator device, and the duration of each time the refrigerator device is in the open state;
[0098] S3, Analyze the behavioral data determined in the first time period before the current moment to predict whether the target object will use the refrigerator device in the second time period after the current moment;
[0099] S4, if it is predicted that the target object will not use the refrigerator during the second time period, control the refrigerator to sterilize the inner cavity area of the refrigerator.
[0100] Optionally, in this embodiment, the storage medium may include, but is not limited to, various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0101] Optionally, specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementations, and will not be repeated here.
[0102] It is obvious to those skilled in the art that the modules or steps of the present invention described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. Optionally, they can be implemented using computer-executable program code, thereby storing them in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those presented herein, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.
[0103] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, or improvements made within the principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for sterilizing refrigerator equipment, characterized in that, include: Temperature changes inside the refrigerator are determined by a temperature sensor installed inside the refrigerator. The behavior data of the refrigerator device is determined based on the temperature change data, wherein the behavior data includes at least one of the following: the usage frequency of the refrigerator device, and the duration of each time the refrigerator device is in the open state; Analyze the behavioral data determined in the first time period before the current moment to predict whether the target object will use the refrigerator device in the second time period after the current moment; If it is predicted that the target object will not use the refrigerator during the second time period, the refrigerator is controlled to sterilize the inner cavity area of the refrigerator. The analysis of behavioral data identified during a first time period prior to the current moment to predict whether the target object will use the refrigerator device during a second time period following the current moment includes: The behavioral data is calculated using a preset algorithm to obtain a first indicator and a second indicator for the refrigerator device during the second time period. The first indicator is used to indicate the usage index of the target object using the refrigerator device during the second time period, and the second indicator is used to indicate the usage duration threshold of the target object using the refrigerator device during the second time period. Based on the comparison results of the first indicator and the second indicator, it is predicted whether the target object will use the refrigerator equipment during the second time period.
2. The sterilization method for refrigerator equipment according to claim 1, characterized in that, The behavior data of the refrigerator device is determined based on the temperature change data, including: At least one set of first temperature change data is determined from the temperature change data, wherein each set of first temperature change data is used to indicate that the temperature inside the refrigerator changes from a first temperature at a first moment to a second temperature at a second moment, the first temperature is less than the second temperature, the first moment is the start moment corresponding to each set of first temperature change data, and the second moment is the end moment corresponding to each set of first temperature change data. The frequency of use of the refrigerator equipment included in the behavioral data is determined based on the number of groups of the first temperature change data and the first time point.
3. The sterilization method for refrigerator equipment according to claim 1, characterized in that, The behavior data of the refrigerator device is determined based on the temperature change data, including: From the temperature change data, at least one set of first temperature change data and at least one set of second temperature change data are determined, and a first time and a third time corresponding to each set of first temperature change data and each set of second temperature change data are determined. Each set of first temperature change data indicates that the temperature inside the refrigerator changes from a first temperature at the first time to a second temperature at the second time, where the first temperature is less than the second temperature. Each set of second temperature change data indicates that the temperature inside the refrigerator changes from a third temperature at the third time to a fourth temperature at the fourth time, where the third temperature is greater than the fourth temperature. The first time is the start time corresponding to each set of first temperature change data, the second time is the end time corresponding to each set of first temperature change data, the third time is the start time corresponding to each set of second temperature change data, and the fourth time is the end time corresponding to each set of second temperature change data. Each set of first temperature change data corresponds one-to-one with each set of second temperature change data. The difference between the third time point and the first time point is determined as the usage time corresponding to using the refrigerator device at the first time point.
4. The sterilization method for refrigerator equipment according to claim 1, characterized in that, Predicting whether the target object will use the refrigerator during the second time period based on the comparison result of the first indicator and the second indicator includes: If the first indicator is greater than the second indicator, it is predicted that the target object will not use the refrigerator device during the second time period; If the first indicator is less than the second indicator, it is predicted that the target object will use the refrigerator device during the second time period.
5. The sterilization method for refrigerator equipment according to claim 1, characterized in that, Controlling the refrigerator device to sterilize the interior area of the refrigerator device includes: Determine the sterilization intensity of the refrigerator equipment and the time required for sterilization corresponding to the sterilization intensity; A third time period is determined based on the time consumption corresponding to the current time and the sterilization intensity, wherein the third time period is used to indicate the time period for the refrigerator equipment to perform sterilization; A notification message is sent to the target application bound to the refrigerator device to notify the target application that the refrigerator device will sterilize according to the sterilization intensity during the third time period.
6. The sterilization method for refrigerator equipment according to claim 5, characterized in that, Determining the sterilization intensity of the refrigerator equipment and the corresponding time consumption for sterilization includes: A third indicator is calculated based on the behavioral data for the first time period prior to the current moment, wherein the third indicator is used to indicate the total usage time of the refrigerator device within the first time period; If the third indicator is greater than a preset time threshold, the sterilization intensity of the refrigerator device is determined to be the first intensity, and the time corresponding to the first intensity is determined to be the first time. If the third indicator is less than the preset time threshold, the sterilization intensity of the refrigerator device is determined to be the second intensity, and the time corresponding to the second intensity is determined to be the second time, wherein the first intensity is greater than the second intensity, and the first time is greater than the second time.
7. A sterilization device for a refrigerator, characterized in that, include: The first determining module is used to determine the temperature change data inside the refrigerator by means of a temperature sensor installed inside the refrigerator. The second determining module is used to determine the behavior data of the refrigerator device based on the temperature change data, wherein the behavior data includes at least one of the following: the usage frequency of the refrigerator device, and the duration of each time the refrigerator device is in the open state; The analysis module is used to analyze the behavioral data determined in the first time period before the current moment in order to predict whether the target object will use the refrigerator device in the second time period after the current moment. The control module is used to control the refrigerator to sterilize the inner cavity area of the refrigerator when it is predicted that the target object will not use the refrigerator during the second time period. The analysis module is further configured to use a preset algorithm to calculate the behavioral data to obtain a first indicator and a second indicator for the refrigerator device during the second time period. The first indicator is used to indicate the usage index of the target object using the refrigerator device during the second time period, and the second indicator is used to indicate the usage duration threshold of the target object using the refrigerator device during the second time period. Based on the comparison result of the first indicator and the second indicator, the module predicts whether the target object uses the refrigerator device during the second time period.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein the program, when executed, performs the method according to any one of claims 1 to 6.
9. An electronic device comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to execute the method described in any one of claims 1 to 6 through the computer program.