A method, device and storage medium for determining food sterilization time

By obtaining the image information of food and purchasing itinerary information, the actual sterilization time of food is calculated, and the problem of the inability to personalize the food sterilization time in the prior art is solved, and a healthier food sterilization effect is achieved.

CN114676542BActive Publication Date: 2025-04-08SHENZHEN TCL NEW-TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011556359.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-24
Publication Date
2025-04-08
Estimated Expiration
2040-12-24

AI Technical Summary

Technical Problem

In the prior art, it is impossible to effectively formulate a reasonable sterilization time for food in different situations in a personalized manner, resulting in a fixed sterilization time that cannot meet users' needs for sterilization of food in different situations.

Method used

By obtaining image information of the food to be sterilized, the corresponding purchase itinerary information is determined, and the actual sterilization time of the food is calculated based on the residence time information of each itinerary node in the purchase itinerary information.

Benefits of technology

The personalized sterilization time determination of foods in different situations is achieved, so that users can eat healthier foods, and the problem of the existing technology that cannot meet the food sterilization needs in different situations is solved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114676542B_ABST
    Figure CN114676542B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, device and storage medium for determining the sterilization time of food, which obtains image information of food to be sterilized, determines the purchase itinerary information corresponding to the food to be sterilized according to the image information of the food to be sterilized; determines the stay time information of each itinerary node in the purchase itinerary information according to the purchase itinerary information; and determines the actual sterilization time of the food to be sterilized according to the stay time information. The present invention regards the food newly placed in the food storage space as the food to be sterilized, and formulates a reasonable sterilization time for it according to the purchase itinerary information of the sterilization time, which solves the problem in the prior art that it is impossible to effectively formulate a reasonable sterilization time for food in different situations in an individualized manner, so that users can eat healthier food.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent food storage equipment, and in particular to a method for determining food sterilization time and a storage medium. Background Art

[0002] In the prior art, in order to clean the refrigerator, an ultraviolet sterilization module such as an ultraviolet lamp is usually installed at an appropriate position in the refrigerator, and the purpose of cleaning the bacteria in the refrigerator is achieved by manually turning on the ultraviolet sterilization module. However, in the existing ultraviolet sterilization method, the sterilization time is relatively fixed, that is, the working time of the ultraviolet sterilization module cannot be changed once it is turned on. However, the fixed sterilization time cannot effectively sterilize food in different situations. For example, if food that needs to be refrigerated is stored outside for a long time, a lot of bacteria will be generated. It may take a longer sterilization time to kill the bacteria attached to the food. Therefore, the fixed food sterilization time may not meet the user's needs for sterilizing food in different situations.

[0003] Therefore, the existing technology still needs to be improved and developed. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a method, terminal and storage medium for determining the sterilization time of food in view of the above-mentioned defects of the prior art, aiming to solve the problem in the prior art that it is impossible to effectively and individually formulate a reasonable sterilization time for food in different situations.

[0005] The technical solution adopted by the present invention to solve the problem is as follows:

[0006] In a first aspect, an embodiment of the present invention provides a method for determining a food sterilization time, wherein the method comprises:

[0007] Acquire image information of the food to be sterilized, and determine purchase itinerary information corresponding to the food to be sterilized according to the image information of the food to be sterilized;

[0008] Determine the stay time information of each itinerary node in the purchased itinerary information according to the purchased itinerary information;

[0009] The actual sterilization time of the food to be sterilized is determined according to the residence time information.

[0010] In one embodiment, the acquiring image information of the food to be sterilized, and determining the purchase itinerary information corresponding to the food to be sterilized according to the image information of the food to be sterilized includes:

[0011] Acquire the opening and closing state data of the food storage space, and when the opening and closing state data of the food storage space is in an open state, acquire the image information of the newly added food in the food storage space, and use the image information of the newly added food as the image information of the food to be sterilized;

[0012] Performing image analysis on the image information of the food to be sterilized, and determining the name information of the food to be sterilized according to the image analysis result;

[0013] Querying the purchase record corresponding to the food to be sterilized according to the name information of the food to be sterilized;

[0014] The location path information of the user corresponding to the purchase record is queried according to the purchase record, and the queried location path information is used as the purchase itinerary information corresponding to the food to be sterilized.

[0015] In one implementation, determining the stay time information of each itinerary node in the purchased itinerary information according to the purchased itinerary information includes:

[0016] According to the purchased itinerary information, obtaining the location information of the itinerary nodes of the user;

[0017] The stay time information of each itinerary node in the purchased itinerary information is obtained according to the location information of the itinerary node and the itinerary node timer.

[0018] In one embodiment, determining the actual sterilization time of the food to be sterilized according to the residence time information includes:

[0019] Divide all the travel nodes into first nodes and second nodes according to the stay time information;

[0020] Obtaining the total number of the first nodes and the total number of the second nodes;

