Food internal temperature prediction method and device, equipment and storage medium

Through the food internal temperature detection method based on the temperature prediction network and heat conduction model, the complexity and safety hazards of food internal temperature detection in the existing technology are solved, and high-precision and safe temperature detection is achieved.

CN118708902APending Publication Date: 2024-09-27HENGYANG TELLHOW COMM MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410767887.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

Existing methods for detecting internal food temperature are complex and unstable. Food probes may release harmful substances at high temperatures, posing safety risks. Different probe insertion positions may detect different temperatures, affecting detection accuracy.

Method used

Using a temperature prediction network and heat conduction model based on historical steam temperature, heating time and target area, by obtaining the inlet steam temperature, heating time and target parameters, the food surface and internal temperature can be predicted to avoid direct contact with food and improve detection accuracy and safety.

Benefits of technology

It achieves accurate prediction of food surface and internal temperatures without touching food, improves temperature detection accuracy, avoids the risk of food probes releasing harmful substances at high temperatures, and ensures safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118708902A
    Figure CN118708902A
Patent Text Reader

Abstract

The invention relates to the technical field of temperature detection, and discloses a food internal temperature prediction method and device, equipment and a storage medium. The method comprises the following steps: acquiring an inlet steam temperature, a target area, a heating duration and a target parameter; inputting the inlet steam temperature, the heating duration and the target area into a temperature prediction network, and predicting the surface temperature of the to-be-detected food to obtain a food surface temperature prediction value; and inputting the heating duration, the target parameter and the food surface temperature prediction value into a heat conduction model, and predicting the internal temperature of the to-be-detected food to obtain a food internal temperature prediction value. The embodiment of the invention can improve the temperature detection precision and avoid the safety problem caused by direct contact with food.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of temperature detection technology, and in particular to a method, device, equipment and storage medium for predicting the internal temperature of food. Background Art

[0002] In the process of cooking food, it is very important to control the temperature of the food, which directly affects the taste of the food after cooking. The existing method of detecting the internal temperature of food is to insert a food probe into the food before cooking and measure the internal temperature of the food during the cooking process. However, the above measurement method has the problems of complex operation and unstable fixation. In addition, the temperature inside the food measured by the food probe is different depending on the position where it is inserted into the food, and it is possible that the temperature inside the food detected may not be the lowest temperature.

[0003] The outer layer of the food probe is covered with a silicone sleeve, and the high temperature resistance limit of the silicone sleeve is generally 300°C, but the local temperature in the cooking appliance usually exceeds this temperature. If the food probe is exposed to high temperature for a long time, there is a risk of releasing harmful substances, and direct contact with food can easily cause safety problems. Summary of the invention

[0004] The purpose of this application is to provide a method, device, equipment and storage medium for predicting the internal temperature of food, which can improve the temperature detection accuracy and avoid safety problems caused by direct contact with food.

[0005] The present application provides a method for predicting the internal temperature of food, comprising: Obtaining the inlet steam temperature, target area, heating time and target parameters; the inlet steam temperature is the steam temperature at the steam inlet, the target area is the area where the surface of the food to be tested is located in the steamer cavity, and the target parameters include the initial temperature, thermal conductivity and weight of the food to be tested; The inlet steam temperature, the heating time and the target area are input into a temperature prediction network to predict the surface temperature of the food to be tested to obtain a predicted value of the food surface temperature; the temperature prediction network is trained based on historical inlet steam temperature, historical heating time, historical target area and historical food surface temperature measured values; The heating time, the target parameter and the predicted value of the food surface temperature are input into a heat conduction model, and the internal temperature of the food to be tested is predicted to obtain a predicted value of the food internal temperature.

[0006] In some embodiments, the neural network prediction model is trained in the following manner: Acquire multiple groups of training sets; the training sets include four groups of training subsets consisting of the historical inlet steam temperature, the historical heating duration, and the historical target area, the first group of training subsets and the second group of training subsets differ only in the historical inlet steam temperature, the first group of training subsets and the third group of training subsets differ only in the historical heating duration, and the first group of training subsets and the fourth group of training subsets differ only in the historical target area; Confirming the historical food surface temperature measured values ​​corresponding to each of the training subsets; The training set and the corresponding historical food surface temperature measured values ​​are used to train a preset deep neural network to obtain the temperature prediction network.

