Disinfection equipment based on infrared induction, control method and device and medium
Through infrared sensing components, users' dining habits are detected and the working hours of disinfection equipment are updated, which solves the problem of insufficient automation and intelligence of existing equipment, and achieves more suitable tableware preparation and user experience.
Patent Information
- Application Number
- CN202411374313.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-29
- Publication Date
- 2025-01-10
AI Technical Summary
The existing disinfection equipment has shortcomings in automation and intelligence, and users are prone to forget to turn on or off the disinfection function, resulting in unwell temperature of the tableware and inability to use it in time.
Infrared sensing components are used to detect the inlet and exit of users in the disinfection equipment space, update the preset dining cycle according to actual dining habits, and accurately determine the working time period of the disinfection equipment to ensure that the disinfection process does not conflict with the user's dining time.
The automation and intelligence level of disinfection equipment has been improved, ensuring that tableware is prepared at a suitable temperature, improving user experience, and avoiding the conflict between equipment work and meal time.
Smart Images

Figure CN119280448A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of kitchen utensils, and in particular to a disinfection device, a control method, a device and a medium based on infrared induction. Background Art
[0002] With the development of the times, people pay more and more attention to the quality of life. They will use disinfection equipment to disinfect, sterilize, dry, keep warm and moisturize, and store tableware, clothing, medical equipment, etc. through ultraviolet rays, infrared rays, high temperature and ozone.
[0003] Automation and intelligence have become a trend in household appliances. In the category of disinfection equipment, most of them still rely on manual clicks to select functions. Users often forget to click the disinfection function after a meal, or click the disinfection function before a meal. When using the tableware, the temperature is too high because the tableware has just been disinfected and cannot be used immediately. Summary of the invention
[0004] The present invention provides a disinfection device, control method, apparatus and medium based on infrared sensing, which detects and records the entry and exit of the user into the space where the disinfection device is located through an infrared sensing component to determine the user's actual dining habits, and updates the preset dining cycles used for the day according to the user's actual dining habits, thereby achieving accurate determination of the target time period for the waiting stage and improving the automation and intelligence of the disinfection equipment.
[0005] In a first aspect, the present invention provides a method for controlling a disinfection device based on infrared sensing, wherein the disinfection device comprises a disinfection component, a temperature control component and an infrared sensing component;
[0006] Control methods include:
[0007] Every day, according to each preset dining cycle updated the previous day, the disinfection device is controlled to perform corresponding preset actions according to the stage of each preset dining cycle in real time; the preset dining cycle includes a waiting stage, and the preset actions corresponding to the waiting stage include controlling the disinfection component to stand still and controlling the temperature control component to perform a heat preservation program;
[0008] Use infrared sensing components to detect and record the entry and exit of users in the space where the disinfection equipment is located every day;
[0009] According to the user's entry and exit situation in the space where the disinfection equipment is located, determine the actual time period of the user's use of the waiting stage in each preset dining cycle formed after the user uses it on the day;
[0010] When the actual time period overlaps with the initial time period of the waiting phase in the preset dining cycle updated the previous day, the target time period of the waiting phase in each preset dining cycle is calculated based on the overlapping actual time period and initial time period to update each preset dining cycle used on that day.
[0011] Optionally, the preset dining cycle also includes a use preparation stage; in terms of time dimension, the use waiting stage is located after the use preparation stage; the preset action corresponding to the use preparation stage includes controlling the disinfection component to continuously perform a disinfection procedure;
[0012] When the actual time period overlaps with the initial time period of the waiting phase in the preset dining cycle updated the previous day, the target time period of the waiting phase in each preset dining cycle is calculated according to the actual time period and the initial time period that overlap, so as to update each preset dining cycle used on the day, and further includes:
[0013] On the basis of the target time period of the waiting phase in each preset dining cycle, the first preset time period is advanced as the target time period of the preparation phase in each preset dining cycle, so as to update each preset dining cycle used on the day.
[0014] Optionally, according to the user's entry and exit situation in the space where the disinfection device is located, determining the actual time period of the waiting stage used in each preset dining cycle formed after the user uses the device on the day, including:
[0015] The time when the user enters the space where the disinfection equipment is located is determined as the starting time;
[0016] The time when the user leaves the space where the disinfection device is located and is detected to enter the space where the disinfection device is located within a second preset time period after the start time is determined as the end time;
[0017] A time period from a set of start time to an end time is determined as an actual time period of the user using the waiting stage in a preset dining cycle formed after the user uses the meal on the day.
[0018] Optionally, a time period from a start time to an end time is determined as an actual time period of a user using a waiting phase in a preset dining cycle formed after use on the day, including:
[0019] The time period from the start time to the end time of each group that exceeds the third preset time period is determined as the actual time period of the waiting stage used by the user in a preset dining cycle formed after the user uses the meal on the day.
[0020] Optionally, when the actual time period overlaps with the initial time period of the waiting phase used in the preset dining cycle updated the previous day, the target time period of the waiting phase used in each preset dining cycle is calculated according to the actual time period and the initial time period that overlap, so as to update each preset dining cycle used on the day, including:
[0021] When the actual time period overlaps with the initial time period, the overlap degree between the actual time period and the initial time period is calculated;
[0022] According to the overlap between the actual time period and the initial time period, a corresponding preset first iteration correction value is determined; wherein the preset first iteration correction value is positively correlated with the overlap;
[0023] Based on the initial iteration value, the actual iteration value is calculated according to the first iteration correction value; wherein, each waiting stage in the preset dining cycle corresponds to a preset iteration value, the iteration value corresponding to the initial time period of the waiting stage in the preset dining cycle updated the previous day is the initial iteration value, and the iteration value corresponding to the actual time period of the waiting stage in the preset dining cycle formed by the user after use on the same day is the actual iteration value;
[0024] According to the initial iteration value and the actual iteration value, the weights of the corresponding initial time period and the actual time period relative to the target time period are calculated respectively;
[0025] According to the weights of the initial time period and the actual time period relative to the target time period, the relative position of the target time period with the initial time period and the actual time period in the time dimension is determined to determine the target time period.
[0026] Optionally, the overlap between the actual time period and the initial time period is calculated, including:
[0027] Calculate the time intersection and time union of the actual time period and the initial time period;
[0028] The duration ratio of the time intersection to the time union is calculated as the overlap between the actual time period and the initial time period.
[0029] Optionally, the preset first iteration correction value satisfies:
[0030] When the overlap degree is within the first preset overlap degree interval, the corresponding first iteration correction value is positive, and the first iteration correction value is positively correlated with the overlap degree;
[0031] When the overlap degree is within the second preset overlap degree interval, the corresponding first iteration correction value is negative, and the absolute value of the first iteration correction value is negatively correlated with the overlap degree;
[0032] The first preset overlap interval does not overlap with the second preset overlap interval, and the overlap degree of the first preset overlap interval is greater than the overlap degree of the second preset overlap interval.
[0033] Optionally, the iteration value has a preset upper limit value and a preset lower limit value;
[0034] Based on the initial iteration value, according to the first iteration correction value, the actual iteration value is calculated, including:
[0035] When the initial iteration value reaches the preset upper limit value and the first iteration correction value is positive, the actual iteration value is assigned the preset upper limit value;
[0036] When the initial iteration value reaches the preset lower limit value and the first iteration correction value is negative, the actual iteration value is assigned the preset lower limit value.
[0037] Optionally, according to the initial iteration value and the actual iteration value, the weights of the corresponding initial time period and the actual time period relative to the target time period are calculated respectively, including:
[0038] According to the formula Q = D / (D + D'), calculate the weight Q of the initial time period relative to the target time period;
[0039] According to the formula Q'=D' / (D+D'), calculate the weight Q' of the actual time period relative to the target time period;
[0040] Among them, D is the initial iteration value, and D' is the actual iteration value.
[0041] Optionally, according to the weights of the initial time period and the actual time period relative to the target time period, the relative position of the target time period to the initial time period and the actual time period in the time dimension is determined to determine the target time period, including:
[0042] According to the following formula: T2" / (T2+T2')=Q / (Q+Q'), T3" / (T3+T3')=Q / (Q+Q'), calculate the initial moment and end moment T2" and T3" of the target time period respectively; wherein T2 and T3 are the initial moment and end moment of the initial time period respectively, and T2' and T3' are the initial moment and end moment of the actual time period respectively.
[0043] Optionally, when the actual time period overlaps with the initial time period of the waiting phase used in the preset dining cycle updated the previous day, the target time period of the waiting phase used in each preset dining cycle is calculated according to the actual time period and the initial time period that overlap, so as to update each preset dining cycle used on the day, including:
[0044] When the actual time period overlaps with the initial time period of the waiting phase used in two preset dining cycles updated the previous day, the target time period of the waiting phase used in the two preset dining cycles is calculated based on the overlapping actual time period and the initial time period, so as to update each preset dining cycle used on the day.
[0045] Optionally, when the actual time period overlaps with the initial time period of the waiting phase in two preset dining cycles updated the previous day, the target time period of the waiting phase in the two preset dining cycles is calculated according to the actual time period and the initial time period that overlap, so as to update each preset dining cycle used on the day, and further includes:
[0046] When the target time periods for using the waiting phase in the two preset dining cycles overlap, the two preset dining cycles are merged into one preset dining cycle, and the target time period for using the waiting phase in the merged preset dining cycle is calculated based on the target time periods for using the waiting phase in the two preset dining cycles.
[0047] Optionally, after determining the actual time period of the waiting stage used by the user in each preset dining cycle formed after the user uses the disinfection device on the day according to the user's entry and exit situation in the space where the disinfection device is located, it also includes:
[0048] When the initial time period of the waiting phase in the preset dining cycle updated the previous day does not overlap with the actual time period of the waiting phase in each preset dining cycle formed by the user after use on the current day, the initial iteration value is corrected using the preset second iteration correction value, so that the initial time period does not overlap with the actual time period of the current day in consecutive preset days, and after correction using the preset second iteration correction value, the initial iteration value is lower than the preset iteration value threshold; wherein the waiting phase in each preset dining cycle has a preset iteration value corresponding to it, and the iteration value corresponding to the initial time period of the waiting phase in the preset dining cycle updated the previous day is the initial iteration value;
[0049] When the initial iteration value is lower than the preset iteration value threshold, the initial time period and the preset meal cycle corresponding to the initial time period are deleted.
[0050] In a second aspect, the present invention provides a disinfection equipment control device based on infrared sensing, wherein the disinfection equipment includes a disinfection component, a temperature control component and an infrared sensing component;
[0051] The control device includes:
[0052] The control module is used to control the disinfection device to perform corresponding preset actions according to each preset dining cycle updated on the previous day and the stage of each preset dining cycle in real time; the preset dining cycle includes a waiting stage, and the preset actions corresponding to the waiting stage include controlling the disinfection component to stand still and controlling the temperature control component to perform a heat preservation program;
[0053] A detection and recording module is used to detect and record the entry and exit of users in the space where the disinfection equipment is located every day using an infrared sensing component;
[0054] The actual time period determination module is used to determine the actual time period of the waiting stage used by the user in each preset dining cycle formed after the user uses the device on the same day according to the user's entry and exit situation in the space where the disinfection device is located;
[0055] The first calculation module is used to calculate the target time period for the waiting phase in each preset dining cycle based on the overlapping actual time period and initial time period when the actual time period overlaps with the initial time period for the waiting phase in the preset dining cycle updated the previous day, so as to update each preset dining cycle used on the day.
[0056] In a third aspect, the present invention provides a disinfection device, the disinfection device comprising:
[0057] at least one processor; and
[0058] a memory communicatively connected to at least one processor; wherein,
[0059] The memory stores a computer program that can be executed by at least one processor, and the computer program is executed by at least one processor so that the at least one processor can execute the above-mentioned infrared induction-based disinfection equipment control method.
[0060] In a fourth aspect, the present invention provides a computer-readable storage medium storing computer instructions, which are used to implement the above-mentioned infrared-sensing-based disinfection equipment control method when executed by a processor.
[0061] The technical solution of the present invention controls the disinfection equipment to execute corresponding preset actions according to the stage of each preset dining cycle updated on the previous day every day according to the real-time time in each preset dining cycle; the preset dining cycle includes a waiting stage, and the preset actions corresponding to the waiting stage include controlling the disinfection component to stand still and controlling the temperature control component to execute a heat preservation program; using an infrared sensing component to detect and record the user's entry and exit of the space where the disinfection equipment is located every day; according to the user's entry and exit of the space where the disinfection equipment is located, determining the actual time period of the waiting stage in each preset dining cycle formed after the user uses the day; when the actual time period overlaps with the initial time period of the waiting stage in the preset dining cycle updated on the previous day, the target time period of the waiting stage in each preset dining cycle is calculated according to the overlapping actual time period and initial time period, so as to update each preset dining cycle used on the day. Utilizing the above method, based on the user's dining cycle updated the previous day and the user's actual dining time on that day, that is, based on the initial time period and the actual time period when the user actually enters and exits the space where the disinfection equipment is located, the target time period is accurately determined, and the target time period is automatically updated to the initial time period of each preset dining cycle on that day, thereby realizing the automatic disinfection process of the disinfection equipment and optimizing the working time of the disinfection equipment, making each preset dining cycle more suitable for the user's actual dining habits, avoiding conflicts between the working process of the disinfection equipment and the user's actual dining time, improving the automation and intelligence of the disinfection equipment, and enhancing the user experience.
[0062] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0064] Figure 1 A schematic diagram of the structure of a disinfection device provided by an embodiment of the present invention;
[0065] Figure 2 A flowchart of a disinfection equipment control method based on infrared sensing provided by an embodiment of the present invention;
[0066] Figure 3 A schematic diagram of a structure of a preset dining cycle provided by an embodiment of the present invention;
[0067] Figure 4 A flowchart of a second infrared sensing-based disinfection equipment control method provided in an embodiment of the present invention;
[0068] Figure 5 A flowchart of a third infrared sensing-based disinfection equipment control method provided in an embodiment of the present invention;
[0069] Figure 6 A flowchart of a fourth infrared sensing-based disinfection equipment control method provided in an embodiment of the present invention;
[0070] Figure 7 A schematic diagram of the structure of a disinfection equipment control device based on infrared sensing provided by an embodiment of the present invention;
[0071] Figure 8 A structural block diagram of a disinfection device provided by an embodiment of the present invention;
[0072] Among them, 10-disinfection equipment, 11-processor, 12-read-only memory, 13-random access memory, 14-bus, 15-input / output (I / O) interface, 16-input unit, 17-output unit, 18-storage unit, 19-communication unit, 20-ultraviolet lamp, 30-heating lamp, 40-temperature sensor, 50-infrared sensing component, 60-door switch, 70-cooling fan;
[0073] 110 - control module, 120 - detection and recording module, 130 - actual time period determination module, 140 - first calculation module. DETAILED DESCRIPTION
[0074] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. 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 creative work should fall within the scope of protection of the present invention.
[0075] 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.
[0076] In one embodiment, Figure 1 A schematic diagram of the structure of a disinfection device provided by an embodiment of the present invention, Figure 2 A flowchart of a disinfection equipment control method based on infrared sensing provided by an embodiment of the present invention, Figure 3 A schematic diagram of a preset dining cycle provided by an embodiment of the present invention. This embodiment can be used to accurately determine the target time period for the waiting phase in the disinfection device to automatically update the initial time period updated the previous day, so that each preset dining cycle of the disinfection device is more suitable for the user's actual dining time. The method can be executed by a disinfection device control device based on infrared sensing, which can be implemented in the form of hardware and / or software, and can be configured in the disinfection device. Figures 1 to 3 As shown, the disinfection device can be a disinfection cabinet, and the disinfection device includes a disinfection component, a temperature control component and an infrared sensing component 50. The disinfection component can include an ultraviolet lamp 20, which can generate ultraviolet rays for disinfecting tableware; the disinfection component can also include a heating lamp 30, which is used to heat the cavity and remove moisture from the surface of the tableware, and also has a certain disinfection effect; the temperature control component can include a temperature sensor 40, which is used to detect the ambient temperature in the disinfection device, so as to identify the surface temperature of the tableware in the disinfection device; the infrared sensing component 50 is arranged on the glass back of the control panel of the disinfection device, and is used to identify whether there is an object moving in the front range; the control method includes:
[0077] S110, every day according to each preset dining cycle updated on the previous day, according to the stage of the real time in each preset dining cycle, control the disinfection equipment to perform corresponding preset actions.
[0078] Among them, reference Figure 3 A preset dining cycle includes a waiting stage, and the preset actions corresponding to the waiting stage include controlling the disinfection component to stand still and controlling the temperature control component to perform a heat preservation program.
[0079] Specifically, when using a disinfection device to disinfect tableware, the user's dining cycle can be divided into several stages, such as before, during and after a meal. Therefore, the preset dining cycle of the disinfection device needs to meet the user's various needs in different situations before and after a meal. For example, the preset dining cycle may include a preparation stage for the user to use the disinfection device to perform disinfection work before each meal, and may also include a waiting stage for the user to take out the tableware from the disinfection device during the dining stage. It may also include a period interval stage in which the user puts the tableware back into the disinfection device after finishing the meal and waits for the next dining cycle. For the same meal, the user can follow the preset dining cycles updated the previous day every day. If the disinfection device is used by the user for the first time, the preset dining cycles updated the previous day may be the preset dining cycles automatically defaulted by the system or the preset dining cycles manually customized by the user before using the disinfection device. There is no restriction here. When it is detected that the current time is in the use waiting stage of the preset dining cycle, which includes the user's meal preparation, dining and tableware washing time, if the current time is T2-T3, it indicates that the tableware has been disinfected and the user needs to take out the tableware to prepare or eat, then the disinfection component in the disinfection device can be controlled to stand still without performing the disinfection action, and the temperature control component can be controlled to perform the insulation action to keep the tableware at a comfortable temperature for the human body. In this embodiment, in order to allow the user to feel the comfortable temperature of the tableware when using the tableware, the temperature control component can be controlled to maintain the temperature of the tableware at a comfortable temperature for the human body, such as 38℃-45℃, to improve the user's dining experience.
[0080] Exemplary, reference Figure 3 The user sets the number of meals a day, that is, the preset meal cycle, which is distinguished by letters such as A, B, C, D, etc. For example, if three meals are set a day, the three meals are represented by A, B, and C.
[0081] in, Figure 3 The preset time points in are:
[0082] Tx: Disinfection mode works for one cycle, the recommended time is 60 minutes;
[0083] T2: The time when tableware starts to be used. This point indicates the time when the infrared sensing component recognizes that the user enters the kitchen and uses it for a long time;
[0084] T3: The time point when the tableware ends. This point indicates the time point when the infrared sensor component recognizes that the user leaves the kitchen and does not use the tableware for a period of time.
[0085] T1: The start time of pre-meal disinfection, which represents the ideal state, that is, the recommended start time of pre-meal disinfection, under the premise that the user does not interfere with the disinfection mode and the disinfection mode ends; T1 is a period of time ahead of T2, which is a disinfection cycle Tx plus the time for the cavity to cool to 38℃~45℃ after the disinfection. The cooling time of the automatic disinfection equipment is 30 minutes, that is, T1 is 90 minutes ahead of T2;
[0086] The period from T1 to T3 represents a preset meal cycle;
[0087] Tn: represents the time points of the current tableware use cycle, where n = 1 / 2 / 3;
[0088] LTn; represents the time points of the last tableware use cycle, where n = 1 / 2 / 3;
[0089] NTn; represents each time point of the next tableware use cycle, where n = 1 / 2 / 3;
[0090] XTn: represents the time points of a tableware usage cycle, where X represents a set meal usage cycle, that is, X = A / B / C / …;
[0091] Tc: indicates the time that the infrared sensor component detects that the user has left the kitchen and has not entered. If it is longer than this time period, it is assumed that the user will not take tableware in the future. The recommended time is 30 minutes, which is based on the meal time.
[0092] Tz: indicates the time when the infrared sensor component actually records the active state of the kitchen. During T2-T3 (waiting phase), the time when the user is actually in the kitchen is the cumulative sum of the time period Tz.
[0093] For example, if the user uses the disinfection device for the first time, there is no time data in the disinfection device system, so the system will generate a set of default times, and the generated content is as follows:
[0094] AT1(5:30)AT2(7:00)AT3(8:00)BT1(9:30)BT2(11:00)BT3(12:00)CT1(16:00)CT2(17:30)CT3(18:30).
[0095] The above are the three meal times for most families. AT2 (7:00) ~ AT3 (8:00) corresponds to the initial time period for breakfast, BT2 (11:00) ~ BT3 (12:00) corresponds to the initial time period for lunch, and CT2 (17:30) ~ CT3 (18:30) corresponds to the initial time period for dinner. However, due to different geographical locations and family habits, this data is used for reference when the machine is turned on for the first time and is saved as the initial time period data.
[0096] For example, taking lunch as an example, the initial time period of the use preparation phase of each preset dining cycle updated the day before is BT2 (11:00) - BT3 (12:00). If the real-time time at this time is 11:30, indicating that the user needs to use tableware to prepare and eat meals at this time, the disinfection component is controlled not to work, and the temperature control component is controlled to execute the insulation program to avoid harm to the user by ultraviolet lamp irradiation, and the tableware can be at a comfortable temperature every time the user opens the disinfection device to take the tableware.
[0097] S120. Use an infrared sensing component to detect and record the entry and exit of users in the space where the disinfection equipment is located every day.
[0098] First, after the machine is powered on for the first time, since the disinfection equipment has no networking module, the user must manually enter the current time in 24-hour format; the infrared sensing component is turned on, and a set of system default time data is generated and saved as the initial time period. The data recorded by the infrared sensing component has nothing to do with whether the user turns on the automatic disinfection function. As long as the power is turned on, it will be detected in real time. After the infrared sensing component is powered on, it will record a set of data every 24 hours, which records the active status of the kitchen within 24 hours.
[0099] When the user enters the space where the disinfection equipment is located for the first time, where the space where the disinfection equipment is located can be considered as the kitchen, the infrared sensing component can generate a detection signal, thereby judging that the user has entered the kitchen, and at this time, the time point when the user enters will be recorded. When the user is in the kitchen, the infrared sensing component will continue to generate a detection signal, and when the infrared sensing component detects that the user has left the space where the disinfection equipment is located, the detection signal disappears, thereby judging that the user has left the kitchen. In addition, after judging that the user will not return to the space where the disinfection equipment is located within a certain period of time after leaving the kitchen, such as within 30 minutes, the infrared sensing component will record the time point when the user left the space where the disinfection equipment is located. If the infrared sensing component detects that the user has left the space where the disinfection equipment is located and then returned, indicating that the user may be in the stage of washing dishes after a meal, the infrared sensing component will not record the time point.
[0100] S130. According to the user's entry and exit situation in the space where the disinfection device is located, determine the actual time period of the waiting stage used by the user in each preset dining cycle formed after the user uses the device on the day.
[0101] Specifically, after the infrared sensing component records the user's entry and exit of the space where the disinfection device is located, the user's actual dining time can be determined based on the user's entry and exit of the space where the disinfection device is located, that is, the actual time period of the waiting stage in each preset dining cycle formed after the user uses the disinfection device on the same day can be determined. Exemplarily, the infrared sensing component records that the time point T2 when the user enters the space where the disinfection device is located is 11:30, and the time point T3 when the user leaves the space where the disinfection device is located is 12:30, then the actual time period of the waiting stage is determined to be 11:30-12:30.
[0102] It is understandable that the actual time period of the waiting phase is set in this step mainly to determine the actual dining habits of the user, so that the initial time period can be automatically updated according to the actual dining habits of the user.
[0103] S140. When the actual time period overlaps with the initial time period of the waiting phase in the preset dining cycle updated the previous day, the target time period of the waiting phase in each preset dining cycle is calculated based on the overlapping actual time period and initial time period to update each preset dining cycle used on the day.
[0104] Specifically, when there is an overlap between the actual time period and the initial time period of the waiting phase used in the preset dining cycle updated the previous day, illustratively, taking lunch as an example, the actual time period of the waiting phase is AT2'(11:30)-BT2'(12:30), and the initial time period is AT2(11:00)-AT3(12:00), then the time period that overlaps between the actual time period and the initial time period is 11:30-12:00. Based on the overlapping actual time period and initial time period, the target time period for the waiting phase in each preset dining cycle can be calculated. After the target time period is calculated, the target time period can be used as the update time for the waiting phase in the next preset dining cycle, replacing the initial time period, thereby realizing automatic update of each preset dining cycle used on the day, that is, each preset dining cycle updated the previous day.
[0105] The overlap between the actual time period and the initial time period of the user's actual dining habits in this step actually indicates that the user's actual dining time on that day is within the fluctuation range of the initial time period updated the previous day. At this time, in order to make the disinfection equipment better approach the user's actual dining habits, it is necessary to calculate the target time period by recording the actual time period and initial time period of the user's actual dining habits. The target time period is calculated to make the initial time period used in the waiting stage in each preset dining cycle updated daily by the disinfection equipment closer to the user's actual dining habits, so as to automatically update the initial time period updated the previous day, avoid conflicts between the working process of the disinfection equipment and the user's actual dining time, and improve the automation and intelligence of the disinfection equipment.
[0106] The technical solution of the embodiment of the present invention is to control the disinfection equipment to execute corresponding preset actions according to the stage of each preset dining cycle updated on the previous day every day according to the real-time time in each preset dining cycle; the preset dining cycle includes a waiting stage, and the preset actions corresponding to the waiting stage include controlling the disinfection component to stand still and controlling the temperature control component to execute a heat preservation program; using an infrared sensing component to detect and record the user's entry and exit of the space where the disinfection equipment is located every day; according to the user's entry and exit of the space where the disinfection equipment is located, determining the actual time period of the waiting stage in each preset dining cycle formed after the user uses the day; when the actual time period overlaps with the initial time period of the waiting stage in the preset dining cycle updated on the previous day, the target time period of the waiting stage in each preset dining cycle is calculated according to the overlapping actual time period and initial time period, so as to update each preset dining cycle used on the day. Utilizing the above method, based on the user's dining cycle updated the previous day and the user's actual dining time on that day, that is, based on the initial time period and the actual time period when the user actually enters and exits the space where the disinfection equipment is located, the target time period is accurately determined, and the target time period is automatically updated to the initial time period of each preset dining cycle on that day, thereby realizing the automatic disinfection process of the disinfection equipment and optimizing the working time of the disinfection equipment, making each preset dining cycle more suitable for the user's actual dining habits, avoiding conflicts between the working process of the disinfection equipment and the user's actual dining time, improving the automation and intelligence of the disinfection equipment, and enhancing the user experience.
[0107] In another specific embodiment, optionally, S130, after determining the actual time period of the waiting stage used by the user in each preset dining cycle formed after the user uses the disinfection equipment on the same day according to the user's entry and exit conditions in the space where the disinfection equipment is located, it also includes: when there is no overlap between the initial time period of the waiting stage used in the preset dining cycle updated the previous day and the actual time period of the waiting stage used in each preset dining cycle formed after the user uses the equipment on the same day, the initial iteration value is corrected using the preset second iteration correction value so that the initial time period does not overlap with the actual time period of the day in consecutive preset days, and after correction using the preset second iteration correction value, the initial iteration value is lower than the preset iteration value threshold; wherein, the waiting stage used in each preset dining cycle corresponds to a preset iteration value, and the iteration value corresponding to the initial time period of the waiting stage used in the preset dining cycle updated the previous day is the initial iteration value; when the initial iteration value is lower than the preset iteration value threshold, the initial time period and the preset dining cycle corresponding to the initial time period are deleted.
[0108] The preset second iteration correction value may be determined according to the preset number of days and the initial iteration value. For example, the preset number of days may be 3 days, i.e., 72 hours, and the initial iteration value may be 5, and the calculated preset second iteration correction value may be 5 / 3. In addition, the preset iteration value threshold may be 0.
[0109] Specifically, when the initial time period of the waiting phase used in the preset dining cycle updated the previous day does not overlap with the actual time period of the waiting phase used in each preset dining cycle formed by the user after the user uses the meal on the same day, and the initial iteration value is greater than the preset iteration value, the actual time period within the consecutive preset days can be retained, and the initial iteration value can be corrected using the preset second iteration correction value. If the actual time period recorded in the consecutive preset days does not overlap with the initial time period updated the previous day, the preset second iteration correction value is continued to be used to correct the initial iteration value, so that the corrected initial iteration value is lower than the preset iteration value threshold. When the initial iteration value is lower than the preset iteration value threshold, it indicates that the user has not eaten in the initial time period for three consecutive days, and the initial time period is automatically considered not to belong to the user's dining habits, so the initial time period and the preset dining cycle corresponding to the initial time period are deleted. In addition, if the actual time period recorded by the infrared sensing component in the consecutive preset days overlaps with the initial time period updated the previous day, the correction is stopped and the actual time period of the detection record is retained.
[0110] For example, taking breakfast as an example, the initial time period of the waiting stage is AT2 (7:00) - AT3 (8:00), and the actual time period recorded on the same day is AT2' (8:30) - AT3' (9:30). It can be seen that there is no overlap between the initial time period and the actual time period, so the preset second iteration correction value can be used to correct the initial iteration value. If the preset number of days is 3 days, the initial iteration value is 5, and the preset second iteration correction value is 5 / 3, that is, the initial iteration value after correction on the first day is 5-5 / 3 = 10 / 3. When the actual time period recorded on the second day is AT2' (8:20) - AT3' (9:20), and there is still no overlap with the initial time period, the preset second iteration correction value is continued to be used to correct the initial iteration value, and the corrected initial iteration value is 10 / 3-5 / 3 = 5 / 3. When recording the actual time period on the third day, if the actual time period recorded on the third day is AT2'(8:30)-AT3'(9:30), and there is still no overlap with the initial time period, the initial iteration value is corrected using the preset second iteration correction value. The corrected initial iteration value is 0. At this time, the initial iteration value reaches the preset iteration value threshold, indicating that the initial time period does not belong to the user's normal dining habits. At this time, it can be determined that the initial time period is AT2(7:00)-AT3(8:00) and is an invalid time period. The initial time period and the preset dining cycle corresponding to the initial time period are deleted to realize the automation and intelligence of the disinfection equipment.
[0111] Figure 4 The flowchart of the second infrared sensing-based disinfection equipment control method provided by the embodiment of the present invention is a refinement of the above embodiment. The preset dining cycle also includes a use preparation stage; in the time dimension, the use waiting stage is located after the use preparation stage; the preset action corresponding to the use preparation stage includes controlling the disinfection component to continuously perform a disinfection procedure;
[0112] Specifically, refer to Figure 3 The use preparation stage is located before the use waiting stage in the time dimension. For example, the use preparation stage is T1-T2, which includes the time for the disinfection equipment to disinfect and cool down the tableware. Under normal circumstances, the disinfection equipment will control the disinfection component to continuously perform a disinfection program on the tableware during the use preparation stage. The disinfection program includes disinfection and cooling programs. For example, the disinfection time Tx is 60 minutes, and the cooling time is 30 minutes, so that the tableware is cooled to 38℃~45℃ to prevent the tableware from being damaged by too high temperature or the drying effect is poor due to too low temperature, so as to ensure that the user can maintain a comfortable temperature when using the tableware during the use waiting stage.
[0113] It should be noted that the reference Figure 1The disinfection device also includes a door switch 60 and a heat dissipation fan 70. The door switch 60 is used to detect the door opening and closing state of the disinfection device. The heat dissipation fan 70 is located at the top of the disinfection device. Its main function is to accelerate the air flow in the cavity of the disinfection device. When the heating lamp 30 is turned on, the heat dissipation fan 70 can accelerate the temperature rise in the cavity. When the heating lamp 30 is turned off, the heat dissipation fan 70 can accelerate the temperature drop in the cavity. During the preparation stage, the tableware is continuously disinfected. The default premise is that the user will not open the disinfection device during the preparation stage. In actual use, the user may open the disinfection device at any time to take the tableware during the preparation stage. When the door switch 60 detects that the disinfection device is turned on, the ultraviolet lamp 20 and the heating lamp 30 in the disinfection component are immediately controlled to stop working, and the heat dissipation fan 70 can be controlled to start according to the situation to quickly cool the tableware to prevent harm to the user. At the same time, since the environment in the disinfection device is polluted when the door is open, the disinfection component stops and resets the execution time of the disinfection program, and restarts the disinfection program when the door is closed.
[0114] Furthermore, in the above embodiment S140, when the actual time period overlaps with the initial time period of the waiting phase in the preset dining cycle updated the previous day, the target time period of the waiting phase in each preset dining cycle is calculated according to the actual time period and the initial time period that overlap, so as to update each preset dining cycle used on the day, and the following steps are added:
[0115] On the basis of the target time period of the waiting phase in each preset dining cycle, the first preset time period is advanced as the target time period of the preparation phase in each preset dining cycle, so as to update each preset dining cycle used on the day.
[0116] Further, the above embodiment S130, according to the user's entry and exit situation in the space where the disinfection device is located, determines the actual time period of the user's use of the waiting stage in each preset dining cycle formed after the user uses the device on the same day, which can be specifically refined as follows:
[0117] The time when the user enters the space where the disinfection equipment is located is determined as the starting time;
[0118] The time when the user leaves the space where the disinfection device is located and is detected to enter the space where the disinfection device is located within a second preset time period after the start time is determined as the end time;
[0119] A time period from a set of start time to an end time is determined as an actual time period of the user using the waiting stage in a preset dining cycle formed after the user uses the meal on the day.
[0120] For details not yet provided in this embodiment, please refer to the previous embodiment.
[0121] like Figure 1, Figure 3 and Figure 4 As shown, the control method includes:
[0122] S210, every day according to each preset dining cycle updated on the previous day, according to the stage of each preset dining cycle in real time, control the disinfection equipment to perform corresponding preset actions.
[0123] S220. Use infrared sensing components to detect and record the entry and exit of users in the space where the disinfection equipment is located every day.
[0124] S230: Determine the time when the user enters the space where the disinfection equipment is located as the starting time.
[0125] S240: Determine the end time as the time when the user leaves the space where the disinfection device is located and is detected to enter the space where the disinfection device is located within a second preset time period after the start time.
[0126] Specifically, when determining the actual time period, because users will enter and exit the space where the disinfection equipment is located many times during the tableware use waiting stage, in order to ensure the consistency of the data, a second preset time is set, referring to Figure 3 The second preset time is Tc, that is, when the infrared sensing component detects the user entering the space where the disinfection device is located for the first time, the time when the user enters the space where the disinfection device is located is determined as the starting time, and the reference time is Figure 3 , the starting time is T2. When the infrared sensing component detects that the user has left the space where the disinfection equipment is located, the time point T3 of leaving is recorded, and the timing is started at the same time. If the timing time is greater than the second preset time, it means that the user will no longer take tableware in the future time period, and the time when the user leaves the space where the disinfection equipment is located is determined as the end time T3 and recorded. If the user returns to the space where the disinfection equipment is located within the second preset time, the timing will be reset to zero and stopped, and the T3 time point will be recorded again. Only when the user leaves the kitchen for more than the second preset time, the end time T3 and the start time T2 will be saved and saved as a set of T2~T3 data. It can be understood that the recommended time for the second preset time Tc is 30 minutes. The setting of the second preset time is mainly based on the dining time, so as to ensure that the time period from the start time T2 to the end time T3 can include the time for preparing dishes, dining, cleaning and tidying up.
[0127] S250: Determine a time period from a start time to an end time as an actual time period of a user using a waiting phase in a preset dining cycle formed after use on the day.
[0128] Among them, this step can be refined as: the time period from the start time to the end time of each group that exceeds the third preset time period is determined as the actual time period of the waiting stage used in a preset dining cycle formed by the user after use on the day.
[0129] Specifically, considering that users may enter and exit the space where the disinfection equipment is located during non-dining hours, in order to ensure that the duration of the time period from the start time to the end time of each group recorded by the infrared sensing component can be effectively identified and screened, a third preset duration is introduced, referring to Figure 3 , the third preset duration can be the Tz time period, which indicates the time when the infrared sensing component actually records the active state of the user in the space where the disinfection equipment is located. From the start time to the end time, that is, in the T2-T3 time period, the time when the user is actually in the space where the disinfection equipment is located is the third preset duration, that is, the Tz time period. Therefore, after each 24-hour recording by the infrared sensing component, the data from the start time to the end time, that is, the T2-T3 time period, will be screened, and the time period from the start time to the end time whose duration is less than the third preset duration will be removed, and the time period from the start time to the end time whose duration exceeds the third preset duration will be selected. This time period represents the T2-T3 time period of the user's main meal, that is, the actual time period. In this embodiment, according to the time when most users prepare for the main meal, it is recommended that the third preset duration is 20 minutes, that is, the actual time period is when Tz is greater than 20 minutes, that is, in the T2-T3 time period, the user's actual active time in the kitchen is greater than 20 minutes, and the time period is considered to be the main meal time period.
[0130] S260. When the actual time period overlaps with the initial time period of the waiting phase in the preset dining cycle updated the previous day, the target time period of the waiting phase in each preset dining cycle is calculated based on the overlapping actual time period and initial time period to update each preset dining cycle used on the day.
[0131] S270: Based on the target time period of the waiting phase in each preset dining cycle, the first preset time period is advanced as the target time period of the preparation phase in each preset dining cycle to update each preset dining cycle used on the day.
[0132] Specifically, after calculating the target time period for the waiting phase in each preset dining cycle, it is also necessary to confirm the target time period for the preparation phase based on the target time period. Usually, the target time period for the preparation phase is determined by advancing the target time period for the waiting phase by the first preset time period, that is, T1 is advanced by the first preset time period based on the time point T2. The first preset time period is a disinfection cycle Tx plus the cooling time required to cool the temperature to 38°C to 45°C in the disinfection equipment after the disinfection is completed. The cooling time is usually 30 minutes, and the time of a disinfection cycle Tx is usually 60 minutes. Therefore, the first preset time period can be 90 minutes, that is, the target time period for the preparation phase is advanced by 90 minutes based on the target time period for the waiting phase. The determined preset dining cycles are determined as the preset dining cycles of the day, thereby realizing the automatic update of the preset dining cycles updated the previous day.
[0133] The technical solution of the embodiment of the present invention is to determine the moment when the user enters the space where the disinfection equipment is located as the starting moment; determine the moment when the user leaves the space where the disinfection equipment is located after the starting moment and the second preset time period thereafter when the user is detected to enter the space where the disinfection equipment is located as the ending moment; determine a group of time periods from the starting moment to the ending moment as the actual time period of the waiting stage used in a preset dining cycle formed after the user uses it on the day; based on the target time period of the waiting stage used in each preset dining cycle, the first preset time period is advanced as the target time period of the preparation stage used in each preset dining cycle, so as to update each preset dining cycle used on the day. Through the above method, the target time period of the preparation stage used in each preset dining cycle and the target time period of the waiting stage used are accurately determined, and the automatic update of each preset dining cycle used on the day is realized according to the actual dining habits of the user, thereby improving the automation and intelligence of the disinfection equipment.
[0134] Figure 5 The flowchart of the third infrared sensing-based disinfection equipment control method provided by the embodiment of the present invention is as follows: In the above embodiment S140, when the actual time period overlaps with the initial time period of the waiting stage in the preset dining cycle updated the previous day, the target time period of the waiting stage in each preset dining cycle is calculated according to the actual time period and the initial time period that overlap, so as to update each preset dining cycle used on the day. The specific implementation method is refined as follows:
[0135] When the actual time period overlaps with the initial time period, the overlap degree between the actual time period and the initial time period is calculated;
[0136] According to the overlap between the actual time period and the initial time period, a corresponding preset first iteration correction value is determined; wherein the preset first iteration correction value is positively correlated with the overlap;
[0137] Based on the initial iteration value, the actual iteration value is calculated according to the first iteration correction value; wherein, each waiting stage in each preset dining cycle has a preset iteration value corresponding to it; the iteration value corresponding to the initial time period of the waiting stage in the preset dining cycle updated the previous day is the initial iteration value; the iteration value corresponding to the actual time period of the waiting stage in the preset dining cycle formed by the user after use on the day is the actual iteration value;
[0138] According to the initial iteration value and the actual iteration value, the weights of the corresponding initial time period and the actual time period relative to the target time period are calculated respectively;
[0139] According to the weights of the initial time period and the actual time period relative to the target time period, the relative position of the target time period with the initial time period and the actual time period in the time dimension is determined to determine the target time period.
[0140] For details not yet provided in this embodiment, please refer to the previous embodiment.
[0141] refer to Figure 3 and Figure 5 As shown, the control method includes:
[0142] S310, every day according to each preset dining cycle updated on the previous day, according to the stage of each preset dining cycle in real time, control the disinfection equipment to perform corresponding preset actions.
[0143] S320. Use infrared sensing components to detect and record the entry and exit of users in the space where the disinfection equipment is located every day.
[0144] S330. According to the user's entry and exit situation in the space where the disinfection device is located, determine the actual time period of the waiting stage used by the user in each preset dining cycle formed after the user uses the device on the day.
[0145] S340: When the actual time period overlaps with the initial time period, calculate the degree of overlap between the actual time period and the initial time period.
[0146] Among them, this step can be refined as follows: when the actual time period overlaps with the initial time period, calculate the time intersection and time union of the actual time period and the initial time period; calculate the duration ratio of the time intersection and the time union as the overlap degree of the actual time period and the initial time period.
[0147] The overlap Ch represents the ratio of the intersection time of the actual time period and the initial time period to the union time of the actual time period and the initial time period, and mainly compares the similarity between the two groups of time periods. The larger the overlap Ch is, the higher the similarity between the actual time period and the initial time period is.
[0148] Specifically, after determining the actual time period, when the actual time period overlaps with the initial time period, it is necessary to calculate the overlap between the actual time period and the initial time period. For example, taking breakfast as an example, the initial time period of the waiting stage for breakfast updated the previous day is AT2 (7:00) to AT3 (8:00), and the actual time period of the waiting stage for breakfast that day finally determined by the infrared sensing component is AT2' (7:30) to AT3' (8:30), then the intersection time of the actual time period and the initial time period is AT2' (7:30) to AT3 (8:00), the duration is 30 minutes, and the union time is AT2 (7:00) to AT3' (8:30), the duration is 90 minutes, then the overlap between the actual time period and the initial time period Ch is Ch = 30min / 90min = 33.3%.
[0149] S350: Determine a corresponding preset first iteration correction value according to the overlap between the actual time period and the initial time period.
[0150] Among them, the preset first iteration correction value is positively correlated with the overlap, and the preset first iteration correction value can be positive or negative. In this embodiment, when the overlap is within the first preset overlap interval, the corresponding first iteration correction value is positive, and the first iteration correction value is positively correlated with the overlap; when the overlap is within the second preset overlap interval, the corresponding first iteration correction value is negative, and the absolute value of the first iteration correction value is negatively correlated with the overlap; the first preset overlap interval does not overlap with the second preset overlap interval, and the overlap of the first preset overlap interval is greater than the overlap of the second preset overlap interval. Exemplarily, XPn is used to represent the first iteration correction value of the nth recording of the X time period (X=A / B / C...). The first preset overlap interval may be overlap Ch≥40%, and the second preset overlap interval may be overlap Ch<40%. Specifically, when the overlap is within the first preset overlap interval, different overlaps correspond to different first iteration correction values. When the overlap Ch≥80%, the corresponding preset first iteration correction value P=1; when the overlap Ch is within the range of 60%≤Ch<80%, the corresponding preset first iteration correction value P=0.5; when the overlap Ch is within the range of 40%≤Ch<60%, the corresponding preset first iteration correction value P=0. When the overlap is within the second preset overlap interval, different overlaps correspond to different first iteration correction values. When the overlap Ch is within the range of 20%≤Ch<40%, the corresponding preset first iteration correction value P=-0.5; when the overlap Ch is within the range of 20%, the corresponding preset first iteration correction value P=-1. At this time, the absolute value of the first iteration correction value is negatively correlated with the overlap.
[0151] Specifically, according to the overlap Ch between the actual time period and the initial time period, the corresponding preset first iteration correction value can be determined. For example, taking breakfast as an example, when the overlap Ch=33.3%, the corresponding preset first iteration correction value AP1 is -0.5.
[0152] S360. Based on the initial iteration value and the first iteration correction value, calculate the actual iteration value.
[0153] Among them, the iteration value D represents the overlap degree of the actual time period and the initial time period. When the actual time period overlaps with the initial time period, the initial time period needs to be updated. Each time the initial time period is updated, the iteration value D will increase or decrease. The larger the iteration value D is, the closer the time period is to the user's usage habits. Each waiting stage in the preset dining cycle corresponds to a preset iteration value. The iteration value corresponding to the initial time period of the waiting stage in the preset dining cycle updated the previous day is the initial iteration value, and the iteration value corresponding to the actual time period of the waiting stage in the preset dining cycle formed by the user on the same day is the actual iteration value. In addition, XD can be used to represent the initial iteration value of the X initial time period (X=A / B / C……), XD' represents the actual iteration value of the X initial time period after the time period is updated; XDn is used to represent the initial iteration value of the X initial time period when the nth record is recorded (X=A / B / C……).
[0154] Specifically, based on the initial iteration value D, according to the first iteration correction value P, the initial iteration value D and the first iteration correction value P are calculated to obtain the actual iteration value D'. The calculation method may include operations such as addition or multiplication, which can be determined according to actual conditions and is not limited here. In this embodiment, since the system initial setting value has no iteration process, the initial iteration value is the system default, and the default initial iteration value D can be 1, which can be adjusted according to actual usage and is not limited here. After the system has undergone an iteration process, the initial iteration value is updated to the actual iteration value obtained by the last calculation.
[0155] Exemplarily, taking addition calculation as an example, the actual iteration value calculation formula is D'=D+P, where n≥1. When it is in the breakfast time period, AP1=-0.5, AD=1, and the corresponding actual iteration value AD'=AD+AP1=1-0.5=0.5.
[0156] It can be understood that the iteration value has a preset upper limit value and a preset lower limit value, the preset upper limit value can be 5, and the preset lower limit value can be 0, that is, 0≤D≤5, that is, when the actual iteration value reaches the preset upper limit value 5, it will not continue to rise, and when the actual iteration value reaches the preset lower limit value 0, it will not continue to decrease. When calculating the actual iteration value, when the initial iteration value reaches the preset upper limit value and the first iteration correction value is positive, if the actual iteration value is calculated by addition, the actual iteration value obtained will be greater than the preset upper limit value. In order to ensure the accuracy of the data updated in the time period, the actual iteration value will no longer be increased, but the actual iteration value will be assigned to the preset upper limit value, and the preset upper limit value after assignment is the actual iteration value. Similarly, when the initial iteration value reaches the preset lower limit value and the first iteration correction value is negative, if the actual iteration value is calculated by addition, the actual iteration value obtained will be less than the preset lower limit value. In order to ensure the accuracy of the data updated in the time period, the actual iteration value will no longer be reduced, but the actual iteration value will be assigned to the preset lower limit value, and the preset lower limit value will be the actual iteration value.
[0157] S370: Calculate the weights of the corresponding initial time period and actual time period relative to the target time period according to the initial iteration value and the actual iteration value.
[0158] This step can be broken down into: according to the formula Q=D / (D+D'), calculate the weight Q of the initial time period relative to the target time period; according to the formula Q'=D' / (D+D'), calculate the weight Q' of the actual time period relative to the target time period; wherein D is the initial iteration value and D' is the actual iteration value.
[0159] The weight Q is to compare the iteration value D' of the actual time period with the initial iteration value D of the initial time period to determine which group of time period data needs to be closer to when the initial time period is updated. XQ represents the weight Q of the initial time period (X = A / B / C...), and XQn represents the weight Q of the nth record X initial time period (X = A / B / C...).
[0160] Specifically, after determining the initial iteration value D and the actual iteration value D', the weight Q of the initial time period relative to the target time period can be calculated according to the formula Q=D / (D+D'), and the weight Q' of the actual time period relative to the target time period can be calculated according to the formula Q'=D' / (D+D').
[0161] For example, taking breakfast as an example, the initial iteration value AD=1, the actual iteration value AD'=0.5, according to the formula Q=D / (D+D'), Q=1 / (0.5+1)=0.66 is calculated, according to the formula Q'=D' / (D+D'), Q'=0.5 / (0.5+1)=0.33 is calculated.
[0162] S380: Determine the relative position of the target time period to the initial time period and the actual time period in the time dimension according to the weights of the initial time period and the actual time period relative to the target time period, so as to determine the target time period.
[0163] Among them, this step can be refined as follows: according to the following formula: T2" / (T2+T2')=Q / (Q+Q'), T3" / (T3+T3')=Q / (Q+Q'), respectively calculate the initial moment and end moment T2" and T3" of the target time period; wherein, T2 and T3 are respectively the initial moment and end moment of the initial time period, and T2' and T3' are respectively the initial moment and end moment of the actual time period.
[0164] Specifically, after determining the weights Q and Q' of the initial time period and the actual time period relative to the target time period, determine whether the target time period is close to the initial time period or the actual time period of the waiting phase according to the size of Q and Q', and calculate the initial time and end time of the target time period according to the formula.
[0165] For example, taking breakfast as an example, if the calculated weights Q=0.66, Q'=0.33, it can be seen that Q>Q', indicating that the initial time period is more important. The initial time T2" of the updated target time period needs to be closer to the initial time T2 of the initial time period, and the end time T3" of the target time period needs to be closer to the end time T3 of the initial time period. According to the formula T2” / (T2+T2')=Q / (Q+Q'), T3” / (T3+T3')=Q / (Q+Q'), we can calculate the initial time of the target time period T2”=[Q / (Q+Q')]*(T2+T2')=[T2(7:00)+T2'(7:30)]*0.66=7:20, and the end time T3”=[Q / (Q+Q')]*(T3+T3')=[T3(8:00)+T3'(8:30)]*0.66=8:20. Therefore, the initial time T2” of the target time period is 7:20, and the end time T3” is 8:20. The target time period is the time period after the initial time period is updated.
[0166] The technical solution of the embodiment of the present invention is to calculate the degree of overlap between the actual time period and the initial time period when there is overlap between the actual time period and the initial time period; determine the corresponding preset first iteration correction value according to the degree of overlap between the actual time period and the initial time period; calculate the actual iteration value based on the initial iteration value and the first iteration correction value; calculate the weights of the corresponding initial time period and actual time period relative to the target time period according to the initial iteration value and the actual iteration value; determine the relative position of the target time period with the initial time period and the actual time period in the time dimension according to the weights of the initial time period and the actual time period relative to the target time period, so as to determine the target time period. Through the above method, the initial moment and the end moment of the target time period are accurately determined according to the actual dining habits of the user, thereby realizing the automatic update of the initial time period in the disinfection equipment, making the working process of the disinfection equipment more adapted to the actual dining habits of the user, improving the automation and intelligence of the disinfection equipment, and enhancing the user experience.
[0167] Figure 6 The flowchart of the fourth infrared sensing-based disinfection equipment control method provided by the embodiment of the present invention is that in the above embodiment S140, when the actual time period overlaps with the initial time period of the waiting stage in the preset dining cycle updated the previous day, the target time period of the waiting stage in each preset dining cycle is calculated according to the actual time period and the initial time period that overlap, so as to update each preset dining cycle used on the day. The specific implementation method is refined as follows:
[0168] When the actual time period overlaps with the initial time period of the waiting phase used in two preset dining cycles updated the previous day, the target time period of the waiting phase used in the two preset dining cycles is calculated based on the overlapping actual time period and the initial time period, so as to update each preset dining cycle used on the day.
[0169] For details not yet provided in this embodiment, reference may be made to the above embodiments.
[0170] refer to Figure 3 and Figure 6 As shown, the control method includes:
[0171] S410, every day according to each preset dining cycle updated on the previous day, according to the stage of each preset dining cycle in real time, control the disinfection equipment to perform corresponding preset actions.
[0172] S420. Use infrared sensing components to detect and record the entry and exit of users in the space where the disinfection equipment is located every day.
[0173] S430. According to the user's entry and exit situation in the space where the disinfection device is located, determine the actual time period of the waiting stage used by the user in each preset dining cycle formed after the user uses the device on the day.
[0174] S440. When the actual time period overlaps with the initial time period of the waiting phase in two preset dining cycles updated the previous day, the target time period of the waiting phase in the two preset dining cycles is calculated based on the overlapping actual time period and the initial time period, so as to update each preset dining cycle used on the day.
[0175] Specifically, when the actual time period overlaps with the initial time period of the waiting phase in the two preset dining cycles updated the previous day, the initial time and the end time of the actual time period and the target time period of the waiting phase in the first preset dining cycle can be calculated according to the content of the previous embodiment. Similarly, the initial time and the end time of the actual time period and the target time period of the waiting phase in the second preset dining cycle can also be calculated. The two calculated target time periods are used to update the two initial time periods used on the day.
[0176] For example, taking breakfast and lunch as an example, the initial time period of the waiting phase used in the preset dining cycle of breakfast updated the previous day is AT2 (7:30) - AT3 (9:00), and the initial time period of the waiting phase used in the preset dining cycle of lunch is BT2 (9:30) - BT3 (11:00). The actual time period recorded is AT2' (8:30) - AT3' (10:00). Then, the time period that the actual time period overlaps with the initial time period AT2-AT3 of the previous day is 8:30-9:00, and the time period that overlaps with the initial time period BT2-BT3 is 8:30-9:00. The target time period AT2"-AT3" corresponding to AT2'-AT3' and AT2-AT3, and the target time period BT2"-BT3" corresponding to AT2'-AT3' and BT2-BT3 can be calculated respectively. With reference to the calculation process of the previous embodiment, the target time period AT2" (8:10)-AT3" (9:40) for breakfast and the target time period BT2" (10:10)-BT3" (11:40) for lunch can be obtained. The calculated target time periods AT2" (8:10)-AT3" (9:40) and BT2" (10:10)-BT3" (11:40) are used to update the initial time periods for breakfast and lunch of the day respectively.
[0177] S450: When the target time periods for the waiting phase in the two preset dining cycles overlap, the two preset dining cycles are merged into one preset dining cycle, and based on the target time periods for the waiting phase in the two preset dining cycles, the target time period for the waiting phase in the merged preset dining cycle is calculated.
[0178] Specifically, when it is calculated that the target time periods for the waiting phase in two preset dining cycles overlap, the two preset dining cycles can be calculated according to the calculation method of the previous embodiment, and the two preset dining cycles can be merged into one preset dining cycle, and the target time period for the waiting phase in the merged preset dining cycle can be calculated.
[0179] For example, taking breakfast and lunch as an example, the target time periods for the waiting phase in the two preset dining cycles are calculated to be AT2" (9:10) - AT3" (10:40), and BT2" (10:10) - BT3" (11:40), respectively. It can be seen that there is still an overlapping interval (10:10-10:40) between the target time periods. At this time, the possible situation is that the user often eats brunch and lunch together in one meal, and does not eat them separately. In order to meet the user's usage habits, the two preset dining cycles can be merged into one preset dining cycle. Specifically, according to the calculation method of the previous embodiment, the target time period for the waiting phase in the merged preset dining cycle is calculated to be (9:50-11:20). The calculated target time period (9:50-11:20) is the updated initial time period for breakfast and lunch on the day.
[0180] The technical solution of the embodiment of the present invention is to calculate the target time period for the waiting phase in the two preset dining cycles based on the actual time period and the initial time period when there is an overlap between the actual time period and the initial time period, so as to update each preset dining cycle used on the day; when the target time period for the waiting phase in the two preset dining cycles overlaps, the two preset dining cycles are merged into one preset dining cycle, and the target time period for the waiting phase in the merged preset dining cycle is calculated based on the target time period for the waiting phase in the two preset dining cycles. By using the above method, according to the user's usage habits, the automatic update of each preset dining cycle used on the day is better realized, the automation and intelligence of the disinfection equipment is ensured, and the user experience is improved.
[0181] Figure 7 A schematic diagram of a structure of a disinfection equipment control device based on infrared sensing provided by an embodiment of the present invention, wherein the disinfection equipment comprises a disinfection component, a temperature control component and an infrared sensing component; Figure 7As shown, the control device includes:
[0182] The control module 110 is used to control the disinfection device to perform corresponding preset actions according to each preset dining cycle updated on the previous day and the stage of each preset dining cycle in real time; the preset dining cycle includes a waiting stage, and the preset actions corresponding to the waiting stage include controlling the disinfection component to stand still and controlling the temperature control component to perform a heat preservation program;
[0183] The detection and recording module 120 is used to detect and record the entry and exit of users in the space where the disinfection equipment is located every day using an infrared sensing component;
[0184] The actual time period determination module 130 is used to determine the actual time period of the user's use of the waiting stage in each preset dining cycle formed after the user uses the device on the day according to the user's entry and exit situation in the space where the disinfection device is located;
[0185] The first calculation module 140 is used to calculate the target time period for the waiting phase in each preset dining cycle based on the overlapping actual time period and initial time period when the actual time period overlaps with the initial time period for the waiting phase in the preset dining cycle updated the previous day, so as to update each preset dining cycle used on the day.
[0186] The infrared sensing-based disinfection equipment control device provided in the embodiment of the present invention can execute the infrared sensing-based disinfection equipment control method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0187] Optionally, the control device also includes: a second calculation module, which is used to advance the first preset time length as the target time period for the preparation phase in each preset dining cycle based on the target time period for the waiting phase in each preset dining cycle, so as to update each preset dining cycle used on the day.
[0188] Optionally, the actual time period determination module 130 can also be configured to: determine the moment when the user enters the space where the disinfection equipment is located as the starting moment; determine the moment when the user leaves the space where the disinfection equipment is located after the starting moment and the user is detected to enter the space where the disinfection equipment is located within a second preset time period thereafter as the ending moment; determine a group of time periods from the starting moment to the ending moment as the actual time period of the user using the waiting stage in a preset dining cycle formed after the user uses it on the same day.
[0189] Optionally, the actual time period determination module 130 can also be configured to: determine the time period from the start time to the end time of each group that exceeds the third preset time period as the actual time period of the waiting stage used in a preset dining cycle formed by the user after use on the day.
[0190] Optionally, the first calculation module 140 can also be configured as follows: when the actual time period and the initial time period overlap, calculate the overlap degree of the actual time period and the initial time period; determine the corresponding preset first iteration correction value according to the overlap degree of the actual time period and the initial time period; wherein the preset first iteration correction value is positively correlated with the overlap degree; calculate the actual iteration value based on the initial iteration value and the first iteration correction value; wherein, the waiting stage in each preset dining cycle corresponds to a preset iteration value, the iteration value corresponding to the initial time period in the waiting stage in the preset dining cycle updated the previous day is the initial iteration value, and the iteration value corresponding to the actual time period in the waiting stage in the preset dining cycle formed after the user uses it on the same day is the actual iteration value; according to the initial iteration value and the actual iteration value, respectively calculate the weights of the corresponding initial time period and actual time period relative to the target time period; according to the weights of the initial time period and the actual time period relative to the target time period, determine the relative position of the target time period in the time dimension with the initial time period and the actual time period to determine the target time period.
[0191] Optionally, the first calculation module 140 may also be configured to: calculate the time intersection and time union of the actual time period and the initial time period; calculate the duration ratio of the time intersection and the time union as the overlap between the actual time period and the initial time period.
[0192] Optionally, the first calculation module 140 can also be configured to: when the initial iteration value reaches a preset upper limit value and the first iteration correction value is positive, assign the actual iteration value to the preset upper limit value; when the initial iteration value reaches a preset lower limit value and the first iteration correction value is negative, assign the actual iteration value to the preset lower limit value.
[0193] Optionally, the first calculation module 140 can also be configured to: calculate the weight Q of the initial time period relative to the target time period according to the formula Q=D / (D+D'); calculate the weight Q' of the actual time period relative to the target time period according to the formula Q'=D' / (D+D'); wherein D is the initial iteration value and D' is the actual iteration value.
[0194] Optionally, the first calculation module 140 can also be configured to calculate the initial moment and end moment of the target time period as T2" and T3" respectively according to the following formula: T2" / (T2+T2')=Q / (Q+Q'), T3" / (T3+T3')=Q / (Q+Q'); wherein T2 and T3 are the initial moment and end moment of the initial time period respectively, and T2' and T3' are the initial moment and end moment of the actual time period respectively.
[0195] Optionally, the first calculation module 140 can also be configured to: when the actual time period overlaps with the initial time period of the waiting phase used in two preset dining cycles updated the previous day, calculate the target time period of the waiting phase used in the two preset dining cycles based on the overlapping actual time period and initial time period, so as to update each preset dining cycle used on that day.
[0196] Optionally, the control device also includes: a third calculation module, which is used to merge the two preset dining cycles into one preset dining cycle when there is overlap in the target time periods for using the waiting phase in the two preset dining cycles, and calculate the target time period for using the waiting phase in the merged preset dining cycle based on the target time periods for using the waiting phase in the two preset dining cycles.
[0197] Optionally, the control device also includes: a deletion module, which is used to correct the initial iteration value using a preset second iteration correction value when there is no overlap between the initial time period of the waiting stage in the preset dining cycle updated the previous day and the actual time period of the waiting stage in each preset dining cycle formed by the user after use on the same day, so that the initial time period does not overlap with the actual time period of the day in consecutive preset days and the initial iteration value is lower than the preset iteration value threshold after correction using the preset second iteration correction value; wherein the waiting stage in each preset dining cycle corresponds to a preset iteration value, and the iteration value corresponding to the initial time period of the waiting stage in the preset dining cycle updated the previous day is the initial iteration value; when the initial iteration value is lower than the preset iteration value threshold, the initial time period and the preset dining cycle corresponding to the initial time period are deleted.
[0198] In one embodiment, Figure 8 A structural block diagram of a disinfection device provided by an embodiment of the present invention, such as Figure 8 As shown, the structural diagram of the disinfection equipment 10 that can be used to implement an embodiment of the present invention is shown.Disinfection equipment is intended to represent various forms of digital computers, such as, laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers and other suitable computers.Disinfection equipment can also represent various forms of mobile devices, such as, personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are only used as examples, and are not intended to limit the realization of the present invention described herein and / or required.
[0199] like Figure 8As shown, the disinfection device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the disinfection device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0200] A number of components in the disinfection device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the disinfection device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0201] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The processor 11 executes the various methods and processes described above, such as a disinfection equipment control method based on infrared sensing.
[0202] In some embodiments, the infrared induction-based disinfection equipment control method can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the disinfection device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the infrared induction-based disinfection equipment control method described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to perform the infrared induction-based disinfection equipment control method by any other appropriate means (e.g., by means of firmware).
[0203] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0204] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0205] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0206] To provide interaction with a user, the systems and techniques described herein may be implemented on a disinfection device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) through which a user can provide input to the disinfection device. Other types of devices may also be used to provide interaction with a user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0207] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0208] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0209] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0210] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A disinfection equipment control method based on infrared sensing, characterized in that: The disinfection equipment includes a disinfection component, a temperature control component and an infrared sensing component; The control method comprises: Every day, according to each preset dining cycle updated the previous day, the disinfection device is controlled to perform a corresponding preset action according to the stage of the real-time time in each preset dining cycle; the preset dining cycle includes a waiting stage, and the preset actions corresponding to the waiting stage include controlling the disinfection component to stand still and controlling the temperature control component to perform a heat preservation program; Using the infrared sensing component to detect and record the entry and exit of users in the space where the disinfection equipment is located every day; According to the user's entry and exit situation in the space where the disinfection device is located, determine the actual time period of the use waiting stage in each of the preset dining cycles formed after the user uses the disinfection device on the same day; When the actual time period overlaps with the initial time period of the waiting phase in the preset dining cycle updated the previous day, the target time period of the waiting phase in each preset dining cycle is calculated based on the overlapping actual time period and the initial time period to update each preset dining cycle used on that day.
2. The method according to claim 1, characterized in that The preset dining cycle also includes a use preparation stage; in terms of time dimension, the use waiting stage is located after the use preparation stage; the preset action corresponding to the use preparation stage includes controlling the disinfection component to continuously perform a disinfection procedure; When the actual time period overlaps with the initial time period of the waiting phase in the preset dining cycle updated the previous day, the target time period of the waiting phase in each preset dining cycle is calculated according to the actual time period and the initial time period that overlap, so as to update each preset dining cycle used on the day, and further includes: Based on the target time period of the waiting phase in each of the preset meal cycles, the first preset time period is advanced as the target time period of the preparation phase in each of the preset meal cycles to update each of the preset meal cycles used on the day.
3. The method according to claim 1, characterized in that: According to the user's entry and exit situation in the space where the disinfection device is located, determining the actual time period of the use waiting stage in each preset dining cycle formed after the user uses the device on the same day, including: Determine the time when the user enters the space where the disinfection equipment is located as the starting time; The end time is determined as the time when the user leaves the space where the disinfection device is located and the user is detected to enter the space where the disinfection device is located within a second preset time period after the start time; A group of time periods from the start time to the end time is determined as an actual time period of the use waiting stage in the preset dining cycle formed after the user uses the meal on the day.
4. The method according to claim 3, characterized in that: Determining a group of time periods from the start time to the end time as an actual time period of the use waiting stage in the preset meal cycle formed by the user after use on the day, comprises: The time period from the start time to the end time of each group that exceeds the third preset time period is determined as the actual time period of the use waiting stage in the preset dining cycle formed by the user after use on the day.
5. The method according to claim 1, characterized in that When the actual time period overlaps with the initial time period of the waiting phase in the preset dining cycle updated the previous day, the target time period of the waiting phase in each preset dining cycle is calculated according to the actual time period and the initial time period that overlap, so as to update each preset dining cycle used on the day, including: When the actual time period overlaps with the initial time period, calculating the degree of overlap between the actual time period and the initial time period; Determine a corresponding preset first iteration correction value according to the overlap between the actual time period and the initial time period; wherein the preset first iteration correction value is positively correlated with the overlap; Based on the initial iteration value, the actual iteration value is calculated according to the first iteration correction value; wherein the use waiting stage in each of the preset dining cycles corresponds to a preset iteration value, the iteration value corresponding to the initial time period of the use waiting stage in the preset dining cycle updated the previous day is the initial iteration value, and the iteration value corresponding to the actual time period of the use waiting stage in the preset dining cycle formed by the user after use on the day is the actual iteration value; According to the initial iteration value and the actual iteration value, respectively calculating the weights of the corresponding initial time period and the actual time period relative to the target time period; According to the weights of the initial time period and the actual time period relative to the target time period, the relative position of the target time period to the initial time period and the actual time period in the time dimension is determined to determine the target time period.
6. The method according to claim 5, characterized in that Calculating the overlap between the actual time period and the initial time period includes: Calculating the time intersection and time union of the actual time period and the initial time period; The duration ratio of the time intersection to the time union is calculated as the overlap degree between the actual time period and the initial time period.
7. The method according to claim 5, characterized in that The preset first iteration correction value satisfies: When the overlap degree is within a first preset overlap degree interval, the corresponding first iterative correction value is positive, and the first iterative correction value is positively correlated with the overlap degree; When the overlap degree is within the second preset overlap degree interval, the corresponding first iterative correction value is negative, and the absolute value of the first iterative correction value is negatively correlated with the overlap degree; The first preset overlap interval does not overlap with the second preset overlap interval, and the overlap degree of the first preset overlap interval is greater than the overlap degree of the second preset overlap interval.
8. The method according to claim 7, characterized in that The iteration value has a preset upper limit value and a preset lower limit value; Based on the initial iteration value, according to the first iteration correction value, calculating the actual iteration value includes: When the initial iteration value reaches the preset upper limit value and the first iteration correction value is positive, assigning the actual iteration value to the preset upper limit value; When the initial iteration value reaches the preset lower limit value and the first iteration correction value is negative, the actual iteration value is assigned the preset lower limit value.
9. The method according to claim 5, characterized in that Calculating the weights of the corresponding initial time period and the actual time period relative to the target time period according to the initial iteration value and the actual iteration value, respectively, including: According to the formula Q=D / (D+D'), the weight Q of the initial time period relative to the target time period is calculated; According to the formula Q'=D' / (D+D'), the weight Q' of the actual time period relative to the target time period is calculated; Wherein, D is the initial iteration value, and D' is the actual iteration value.
10. The method according to claim 5, characterized in that Determining the relative position of the target time period to the initial time period and the actual time period in the time dimension according to the weights of the initial time period and the actual time period relative to the target time period, so as to determine the target time period, includes: According to the following formula: T2" / (T2+T2')=Q / (Q+Q'), T3" / (T3+T3')=Q / (Q+Q'), calculate the initial moment and end moment T2" and T3" of the target time period respectively; wherein T2 and T3 are the initial moment and end moment of the initial time period respectively, and T2' and T3' are the initial moment and end moment of the actual time period respectively.
11. The method according to claim 1, characterized in that When the actual time period overlaps with the initial time period of the waiting phase in the preset dining cycle updated the previous day, the target time period of the waiting phase in each preset dining cycle is calculated according to the actual time period and the initial time period that overlap, so as to update each preset dining cycle used on the day, including: When the actual time period overlaps with the initial time period of the waiting phase in two preset meal cycles updated the previous day, the target time period of the waiting phase in the two preset meal cycles is calculated based on the overlapping actual time period and the initial time period, so as to update each of the preset meal cycles adopted on that day.
12. The method according to claim 11, characterized in that When the actual time period overlaps with the initial time period of the waiting phase in the two preset meal cycles updated the previous day, the target time period of the waiting phase in the two preset meal cycles is calculated according to the actual time period and the initial time period that overlap, so as to update each of the preset meal cycles used on the day, and further includes: When the target time periods for the waiting phase in the two preset meal cycles overlap, the two preset meal cycles are merged into one preset meal cycle, and based on the target time periods for the waiting phase in the two preset meal cycles, the target time period for the waiting phase in the merged preset meal cycle is calculated.
13. The method according to claim 1, characterized in that After determining the actual time period of the use waiting stage in each of the preset dining cycles formed after the user uses the disinfection device on the same day according to the user's entry and exit situation in the space where the disinfection device is located, the method further includes: When the initial time period of the waiting stage in the preset dining cycle updated the previous day does not overlap with the actual time period of the waiting stage in each preset dining cycle formed by the user after use on the same day, the initial iteration value is corrected using the preset second iteration correction value, so that the initial time period does not overlap with the actual time period of the day in consecutive preset days, and after correction using the preset second iteration correction value, the initial iteration value is lower than the preset iteration value threshold; wherein the waiting stage in each preset dining cycle has a preset iteration value, and the iteration value corresponding to the initial time period of the waiting stage in the preset dining cycle updated the previous day is the initial iteration value; When the initial iteration value is lower than a preset iteration value threshold, the initial time period and the preset meal cycle corresponding to the initial time period are deleted.
14. A disinfection equipment control device based on infrared sensing, characterized in that: The disinfection equipment includes a disinfection component, a temperature control component and an infrared sensing component; The control device comprises: A control module is used to control the disinfection device to perform corresponding preset actions according to each preset dining cycle updated on the previous day and the stage of each preset dining cycle in real time; the preset dining cycle includes a waiting stage, and the preset actions corresponding to the waiting stage include controlling the disinfection component to stand still and controlling the temperature control component to perform a heat preservation program; A detection and recording module, used to use the infrared sensing component to detect and record the entry and exit of users in the space where the disinfection equipment is located every day; An actual time period determination module, used to determine the actual time period of the use waiting stage in each of the preset dining cycles formed after the user uses the device on the same day according to the user's entry and exit of the space where the disinfection device is located; The first calculation module is used to calculate the target time period for the use of the waiting phase in each of the preset dining cycles based on the overlapping actual time period and the initial time period when the actual time period overlaps with the initial time period of the use waiting phase in the preset dining cycle updated the previous day, so as to update each of the preset dining cycles adopted on the day.
15. A disinfection device, characterized in that: The disinfection equipment comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the infrared induction-based disinfection equipment control method described in any one of claims 1-13.
16. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the infrared induction-based disinfection equipment control method described in any one of claims 1 to 13 when executed.
Citation Information
Cited By
Disinfection equipment based on blood glucose monitoring, control method, device and medium
CN119230076A