[0021] Determine the cumulative sterilization time of the first nodes and the cumulative sterilization time of the second nodes according to the total number of the first nodes and the total number of the second nodes respectively;

[0022] The actual sterilization time of the food is determined according to the cumulative sterilization time of the first node and the cumulative sterilization time of the second node.

[0023] In one implementation, dividing all the travel nodes into first nodes and second nodes according to the stay time information includes:

[0024] Obtaining the dwell time of each trip node according to the dwell time information;

[0025] Obtaining a first duration threshold and a second duration threshold;

[0026] According to the stay duration of the travel node, the first duration threshold, and the second duration threshold, all travel nodes are classified to obtain first nodes and second nodes.

[0027] In one implementation, classifying all itinerary nodes to obtain first nodes and second nodes according to the stay duration of the itinerary nodes, the first duration threshold, and the second duration threshold includes:

[0028] Compare the stay duration of the itinerary node with a first duration threshold, and when the stay duration of the itinerary node is greater than the first duration threshold, take the itinerary node as the first node;

[0029] When the stay duration of the itinerary node is less than or equal to the first duration threshold, the stay duration of the itinerary node is compared with a second duration threshold; when the stay duration of the itinerary node is greater than the second duration threshold, the itinerary node is used as a second node.

[0030] In one embodiment, determining the cumulative sterilization time of the first node and the cumulative sterilization time of the second node according to the total number of the first nodes and the total number of the second nodes respectively includes:

[0031] Obtain a preset first node quantity threshold;

[0032] Determine the accumulated sterilization time of the first nodes based on the total number of the first nodes and the first node number threshold;

[0033] Obtaining a preset second node quantity threshold;

[0034] The accumulated sterilization duration of the second nodes is determined based on the total number of the second nodes and a threshold value of the number of the second nodes.

[0035] In one embodiment, determining the cumulative sterilization duration of the first node based on the total number of the first nodes and the first node number threshold comprises:

[0036] comparing the total number of the first nodes with a threshold value of the number of the first nodes;

[0037] When the total number of the first nodes is greater than the first node number threshold, the first sterilization duration is used as the accumulated sterilization duration of the first nodes;

[0038] When the total number of the first nodes is less than or equal to the first node number threshold, a second sterilization duration obtained by multiplying the total number of the first nodes by the first duration is used as the accumulated sterilization duration of the first nodes.

[0039] In one embodiment, determining the cumulative sterilization duration of the second nodes based on the total number of the second nodes and the second node number threshold comprises:

[0040] comparing the total number of the second nodes with a second node number threshold;

[0041] When the total number of the second nodes is greater than the second node number threshold, the third sterilization time is used as the accumulated sterilization time of the second nodes;

[0042] When the total number of the second nodes is less than or equal to the second node number threshold, a fourth sterilization duration obtained by multiplying the total number of the second nodes by the second duration is used as the accumulated sterilization duration of the second nodes.

[0043] In one embodiment, determining the actual sterilization time of the food according to the cumulative sterilization time of the first node and the cumulative sterilization time of the second node includes:

[0044] The sum of the cumulative sterilization time of the first node and the cumulative sterilization time of the second node is taken as the total cumulative sterilization time;

[0045] Comparing the total accumulated sterilization time with a preset time threshold;

[0046] When the total cumulative sterilization time is less than the preset time threshold, the total number of the first nodes and the total number of the second nodes are added to obtain the total number of valid nodes;

[0047] A threshold value of the number of valid nodes is obtained, and the actual sterilization time of food is determined according to the total number of valid nodes and the threshold value of the number of valid nodes.

[0048] In one embodiment, obtaining the threshold value of the number of valid nodes and determining the actual sterilization time of food according to the total number of valid nodes and the threshold value of the number of valid nodes includes:

[0049] Obtaining a threshold value of the number of valid nodes, and comparing the total number of valid nodes with the threshold value of the number of valid nodes;

[0050] When the total number of valid nodes is greater than the valid node number threshold, the total cumulative sterilization time is replaced by a preset cumulative sterilization time to obtain the actual sterilization time of the food;

[0051] When the total number of valid nodes is less than or equal to the valid node number threshold, the total accumulated sterilization time is used as the actual sterilization time of the food.

[0052] In one embodiment, the method further comprises:

[0053] Performing image analysis on the image information of the food to be sterilized;

[0054] Obtaining attribute information of the food to be sterilized based on the image information of the food to be sterilized according to the result of the image analysis, and determining a standard food sterilization time based on the attribute information;

[0055] The standard food sterilization time and the actual food sterilization time are recommended to the user in a preset priority order.

[0056] In a second aspect, an embodiment of the present invention further provides a device for determining food sterilization time, wherein the device comprises:

[0057] A purchase itinerary determining module, used to obtain image information of the food to be sterilized, and determine the purchase itinerary information corresponding to the food to be sterilized according to the image information of the food to be sterilized;