[0007] In some embodiments, the temperature prediction network includes a first prediction subnetwork and a second prediction subnetwork, and the inputting of the inlet steam temperature, the heating time, and the target area into the temperature prediction network to predict the surface temperature of the food to be tested to obtain a predicted value of the food surface temperature includes: Encoding the inlet steam temperature and the heating duration to obtain a first vector to be predicted; Inputting the first vector to be predicted into the first prediction subnetwork, extracting the temperature variation characteristics of the inlet steam temperature within the heating time, and obtaining a first prediction vector; Encoding the first prediction vector and the target area to obtain a second vector to be predicted; Inputting the second vector to be predicted into the second prediction subnetwork, extracting the temperature change characteristics of the target area based on the inlet steam temperature during the heating time, and obtaining a second prediction vector; The food surface temperature prediction value is output according to the second prediction vector.

[0008] In some embodiments, the first prediction subnetwork includes a first feature mapping layer, a first convolutional layer, and a first fully connected layer, and the first prediction vector is input into the first prediction subnetwork, and the temperature change characteristics of the inlet steam temperature within the heating time are extracted to obtain the first prediction vector, including: Inputting the first vector to be predicted into the first feature mapping layer, mapping the first vector to be predicted into a vector with a higher dimension, and obtaining a first intermediate vector; Inputting the first intermediate vector into the first convolution layer, extracting the temperature variation characteristics of the inlet steam temperature within the heating time through continuous convolution operations, and obtaining a second intermediate vector; The second intermediate vector is input into the first fully connected layer, and a fully connected operation is performed on the second intermediate vector to obtain the first prediction vector.

[0009] In some embodiments, the second prediction sub-network includes a second feature mapping layer, a second convolutional layer, and a second fully connected layer, and the second prediction vector is input into the second prediction sub-network, and the temperature change characteristics of the target area based on the inlet steam temperature during the heating time are extracted to obtain the second prediction vector, including: Inputting the second vector to be predicted into the second feature mapping layer, mapping the second vector to be predicted into a vector with a higher dimension, and obtaining a third intermediate vector; Inputting the third intermediate vector into the second convolution layer, extracting the temperature change characteristics of the target area based on the inlet steam temperature during the heating time through continuous convolution operations, and obtaining a fourth intermediate vector; The fourth intermediate vector is input into the second fully connected layer, and a fully connected operation is performed on the fourth intermediate vector to obtain the second prediction vector.

[0010] In some embodiments, outputting the food surface temperature prediction value according to the second prediction vector includes: According to the spatial ratio of the surface of the food to be tested to the target area, performing a weight operation on the second prediction vector to obtain a weight operation result; The food surface temperature prediction value is determined according to the weight calculation result.

[0011] In some embodiments, the heat conduction model is expressed as:

[0012] Where T(t) is the predicted value of the internal temperature of the food, T1 is the initial temperature of the food to be tested, T2 is the predicted value of the surface temperature of the food, e is a natural constant, x is the thermal conductivity of the food to be tested, y is the weight of the food to be tested, t is the heating time, t∈[0, t n ], t n is the threshold duration.

[0013] The present application also provides a device for predicting the internal temperature of food, comprising: The first module is used to obtain the inlet steam temperature, target area, heating time and target parameters; the inlet steam temperature is the steam temperature at the steam inlet, the target area is the area where the surface of the food to be tested is located in the steamer cavity, and the target parameters include the initial temperature, thermal conductivity and weight of the food to be tested; The second module is used to input the inlet steam temperature, the heating time and the target area into a temperature prediction network, predict the surface temperature of the food to be tested, and obtain a predicted value of the food surface temperature; the temperature prediction network is trained based on historical inlet steam temperature, historical heating time, historical target area and historical food surface temperature measured values; The third module is used to input the heating time, the target parameter and the predicted value of the food surface temperature into a heat conduction model, predict the internal temperature of the food to be tested, and obtain the predicted value of the food internal temperature.

[0014] An embodiment of the present application further provides an electronic device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the above-mentioned method for predicting the internal temperature of food when executing the computer program.

[0015] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned method for predicting the internal temperature of food is implemented.

