Temperature data storage method and device, temperature measurement assembly and storage medium
By building memory in the temperature measurement component and dynamically adjusting the data storage time interval, the problem of cooking data loss when the temperature measurement component is offline is solved, and efficient and reliable data storage and sharing are achieved.
Patent Information
- Application Number
- CN202510094302.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-21
- Publication Date
- 2025-05-23
AI Technical Summary
When the temperature measurement component is offline, cooking data is easily lost, resulting in users being unable to obtain complete cooking data.
By building memory in the temperature measurement component, determine whether the cooking task is being performed, and control the temperature measurement component to enter the cooking mode or non-cooking mode according to the cooking task and current parameters, dynamically adjust the data storage time interval, and store critical data at high-frequency intervals and non-critical data at low-frequency intervals.
It effectively solves the problem of cooking data loss when the temperature measurement component is offline, ensures data quality, reduces resource consumption, and supports users to obtain historical cooking records after changing the binding, without relying on the Internet.
Smart Images

Figure CN120029930A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of temperature measurement component control technology, and in particular to a temperature data storage method, device, temperature measurement component and storage medium. Background Art
[0002] During the food cooking process, temperature data monitoring is an important means to ensure that the food reaches the target maturity, especially when processing large-sized meat or food with high maturity requirements. Temperature data monitoring is particularly important. Usually, the temperature probe in the wireless temperature measurement component is inserted into the food to monitor the cooking progress. However, the materials of most cooking utensils have a strong shielding effect on the temperature probe implemented by the wireless radio frequency solution. For example, a metal oven will greatly reduce the data transmission distance of the internal temperature probe, resulting in the loss of cooking data. Users cannot learn the cooking progress at a long distance, which reduces the user experience.
[0003] Therefore, wireless temperature measurement components usually have repeaters to transmit the temperature data of the probe, so that users can monitor the cooking progress and alarm information within a distance of tens of meters or even more than a hundred meters outside the oven.
[0004] However, even if a repeater is added to the wireless temperature measurement component, its transmission range is still limited. If the user carries the host computer (such as a mobile phone, tablet, etc.) out of the transmission range of the wireless temperature measurement component, or enters an area where the wireless signal cannot reach (such as a basement, etc.), the host computer cannot receive the temperature data in time, or the user changes the bound host computer midway, etc., resulting in the loss of cooking data and the user cannot obtain complete cooking data during the cooking process. Summary of the invention
[0005] The present application provides a temperature data storage method, device, temperature measuring component and storage medium, which are used to solve the problem of cooking data loss when the temperature measuring component is offline, and realize flexible storage of temperature data in the temperature measuring component.
[0006] A first aspect of the present application provides a temperature data storage method, comprising: determining whether a temperature measuring component is performing a cooking task;
[0007] If yes, controlling the temperature measuring component to enter a target mode according to the cooking task and the current cooking parameters, the target mode being a cooking mode or a non-cooking mode;
[0008] Preprocessing the probe temperature data collected by the temperature probe according to the target mode and its storage time interval to obtain the temperature data to be stored, the cooking mode corresponding to the high-frequency interval, and the non-cooking mode corresponding to the low-frequency interval;
[0009] The task parameter information corresponding to the cooking task and the temperature data to be stored are stored in the memory of the temperature measuring component.
[0010] A second aspect of the present application provides a temperature data storage device, comprising:
[0011] A determination module, used to determine whether the temperature measuring component is performing a cooking task;
[0012] a control module, configured to, if yes, control the temperature measuring component to enter a target mode according to the cooking task and current cooking parameters, wherein the target mode is a cooking mode or a non-cooking mode;
[0013] a preprocessing module, for preprocessing the probe temperature data collected by the temperature probe according to the target mode and its storage time interval to obtain the temperature data to be stored, wherein the cooking mode corresponds to the high-frequency interval and the non-cooking mode corresponds to the low-frequency interval;
[0014] A storage module is used to store the task parameter information corresponding to the cooking task and the temperature data to be stored in the memory of the temperature measuring component.
[0015] The third aspect of the present application provides a temperature measurement component, including: a memory and at least one processor, wherein the memory stores instructions; the at least one processor calls the instructions in the memory to enable the temperature measurement component to execute the above-mentioned temperature data storage method.
[0016] A fourth aspect of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the above-mentioned temperature data storage method.
[0017] In the technical solution provided by the present application, whether to start storage is determined by whether the temperature measuring component is executing a cooking task, so as to avoid invalid data in the normally open probe and other scenarios where the cooking task is not executed from occupying storage space; the different stages of the cooking process are accurately identified according to the cooking task and the current cooking parameters, so as to control the temperature measuring component to enter the cooking mode or the non-cooking mode, and corresponding data storage solutions are adopted in each cooking stage. When the temperature measuring component enters the cooking mode, more key data and valid data of the cooking stage that users are concerned about are stored at high-frequency intervals, while in the non-cooking mode, data is stored at low-frequency intervals to reduce the space occupied by non-critical data, and unnecessary resource consumption is minimized by dynamically adjusting the data storage time intervals of different stages of the data, ensuring that the stored data can effectively feedback the cooking progress of the corresponding cooking task, and improving the data quality stored in the temperature measuring component; the task parameter information corresponding to the cooking task and the temperature data to be stored are stored in the built-in memory of the temperature measuring component, which solves the problem of partial or complete cooking data loss when the temperature measuring component is offline, and also facilitates the user to obtain historical cooking records after changing the binding, and can realize the sharing of historical cooking records of multiple users without relying on the Internet, greatly improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 This is a schematic diagram of a first embodiment of a temperature data storage method in this application;
[0019] Figure 2 This is a schematic diagram of a second embodiment of the temperature data storage method in this application;
[0020] Figure 3 A schematic diagram of the structure of the temperature measurement component in this application;
[0021] Figure 4 A structural block diagram of the repeater of this application;
[0022] Figure 5 A structural block diagram of a food temperature probe for this application;
[0023] Figure 6 This is a schematic diagram of a third embodiment of the temperature data storage method in this application;
[0024] Figure 7 This is a schematic diagram of a fourth embodiment of the temperature data storage method in this application;
[0025] Figure 8 This is a schematic diagram of an embodiment of a temperature data storage device in the present application;
[0026] Fig. 9 This is a schematic diagram of another embodiment of the temperature data storage device in the present application;
[0027] Fig.10 This is a schematic diagram of an embodiment of a temperature measurement component in the present application. DETAILED DESCRIPTION
[0028] The present application provides a temperature data storage method, device, temperature measuring component and storage medium, which are used to solve the problem of cooking data loss when the temperature measuring component is offline, realize flexible and effective storage of temperature data stored in the temperature measuring component, improve the quality of data stored in the temperature measuring component, and save storage resources of the temperature measuring component.
[0029] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application 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 interchangeable where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" or "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.
[0030] For ease of understanding, the specific process of this embodiment is described below. Figure 1 The first embodiment of the temperature data storage method in the present application includes:
[0031] 101. Determine whether the temperature measuring component is performing a cooking task.
[0032] It can be understood that the execution subject of the present application can be a temperature data storage device or a temperature measuring component. This embodiment is explained by taking the temperature measuring component as the execution subject, wherein the temperature measuring component at least includes a temperature probe, and the temperature measuring component can also include a temperature probe and a repeater.
[0033] Among them, the temperature probe is used to collect temperature data and transmit the temperature data to other devices through radio frequency signals. It can adopt any wireless radio frequency technology such as various types of Bluetooth radio frequency, 433 radio frequency, etc.; the repeater is used to forward the probe data reported by the temperature probe to the host computer, where the host computer can be a mobile phone, computer, tablet computer, etc.
[0034] In the related art, in order to ensure the reliability of cooking data acquisition by the temperature measuring component so that users can accurately know the cooking progress, traditional solutions focus on expanding the data transmission distance by setting up repeaters, etc., or adopting more reliable communication control solutions to improve the reliability of cooking data. Cooking data is usually not retained, or cooking data is only retained in the host computer or cloud server. The traditional solution does not propose to save cooking records in the temperature measuring component, that is, the temperature probe and / or repeater, resulting in the loss of cooking data when the temperature measuring component is offline, and the sharing of cooking data relies on the Internet.
[0035] The above-mentioned temperature measurement component is offline, that is, the temperature measurement component cannot report data normally. It may be that the communication between the repeater and the host computer is interrupted. For example, the temperature probe using the 433 radio frequency solution is usually only recognized by the repeater. When the repeater cannot report data normally, it will cause the loss of cooking data. It may also be that the communication between the temperature probe and the host computer is interrupted. For example, the temperature probe using the Bluetooth radio frequency solution can be recognized by the host computer. Especially in the scenario where the repeater is not configured, when the temperature probe cannot report data normally, it usually causes the loss of cooking data. It may also be that the communication between the temperature probe and the repeater is interrupted. For example, in the temperature measurement component configured with a repeater, when the temperature probe cannot report data to the repeater normally, it usually causes the loss of cooking data.
[0036] To solve the above technical problems, the temperature measuring component of this embodiment has a built-in memory for storing temperature data to ensure that when the temperature measuring component is offline, the temperature data can be stored in the temperature measuring component body. After reconnecting to the host computer, the user can obtain complete cooking data during the cooking process, and can also share cooking data without relying on the Internet, without increasing additional server maintenance costs.
[0037] It should be noted that the built-in memory of the temperature measurement component can be a built-in memory of the temperature probe and / or a built-in memory of the repeater, that is, at least one device among the temperature probe and the repeater has a built-in memory, which is not specifically limited here.
[0038] In actual applications, as the use time of the temperature measuring component increases, the amount of stored temperature data increases, especially for repeaters connected to multiple temperature probes and other scenarios with high frequency of use, the amount of stored data is large; and the cooking process usually lasts for tens of minutes or even tens of hours. In order to ensure the accuracy of the cooking progress control during the cooking process, a large amount of temperature data that is useless for cooking is usually collected, especially for some normally open probes, which are in a data collection and reporting state when powered on and generate a large amount of temperature data, while the temperature data used in scenarios where the cooking task is not performed, the food is in a frozen state, and is idle has low user attention and utilization. In order to solve the problem that as the temperature data increases, a memory with a large storage space has to be selected, resulting in an increase in the size of the temperature measuring component and an increase in cost, the present embodiment performs dynamic storage control of temperature data based on cooking tasks and cooking progress, and realizes the storage of key and effective data for cooking tasks by switching between cooking mode or non-cooking mode.
[0039] Specifically, the temperature measuring component determines whether a cooking task is currently being executed to determine whether to start the storage program. If the temperature measuring component is not in the process of executing a cooking task, that is, the host computer has not set a cooking task to the temperature measuring component, the data is not saved. If the temperature measuring component is executing a cooking task, step 102 is executed.
[0040] Among them, the cooking task is used to indicate a series of parameters and instructions that need to be followed to execute a specific cooking process set by the user on the host computer. The cooking task may include the cooking task type and target cooking parameters, and it may also include the type of food, quantity, heating method, etc.
[0041] The above cooking task type is used to indicate the control target type in the cooking process, which may include temperature control tasks, timing tasks and other task types.
[0042] The above-mentioned target cooking parameter is used to indicate the target value or threshold set by the user, and can be used to determine at least one of the cooking progress, the end condition of the cooking task, the upper limit or lower limit of the allowed cooking parameter, etc.
[0043] 102. If yes, control the temperature measuring component to enter the target mode according to the cooking task and the current cooking parameters.
[0044] It should be noted that the cooking parameters are used to indicate the type of parameters that the cooking task focuses on, that is, the corresponding type of cooking parameters is determined through the cooking task to determine whether to enter the corresponding target mode according to the current cooking progress. For example, for temperature control tasks, the cooking parameters are the currently collected probe temperature; for timing tasks, the cooking parameters are the current cooking duration and probe working time.
[0045] In this embodiment, the target mode is a cooking mode or a non-cooking mode, wherein the cooking mode is used to indicate a series of instructions set for data that has a high degree of user attention and a greater impact on the cooking process, and the data collected by the temperature probe when executing the cooking mode can be considered as valid data and critical data; the non-cooking mode is used to indicate a series of instructions set for data that has a low degree of user attention and a smaller impact on the cooking process, and the data collected by the temperature probe when executing the non-cooking mode can be considered as invalid data and non-critical data.
[0046] It can be understood that this embodiment enters the corresponding target mode according to the cooking progress of the current cooking task to adjust the storage time interval. Specifically, the target cooking interval and other cooking intervals can be divided according to the current cooking progress.
[0047] The above-mentioned current cooking parameters can be used to confirm the current cooking progress of the cooking task, which can be the probe temperature, that is, the cooking task is a temperature control task, and the cooking progress is determined according to the temperature difference between the probe temperature and the set target temperature; it can also be the cooking duration or the remaining cooking time, that is, the cooking task is a timed task, and the remaining cooking time is determined according to the countdown of the timed task to determine the cooking progress; it can also be other parameters, combined with the corresponding algorithm to calculate the remaining cooking time of the food to determine the cooking progress, for example, the remaining cooking time is calculated according to the Fourier heat conduction model or the differential equation group of the food temperature change, etc., without specific limitation.
[0048] Optionally, determine whether the current cooking parameters are in the target cooking range corresponding to the cooking task; if so, control the temperature measuring component to enter the cooking mode, and determine the high-frequency interval corresponding to the cooking mode as the storage time interval; otherwise, control the temperature measuring component to enter the non-cooking mode, and determine the low-frequency interval corresponding to the non-cooking mode as the storage time interval.
[0049] The target cooking range can be set according to the specific task parameters of the cooking task, which may be a temperature range, a time range or other forms of expression. For example, if the cooking task is a temperature control task and the target temperature is set to 70 degrees Celsius, the target cooking range can be set to [65°C, 70°C].
[0050] Among them, the storage time interval is used to indicate the collection time interval between the two previous temperature data stored in this mode. For example, in the cooking mode, the temperature data is set to be stored every 6 seconds, while in the non-cooking mode, the temperature data is set to be stored every 12 seconds.
[0051] 103. Preprocess the probe temperature data collected by the temperature probe according to the target mode and its storage time interval to obtain temperature data to be stored.
[0052] In this embodiment, the cooking mode corresponds to a high-frequency interval, and the non-cooking mode corresponds to a low-frequency interval. Different storage time intervals are selected for storage according to the current cooking progress to ensure the reliability of key data node monitoring and reduce the space occupied by non-critical data.
[0053] It can be understood that the probe temperature data collected or reported by the temperature probe is different from the amount of data of the preprocessed temperature data to be stored, which is related to the power-on time of the temperature probe and the start time of the cooking task, the collection frequency of the temperature probe and the storage time interval in each mode, as well as the formulation of preprocessing strategies in different modes. This embodiment preprocesses the probe temperature data collected by the temperature probe through the target mode and its storage time interval, thereby saving storage resources and improving the quality of stored data.
[0054] Optionally, the probe temperature data is filtered according to the storage time interval corresponding to the target mode to obtain the temperature data to be stored, in which the collection time corresponding to the two probe temperatures before and after is equal to the storage time interval, that is, only the two probe temperatures whose collection times differ by the storage time interval are saved.
[0055] 104. Store the task parameter information corresponding to the cooking task and the temperature data to be stored in the memory of the temperature measuring component.
[0056] In this embodiment, the task parameter information includes specific parameters used to indicate the cooking task, such as the cooking task type and target cooking parameters corresponding to the cooking task; it may also include the task execution time, food name, quantity, power of the temperature measurement component before and after task execution, etc.
[0057] Optionally, the task parameter information corresponding to the cooking task and the temperature data to be stored are stored in the memory of the repeater and / or the temperature probe.
[0058] Optionally, the temperature data to be stored is stored in a first storage area of the memory; and the task parameter information corresponding to the cooking task is stored in a second storage area of the memory. The task parameter information at least includes the storage start and end addresses of the temperature data to be stored in the first storage area; the memory may be a built-in memory of a repeater or a temperature probe. In this embodiment, by storing different types of data in different areas in the memory, the cooking data storage address of any task can be quickly located according to the cooking data list, which is convenient for user management.
[0059] Optionally, the cooking task list is stored in the built-in memory of the repeater; and the temperature data to be stored is stored in the built-in memory of the temperature probe. The cooking task list includes task parameter information corresponding to each cooking task, and the task parameter information includes the storage start and end addresses of the temperature data to be stored in the built-in memory of the temperature probe. In this embodiment, the cooking task list and the cooking temperature data are stored on different physical devices, which can reduce the load of a single memory, achieve physical isolation, and avoid sudden communication interruption between the temperature probe and the repeater, resulting in loss of cooking data.
[0060] In this embodiment, whether to start storage is determined by whether the temperature measuring component is executing a cooking task, so as to avoid invalid data occupying storage space in normally open probes and other scenarios where no cooking task is executed; the different stages of the cooking process are accurately identified according to the cooking task and the current cooking parameters, so as to control the temperature measuring component to enter the cooking mode or the non-cooking mode, and corresponding data storage schemes are adopted in each cooking stage. When the temperature measuring component enters the cooking mode, more key data and valid data of the cooking stage that users are concerned about are stored at high-frequency intervals, while in the non-cooking mode, data is stored at low-frequency intervals to reduce the space occupied by non-critical data, and unnecessary resource consumption is minimized by dynamically adjusting the data storage time intervals of different stages of data, ensuring that the stored data can effectively feedback the cooking progress of the corresponding cooking task, and improving the data quality stored in the temperature measuring component; the task parameter information corresponding to the cooking task and the temperature data to be stored are stored in the built-in memory of the temperature measuring component, which solves the problem of partial or complete cooking data loss when the temperature measuring component is offline, and also facilitates the user to obtain historical cooking records after changing the binding, and can realize the sharing of historical cooking records of multiple users without relying on the Internet, which greatly improves the user experience.
[0061] See also Figure 2-5 , the second embodiment of the temperature data storage method in the present application includes:
[0062] 201. Determine whether the temperature measuring component is performing a cooking task.
[0063] by Figure 3 Taking the temperature measuring component 300 shown as an example, the temperature measuring component 300 includes a repeater 31 and a temperature probe 32, wherein the repeater 31 is a radio frequency forwarding device that can forward the received probe data to the host computer via radio frequency, and the temperature probe 32 is a rechargeable temperature acquisition device that can broadcast the collected probe temperature data.
[0064] Optionally, the repeater may also be provided with at least one charging compartment for charging the temperature probe.
[0065] Reference Figure 4A structural block diagram of a repeater is shown, the repeater includes a first controller 401, such as a microcontroller unit (MCU), a first communication unit 402, a second communication unit 403 and a first memory 404, wherein the first controller 401 is electrically connected to the first communication unit 402, the second communication unit 403 and the first memory 404, respectively, to realize various controls of the repeater, the first controller 401 can obtain sensor status data through the first communication unit 402, the second communication unit 403 is communicatively connected with the host computer, and the probe data is forwarded to the host computer through the second communication unit 403, or stored in the first memory 404, wherein the host computer can be a mobile phone, a computer, a tablet computer, etc.
[0066] The temperature probe is a rechargeable temperature acquisition device, which is equipped with a battery, a temperature sensor, a circuit board and a wireless transmitter. The temperature sensor is used to measure the temperature, the battery is used to power the circuit board, and the wireless transmitter is used to broadcast the temperature signal measured by the temperature sensor in the form of a wireless signal.
[0067] A second controller 501 and a second memory are provided on the circuit board. The second controller 501 includes a detection circuit to detect current battery status data or input charging data. The wireless transmitter includes a radio frequency circuit connected to the circuit board and an antenna connected to the radio frequency circuit. The antenna is used to transmit probe status data.
[0068] The battery may be a rechargeable supercapacitor, a rechargeable lithium battery or other power storage unit, and may be charged via charging contacts provided on the battery.
[0069] Optionally, the temperature sensor may include one, two or more, for example, two temperature collection units are arranged according to the axis direction of the probe, wherein the first temperature sensor is used to collect the internal temperature of the food, and the second temperature sensor is used to collect the internal temperature of the cooking vessel, such as the internal temperature of the oven.
[0070] Reference Figure 5A structural block diagram of a temperature probe, which only shows some modules. The temperature probe includes a second controller 501, a first temperature sensor 502, a second temperature sensor 503, a third communication unit 504 and a second memory 505, wherein the second controller 501 is electrically connected to the first temperature sensor 502, the second temperature sensor 503, the third communication unit 504 and the second memory 505 respectively to realize various controls of the temperature probe, the second controller 501 controls the first temperature sensor 502 and the second temperature sensor 503 to collect temperature data, the third communication unit 504 is communicatively connected with the first communication unit 402 of the repeater, and the second controller 501 reports the probe temperature data to the repeater through the third communication unit 504, or stores it in the second memory 505.
[0071] It can be understood that the temperature probe and repeater of this embodiment are both provided with memories to achieve redundancy. According to actual needs, one or more memories can be provided in the temperature probe and the repeater. For cost considerations, only one memory can be provided in the temperature measurement component. Please refer to the third embodiment and the fourth embodiment for details.
[0072] It can be understood that the temperature data of the same cooking task can be stored in the first memory 404 and the second memory 505 at the same time; or one of the memories can be selected for storage, for example, one of the memories with sufficient remaining storage space or larger remaining storage space can be selected for storage; or it can be preferentially stored in the first memory 404 of the repeater, and when the communication between the temperature probe and the repeater is interrupted or the remaining storage space of the first memory 404 is insufficient, the second memory 505 of the temperature probe is enabled to store the temperature data, thereby improving the flexibility and reliability of the storage solution.
[0073] This embodiment is explained by taking the temperature measurement component in which the third communication unit 504 adopts a radio frequency scheme such as 433 radio frequency that cannot be directly recognized by the host computer as an example. At this time, the temperature probe needs to report data to the repeater, and the repeater processes the data and forwards it to the host computer.
[0074] Specifically, the temperature probe, repeater and host computer are controlled to start up, and communication connection between the temperature probe and the repeater, as well as communication connection between the repeater and the host computer are established. The repeater determines whether a cooking task sent by the host computer is received to determine whether a cooking task is currently being or is about to be executed.
[0075] It can be understood that the repeater can be connected to one or more temperature probes, and the cooking tasks of each temperature probe can be set on the host computer. When the repeater receives the cooking tasks sent by the host computer, it forwards them to the temperature probe corresponding to each cooking task. The repeater and each temperature probe will start the data storage program only when executing the cooking task.
[0076] 202. If yes, parse the cooking task to obtain the cooking task type and target cooking parameters.
[0077] Specifically, when receiving a cooking task, the temperature measurement component parses the cooking task to obtain corresponding task parameter information, such as the cooking task type and target cooking parameters.
[0078] The above-mentioned cooking task types are used to indicate the control target types in the cooking process, which may include temperature control tasks, timing tasks and other task types, among which temperature control tasks are used to indicate task types for setting target temperature; timing tasks are used to indicate task types for setting cooking time; other task types are used to indicate task types other than the above two types, for example, intelligent tasks for intelligently determining the cooking completion point or set according to the user's taste preferences and eating habits, comprehensive tasks set according to target temperature and cooking time, and multi-parameter tasks set according to food temperature and ambient temperature, or temperatures at different locations of food, etc.
[0079] The above target cooking parameter is used to indicate the target value or threshold set by the user, and can be used to determine at least one of the cooking progress, the end condition of the cooking task, the upper limit or lower limit of the allowed cooking parameter, etc. It can be understood that the target cooking parameter is associated with the type of cooking task, for example, the food temperature is set to 65 degrees Celsius under the temperature control task, that is, when the food temperature reaches 65 degrees Celsius, the food is determined to be cooked, the cooking task is completed, and the alarm condition is triggered; the cooking time is set to 30 minutes under the timing task, etc.; the user can also set multiple target cooking parameters, such as setting the target temperature and cooking time at the same time, or setting multiple stages of target temperature, and can also set different target cooking parameters for different temperature sensors on the temperature probe, such as the first temperature sensor collects the food temperature, and the food center temperature can be set to 80°C, while the second temperature sensor collects the ambient temperature in the cooking vessel, and the oven temperature can be set to 250°C, etc.
[0080] 203. Determine a target cooking interval according to the target cooking parameter and a preset offset.
[0081] It is understandable that different target cooking ranges correspond to different food types, quantities or cooking requirements, and the range can be customized by the user when setting the cooking task on the host computer, or it can be dynamically calculated through the built-in control logic based on the cooking task type and target cooking parameters selected by the user. The target cooking ranges for different cooking tasks may be the same or different, and there is no specific limitation.
[0082] Among them, the preset offset is used to indicate the offset degree of the cooking parameters to divide the cooking progress. At least one offset can be set to divide the cooking progress. For example, only one offset is set to divide a target cooking interval and other cooking intervals. For another example, multiple offsets are set to further refine each cooking progress.
[0083] Optionally, a plurality of candidate cooking intervals are determined according to the target cooking parameter and at least one preset offset.
[0084] Exemplarily, taking a scheduled task as an example, the target cooking parameter is the cooking time T, and a time offset △T is set. The target cooking interval is the critical cooking time range [T-△T, T], that is, the time period from (T-△T) to T is the time period where the key and valid data of the cooking progress are located, and the user is more concerned about the temperature data of this time period, while the time period before (T-△T) and / or the time period after T, that is, other cooking intervals, may be in the early stage of cooking and other situations, and the other cooking intervals are the time periods where invalid data, auxiliary data, and non-critical data of the cooking progress are located, and the user pays less attention to the temperature data of this time period.
[0085] Exemplarily, taking the temperature control task as an example, the target cooking parameter is the target set temperature C, and four offsets △C1, △C2, △C3 and △C4 are set, among which △C1>△C2>△C3. The target cooking interval can be obtained as the cooking temperature interval [C-△C3, C], and the other cooking intervals include three, the low temperature protection interval [C-△C1, C-△C2], the idle interval [C-△C2, C-△C3] and the high temperature protection interval [C, C+△C4].
[0086] It should be further explained that the above-mentioned cooking task types and the number and types of other cooking intervals are merely examples. The same or different target cooking intervals can also be set according to the number of temperature sensors on the temperature probe. This embodiment does not limit the number, type and range of intervals.
[0087] 204. Determine the current corresponding cooking parameters based on the cooking task type, and control the temperature measurement component to enter the target mode according to the current corresponding cooking parameters and the target cooking interval.
[0088] In this embodiment, the target mode is a cooking mode or a non-cooking mode, wherein the cooking mode is used to indicate a series of instructions set for data that is of high user concern and has a greater impact on the cooking process. It can be considered that the data collected by the temperature probe when executing the cooking mode is valid data and key data;
[0089] The non-cooking mode is used to indicate a series of instructions set for data that is of less concern to the user and has less impact on the cooking process. It can be considered that the data collected by the temperature probe when executing the non-cooking mode is invalid data and non-critical data.
[0090] Specifically, if the cooking task type is a temperature control task, the probe temperature is determined as the cooking parameter, that is, the current cooking progress is determined according to the current probe temperature to enter the corresponding target mode under the cooking progress; if the cooking task type is a timed task, the cooking duration is determined as the cooking parameter, that is, the current cooking progress is determined according to the current cooking duration to enter the corresponding target mode under the cooking progress.
[0091] Optionally, the cooking task type is a temperature control task. If the current probe temperature is in the cooking temperature range corresponding to the cooking task, the cooking mode is determined as the target mode; if the current probe temperature is not in the cooking temperature range corresponding to the cooking task, the non-cooking mode is determined as the target mode.
[0092] Optionally, the cooking task type is a timed task. If the current cooking duration is within the cooking time interval corresponding to the cooking task, the cooking mode is determined as the target mode; if the current cooking duration is not within the cooking time interval corresponding to the cooking task, the non-cooking mode is determined as the target mode.
[0093] Specifically, controlling the temperature measuring component to enter the target mode according to the current corresponding cooking parameters and the target cooking interval includes: determining whether the current corresponding cooking parameters are in the target cooking interval, if so, controlling the temperature measuring component to enter the cooking mode, and determining the high-frequency interval corresponding to the cooking mode as the storage time interval; if not, controlling the temperature measuring component to enter the non-cooking mode, and determining the low-frequency interval corresponding to the non-cooking mode as the storage time interval.
[0094] It can be understood that the non-cooking mode can be set according to the number of intervals divided in step 203. For example, only one offset is set, and there are only one or two non-target cooking intervals, and each non-target cooking interval corresponds to a non-cooking mode. For another example, multiple offsets are set, and there are multiple non-target cooking intervals, then there are also multiple non-cooking modes. Exemplary temperature intervals are set with a low temperature protection mode, an idle mode, a high temperature protection mode, etc. The non-cooking mode can also be set to other modes, which are not specifically limited.
[0095] Among them, the temperature range of the high temperature protection mode can be set to data that exceeds the target temperature set by the user; it can also be set to a value that exceeds the upper limit of the product's operating temperature. Different data can also be set according to different temperature sensors on the temperature probe, without specific restrictions.
[0096] Taking the temperature control task as an example, the above-mentioned control temperature measurement component enters the non-cooking mode, and determines the low-frequency interval corresponding to the non-cooking mode as the storage time interval, including: if the probe temperature is in the low-temperature protection interval, the temperature measurement component is controlled to enter the low-temperature protection mode, and the first frequency interval corresponding to the low-temperature protection mode is determined as the storage time interval; if the probe temperature is in the idle interval, the temperature measurement component is controlled to enter the idle mode, and the second frequency interval corresponding to the idle mode is determined as the storage time interval, and the second frequency interval is smaller than the first frequency interval; if the probe temperature is in the high-temperature protection interval, the temperature measurement component is controlled to enter the high-temperature protection mode, and the third frequency interval corresponding to the high-temperature protection mode is determined as the storage time interval, and the third frequency interval is smaller than the first frequency interval and the second frequency interval.
[0097] It can be understood that in the low temperature protection zone, such as less than 0°C, the meat is hard and the vegetables are frozen, and the probe cannot be inserted. The data can be stored at the lowest frequency, that is, the first frequency interval is the longest, for example, the first frequency interval is set to 30 seconds or other values, or the temperature data of this stage is not stored; in the normal temperature zone, that is, the idle zone, the temperature probe can be inserted into the food, which may be in the food preparation stage or the early stage of cooking. A higher second frequency interval can be set for data storage, for example, the second frequency interval is set to 20 seconds or other values; in the cooking temperature zone, this stage is the critical time for cooking, and a high frequency interval can be set for data storage, for example, the high frequency interval is set to 6 seconds or other values; if it further rises to the high temperature protection zone, in order to avoid irreversible damage to the battery and save cooking data with too high temperature data, the third frequency interval can be set to 12 seconds or other values, and the above storage time intervals are arranged in order of the length of the time interval as the first frequency interval, the second frequency interval, the third frequency interval and the high frequency interval.
[0098] Optionally, the low temperature protection mode and idle mode may be set not to store data, and only store temperature data of the cooking temperature range and the high temperature protection range, so as to retain more critical cooking temperature data of concern to users and temperature data exceeding the set temperature.
[0099] Similarly, scheduled tasks and other task types can be set with reference to the above solution, which will not be described in detail in this embodiment.
[0100] 205. Determine whether there is at least one memory with sufficient remaining storage space.
[0101] Specifically, the temperature measurement component determines whether there is enough remaining storage space in the memory to ensure the reliability of the storage of the current cooking task data and avoid the loss of cooking data due to insufficient storage space.
[0102] Optionally, if there is enough remaining storage space in both the repeater and the temperature probe, both can be selected for storage to improve data reliability, or one of the temperature probe or the repeater can be further selected for storage.
[0103] Optionally, the repeater is larger in size than the temperature probe, and a memory with a larger storage capacity may be provided. It usually does not need to be placed inside a cooking vessel to cause the working environment temperature to be too high, affecting the safety of internal electronic components. The cooking task data may be stored in the repeater first, and the second memory of the temperature probe may be used as an alternative. Exemplarily, if the remaining storage space of the first memory of the repeater is sufficient, the first memory is determined as the target memory for the cooking task; if the remaining storage space of the first memory of the repeater is insufficient, and the remaining storage space of the second memory of the temperature probe is sufficient, the second memory is determined as the target memory for the cooking task.
[0104] Optionally, in order to avoid interruption of communication between the temperature probe and the repeater, the second memory of the temperature probe may be preferentially selected for data storage, and the repeater may serve as a backup solution when the remaining storage space of the second memory is insufficient.
[0105] 206. If not, data processing is performed on the historical cooking records stored in the memory until there is enough remaining storage space.
[0106] Optionally, when the remaining storage space in the first memory and the second memory is insufficient, or there is no memory with sufficient spare storage space, for example, when the temperature measurement component includes only one memory, data processing is performed on the stored cooking records until there is sufficient storage space to store the temperature data of the latest cooking task.
[0107] The data processing of the stored cooking records may be at least one of data filtering, data compression, and sequentially deleting the earliest historical cooking records according to corresponding rules, and there is no specific limitation.
[0108] It is understandable that, under appropriate circumstances, step 205 may also be performed after the probe temperature data is pre-processed to clarify the storage space required for storing the temperature data.
[0109] Optionally, if the storage space of the memory is insufficient, the low-frequency interval corresponding to the non-cooking mode in the stored historical cooking records is extended, and data filtering is performed according to the updated low-frequency interval to release more storage space.
[0110] Optionally, if the storage space of the memory is insufficient, the historical temperature data corresponding to the high temperature protection mode in the stored historical cooking records are determined, and the average thermodynamic temperature is calculated; the average thermodynamic temperature corresponding to the high temperature protection mode of each historical cooking record is stored as the average of the stored temperature data, and the historical temperature data under the high temperature protection mode corresponding to each historical cooking record is cleared. In this embodiment, the low frequency interval corresponding to the high temperature protection mode, that is, the historical temperature data stored in the third frequency interval is further compressed to release more storage space.
[0111] 207. If yes, pre-process the probe temperature data collected by the temperature probe according to the target mode and its storage time interval to obtain the temperature data to be stored.
[0112] Specifically, if the storage space of the memory is sufficient, the probe temperature data collected by the temperature probe is preprocessed according to the target mode and its storage time interval to obtain the temperature data to be stored.
[0113] Optionally, when entering the target mode, the starting probe temperature is retained, which is called the first probe temperature for easy distinction; when the next probe temperature (called the second probe temperature) is received, it is determined whether the acquisition time difference between the second probe temperature and the previous probe temperature is greater than or equal to the storage time interval corresponding to the target mode. If so, the second probe temperature is retained, otherwise the second probe temperature is discarded; the cycle is repeated until the cooking task is completed to obtain the temperature data to be stored corresponding to the cooking task.
[0114] Optionally, if the target mode is a high temperature protection mode, the average thermodynamic temperature corresponding to the probe temperature data in each storage time interval is determined according to the storage time interval corresponding to the high temperature protection mode; and each average thermodynamic temperature is determined as the temperature data to be stored.
[0115] It can be understood that the execution of a cooking task is a dynamic process. When the temperature measurement component completely executes the cooking task, it will dynamically switch the target mode according to the cooking progress, so that different cooking progresses can be stored at a reasonable storage time interval. For example, taking the complete process of a temperature control task as an example, the switching process of the target mode when executing the temperature control task is described:
[0116] When the probe temperature is in the low temperature protection interval and the temperature measuring component enters the low temperature protection mode, the probe temperature data collected by the temperature probe in the low temperature stage is preprocessed according to the first frequency interval to obtain the low temperature stage data, until the probe temperature rises to the normal temperature interval, and the temperature measuring component switches from the low temperature protection mode to the idle mode;
[0117] Preprocessing the probe temperature data collected by the temperature probe in the normal temperature stage according to the second frequency interval to obtain normal temperature stage data, until the probe temperature rises and the temperature measurement component switches from the idle mode to the cooking mode;
[0118] Preprocessing probe temperature data collected by the temperature probe in the cooking stage according to the high frequency interval to obtain cooking stage data until the probe temperature rises to the target cooking temperature;
[0119] If the probe temperature continues to rise to the high temperature protection interval, the target mode is switched to the high temperature protection mode, and the probe temperature data collected by the temperature probe is preprocessed according to the third frequency interval corresponding to the high temperature protection mode to obtain high temperature stage data, until the cooking task is completed, and the low temperature stage data, normal temperature stage data, cooking stage data and high temperature stage data are determined as the temperature data to be stored;
[0120] If the probe temperature drops below the target cooking temperature or into the normal temperature range, the low temperature stage data, the normal temperature stage data, and the cooking stage data are determined as the temperature data to be stored.
[0121] This embodiment switches the target mode according to the cooking progress, and stores data according to the storage time interval corresponding to each mode. When the probe temperature reaches the target value of the cooking task, an alarm message is usually generated to prompt the user to end cooking. However, there may be a situation where the heating tool is not turned off in time, resulting in a further increase in temperature, that is, whether the probe temperature continues to rise to the high-temperature protection interval. The user's attention to the temperature change in this interval is greater than that of the normal temperature interval, and less than the cooking temperature interval. Especially for the solution of using the second memory of the temperature probe as the target memory, in order to avoid excessive operation of the electronic components inside the temperature probe in an abnormal temperature environment, such as abnormal discharge of the battery and irreversible damage, appropriately reducing the storage time interval can effectively protect the electronic components inside the temperature probe, and the storage time interval of the high-temperature protection mode is higher than that of other non-cooking modes, which can ensure the storage of abnormal temperature data, and the user can further take corresponding measures based on the abnormal temperature data.
[0122] 208. Store the temperature data to be stored in a first storage area of the memory until a stop condition of the cooking task is triggered, and store the task parameter information corresponding to the cooking task in a second storage area of the memory.
[0123] It should be noted that the memory may be a first memory built into the repeater, or a second memory built into the temperature probe, or the data may be stored in both the first memory and the second memory to achieve cooking data backup storage.
[0124] In this embodiment, the above-mentioned cooking tasks and the temperature data to be stored are partitioned and stored in a memory, wherein the temperature data to be stored generally stores the temperature data of the same temperature sensor as a storage array, for example, the first temperature sensor group 1, the second temperature sensor group 1, the first temperature sensor group 2, the second temperature sensor group 2, ...., the first temperature sensor group N, the second temperature sensor group N.
[0125] It is understandable that the stop condition of the cooking task can be determined by the target cooking parameters set in the cooking task, such as whether the cooking target temperature and / or cooking time is reached.
[0126] The task parameter information of this embodiment at least includes the storage start and end addresses of the temperature data to be stored in the first storage area.
[0127] In this embodiment, cooking tasks can be stored in a cooking task list, and users can quickly obtain certain cooking data based on the cooking task list. The cooking task list is a list of multiple cooking tasks, and the task parameter information of a single cooking task may include: cooking start time, cooking task type, cooking target value, food name, cooking end time, cooking data start address, cooking data end address, probe power at the start, and probe power at the end.
[0128] Among them, the cooking start time, cooking task type, cooking target value, food name, etc. are determined by the user when setting the cooking task on the host computer and sent to the temperature measurement component, while the cooking data start address, cooking data end address, probe power at the start, and probe power at the end are set according to the cooking task execution and actual storage conditions. When the user reads the cooking history, the corresponding data can be read according to the start address and end address in the task parameter information.
[0129] In this embodiment, whether to start storage is determined by whether the temperature measuring component is executing a cooking task, so as to avoid invalid data occupying storage space in normally open probes and other scenarios where cooking tasks are not executed; by determining whether there is enough remaining storage space in the memory, when the remaining storage space is insufficient, a variety of data processing schemes are provided for the stored historical cooking records, so as to effectively release storage space and avoid the problem of data loss caused by insufficient storage space. In addition, according to the cooking task and the current cooking parameters, the different stages of the cooking process are accurately identified to control the temperature measuring component to enter the cooking mode or the non-cooking mode, and corresponding data storage schemes are adopted in each cooking stage. When the temperature measuring component enters the cooking mode, more key data and valid data of the cooking stage concerned by the user are stored at a high-frequency interval, while in the non-cooking mode, data is stored at a low-frequency interval to reduce the space occupied by non-critical data. By dynamically adjusting the data storage time interval of different stages of the data, unnecessary resource consumption is minimized to the greatest extent, ensuring that the stored data can effectively feedback the cooking progress of the corresponding cooking task, and improving the data quality stored in the temperature measuring component; at the same time, the partitioned storage of the task parameters of the cooking task and the temperature data is helpful to further optimize the data management and query efficiency. The cooking task list can facilitate subsequent data extraction and task review; the temperature data is stored in another area, which can be easily traced and analyzed for temperature changes. This storage strategy not only improves the efficiency of data retrieval, but also facilitates the execution and optimization of subsequent tasks. This embodiment solves the problem of partial or complete loss of cooking data when the temperature measurement component is offline. It can also facilitate users to obtain historical cooking records after changing the binding. It can realize the sharing of historical cooking records of multiple users without relying on the Internet, which greatly improves the user experience.
[0130] Please refer to Figure 6 , with the repeater as the execution subject, a third embodiment of the temperature data storage method of the present application is provided. The repeater of this embodiment can refer to Figure 4 Structure diagram:
[0131] 601. Determine whether the repeater is executing a cooking task.
[0132] The repeater is connected to the temperature probe and receives the probe temperature reported by the probe to determine whether a cooking task sent by the host computer is received. If a cooking task is received, step 602 is executed, otherwise the probe temperature is not retained.
[0133] 602. If yes, determine whether the memory has enough remaining storage space.
[0134] The repeater is executing a cooking task and determines whether there is enough remaining storage space in the first memory. If the storage space is insufficient, step 603 is executed; if the storage space is sufficient, step 604 is executed.
[0135] 603. If the remaining storage space is insufficient, the earliest cooking record is cleared.
[0136] Specifically, when the remaining storage space in the first memory is insufficient, the historical cooking records in the memory are cleared in order of storage time, and the process returns to step 602 .
[0137] The above-mentioned clearing of historical cooking records in the memory in order of storage time includes: extracting historical cooking tasks in the second storage area in order of storage time; deleting corresponding historical temperature data in the first storage area according to the start and end addresses of the cooking data corresponding to the historical cooking tasks, and deleting the historical cooking tasks in the second storage area.
[0138] It is understandable that when the remaining storage space is insufficient, the repeater may also adopt any one of the solutions in step 206 or a combination of two or more solutions to obtain sufficient storage space, which will not be described in detail in this embodiment.
[0139] 604. If the remaining storage space is sufficient, the probe temperature is recorded according to the cooking task and the current cooking parameters.
[0140] Specifically, if there is sufficient remaining storage space in the first memory of the repeater, it is determined whether the probe temperature is within the cooking temperature range; if not, the temperature probe is controlled to enter an idle mode, and the storage of the probe temperature data collected by the temperature probe in the idle mode is abandoned; if so, the temperature probe is controlled to enter a cooking mode, and the probe temperature data collected by the temperature probe is preprocessed according to the high-frequency interval corresponding to the cooking mode to obtain the first temperature data until the probe temperature rises to the target cooking temperature; it is determined whether the probe temperature continues to rise to the high-temperature protection range; if so, the target mode is switched to a high-temperature protection mode, and the average thermodynamic temperature corresponding to the probe temperature data within each storage time interval is determined according to the low-frequency interval corresponding to the high-temperature protection mode; the first temperature data and each average thermodynamic temperature are determined as the temperature data to be stored.
[0141] This embodiment distinguishes whether the temperature data collected in each cooking stage is effective by setting a cooking task. The temperature data in the idle mode is not stored. As the cooking process proceeds, the temperature data in the cooking temperature range is stored at a high frequency interval to prevent the user from missing the key point of food maturity. When the probe temperature reaches the target value of the cooking task, an alarm message is usually generated to prompt the user to end cooking. However, there may be a situation where the heating tool is not turned off in time, resulting in further temperature rise, that is, whether the probe temperature continues to rise to the high temperature protection interval. The user's attention to the temperature change in this interval is greater than the normal temperature interval, but less than the cooking temperature interval, which can ensure the reliability of the first temperature data in the key cooking stage and the temperature data storage in the abnormal stage.
[0142] 605, determining whether the cooking task end condition is met.
[0143] In this embodiment, the cooking task end condition may be the target temperature and / or cooking time limited by the cooking task, or may be receiving a cooking task end instruction issued by a host computer, etc., without specific limitation.
[0144] 606. If yes, stop saving the probe temperature data.
[0145] When the repeater determines that the target temperature or cooking time limited by the cooking task is reached, it stops saving the probe temperature data, stores the current temperature data to be stored in the first storage area of the first memory, and stores the task parameter information corresponding to the cooking task in the second storage area of the first memory. If the target temperature or cooking time limited by the cooking task is not reached, step 604 is continued.
[0146] In this embodiment, the repeater determines whether to start storage by whether it receives the cooking task sent by the host computer, so as to avoid the invalid data of the normally open probe and other scenarios where the cooking task is not executed occupying the storage space; the different stages of the cooking process are accurately identified according to the cooking task and the current cooking parameters to control the repeater to enter the cooking mode or the non-cooking mode, and the corresponding data storage scheme is adopted in each cooking stage to store more key data, valid data and abnormal data of the cooking stage that the user is concerned about, so as to avoid the space occupied by non-critical data such as the idle stage; in the high temperature protection mode, the storage is performed by averaging the thermodynamic temperature to minimize unnecessary resource consumption, ensure that the stored data can effectively feedback the cooking progress of the corresponding cooking task, improve the data quality stored in the repeater, and the effect is more prominent when the repeater is connected to multiple temperature probes at the same time; the task parameter information corresponding to the cooking task and the temperature data to be stored are stored in the first memory built into the repeater, so as to solve the problem that the temperature data cannot be forwarded in time when the repeater is disconnected from the host computer during the cooking process, resulting in the loss of part or all of the cooking data; at the same time, it is also convenient for users to obtain historical cooking records after changing the binding, and users can realize the sharing of historical cooking records of multiple users without relying on the Internet, which greatly improves the user experience.
[0147] Please refer to Figure 7 , taking the temperature probe as the execution subject, a fourth embodiment of the temperature data storage method of the present application is provided:
[0148] 701. Determine whether the temperature probe is performing a cooking task.
[0149] The temperature probe of this embodiment can be directly connected to the host computer for communication, for example, the temperature probe using a Bluetooth communication solution is the execution subject.
[0150] The temperature probe determines whether a cooking task sent by the host computer is received. If a cooking task is received, step 702 is executed, otherwise the probe temperature is not retained.
[0151] 702. If yes, determine whether the memory has enough remaining storage space.
[0152] The temperature probe is executing a cooking task, and it is determined whether the memory built into the temperature probe has enough remaining storage space. If the storage space is insufficient, step 703 is executed; if the storage space is sufficient, step 704 is executed.
[0153] 703. If the remaining storage space is insufficient, determine the historical temperature data stored in the non-cooking mode in each stored historical cooking record, calculate the average thermodynamic temperature as the mean value for storage, and clear the historical temperature data in the non-cooking mode corresponding to each historical cooking record.
[0154] When the remaining storage space is insufficient, a cooking task list is obtained from the second storage area in the memory, and the start and end addresses of the cooking data and the target cooking parameters corresponding to each historical cooking task are read according to the cooking task list; other cooking intervals corresponding to the non-cooking mode of each historical cooking task are determined according to the target cooking parameters, and the historical temperature data corresponding to the other cooking intervals are read according to the start and end addresses of the cooking data, the average thermodynamic temperature is calculated and stored as the mean, and the historical temperature data in the non-cooking mode corresponding to each historical cooking record is cleared.
[0155] This embodiment releases more storage space by processing the invalid temperature data which has less user attention, is non-critical to the cooking task, and is stored in the historical cooking records in the temperature probe.
[0156] It is understandable that the repeater may also adopt any one of the solutions in step 206 or a combination of two or more solutions to obtain sufficient storage space, which will not be described in detail in this embodiment.
[0157] 704. If the remaining storage space is sufficient, the probe temperature is recorded according to the cooking task and the current cooking parameters.
[0158] It should be noted that the temperature probe of this embodiment includes a first temperature sensor and a second temperature sensor, wherein the first temperature sensor is used to collect the internal temperature of the food, and the second temperature sensor is used to collect the ambient temperature in the cooking vessel. A corresponding data storage scheme can be adopted for each temperature sensor according to different cooking requirements, food types, etc. to improve the data quality of temperature data storage.
[0159] It is understandable that the storage time intervals of the first temperature sensor and the second temperature sensor can be set to be the same, or to be different. They can also be set according to different cooking stages and according to other corresponding control logics, without specific limitation.
[0160] Exemplarily, the storage time interval of the food temperature collected by the first temperature sensor may be set to be higher than the storage time interval of the ambient temperature collected by the second temperature sensor.
[0161] Exemplarily, the storage time interval of the second temperature sensor may be set higher than that of the first temperature sensor in the initial stage of cooking, and the storage time interval of the first temperature sensor may be set higher than that of the second temperature sensor in the critical stage of cooking.
[0162] In this embodiment, the entry conditions of the high temperature protection mode corresponding to the first temperature sensor and the second temperature sensor can be set to be the same or different. For example, the first operating temperature upper limit of the first temperature sensor is set to 100 degrees Celsius or other values, and the second operating temperature upper limit of the second temperature sensor is set to 275 degrees Celsius or other values. For temperature data exceeding the operating temperature upper limit, the average thermodynamic temperature can be used for storage to save storage space.
[0163] Taking the temperature control task as an example, when the remaining storage space of the built-in memory of the temperature probe is sufficient, the food temperature collected by the first temperature sensor and the ambient temperature collected by the second temperature sensor are respectively determined to be in the corresponding cooking temperature range;
[0164] If the food temperature is within the first cooking temperature range, the temperature data is recorded at the first high-frequency interval; otherwise, it is determined whether the food temperature exceeds the first working temperature upper limit; if so, the average thermodynamic temperature is calculated and stored; if it does not exceed the first working temperature upper limit, it is stored at a low-frequency interval (referred to as the fourth frequency interval for ease of distinction), and the fourth frequency interval is greater than the first high-frequency interval.
[0165] If the ambient temperature is in the temperature data of the second cooking temperature range, it is recorded at the second high-frequency interval, otherwise it is determined whether the ambient temperature exceeds the second working temperature upper limit; if so, the average thermodynamic temperature is calculated and stored, if it does not exceed the second working temperature upper limit, it is stored at the fifth frequency interval, and the fifth frequency interval is greater than the second high-frequency interval.
[0166] The first high frequency interval, the second high frequency interval, the fourth frequency interval and the fifth frequency interval can be set according to actual conditions, and this embodiment does not impose any specific limitation thereto.
[0167] 705, determining whether the cooking task end condition is met.
[0168] In this embodiment, the cooking task end condition may be the target temperature and / or cooking time limited by the cooking task, or may be receiving a cooking task end instruction issued by a host computer, etc., without specific limitation.
[0169] 706. If yes, stop saving the probe temperature data.
[0170] When the temperature probe determines that the target temperature or cooking time limited by the cooking task is reached, the probe temperature data is stopped from being saved, the current temperature data to be stored is stored in the first storage area of the built-in memory, and the task parameter information corresponding to the cooking task is stored in the second storage area of the built-in memory. If the target temperature or cooking time limited by the cooking task is not reached, step 704 is continued.
[0171] In this embodiment, the temperature probe determines whether to start storage by whether it has received a cooking task sent by the host computer, so as to avoid invalid data from normally-open probes and other scenarios in which no cooking task is executed occupying storage space; the different stages of the cooking process are accurately identified according to the cooking task and the current cooking parameters to control the temperature probe to enter the cooking mode or the non-cooking mode, and further set corresponding storage schemes according to different temperature sensors. In each cooking stage and the degree of user concern about the temperature data collected by different temperature sensors or the importance of the data, corresponding data storage schemes are adopted in a targeted manner to store more key data, valid data and abnormal data of the cooking stages that users are concerned about, and avoid non-critical data such as idle stages. The space occupied by the data, in the high temperature protection mode, is stored through the average thermodynamic temperature to minimize unnecessary resource consumption, ensure that the stored data can effectively feedback the cooking progress of the corresponding cooking task, and improve the data quality stored in the temperature probe; the task parameter information corresponding to the cooking task and the temperature data to be stored are stored in the built-in memory of the temperature probe, which solves the problem that when the temperature probe is disconnected from the host computer during the cooking process, the temperature data cannot be reported in time, resulting in the loss of part or all of the cooking data; at the same time, it can also facilitate users to obtain historical cooking records after changing the binding. Users do not need to rely on the Internet to share historical cooking records of multiple users, which greatly improves the user experience.
[0172] The temperature data storage method in the present application is described above. The temperature data storage device in the present application is described below. Figure 8 , an embodiment of the temperature data storage device in the present application comprises:
[0173] A determination module 801 is used to determine whether the temperature measuring component is performing a cooking task;
[0174] The control module 802 is used for controlling the temperature measuring component to enter a target mode according to the cooking task and the current cooking parameters, and the target mode is a cooking mode or a non-cooking mode;
[0175] A preprocessing module 803 is used to preprocess the probe temperature data collected by the temperature probe according to the target mode and its storage time interval to obtain the temperature data to be stored, the cooking mode corresponds to the high-frequency interval, and the non-cooking mode corresponds to the low-frequency interval;
[0176] The storage module 804 is used to store the task parameter information corresponding to the cooking task and the temperature data to be stored in the memory.
[0177] In this embodiment, whether to start storage is determined by whether the temperature measuring component is executing a cooking task, so as to avoid invalid data occupying storage space in normally open probes and other scenarios where no cooking task is executed; the different stages of the cooking process are accurately identified according to the cooking task and the current cooking parameters, so as to control the temperature measuring component to enter the cooking mode or the non-cooking mode, and corresponding data storage schemes are adopted in each cooking stage. When the temperature measuring component enters the cooking mode, more key data and valid data of the cooking stage that users are concerned about are stored at high-frequency intervals, while in the non-cooking mode, data is stored at low-frequency intervals to reduce the space occupied by non-critical data, and unnecessary resource consumption is minimized by dynamically adjusting the data storage time intervals of different stages of data, ensuring that the stored data can effectively feedback the cooking progress of the corresponding cooking task, and improving the data quality stored in the temperature measuring component; the task parameter information corresponding to the cooking task and the temperature data to be stored are stored in the built-in memory of the temperature measuring component, which solves the problem of partial or complete cooking data loss when the temperature measuring component is offline, and also facilitates the user to obtain historical cooking records after changing the binding, and can realize the sharing of historical cooking records of multiple users without relying on the Internet, which greatly improves the user experience.
[0178] See also Fig. 9 Another embodiment of the temperature data storage device in the present application includes:
[0179] The determination module 801 is used to determine whether the temperature measuring component is performing a cooking task;
[0180] The control module 802 is used for controlling the temperature measuring component to enter a target mode according to the cooking task and the current cooking parameters, and the target mode is a cooking mode or a non-cooking mode;
[0181] A preprocessing module 803 is used to preprocess the probe temperature data collected by the temperature probe according to the target mode and its storage time interval to obtain the temperature data to be stored, the cooking mode corresponds to the high-frequency interval, and the non-cooking mode corresponds to the low-frequency interval;
[0182] The storage module 804 is used to store the task parameter information corresponding to the cooking task and the temperature data to be stored in the memory.
[0183] Optionally, the control module 802 includes:
[0184] The parsing unit 8021 is used to parse the cooking task and obtain the cooking task type and target cooking parameters;
[0185] A determination unit 8022, configured to determine a target cooking interval according to a target cooking parameter and a preset offset;
[0186] The control unit 8023 is used to determine the current corresponding cooking parameters based on the cooking task type, and control the temperature measurement component to enter the target mode according to the current corresponding cooking parameters and the target cooking interval.
[0187] Optionally, the cooking task type is a temperature control task, and the control unit 8023 is specifically configured to: if the current probe temperature is in a cooking temperature range corresponding to the cooking task, determine the cooking mode as the target mode;
[0188] If the current probe temperature is in other temperature ranges corresponding to the cooking task, the non-cooking mode is determined as the target mode.
[0189] Optionally, the cooking task type is a timed task, and the control unit 8023 is specifically configured to: if the current cooking duration is within the cooking time interval corresponding to the cooking task, determine the cooking mode as the target mode;
[0190] If the current cooking duration is within other time intervals corresponding to the cooking task, the non-cooking mode is determined as the target mode.
[0191] Optionally, the preprocessing module 803 is specifically used to: determine the average thermodynamic temperature corresponding to the probe temperature data in each storage time interval according to the storage time interval corresponding to the high temperature protection mode;
[0192] Each average thermodynamic temperature is determined as the temperature data to be stored.
[0193] Optionally, the storage module 804 is specifically used to: store the temperature data to be stored in a first storage area of the memory until a stop condition of the cooking task is triggered;
[0194] The task parameter information corresponding to the cooking task is stored in the second storage area of the memory, and the task parameter information at least includes the storage start and end addresses of the temperature data to be stored in the first storage area.
[0195] Optionally, the storage module 804 is also used to: if the storage space of the memory is insufficient, clear the historical cooking records in the memory in order of storage time.
[0196] In this embodiment, whether to start storage is determined by whether the temperature measuring component is executing a cooking task, so as to avoid invalid data occupying storage space in normally open probes and other scenarios where cooking tasks are not executed; by determining whether there is enough remaining storage space in the memory, when the remaining storage space is insufficient, a variety of data processing schemes are provided for the stored historical cooking records, so as to effectively release storage space and avoid the problem of data loss caused by insufficient storage space. In addition, according to the cooking task and the current cooking parameters, the different stages of the cooking process are accurately identified to control the temperature measuring component to enter the cooking mode or the non-cooking mode, and corresponding data storage schemes are adopted in each cooking stage. When the temperature measuring component enters the cooking mode, more key data and valid data of the cooking stage concerned by the user are stored at a high-frequency interval, while in the non-cooking mode, data is stored at a low-frequency interval to reduce the space occupied by non-critical data. By dynamically adjusting the data storage time interval of different stages of the data, unnecessary resource consumption is minimized to the greatest extent, ensuring that the stored data can effectively feedback the cooking progress of the corresponding cooking task, and improving the data quality stored in the temperature measuring component; at the same time, the partitioned storage of the task parameters of the cooking task and the temperature data is helpful to further optimize the data management and query efficiency. The cooking task list can facilitate subsequent data extraction and task review; the temperature data is stored in another area, which can be easily traced and analyzed for temperature changes. This storage strategy not only improves the efficiency of data retrieval, but also facilitates the execution and optimization of subsequent tasks. This embodiment solves the problem of partial or complete loss of cooking data when the temperature measurement component is offline. It can also facilitate users to obtain historical cooking records after changing the binding. It can realize the sharing of historical cooking records of multiple users without relying on the Internet, which greatly improves the user experience.
[0197] above Figure 8 and Fig. 9 The temperature data storage device in this embodiment is described in detail from the perspective of modular functional entities, and the temperature measurement component in this application is described in detail from the perspective of hardware processing.
[0198] See also Fig.10 As shown, the temperature measurement component includes a processor 1000 and a memory 1001. The memory 1001 stores machine executable instructions that can be executed by the processor 1000. The processor 1000 executes the machine executable instructions to implement the above-mentioned temperature data storage method.
[0199] Further, Fig.10 The temperature measurement component shown also includes a bus 1002 and a communication interface 1003 , and the processor 1000 , the communication interface 1003 and the memory 1001 are connected via the bus 1002 .
[0200] Among them, the memory 1001 may include a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), for example, at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 1003 (which can be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. can be used. The bus 1002 can be an ISA bus, a PCI bus or an EISA bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.10 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0201] The processor 1000 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 1000. The above processor 1000 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The disclosed methods, steps and logic block diagrams in the embodiments of the present disclosure can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present disclosure can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 1001, and the processor 1000 reads the information in the memory 1001 and completes the method steps of the above-mentioned embodiment in combination with its hardware.
[0202] The present application also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the temperature data storage method.
[0203] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0204] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
[0205] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A temperature data storage method, characterized in that: The temperature data storage method comprises: Determine whether the temperature measuring component is performing a cooking task; If yes, controlling the temperature measuring component to enter a target mode according to the cooking task and the current cooking parameters, the target mode being a cooking mode or a non-cooking mode; Preprocessing the probe temperature data collected by the temperature probe according to the target mode and its storage time interval to obtain the temperature data to be stored, the cooking mode corresponding to the high-frequency interval, and the non-cooking mode corresponding to the low-frequency interval; The task parameter information corresponding to the cooking task and the temperature data to be stored are stored in the memory of the temperature measuring component.
2. The temperature data storage method according to claim 1, characterized in that: The controlling the temperature measuring component to enter the target mode according to the cooking task and the current cooking parameters comprises: Parsing the cooking task to obtain a cooking task type and target cooking parameters; determining a target cooking interval according to the target cooking parameter and a preset offset; The currently corresponding cooking parameters are determined based on the cooking task type, and the temperature measuring component is controlled to enter a target mode according to the currently corresponding cooking parameters and the target cooking interval.
3. The temperature data storage method according to claim 2, characterized in that: The cooking task type is a temperature control task, and the step of controlling the temperature measuring component to enter a target mode according to the current corresponding cooking parameters and the target cooking interval includes: If the current probe temperature is within the cooking temperature range corresponding to the cooking task, the cooking mode is determined as the target mode; If the current probe temperature is in another temperature range corresponding to the cooking task, the non-cooking mode is determined as the target mode.
4. The temperature data storage method according to claim 2, characterized in that: The cooking task type is a timed task, and the step of controlling the temperature measuring component to enter a target mode according to the current corresponding cooking parameters and the target cooking interval includes: If the current cooking duration is within the cooking time interval corresponding to the cooking task, the cooking mode is determined as the target mode; If the current cooking duration is within other time intervals corresponding to the cooking task, the non-cooking mode is determined as the target mode.
5. The temperature data storage method according to claim 1, characterized in that: If the target mode is a high temperature protection mode, the probe temperature data collected by the temperature probe is preprocessed according to the target mode and its storage time interval to obtain the temperature data to be stored, including: According to the storage time interval corresponding to the high temperature protection mode, determining the average thermodynamic temperature corresponding to the probe temperature data in each storage time interval; The average thermodynamic temperatures are determined as temperature data to be stored.
6. The temperature data storage method according to claim 1, characterized in that: The step of storing the task parameter information corresponding to the cooking task and the temperature data to be stored in the memory of the temperature measuring component includes: storing the temperature data to be stored in the first storage area of the memory until a stop condition of the cooking task is triggered; The task parameter information corresponding to the cooking task is stored in the second storage area of the memory, wherein the task parameter information at least includes the storage start and end addresses of the temperature data to be stored in the first storage area.
7. The temperature data storage method according to any one of claims 1 to 6, characterized in that: Also includes: If the storage space of the memory is insufficient, the historical cooking records in the memory are cleared in sequence according to the storage time.
8. A temperature data storage device, characterized in that: Applicable to a temperature measuring component, the temperature measuring component includes a built-in memory, and the temperature data storage device includes: A determination module, used to determine whether the temperature measurement component is performing a cooking task; a control module, configured to, if yes, control the temperature measuring component to enter a target mode according to the cooking task and current cooking parameters, wherein the target mode is a cooking mode or a non-cooking mode; a preprocessing module, for preprocessing the probe temperature data collected by the temperature probe according to the target mode and its storage time interval to obtain the temperature data to be stored, wherein the cooking mode corresponds to the high-frequency interval and the non-cooking mode corresponds to the low-frequency interval; The storage module is used to store the task parameter information corresponding to the cooking task and the temperature data to be stored in the memory.
9. A temperature measuring component, characterized in that: The temperature measurement component includes: a memory and at least one processor, wherein instructions are stored in the memory; The at least one processor calls the instructions in the memory to enable the temperature measurement component to execute the temperature data storage method according to any one of claims 1 to 7.
10. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instruction is read and executed, the temperature data storage method according to any one of claims 1 to 7 is executed.