[0058] A stay time determination module, configured to determine the stay time information of each itinerary node in the purchased itinerary information according to the purchased itinerary information;

[0059] The sterilization time generation module is used to determine the actual sterilization time of the food to be sterilized according to the residence time information.

[0060] In a third aspect, an embodiment of the present invention further provides a computer-readable storage medium on which a plurality of instructions are stored, wherein the instructions are suitable for being loaded and executed by a processor to implement the steps of a method for determining the food sterilization time as described in any one of the above items.

[0061] Beneficial effects of the present invention: The embodiment of the present invention obtains image information of the food to be sterilized, determines the purchase itinerary information corresponding to the food to be sterilized according to the image information of the food to be sterilized; determines the stay time information of each itinerary node in the purchase itinerary information according to the purchase itinerary information; and determines the actual sterilization time of the food to be sterilized according to the stay time information. The present invention regards the food newly placed in the food storage space as the food to be sterilized, and formulates a reasonable sterilization time for it according to the purchase itinerary information of the sterilization time, which solves the problem in the prior art that it is impossible to effectively formulate a reasonable sterilization time for food in different situations in an individualized manner, so that users can eat healthier food. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0063] Figure 1 It is a flow chart of a method for determining food sterilization time provided in an embodiment of the present invention.

[0064] Figure 2 It is a schematic diagram of a process for determining purchase itinerary information provided by an embodiment of the present invention.

[0065] Figure 3 It is a schematic diagram of a flow chart of determining the stay time information of each travel node provided by an embodiment of the present invention.

[0066] Figure 4 It is a schematic diagram of a process for determining the actual sterilization time of food provided by an embodiment of the present invention.

[0067] Figure 5 This is a connection diagram of internal modules of a device for determining food sterilization time provided by an embodiment of the present invention.

[0068] Figure 6 It is a principle block diagram of a terminal provided by an embodiment of the present invention. DETAILED DESCRIPTION

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

[0070] It should be noted that if the embodiments of the present invention involve directional indications (such as up, down, left, right, front, back, etc.), the directional indications are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0071] If the refrigerator at home is not cleaned for a long time, or the cleaning method is incorrect, there will be an unpleasant smell. This is actually because the bacteria in the refrigerator are causing trouble. Studies have shown that some bacteria have strong adaptability. Although the low temperature environment in the refrigerator can inhibit the growth of normal temperature bacteria, for some low temperature bacteria, the low temperature environment of 0-10 degrees Celsius in the refrigerator is still a hotbed for their growth and reproduction. These bacteria will produce many metabolic gases during their growth and metabolism, such as methane, hydrogen sulfide, methyl mercaptan, methylamine and other stinking gases. A variety of stinking gases mixed together will make your refrigerator produce an unpleasant odor. The most common "psychrophilic bacteria" in the refrigerator are Yersinia and Listeria, which can cause a variety of diseases and endanger human health. In addition, we use refrigerators very frequently in our daily lives. We place a variety of foods every day. Different foods will definitely have different tastes, and meat is also easy to smell. Therefore, we must not only use refrigerators, but also learn how to clean refrigerators. In the prior art, in order to clean refrigerators, ultraviolet sterilization modules such as ultraviolet lamps are usually installed in appropriate positions in the refrigerator, and the purpose of cleaning bacteria in the refrigerator is achieved by manually turning on the ultraviolet sterilization module. However, the existing ultraviolet sterilization method has a relatively fixed sterilization time, that is, the working time of the ultraviolet sterilization module cannot be changed. However, the fixed sterilization time cannot effectively sterilize food in different situations. For example, if food that needs to be refrigerated is stored outside for a long time, a lot of bacteria will be generated. It may take a longer sterilization time to kill the bacteria attached to the food. Therefore, the fixed food sterilization time may not meet the user's needs for sterilizing food in different situations.

[0072] Based on the above-mentioned defects of the prior art, the present invention provides a method for determining the sterilization time of food. In simple terms, since most fresh foods in supermarkets basically need to be refrigerated to keep fresh, bacteria may grow once they leave the fresh-keeping environment, and the longer the time from when the food leaves the fresh-keeping environment to when it is put back in the refrigerator, the more bacteria may grow on the food. Therefore, for foods that leave the fresh-keeping environment, it is more reasonable to set different sterilization times according to the time they leave the fresh-keeping environment. In real life, the time from when the food leaves the fresh-keeping environment to when it is put back in the refrigerator basically coincides with the time it takes for the user to go home from the place where the food is purchased. Therefore, when the present invention detects that the user has purchased new food, that is, obtains the location path information of the user from the place where the new food is purchased to the home, determines the time the food has left the fresh-keeping environment based on this location path information, and then determines a reasonable food sterilization time and recommends it to the user, so that the user can eat healthier food.