[0016] The beneficial effects of the present application are as follows: based on the inlet steam temperature, heating time and the area where the surface of the food to be tested is located in the steamer cavity, the surface temperature of the food to be tested is predicted using a pre-trained temperature prediction network, and then the heating time, the initial temperature, thermal conductivity and weight of the food to be tested and the predicted food surface temperature prediction value are input into the heat conduction model to predict the internal temperature of the food to be tested, and obtain the food internal temperature prediction value. Since the surface temperature of the food to be tested is predicted based on the inlet steam temperature, heating time and the area where the surface of the food to be tested is located in the steamer cavity without contacting the food to be tested, and the change factor of the inlet steam temperature during the heating time and the temperature difference factor of the area where the food to be tested is located are considered, the surface temperature of the food to be tested can be obtained more accurately, and then the internal temperature of the food to be tested is calculated according to the food surface temperature prediction value and related parameters, which can improve the temperature detection accuracy and avoid direct contact with the food to cause safety problems. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 It is a flow chart of the method for predicting the internal temperature of food provided in an embodiment of the present application.

[0018] Figure 2 It is a flowchart of the training method of the temperature prediction network provided in the embodiment of the present application. Figure 3 It is a flowchart of the specific method of step S102 provided in an embodiment of the present application.

[0019] Figure 4It is a flowchart of the specific method of step S302 provided in an embodiment of the present application.

[0020] Figure 5 It is a flowchart of the specific method of step S304 provided in an embodiment of the present application.

[0021] Figure 6 It is a schematic diagram of the structure of the food internal temperature prediction device provided in an embodiment of the present application.

[0022] Figure 7 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION

[0023] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0024] It should be noted that, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown can be performed in a different order than the module division in the device or the order in the flowchart. The terms "first", "second" and the like in the specification, claims and drawings are used to distinguish similar objects, and are not used to describe a specific order or sequence.

[0025] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0026] See also Figure 1 , Figure 1 : is a flow chart of a method for predicting the internal temperature of food provided in an embodiment of the present application. In some embodiments of the present application, Figure 1 The method may specifically include but is not limited to steps S101 to S103. Figure 1 These three steps are introduced in detail.

[0027] Step S101, obtaining the inlet steam temperature, target area, heating time and target parameters.

[0028] The inlet steam temperature is the steam temperature at the steam inlet, the target area is the area where the surface of the food to be tested is located in the steamer cavity, and the target parameters include the initial temperature, thermal conductivity and weight of the food to be tested.

[0029] To obtain the inlet steam temperature, a temperature sensor may be provided at the steam inlet of the steam chamber, and the steam temperature of the steam inlet may be collected by the temperature sensor and converted into corresponding temperature sensing information. To obtain the target area, the user may input the area where the food to be tested is located through the human-computer interaction interface of the steamer after the food to be tested is placed at the corresponding position of the steam chamber, such as the second layer, or the contour of the food to be tested may be collected by an optical imaging device to determine the corresponding target area. To obtain the heating time, the timer may be used to measure the time. The initial temperature, thermal conductivity and weight of the food to be tested may be obtained by the user inputting the initial temperature, corresponding type and weight of the food to be tested through the human-computer interaction interface of the steamer, and the processor of the steamer obtains the initial temperature, corresponding type and weight, and queries the thermal conductivity of the food to be tested according to the type of the food to be tested and the preset mapping table of food type and thermal conductivity.

[0030] Step S102, inputting the inlet steam temperature, heating time and target area into the temperature prediction network, predicting the surface temperature of the food to be tested, and obtaining the predicted value of the food surface temperature.

[0031] The temperature prediction network is trained based on historical inlet steam temperature, historical heating time, historical target area and historical food surface temperature measurements.

[0032] In step S102, the processor of the steamer obtains the historical inlet steam temperature, the historical heating time, the historical target area and the historical food surface temperature measured values ​​from the memory, and trains a temperature prediction network based on the obtained historical inlet steam temperature, the historical heating time, the historical target area and the historical food surface temperature measured values. The current inlet steam temperature, heating time and target area are input into the temperature prediction network, and the surface temperature of the food to be tested is predicted to obtain the food surface temperature prediction value.

[0033] See also Figure 2 , Figure 2 is a flow chart of a method for training a temperature prediction network provided in an embodiment of the present application. In some embodiments of the present application, Figure 2 The method may specifically include but is not limited to steps S201 to S203. Figure 2 These three steps are introduced in detail.

[0034] Step S201, obtaining multiple training sets.