[0073] like Figure 1 As shown, this embodiment provides a method for determining the food sterilization time, the method comprising the following steps:

[0074] Step S100: Acquire image information of food to be sterilized, and determine purchase itinerary information corresponding to the food to be sterilized according to the image information of the food to be sterilized.

[0075] Specifically, in this embodiment, the food newly placed in the food storage space is regarded as the food that needs to be sterilized, i.e., the food to be sterilized. In one implementation, the food storage space can be a common refrigerator. In order to determine the length of time that the food has been away from the fresh-keeping environment, and then determine how long it needs to be sterilized, it is necessary to determine its corresponding purchase itinerary information. Specifically, the image information of the food to be sterilized is first obtained, and then the corresponding purchase itinerary information is determined according to the image information of the food to be sterilized.

[0076] In one implementation, Figure 2 As shown, the step S100 specifically includes the following steps:

[0077] Step S210, obtaining the opening and closing state data of the food storage space, and when the opening and closing state data of the food storage space is in the open state, obtaining the image information of the newly added food in the food storage space, and using the image information of the newly added food as the image information of the food to be sterilized;

[0078] Step S220: performing image analysis on the image information of the food to be sterilized, and determining the name information of the food to be sterilized according to the image analysis result;

[0079] Step S230: querying the purchase record corresponding to the food to be sterilized according to the name information of the food to be sterilized;

[0080] Step S240: query the location path information of the user corresponding to the purchase record according to the purchase record, and use the queried location path information as the purchase itinerary information corresponding to the food to be sterilized.

[0081] Specifically, in order to determine whether there is new food put into the refrigerator, and then obtain the image information of the new food put into the refrigerator (i.e., the image information of the food to be sterilized), this embodiment obtains the opening and closing state data of the food storage space, and when the opening and closing state data of the food storage space is in the open state, obtains the image information of the newly added food in the food storage space, and uses the image information of the newly added food as the image information of the food to be sterilized. Then, the purchase record corresponding to the food to be sterilized is queried according to the name information of the food to be sterilized. For example, mobile phone payment has been widely popularized, so the purchase record corresponding to the food to be sterilized can be obtained by querying the payment record of the user's mobile terminal. Then, the location path information of the user corresponding to the purchase record is queried according to the purchase record, and the queried location path information is used as the purchase itinerary information corresponding to the food to be sterilized. Afterwards, the location path information of the user corresponding to the purchase record is queried according to the purchase record, and the queried location path information is used as the purchase itinerary information corresponding to the food to be sterilized. For example, most mobile terminals currently implement integrated GPS positioning technology to obtain the location information of mobile phones, and combine with geographic information management system (GIS) to realize positioning and navigation functions. Therefore, the location path information corresponding to when the user purchases the food to be sterilized can be obtained through the GPS system in the user's mobile terminal, and the obtained location path information can be used as the purchase itinerary information corresponding to the food to be sterilized.

[0082] After obtaining the purchase itinerary information corresponding to the food to be sterilized, Figure 1 As shown, the method further comprises the following steps:

[0083] Step S200: Determine the stay time information of each itinerary node in the purchased itinerary information according to the purchased itinerary information.

[0084] Specifically, the main purpose of obtaining the purchase itinerary information in this embodiment is to determine the length of time that the food newly placed in the refrigerator by the user stays outside, and then determine how long it needs to be sterilized and disinfected. Therefore, Xu Ya determines where the users stay and how long they stay after purchasing the food based on the purchase itinerary information. These staying places are the itinerary nodes in the purchase itinerary information. Subsequently, the stay time information of each itinerary node in the purchase itinerary information is used as the basic data for determining the length of time the food stays outside, and the sterilization time of the food is finally determined based on these basic data.

[0085] In one implementation, Figure 3 As shown, the step S200 specifically includes the following steps:

[0086] Step S210: acquiring the location information of the user's itinerary nodes according to the purchased itinerary information;

[0087] Step S220: Acquire the stay time information of each itinerary node in the purchased itinerary information according to the location information of the itinerary node and the itinerary node timer.

[0088] Specifically, first, the location information of the user's itinerary node is obtained according to the purchased itinerary information. In order to obtain the duration of stay at each itinerary node, this embodiment pre-sets a itinerary node timer in the terminal. When the terminal detects that the user stops moving, the itinerary node is started and the timing is started, thereby obtaining the stay time information of each itinerary node in the purchased itinerary information.

[0089] In order to finally determine the food sterilization time of the food to be sterilized, Figure 1 As shown, the method further comprises the following steps:

[0090] Step S300: determining the actual sterilization time of the food to be sterilized according to the residence time information.

[0091] Specifically, this embodiment can obtain the time it takes for the food to be sterilized to travel from the food purchase location to the home based on the stay time information of each travel node, and then obtain the time it takes for the food to be sterilized to leave the fresh-keeping environment, and finally determine the actual sterilization time of the food to be sterilized.

[0092] In one implementation, Figure 4 As shown, the step S300 specifically includes the following steps:

[0093] Step S310, dividing all the travel nodes into first nodes and second nodes according to the stay time information;

[0094] Step S320: Obtain the total number of the first nodes and the total number of the second nodes;

[0095] Step S330, determining the cumulative sterilization time of the first nodes and the cumulative sterilization time of the second nodes respectively according to the total number of the first nodes and the total number of the second nodes;

[0096] Step S340: determine the actual sterilization time of the food according to the cumulative sterilization time of the first node and the cumulative sterilization time of the second node.

[0097] Since excessive interpretation and calculation of the stay time information of each itinerary node will consume a lot of computer resources, this embodiment mainly analyzes the stay time information of each itinerary node by classification calculation and calculates the actual sterilization time of the food. Specifically, this embodiment first classifies all itinerary nodes and divides all itinerary nodes into first nodes and second nodes according to the stay time information.

[0098] In one implementation, the dwell time of each itinerary node can be obtained according to the dwell time information, and then the first duration threshold and the second duration threshold are obtained. According to the dwell time of the itinerary node, the first duration threshold and the second duration threshold, all itinerary nodes are classified to obtain the first node and the second node. Specifically, the dwell time of the user at each itinerary node is closely related to the total time that the food to be sterilized leaves the fresh-keeping environment. The longer the dwell time, the longer the time that the food to be sterilized leaves the fresh-keeping environment. Since the time that the food to be sterilized leaves the fresh-keeping environment is in direct proportion to the actual sterilization time of the food determined in the end in this embodiment, the longer the dwell time of the itinerary node, the higher the contribution of the itinerary node to the actual sterilization time of the food, and the shorter the dwell time of the itinerary node, the lower the contribution of the itinerary node to the actual sterilization time of the food or it can be ignored. It can be seen that the contribution of each itinerary node to the actual sterilization time of the food is different. In this embodiment, all itinerary nodes are classified according to the dwell time of each itinerary node, so that the time that the newly added food leaves the fresh-keeping environment can be determined more accurately, and then a more reasonable actual sterilization time of the food can be obtained.

[0099] In one implementation, the duration of the stay at the itinerary node may be compared with a first duration threshold. When the duration of the stay at the itinerary node is greater than the first duration threshold, it indicates that the user has stayed at the itinerary node for a long time, and thus the itinerary node is taken as the first node. When the duration of the stay at the itinerary node is less than or equal to the first duration threshold, it indicates that the user has not stayed at the itinerary node for a long time, and it is necessary to further determine whether the user has effectively stayed at the itinerary node. Therefore, it is necessary to compare the duration of the stay at the itinerary node with a second duration threshold. When the duration of the stay at the itinerary node is greater than the second duration threshold, it indicates that the user has effectively stayed at the itinerary node, but the stay time is not long, and thus the itinerary node is taken as the second node. When the duration of the stay at the itinerary node is less than or equal to the second duration threshold, it indicates that the user has not stayed at the itinerary node effectively, and the duration of the stay at the itinerary node can be ignored, and thus the itinerary node is taken as an invalid node.

[0100] Afterwards, the total number of the first nodes and the total number of the second nodes are obtained, and the cumulative sterilization time of the first node and the cumulative sterilization time of the second node are determined according to the total number of the first nodes and the total number of the second nodes. Specifically, since the time the user stays at the first node and the second node is quite different, this embodiment will generate two sterilization times based on the first node and the second node, respectively, and then generate the final actual sterilization time of the food based on these two sterilization times. Since the number of the first node and the second node can also directly affect the actual sterilization time of the food to be sterilized, this embodiment ultimately needs to determine the cumulative sterilization time of the first node and the cumulative sterilization time of the second node according to the total number of the first node and the total number of the second node.

[0101] In one implementation, a preset first node quantity threshold may be first obtained, and the cumulative sterilization time of the first node may be determined based on the total number of the first nodes and the first node quantity threshold. Specifically, the total number of the first nodes may be compared with the first node quantity threshold. When the total number of the first nodes is greater than the first node quantity threshold, the first sterilization time is used as the cumulative sterilization time of the first node. When the total number of the first nodes is less than or equal to the first node quantity threshold, the second sterilization time obtained by multiplying the total number of the first nodes by the first time is used as the cumulative sterilization time of the first node. Then, a preset second node quantity threshold is obtained, and the cumulative sterilization time of the second node is determined based on the total number of the second nodes and the second node quantity threshold. Specifically, the total number of the second nodes is compared with the second node quantity threshold. When the total number of the second nodes is greater than the second node quantity threshold, the third sterilization time is used as the cumulative sterilization time of the second node. When the total number of the second nodes is less than or equal to the second node quantity threshold, the fourth sterilization time obtained by multiplying the total number of the second nodes by the second time is used as the cumulative sterilization time of the second node.