[0035] The training set includes four training subsets consisting of historical inlet steam temperature, historical heating time and historical target area. The first training subset and the second training subset only differ in the historical inlet steam temperature, the first training subset and the third training subset only differ in the historical heating time, and the first training subset and the fourth training subset only differ in the historical target area.

[0036] Step S202, confirming the historical food surface temperature measured values ​​corresponding to each training subset.

[0037] Step S203: Use the training set and the corresponding historical food surface temperature measured values ​​to train the preset deep neural network to obtain a temperature prediction network.

[0038] In step S201 to step S203, the training set is input into a preset deep neural network for training to obtain a high-dimensional feature vector predicted by the deep neural network, and the reference feature vector is obtained by converting the historical measured values ​​of the food surface temperature. The model loss information is determined according to the deviation between the high-dimensional feature vector and the reference feature vector. The learning gradient of the high-dimensional feature vector is calculated through the model loss information, and the learning gradient of the high-dimensional feature vector is back-propagated using the small batch stochastic gradient descent method. The various parameters in the entire deep neural network are iteratively updated. When the model loss information no longer has an obvious downward trend, it indicates that the learning is sufficient, and the above-mentioned temperature prediction network is obtained.

[0039] See also Figure 3 In a specific embodiment, the temperature prediction network includes a first prediction sub-network and a second prediction sub-network. Step S102 may include but is not limited to steps S301 to S305. Figure 3 These five steps are introduced in detail.

[0040] Step S301, encode the inlet steam temperature and the heating time to obtain a first vector to be predicted.

[0041] Step S302: input the first vector to be predicted into the first prediction subnetwork, extract the temperature variation characteristics of the inlet steam temperature during the heating time, and obtain the first prediction vector.

[0042] In step S302, the first vector to be predicted is input into the first prediction sub-network, and the inlet steam temperature information and heating time information in the first vector to be predicted are perceived and recognized by the first prediction sub-network, and multi-scale local feature extraction is performed on the inlet steam temperature information to extract the temperature change characteristics of the inlet steam temperature during the heating time, so as to obtain the first prediction vector.

[0043] Step S303: Encode the first prediction vector and the target area to obtain a second vector to be predicted.

[0044] Step S304: input the second vector to be predicted into the second prediction subnetwork, extract the temperature change characteristics of the target area based on the inlet steam temperature during the heating time, and obtain a second prediction vector.

[0045] In step S304, the second vector to be predicted is input into the second prediction sub-network, and the inlet steam temperature information, heating time information and target area information in the second vector to be predicted are perceived and identified by the second prediction sub-network, and multi-scale local feature extraction is performed on the temperature information along with the heating time and the steam propagation distance and direction, so as to extract the temperature change characteristics of the target area based on the inlet steam temperature during the heating time, and obtain the second prediction vector.

[0046] Step S305: outputting a predicted value of the food surface temperature according to the second prediction vector.

[0047] In a specific embodiment, step S305 includes: performing a weight operation on the second prediction vector according to the spatial proportion of the surface of the food to be tested occupying the target area to obtain a weight operation result, and determining a predicted value of the food surface temperature according to the weight operation result.

[0048] Specifically, according to the temperature distribution of the steamer cavity during heating, the steamer cavity is divided into areas in advance, and then the placement position of the food to be tested is determined, and the area where the food to be tested is located is determined, that is, the corresponding target area and the number of target areas are determined, each target area corresponds to a second prediction vector, and the spatial proportion of the surface of the food to be tested in each target area is determined (for example, through image acquisition and image recognition operations or determined by measurement and calculation using a ranging device). According to the spatial proportion of the surface of the food to be tested in the target area, the second prediction vector is weighted to obtain a weighted result. The weighted result represents the use of the temperatures of each local surface of the food to be tested to determine the overall surface temperature of the food to be tested. According to the weighted result, the predicted value of the food surface temperature can be determined.

[0049] In step S301 to step S305, the inlet steam temperature and the heating time are first encoded according to a preset encoding rule to obtain a first vector to be predicted containing the inlet steam temperature information and the heating time information, and then the first vector to be predicted is input into a first prediction sub-network to obtain a first prediction vector containing the temperature change characteristics of the inlet steam temperature within the heating time, and then the first prediction vector and the target area information are encoded according to the preset encoding rule to obtain a second vector to be predicted containing the information of the first prediction vector and the target area information, and the second vector to be predicted is input into a second prediction sub-network to obtain a second prediction vector containing the temperature change characteristics of the target area based on the inlet steam temperature within the heating time, thereby determining the food surface temperature prediction value of the food to be tested in the target area under the current heating time.

[0050] See also Figure 4In a specific embodiment, the first prediction subnetwork includes a first feature mapping layer, a first convolutional layer and a first fully connected layer. Step S302 may specifically include but is not limited to steps S401 to S403. Figure 4 These three steps are introduced in detail.

[0051] Step S401: input a first vector to be predicted into a first feature mapping layer, map the first vector to be predicted into a vector with a higher dimension, and obtain a first intermediate vector.

[0052] The first feature mapping layer is a multi-layer perceptron network structure, and the first feature mapping layer obtains high-dimensional features in the first vector to be predicted by performing iterative global feature extraction on the first vector to be predicted.

[0053] Specifically, in the first feature mapping layer, the output vector of the previous layer of multi-layer perceptron is iteratively used as input based on the attention mechanism to generate the output vector of the next layer of multi-layer perceptron, so as to map the first vector to be predicted into a vector with a higher dimension. Finally, the first feature mapping layer outputs a first intermediate vector containing high-dimensional features in the first vector to be predicted.

[0054] Step S402: input the first intermediate vector into the first convolution layer, extract the temperature variation characteristics of the inlet steam temperature during the heating time through continuous convolution operations, and obtain the second intermediate vector.

[0055] The first convolutional layer is a layered structure composed of several convolutional units. The first convolutional layer extracts the temperature change characteristics of the inlet steam temperature during the heating time through multi-scale continuous convolution operations.

[0056] Specifically, in the first convolution layer, each convolution unit of the first convolution layer uses convolution kernels of different scales to perform multi-scale continuous convolution operations on the first intermediate vector to extract multi-scale temperature change characteristics of the inlet steam temperature during the heating time, that is, the temperature change information of the inlet steam temperature during the heating time before reaching the current inlet steam temperature. Finally, the first convolution layer outputs a second intermediate vector containing the temperature change characteristics of the inlet steam temperature during the heating time.

[0057] Step S403: input the second intermediate vector into the first fully connected layer, perform a fully connected operation on the second intermediate vector, and obtain a first prediction vector.

[0058] The first fully connected layer is a fully connected neural network structure, which reduces the dimension of the second intermediate vector and maps it into the first prediction vector through a fully connected operation.

[0059] In step S401 to step S403, the first vector to be predicted is first input into the first feature mapping layer, and the high-dimensional features of the first vector to be predicted are learned through the first feature mapping layer to obtain a first intermediate vector containing the high-dimensional features of the first vector to be predicted. The first feature mapping layer then inputs the first intermediate vector into the first convolutional layer, and the temperature change features of the inlet steam temperature within the heating time in the first intermediate vector are learned through the first convolutional layer to obtain a second intermediate vector containing the temperature change features of the inlet steam temperature within the heating time. The first convolutional layer then inputs the second intermediate vector into the first fully connected layer, and the temperature change features in the second intermediate vector are reduced in dimension through the first fully connected layer to obtain a first prediction vector.

[0060] See also Figure 5 In a specific embodiment, the second prediction subnetwork includes a second feature mapping layer, a second convolutional layer, and a second fully connected layer. Step S304 may specifically include but is not limited to steps S501 to S503. Figure 5 These three steps are introduced in detail.

[0061] Step S501: input a second vector to be predicted into a second feature mapping layer, map the second vector to be predicted into a vector with a higher dimension, and obtain a third intermediate vector.

[0062] The second feature mapping layer is a multi-layer perceptron network structure, and the second feature mapping layer obtains high-dimensional features in the second vector to be predicted by performing iterative global feature extraction on the second vector to be predicted.

[0063] Specifically, in the second feature mapping layer, the output vector of the previous layer of multilayer perceptron is iteratively used as input based on the attention mechanism to generate the output vector of the next layer of multilayer perceptron, so as to map the second vector to be predicted into a vector with a higher dimension. Finally, the second feature mapping layer outputs a third intermediate vector containing the high-dimensional features in the second vector to be predicted.