[0102] For example, the unit sterilization time of the first node is preset to 5 minutes, that is, for each additional first node, the cumulative sterilization time of the first node is accumulated by 5 minutes. When the total number of first nodes is greater than 3, the cumulative sterilization time of the first node is set to 15 minutes and no longer accumulated. In addition, the unit sterilization time of the second node is preset to 3 minutes, that is, for each additional second node, the cumulative sterilization time of the second node is accumulated by 3 minutes. When the total number of second nodes is greater than 5, the cumulative sterilization time of the second node is set to 15 minutes and no longer accumulated.

[0103] Then, the actual sterilization time of the food is determined according to the cumulative sterilization time of the first node and the cumulative sterilization time of the second node. In one implementation, the total cumulative sterilization time can be taken as the sum of the cumulative sterilization time of the first node and the cumulative sterilization time of the second node. Then, the total cumulative sterilization time is compared with the preset time threshold. When the total cumulative sterilization time is less than the preset time threshold, the total number of the first nodes and the total number of the second nodes are added to obtain the total number of valid nodes. After that, the valid node number threshold is obtained, and the actual sterilization time of the food is determined according to the total number of valid nodes and the valid node number threshold. Specifically, the valid node number threshold can be obtained, and the total number of valid nodes can be compared with the valid node number threshold. When the total number of valid nodes is greater than the valid node number threshold, the total cumulative sterilization time is replaced by the preset cumulative sterilization time to obtain the actual sterilization time of the food. When the total number of valid nodes is less than or equal to the valid node number threshold, the total cumulative sterilization time is taken as the actual sterilization time of the food.

[0104] For example, the cumulative sterilization time of the first node is added to the cumulative sterilization time of the second node to obtain the total cumulative sterilization time. If the total cumulative sterilization time is less than 30 minutes, the total number of the first nodes is added to the total number of the second nodes to obtain the total number of valid nodes. When the total number of valid nodes is greater than 3, the total cumulative sterilization time that is less than 30 minutes is supplemented to 30 minutes; if the total number of valid nodes is less than or 3, the total cumulative sterilization time that is less than 30 minutes will be directly used as the actual sterilization time of the food.

[0105] Since the sterilization time required for food is not only related to the time it has been out of the fresh-keeping environment, but also closely related to its own food properties, for example, the sterilization time required for vegetables and meat is different in scientific research, in order to recommend a more reasonable food sterilization time to users for reference, in one implementation, the method also includes: performing image analysis on the image information of the food to be sterilized, obtaining attribute information of the food to be sterilized based on the image information of the food to be sterilized according to the result of the image analysis, and determining a standard food sterilization time based on the attribute information, and then recommending the standard food sterilization time and the actual food sterilization time to the user according to a preset priority order. Specifically, the image information can be sent to a cloud server, so that the cloud server obtains the food information of the newly added food based on the image information and generates the standard food sterilization time of the newly added food based on the food information. Specifically, after the cloud server obtains the image information, it identifies and analyzes the image information through image recognition and image analysis technology to obtain various types of food information corresponding to the newly added food in the image, such as the name, type, raw or cooked, recommended sterilization time, whether it is packaged, etc. of the food, and generates the standard food sterilization time of the newly added food based on the food information. The standard food sterilization time is then compared with the standard cumulative sterilization time. When the two are different, the priority level of the standard cumulative sterilization time is set to a higher level than the priority level of the standard food sterilization time. Finally, the standard cumulative sterilization time and the standard food sterilization time are recommended to the user in order of priority level.

[0106] Based on the above embodiments, the present invention also provides a device for determining the food sterilization time. Figure 5 As shown, the device comprises:

[0107] A purchase itinerary determining module, used to obtain image information of the food to be sterilized, and determine the purchase itinerary information corresponding to the food to be sterilized according to the image information of the food to be sterilized;

[0108] A stay time determination module, configured to determine the stay time information of each itinerary node in the purchased itinerary information according to the purchased itinerary information;

[0109] The sterilization time generation module is used to determine the actual sterilization time of the food to be sterilized according to the residence time information.

[0110] Based on the above embodiments, the present invention further provides an intelligent terminal, whose principle block diagram can be shown as follows: Figure 6As shown. The intelligent terminal includes a processor, a memory, a network interface, and a display screen connected through a system bus. Among them, the processor of the intelligent terminal is used to provide computing and control capabilities. The memory of the intelligent terminal includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the intelligent terminal is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for determining the duration of food sterilization is implemented. The display screen of the intelligent terminal can be a liquid crystal display screen or an electronic ink display screen.