[0064] Step S502: input the third intermediate vector into the second convolution layer, extract the temperature change characteristics of the target area based on the inlet steam temperature during the heating time through continuous convolution operations, and obtain a fourth intermediate vector.

[0065] The second convolutional layer is a layered structure composed of several convolutional units. The second convolutional layer extracts the temperature change characteristics of the target area based on the inlet steam temperature during the heating time through multi-scale continuous convolution operations.

[0066] Specifically, in the second convolutional layer, each convolution unit of the second convolutional layer uses convolution kernels of different scales to perform multi-scale continuous convolution operations on the third intermediate vector to extract multi-scale temperature change characteristics of the target area based on the inlet steam temperature during the heating time, that is, temperature change information of the target area when steam is heated by steam inlet during the heating time. Finally, the second convolutional layer outputs a fourth intermediate vector containing the temperature change characteristics of the target area based on the inlet steam temperature during the heating time.

[0067] Step S503: input the fourth intermediate vector into the second fully connected layer, perform a fully connected operation on the fourth intermediate vector, and obtain a second prediction vector.

[0068] The second fully connected layer is a fully connected neural network structure, which reduces the dimension of the fourth intermediate vector and maps it into a second prediction vector through a fully connected operation.

[0069] In step S501 to step S503, the second vector to be predicted is first input into the second feature mapping layer, and the high-dimensional features of the second vector to be predicted are learned through the second feature mapping layer to obtain a third intermediate vector containing the high-dimensional features of the second vector to be predicted. The second feature mapping layer then inputs the third intermediate vector into the second convolutional layer, and the temperature change features of the target area based on the inlet steam temperature during the heating time in the third intermediate vector are learned through the second convolutional layer to obtain a fourth intermediate vector containing the temperature change features of the target area based on the inlet steam temperature during the heating time. The second convolutional layer then inputs the fourth intermediate vector into the second fully connected layer, and the temperature change features in the fourth intermediate vector are reduced in dimension through the second fully connected layer to obtain a second prediction vector.

[0070] Step S103, inputting the heating time, target parameters and the predicted value of the food surface temperature into the heat conduction model, predicting the internal temperature of the food to be tested, and obtaining the predicted value of the internal temperature of the food.

[0071] In a specific embodiment, the expression of the heat conduction model is:

[0072] Where T(t) is the predicted value of the internal temperature of the food, T1 is the initial temperature of the food to be tested, T2 is the predicted value of the surface temperature of the food, e is a natural constant, x is the thermal conductivity of the food to be tested, y is the weight of the food to be tested, t is the heating time, t∈[0, t n ], t n is the threshold duration.

[0073] See also Figure 6 The present application also provides a device for predicting the internal temperature of food, which can implement the above-mentioned method for predicting the internal temperature of food. The device includes: The first module 601 is used to obtain the inlet steam temperature, the target area, the heating time and the target parameters; the inlet steam temperature is the steam temperature at the steam inlet, the target area is the area where the surface of the food to be tested is located in the steam box cavity, and the target parameters include the initial temperature, thermal conductivity and weight of the food to be tested; The second module 602 is used to input the inlet steam temperature, heating time and target area into the temperature prediction network, predict the surface temperature of the food to be tested, and obtain the predicted value of the food surface temperature; the temperature prediction network is trained based on the historical inlet steam temperature, historical heating time, historical target area and historical food surface temperature measured values; The third module 603 is used to input the heating time, target parameters and the predicted value of the food surface temperature into the heat conduction model, predict the internal temperature of the food to be tested, and obtain the predicted value of the food internal temperature.

[0074] The specific implementation of the food internal temperature prediction device is basically the same as the specific implementation of the above-mentioned food internal temperature prediction method, and will not be repeated here.

[0075] Figure 7 It is a block diagram of an electronic device according to an exemplary embodiment.

[0076] Refer to the following Figure 7 An electronic device 700 according to this embodiment of the present disclosure is described. Figure 7 The electronic device 700 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0077] like Figure 7 As shown, the electronic device 700 is in the form of a general computing device. The components of the electronic device 700 may include, but are not limited to: at least one processing unit 710, at least one storage unit 720, a bus 730 connecting different system components (including the storage unit 720 and the processing unit 710), a display unit 740, etc.