[0111] Those skilled in the art will understand that Figure 6 The principle block diagram shown in the figure is only a block diagram of a partial structure related to the scheme of the present invention, and does not constitute a limitation on the smart terminal to which the scheme of the present invention is applied. The specific smart terminal may include more or fewer components than those shown in the figure, or combine certain components, or have a different component arrangement.

[0112] In one implementation, one or more programs are stored in the memory of the smart terminal, and the one or more programs are configured to be executed by one or more processors, and the one or more programs include instructions for performing a method for determining a food sterilization time.

[0113] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present invention can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0114] In summary, the present invention discloses a method for determining the sterilization time of food, by acquiring image information of the food to be sterilized, determining the purchase itinerary information corresponding to the food to be sterilized according to the image information of the food to be sterilized; determining the stay time information of each itinerary node in the purchase itinerary information according to the purchase itinerary information; and determining the actual sterilization time of the food to be sterilized according to the stay time information. The present invention regards the food newly placed in the food storage space as the food to be sterilized, and formulates a reasonable sterilization time for it according to the purchase itinerary information of the sterilization time, which solves the problem in the prior art that it is impossible to effectively formulate a reasonable sterilization time for food in different situations in an individualized manner, so that users can eat healthier food.

[0115] It should be understood that the application of the present invention is not limited to the above examples. For ordinary technicians in this field, improvements or changes can be made based on the above description. All these improvements and changes should fall within the scope of protection of the claims attached to the present invention.

Claims

1. A method for determining the duration of food sterilization, characterized in that: The method comprises: Acquire image information of the food to be sterilized, and determine the purchase itinerary information corresponding to the food to be sterilized according to the image information of the food to be sterilized, including: using the image information of the newly added food as the image information of the food to be sterilized; acquiring the location path information corresponding to the purchase of the food to be sterilized, and obtaining the purchase itinerary information; Determining the stay time information of each itinerary node in the purchased itinerary information according to the purchased itinerary information, including: obtaining the location information of the itinerary node of the user according to the purchased itinerary information; obtaining the stay time information of each itinerary node in the purchased itinerary information according to the location information of the itinerary node and a itinerary node timer; According to the residence time information, the actual sterilization time of the food to be sterilized is determined, including: dividing all travel nodes into first nodes and second nodes according to the residence time information; determining the cumulative sterilization time of the first nodes and the cumulative sterilization time of the second nodes according to the total number of the first nodes and the total number of the second nodes respectively; determining the actual sterilization time of the food according to the cumulative sterilization time of the first nodes and the cumulative sterilization time of the second nodes.

2. A method for determining food sterilization time according to claim 1, characterized in that: The acquiring of image information of the food to be sterilized and determining the purchase itinerary information corresponding to the food to be sterilized according to the image information of the food to be sterilized comprises: Acquire the opening and closing state data of the food storage space, and when the opening and closing state data of the food storage space is in an open state, acquire the image information of the newly added food in the food storage space, and use the image information of the newly added food as the image information of the food to be sterilized; Performing image analysis on the image information of the food to be sterilized, and determining the name information of the food to be sterilized according to the image analysis result; Querying the purchase record corresponding to the food to be sterilized according to the name information of the food to be sterilized; The location path information of the user corresponding to the purchase record is queried according to the purchase record, and the queried location path information is used as the purchase itinerary information corresponding to the food to be sterilized.

3. A method for determining food sterilization time according to claim 1, characterized in that: Determining the actual sterilization time of the food to be sterilized according to the residence time information includes: Divide all the travel nodes into first nodes and second nodes according to the stay time information; Obtaining the total number of the first nodes and the total number of the second nodes; Determine the cumulative sterilization time of the first nodes and the cumulative sterilization time of the second nodes respectively according to the total number of the first nodes and the total number of the second nodes; The actual sterilization time of the food is determined according to the cumulative sterilization time of the first node and the cumulative sterilization time of the second node.

4. A method for determining food sterilization time according to claim 3, characterized in that: The dividing all the travel nodes into first nodes and second nodes according to the stay time information comprises: Obtaining the dwell time of each trip node according to the dwell time information; Obtaining a first duration threshold and a second duration threshold; According to the stay duration of the travel node, the first duration threshold, and the second duration threshold, all travel nodes are classified to obtain first nodes and second nodes.

5. A method for determining food sterilization time according to claim 4, characterized in that: The classifying all the travel nodes to obtain the first node and the second node according to the stay duration of the travel node, the first duration threshold, and the second duration threshold comprises: Compare the stay duration of the itinerary node with a first duration threshold, and when the stay duration of the itinerary node is greater than the first duration threshold, take the itinerary node as the first node; When the stay duration of the itinerary node is less than or equal to the first duration threshold, the stay duration of the itinerary node is compared with a second duration threshold; when the stay duration of the itinerary node is greater than the second duration threshold, the itinerary node is used as a second node.