[0078] The storage unit stores program codes, which can be executed by the processing unit 710, so that the processing unit 710 executes the steps according to various exemplary embodiments of the present disclosure described in the above-mentioned food internal temperature prediction method part of this specification.

[0079] The storage unit 720 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 7201 and / or a cache storage unit 7202 , and may further include a read-only storage unit (ROM) 7203 .

[0080] The storage unit 720 may also include a program / utility 7204 having a set (at least one) of program modules 7205, such program modules 7205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0081] Bus 730 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0082] The electronic device 700 may also communicate with one or more external devices 700' (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 700, and / or communicate with any device that enables the electronic device 700 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 750. Furthermore, the electronic device 700 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 760. The network adapter 760 may communicate with other modules of the electronic device 700 via a bus 730. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 700, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0083] An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the above-mentioned method for predicting the internal temperature of food is implemented.

[0084] The food internal temperature prediction method, device, equipment and storage medium provided in the embodiment of the present application predict the surface temperature of the food to be tested by using a pre-trained temperature prediction network based on the inlet steam temperature, heating time and the area where the surface of the food to be tested is located in the steamer cavity, and then the heating time, the initial temperature, thermal conductivity and weight of the food to be tested and the predicted food surface temperature prediction value are input into the heat conduction model to predict the internal temperature of the food to be tested and obtain the food internal temperature prediction value. Since the surface temperature of the food to be tested is predicted based on the inlet steam temperature, heating time and the area where the surface of the food to be tested is located in the steamer cavity without contacting the food to be tested, and the change factor of the inlet steam temperature during the heating time and the temperature difference factor of the area where the food to be tested is located are considered, the surface temperature of the food to be tested can be obtained more accurately, so as to calculate the internal temperature of the food to be tested based on the food surface temperature prediction value and related parameters, which can improve the temperature detection accuracy and avoid direct contact with the food to cause safety problems.

[0085] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, or a network device, etc.) to execute the above method according to the implementation of the present disclosure.

[0086] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0087] Computer readable storage media may include data signals propagated in baseband or as part of a carrier wave, wherein readable program codes are carried. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The readable storage medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, device, or device. The program codes contained on the readable storage medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination thereof.

[0088] Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0089] Those skilled in the art will appreciate that the above modules can be distributed in the device according to the description of the embodiment, or can be changed accordingly and only used in one or more devices different from the embodiment. The modules of the above embodiments can be combined into one module, or further divided into multiple sub-modules.

[0090] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the embodiment of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the embodiment of the present disclosure.

[0091] The exemplary embodiments of the present disclosure are specifically shown and described above. It should be understood that the present disclosure is not limited to the detailed structures, configurations or implementations described herein; on the contrary, the present disclosure is intended to cover various modifications and equivalent configurations included in the spirit and scope of the appended claims.

Claims

1. A method for predicting internal temperature of food, It is characterized in that include: Obtaining the inlet steam temperature, target area, heating time and target parameters; the inlet steam temperature is the steam temperature at the steam inlet, the target area is the area where the surface of the food to be tested is located in the steamer cavity, and the target parameters include the initial temperature, thermal conductivity and weight of the food to be tested; The inlet steam temperature, the heating time and the target area are input into a temperature prediction network to predict the surface temperature of the food to be tested to obtain a predicted value of the food surface temperature; the temperature prediction network is trained based on historical inlet steam temperature, historical heating time, historical target area and historical food surface temperature measured values; The heating time, the target parameter and the predicted value of the food surface temperature are input into a heat conduction model, and the internal temperature of the food to be tested is predicted to obtain a predicted value of the food internal temperature.

2. The method for predicting the internal temperature of food according to claim 1, It is characterized in that The neural network prediction model is trained in the following way: Acquire multiple groups of training sets; the training sets include four groups of training subsets consisting of the historical inlet steam temperature, the historical heating duration, and the historical target area, the first group of training subsets and the second group of training subsets differ only in the historical inlet steam temperature, the first group of training subsets and the third group of training subsets differ only in the historical heating duration, and the first group of training subsets and the fourth group of training subsets differ only in the historical target area; Confirming the historical food surface temperature measured values ​​corresponding to each of the training subsets; The training set and the corresponding historical food surface temperature measured values ​​are used to train a preset deep neural network to obtain the temperature prediction network.

3. The method for predicting the internal temperature of food according to claim 1, It is characterized in that The temperature prediction network includes a first prediction subnetwork and a second prediction subnetwork. The inlet steam temperature, the heating time and the target area are input into the temperature prediction network to predict the surface temperature of the food to be tested, and obtain a predicted value of the food surface temperature, including: Encoding the inlet steam temperature and the heating duration to obtain a first vector to be predicted; Inputting the first vector to be predicted into the first prediction subnetwork, extracting the temperature variation characteristics of the inlet steam temperature within the heating time, and obtaining a first prediction vector; Encoding the first prediction vector and the target area to obtain a second vector to be predicted; Inputting the second vector to be predicted into the second prediction subnetwork, extracting the temperature change characteristics of the target area based on the inlet steam temperature during the heating time, and obtaining a second prediction vector; The food surface temperature prediction value is output according to the second prediction vector.

4. The method for predicting the internal temperature of food according to claim 3, It is characterized in that The first prediction subnetwork includes a first feature mapping layer, a first convolutional layer, and a first fully connected layer. The first vector to be predicted is input into the first prediction subnetwork, and the temperature variation characteristics of the inlet steam temperature within the heating time are extracted to obtain a first prediction vector, including: Inputting the first vector to be predicted into the first feature mapping layer, mapping the first vector to be predicted into a vector with a higher dimension, and obtaining a first intermediate vector; Inputting the first intermediate vector into the first convolution layer, extracting the temperature variation characteristics of the inlet steam temperature within the heating time through continuous convolution operations, and obtaining a second intermediate vector; The second intermediate vector is input into the first fully connected layer, and a fully connected operation is performed on the second intermediate vector to obtain the first prediction vector.

5. The method for predicting the internal temperature of food according to claim 3, It is characterized in that The second prediction subnetwork includes a second feature mapping layer, a second convolutional layer, and a second fully connected layer. The second vector to be predicted is input into the second prediction subnetwork, and the temperature change characteristics of the target area based on the inlet steam temperature during the heating time are extracted to obtain a second prediction vector, including: Inputting the second vector to be predicted into the second feature mapping layer, mapping the second vector to be predicted into a vector with a higher dimension, and obtaining a third intermediate vector; Inputting the third intermediate vector into the second convolution layer, extracting the temperature change characteristics of the target area based on the inlet steam temperature during the heating time through continuous convolution operations, and obtaining a fourth intermediate vector; The fourth intermediate vector is input into the second fully connected layer, and a fully connected operation is performed on the fourth intermediate vector to obtain the second prediction vector.

6. The method for predicting the internal temperature of food according to claim 3, It is characterized in that Outputting the food surface temperature prediction value according to the second prediction vector includes: According to the spatial ratio of the surface of the food to be tested to the target area, performing a weight operation on the second prediction vector to obtain a weight operation result; The food surface temperature prediction value is determined according to the weight calculation result.

7. The method for predicting the internal temperature of food according to claim 1, It is characterized in that The expression of the heat conduction model is: Where T(t) is the predicted value of the internal temperature of the food, T 1 is the initial temperature of the food to be tested, T 2 is the predicted value of food surface temperature, e is a natural constant, x is the thermal conductivity of the food to be tested, y is the weight of the food to be tested, t is the heating time, t∈[0, t n ], t n is the threshold duration.

8. A device for predicting the internal temperature of food, It is characterized in that include: The first module is used to obtain the inlet steam temperature, target area, heating time and target parameters; the inlet steam temperature is the steam temperature at the steam inlet, the target area is the area where the surface of the food to be tested is located in the steamer cavity, and the target parameters include the initial temperature, thermal conductivity and weight of the food to be tested; The second module is used to input the inlet steam temperature, the heating time and the target area into a temperature prediction network, predict the surface temperature of the food to be tested, and obtain a predicted value of the food surface temperature; the temperature prediction network is trained based on historical inlet steam temperature, historical heating time, historical target area and historical food surface temperature measured values; The third module is used to input the heating time, the target parameter and the predicted value of the food surface temperature into a heat conduction model, predict the internal temperature of the food to be tested, and obtain the predicted value of the food internal temperature.

9. An electronic device, It is characterized in that The electronic device comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the method for predicting the internal temperature of food according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium storing a computer program. It is characterized in that When the computer program is executed by a processor, the method for predicting the internal temperature of food according to any one of claims 1 to 7 is implemented.