6. A method for determining food sterilization time according to claim 3, characterized in that: The determining the cumulative sterilization time of the first node and the cumulative sterilization time of the second node respectively according to the total number of the first nodes and the total number of the second nodes includes: Obtain a preset first node quantity threshold; Determine the accumulated sterilization time of the first nodes based on the total number of the first nodes and the first node number threshold; Obtaining a preset second node quantity threshold; The accumulated sterilization duration of the second nodes is determined based on the total number of the second nodes and a threshold value of the number of the second nodes.

7. A method for determining food sterilization time according to claim 6, characterized in that: The determining the accumulated sterilization duration of the first nodes based on the total number of the first nodes and the first node number threshold comprises: comparing the total number of the first nodes with a threshold value of the number of the first nodes; When the total number of the first nodes is greater than the first node number threshold, the first sterilization duration is used as the accumulated sterilization duration of the first nodes; When the total number of the first nodes is less than or equal to the first node number threshold, a second sterilization duration obtained by multiplying the total number of the first nodes by the first duration is used as the accumulated sterilization duration of the first nodes.

8. A method for determining food sterilization time according to claim 6, characterized in that: The determining the accumulated sterilization duration of the second nodes based on the total number of the second nodes and the second node number threshold comprises: comparing the total number of the second nodes with a second node number threshold; When the total number of the second nodes is greater than the second node number threshold, the third sterilization time is used as the accumulated sterilization time of the second nodes; When the total number of the second nodes is less than or equal to the second node number threshold, a fourth sterilization duration obtained by multiplying the total number of the second nodes by the second duration is used as the accumulated sterilization duration of the second nodes.

9. A method for determining food sterilization time according to claim 3, characterized in that: The determining the actual sterilization time of the food according to the accumulated sterilization time of the first node and the accumulated sterilization time of the second node comprises: The sum of the cumulative sterilization time of the first node and the cumulative sterilization time of the second node is taken as the total cumulative sterilization time; Comparing the total accumulated sterilization time with a preset time threshold; When the total cumulative sterilization time is less than the preset time threshold, the total number of the first nodes and the total number of the second nodes are added to obtain the total number of valid nodes; A threshold value of the number of valid nodes is obtained, and the actual sterilization time of food is determined according to the total number of valid nodes and the threshold value of the number of valid nodes.

10. A method for determining food sterilization time according to claim 9, characterized in that: The obtaining of the effective node quantity threshold value and determining the actual food sterilization time according to the total effective node quantity and the effective node quantity threshold value comprises: Obtaining a threshold value of the number of valid nodes, and comparing the total number of valid nodes with the threshold value of the number of valid nodes; When the total number of valid nodes is greater than the valid node number threshold, the total cumulative sterilization time is replaced by a preset cumulative sterilization time to obtain the actual sterilization time of the food; When the total number of valid nodes is less than or equal to the valid node number threshold, the total accumulated sterilization time is used as the actual sterilization time of the food.

11. A method for determining food sterilization time according to claim 1, characterized in that: The method further comprises: Performing image analysis on the image information of the food to be sterilized; Obtaining attribute information of the food to be sterilized based on the image information of the food to be sterilized according to the result of the image analysis, and determining a standard food sterilization time based on the attribute information; The standard food sterilization time and the actual food sterilization time are recommended to the user in a preset priority order.

12. A device for determining food sterilization time, characterized in that: The device comprises: A purchase itinerary determination module is used to obtain image information of the food to be sterilized, and determine the purchase itinerary information corresponding to the food to be sterilized according to the image information of the food to be sterilized, including: using the image information of the newly added food as the image information of the food to be sterilized; obtaining the location path information corresponding to the purchase of the food to be sterilized, and obtaining the purchase itinerary information; The dwell time determination module is used to determine the dwell time information of each itinerary node in the purchased itinerary information according to the purchased itinerary information, including: obtaining the location information of the itinerary node of the user according to the purchased itinerary information; obtaining the dwell time information of each itinerary node in the purchased itinerary information according to the location information of the itinerary node and the itinerary node timer; A sterilization time generation module is used to determine the actual sterilization time of the food to be sterilized based on the residence time information, including: dividing all travel nodes into first nodes and second nodes based on the residence time information; determining the cumulative sterilization time of the first nodes and the cumulative sterilization time of the second nodes based on the total number of the first nodes and the total number of the second nodes respectively; determining the actual sterilization time of the food based on the cumulative sterilization time of the first nodes and the cumulative sterilization time of the second nodes.

13. A computer-readable storage medium having a plurality of instructions stored thereon, characterized in that: The instructions are suitable for being loaded and executed by a processor to implement the steps of a method for determining the food sterilization time as described in any one of claims 1 to 11 above.

Citation Information

Patent Citations

  • Intelligent bio-preservation system of refrigerator

    CN204027202U

  • Appliance network with a smart control, host multi-function and external appliance with food containers and methods

    US20180249735A1