Refrigerator control method, controller, refrigerator and storage medium
By communicating with the server to obtain food information, the refrigerator generates a target operating strategy for the compressor, which solves the problem of refrigerator temperature fluctuation and improves the preservation effect.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HEFEI MIDEA REFRIGERATOR CO LTD
- Filing Date
- 2024-10-14
- Publication Date
- 2026-04-14
AI Technical Summary
Existing refrigerators cause large temperature fluctuations when users put in a large or very small amount of food at once, which affects the preservation effect.
The refrigerator communicates with the server to obtain food information and generates a target operating strategy for the compressor based on the food information, controlling the compressor to stabilize the temperature.
Reduce temperature fluctuations inside the refrigerator, improve preservation, and prevent food from being damaged by drastic temperature changes.
Smart Images

Figure CN121855162A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of refrigerator technology, and in particular to a refrigerator control method, controller, refrigerator, and storage medium. Background Technology
[0002] In related technologies, refrigerator cooling is mainly achieved by starting and stopping the compressor at a specific frequency. Simple signals such as opening and closing the refrigerator door are typically used to regulate the compressor's operation. However, this method can result in slow cooling when a large amount of food is placed inside, causing the refrigerator to remain at a higher temperature for an extended period. Conversely, when only a small amount of food is placed inside, a large amount of cold air is generated rapidly, causing the refrigerator to remain at a lower temperature for a short time. Both scenarios cause significant temperature fluctuations inside the refrigerator, which reduce its ability to preserve food. Summary of the Invention
[0003] This application aims to at least solve one of the technical problems existing in the prior art. To this end, this application proposes a refrigerator control method, controller, refrigerator, and storage medium, aiming to reduce temperature fluctuations and improve preservation effect.
[0004] In a first aspect, embodiments of this application provide a refrigerator control method, applied to the refrigerator, wherein the refrigerator is communicatively connected to a server; the method includes:
[0005] Obtain the ingredient information of the ingredients to be added, and send the ingredient information to the server;
[0006] The compressor receives the target operating strategy of the compressor based on the information of the ingredients from the server, and controls the compressor according to the target operating strategy.
[0007] According to some embodiments of this application, the refrigerator is equipped with a trigger module and a camera, and the food information includes food video information; obtaining the food information of the food placed inside includes:
[0008] The trigger module generates a trigger signal.
[0009] The camera is activated based on the trigger signal to film the process of the user storing food ingredients, thereby obtaining video information of the food ingredients.
[0010] According to some embodiments of this application, generating a trigger signal through the trigger module includes:
[0011] The opening and closing status of the refrigerator door is detected by the trigger module;
[0012] When the refrigerator door is open, a trigger signal is generated by the trigger module.
[0013] According to some embodiments of this application, the ingredient information includes ingredient attribute information; obtaining the ingredient information for placing ingredients includes:
[0014] Receive user input information;
[0015] The ingredient attribute information is obtained based on the input information.
[0016] According to some embodiments of this application, the input information includes at least one of the following:
[0017] Voice information;
[0018] Refrigerator panel button information;
[0019] The information entered into the terminal program bound to the refrigerator.
[0020] According to some embodiments of this application, the food attribute information includes at least one of the following: food category, food quantity, and food volume.
[0021] Secondly, embodiments of this application provide a refrigerator control method, applied to a server, wherein the server is communicatively connected to the refrigerator; the method includes:
[0022] Receive the food information sent by the refrigerator regarding the food that has been placed inside;
[0023] Generate the target operating strategy for the compressor based on the ingredient information;
[0024] The target operating strategy is sent to the refrigerator so that the refrigerator controls the compressor according to the target operating strategy.
[0025] According to some embodiments of this application, the step of generating a target operating strategy for the compressor based on the ingredient information includes:
[0026] The cooling requirement of the added ingredients is calculated based on the ingredient information.
[0027] The target operating strategy for the compressor is generated based on the cooling demand.
[0028] According to some embodiments of this application, calculating the cooling requirement of the added food based on the food information includes:
[0029] When the food information is a video of the process of the user storing the food, the food video information is split into multiple video frames arranged in chronological order, and the images of the multiple video frames are compared.
[0030] When the image comparison detects that the user has stored food, the cooling requirement of the food is calculated based on the video frames.
[0031] According to some embodiments of this application, calculating the cooling requirement of the added food based on the video frame includes:
[0032] Identify at least one target video frame that corresponds to the food items stored by the user;
[0033] The food attribute information of the added food is identified from the target video frame;
[0034] The cooling requirement for the added ingredients is calculated based on the ingredient attribute information.
[0035] According to some embodiments of this application, the food attribute information includes at least one of the following: food category, food quantity, and food volume.
[0036] According to some embodiments of this application, the volume of the food ingredient is determined through the following steps:
[0037] Identify the food region image corresponding to the placed food from the target video frame;
[0038] Calculate the pixel percentage of the food ingredient area image in the target video frame;
[0039] The volume of the food ingredient is calculated based on the pixel ratio.
[0040] According to some embodiments of this application, sending the target working strategy to the refrigerator includes:
[0041] Compare the compressor's target operating strategy with its current operating strategy;
[0042] When there is a difference between the target working strategy and the current working strategy, the target working strategy is sent to the refrigerator.
[0043] Thirdly, embodiments of this application provide a refrigerator control method, applied to a refrigerator, the method comprising:
[0044] Obtain the ingredient information of the added ingredients, and generate the target operating strategy of the compressor based on the ingredient information;
[0045] The compressor is controlled according to the target operating strategy.
[0046] Fourthly, embodiments of this application provide a controller, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the refrigerator control method described in the first, second, or third aspects when running the computer program.
[0047] Fifthly, embodiments of this application provide a refrigerator that includes the controller described in the fourth aspect above.
[0048] Sixthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions for performing the refrigerator control method as described in the first, second, or third aspects above.
[0049] In a seventh aspect, embodiments of this application provide a computer program product, including a computer program or computer instructions, characterized in that the computer program or computer instructions are stored in a computer-readable storage medium, a processor of a computer device reads the computer program or computer instructions from the computer-readable storage medium, and the processor executes the computer program or computer instructions, causing the computer device to perform the refrigerator control method as described in the first, second, or third aspects above.
[0050] According to the technical solution of the embodiments of this application, at least the following beneficial effects are achieved: First, the refrigerator control method of the embodiments of this application is applied to a refrigerator, which is communicatively connected to a server; the method includes: acquiring information about the food ingredients placed inside and sending the information to the server; receiving a target operating strategy for the compressor based on the information about the food ingredients from the server, and controlling the compressor according to the target operating strategy. Because the refrigerator of the embodiments of this application is communicatively connected to the server, the refrigerator can control the compressor according to the target operating strategy for the compressor based on the information about the food ingredients from the server, so that the temperature inside the refrigerator is always kept in a relatively stable state, avoiding loss of existing food inside the refrigerator due to drastic temperature changes, thereby reducing temperature fluctuations and improving the preservation effect.
[0051] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description
[0052] The accompanying drawings are used to provide a further understanding of the technical solutions of this application and constitute a part of the specification. They are used together with the embodiments of this application to explain the technical solutions of this application and do not constitute a limitation on the technical solutions of this application.
[0053] Figure 1 This is a flowchart of a refrigerator control method provided in one embodiment of this application;
[0054] Figure 2 This is a flowchart of a refrigerator control method provided in another embodiment of this application;
[0055] Figure 3 This is a flowchart of a refrigerator control method provided in another embodiment of this application;
[0056] Figure 4 This is a flowchart of a refrigerator control method provided in another embodiment of this application;
[0057] Figure 5 This is a flowchart of a refrigerator control method provided in another embodiment of this application;
[0058] Figure 6 This is a flowchart of a refrigerator control method provided in another embodiment of this application;
[0059] Figure 7 This is a flowchart of a refrigerator control method provided in another embodiment of this application;
[0060] Figure 8 This is a flowchart of a refrigerator control method provided in another embodiment of this application;
[0061] Figure 9 This is a flowchart of a refrigerator control method provided in another embodiment of this application;
[0062] Figure 10 This is a flowchart of a refrigerator control method provided in another embodiment of this application;
[0063] Figure 11 This is a flowchart of a refrigerator control method provided in another embodiment of this application;
[0064] Figure 12 This is an overall flowchart of a refrigerator control method provided in one embodiment of this application;
[0065] Figure 13 This is a schematic diagram of a controller for performing a refrigerator control method according to an embodiment of this application. Detailed Implementation
[0066] The embodiments of this application are described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain this application, and should not be construed as limiting this application.
[0067] In the description of this application, it should be understood that the orientation descriptions, such as up, down, front, back, left, right, etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this application.
[0068] In the description of this application, "several" means one or more, "more than" means two or more, "greater than," "less than," and "exceeding" are understood to exclude the stated number, while "above," "below," and "within" are understood to include the stated number. The use of "first" and "second" in the description is merely for distinguishing technical features and should not be construed as indicating or implying relative importance, or implicitly indicating the number of indicated technical features, or implicitly indicating the order of the indicated technical features.
[0069] In the description of this application, unless otherwise expressly defined, terms such as "setup," "installation," and "connection" should be interpreted broadly, and those skilled in the art can reasonably determine the specific meaning of the above terms in this application in conjunction with the specific content of the technical solution.
[0070] In some cases, refrigerators primarily achieve cooling by frequently starting and stopping the compressor. Simple signals like opening and closing the door are typically used to regulate the compressor's operation. However, this method can result in slower cooling when a large amount of food is placed inside, causing the refrigerator to remain at a higher temperature for an extended period. Conversely, when only a small amount of food is placed inside, the rapid generation of cold air causes the refrigerator to remain at a lower temperature for a short time. Both scenarios lead to significant temperature fluctuations inside the refrigerator, which reduce its ability to preserve food.
[0071] Based on the above, this application proposes a refrigerator control method, controller, refrigerator, and storage medium, aiming to reduce temperature fluctuations and improve preservation effect.
[0072] The various embodiments of the refrigerator control method of this application will be further described below with reference to the accompanying drawings.
[0073] Please see Figure 1 , Figure 1 This is a flowchart of a refrigerator control method according to an embodiment of this application. The refrigerator control method is applied to the refrigerator side and includes, but is not limited to, steps S110-S120, which are described in turn below.
[0074] Step S110: Obtain the ingredient information of the ingredients and send the ingredient information to the server;
[0075] Step S120: Receive the compressor's target operating strategy from the server based on the ingredient information feedback, and control the compressor according to the target operating strategy.
[0076] In one embodiment, firstly, after a user places food into the refrigerator, the refrigerator acquires the food information. Then, the refrigerator sends this information to a server for processing. The server calculates a target operating strategy for the compressor based on the food information and sends this strategy back to the refrigerator's control system. Upon receiving the target operating strategy from the server, the refrigerator control system controls the compressor accordingly. In this embodiment, the refrigerator is communicatively connected to the server. The refrigerator can control the compressor based on the target operating strategy from the server, maintaining a relatively stable temperature inside the refrigerator. This prevents food from being damaged by drastic temperature changes, reducing temperature fluctuations and improving preservation.
[0077] Please see Figure 2 , Figure 2 This is a flowchart of a refrigerator control method provided in another embodiment of this application. Figure 2 As shown, the process of obtaining the ingredient information in step S110 includes, but is not limited to, steps S210-S220. Each step will be described in turn below.
[0078] Step S210: Generate a trigger signal through the trigger module;
[0079] Step S220: Activate the camera according to the trigger signal to record the process of the user storing food ingredients, and obtain food ingredient video information.
[0080] In one embodiment, the refrigerator is equipped with a trigger module and a camera. The food information includes food video information. The trigger module generates a trigger signal to obtain the food information of the food being placed in the refrigerator. When the refrigerator receives the trigger signal, it activates the camera to film the process of the user storing the food. The filming process obtains food video information and food information data for subsequent processing and analysis.
[0081] Please see Figure 3 , Figure 3 This is a flowchart of a refrigerator control method provided in another embodiment of this application. Figure 3 As shown, the generation of the trigger signal by the trigger module in step S210 includes, but is not limited to, steps S310-S320. Each step will be described in turn below.
[0082] Step S310: Detect the open / closed status of the refrigerator door using the trigger module;
[0083] Step S320: When the refrigerator door is open, a trigger signal is generated by the trigger module.
[0084] It is understandable that the refrigerator door is detected by the trigger module, and then the refrigerator door status is judged. When the trigger module detects that the refrigerator door is open, the refrigerator control system generates a trigger signal through the trigger module.
[0085] It should be noted that, in this embodiment of the application, a refrigerator door switch sensor can be added to the refrigerator door, and the trigger signal can be received through the door switch sensor.
[0086] In addition, it is understood that the type of refrigerator door switch sensor can be a mechanical switch, a reed switch, a capacitive sensor, an inductive sensor, an ultrasonic sensor, or other types of refrigerator door switch sensors. This application does not limit the specific type of refrigerator door switch sensor.
[0087] It should be noted that, in this embodiment of the application, a control panel can be installed at the refrigerator door. The user can select the open / closed state of the refrigerator door through the control panel. When the user selects the open state of the refrigerator door, the refrigerator generates a trigger signal through the trigger module.
[0088] Please see Figure 4 , Figure 4 This is a flowchart of a refrigerator control method provided in another embodiment of this application. Figure 4 As shown, the process of obtaining the ingredient information in step S110 includes, but is not limited to, steps S410-S420. Each step will be described in turn below.
[0089] Step S410: Receive user input information;
[0090] Step S420: Obtain the ingredient attribute information based on the input information.
[0091] It should be noted that the user input information in this embodiment includes at least one of the following: voice information; button information on the refrigerator panel; and input information from a terminal program bound to the refrigerator.
[0092] It should be noted that the food attribute information in this application embodiment includes at least one of the following: food category, food quantity, and food volume.
[0093] It should be noted that the refrigerator obtains information about the food items placed inside, including food attribute information. The refrigerator obtains the food attribute information by receiving user input.
[0094] In one embodiment, when a user puts in food, the user can input information about the food by voice. The refrigerator receives the user's voice information to obtain the type and / or quantity and / or volume of the food put in by the user.
[0095] In one embodiment, when a user puts in food, the user can input or select information about the food they put in through a panel on the refrigerator, thereby obtaining the food category and / or quantity and / or volume of the food based on the input or selected food attribute information.
[0096] In one embodiment, when a user puts in food, the user can input information about the food by entering information through a terminal program bound to the refrigerator. The refrigerator receives the input information from the user's terminal program bound to the refrigerator to obtain the type and / or quantity and / or volume of the food put in by the user.
[0097] Please see Figure 5 , Figure 5 This is a flowchart of a refrigerator control method provided in another embodiment of this application. The refrigerator control method is applied to the server side and includes, but is not limited to, steps S510-S530, which are described in turn below.
[0098] Step S510: Receive the food information sent by the refrigerator regarding the food being placed inside;
[0099] Step S520: Generate the target operating strategy for the compressor based on the ingredient information;
[0100] Step S530: Send the target operating strategy to the refrigerator so that the refrigerator controls the compressor according to the target operating strategy.
[0101] In one embodiment, firstly, after a user places food into the refrigerator, the refrigerator acquires the food information. Then, the refrigerator sends this information to a server for processing. The server receives the food information from the refrigerator and calculates a target operating strategy for the compressor based on this information. The server sends the calculated target operating strategy back to the refrigerator's control system. After receiving the compressor's target operating strategy from the server based on the food information, the refrigerator control system controls the compressor according to the target operating strategy. In this embodiment, the refrigerator and server are connected in communication. The refrigerator can control the compressor according to the target operating strategy received from the server based on the food information, keeping the temperature inside the refrigerator at a relatively stable state. This prevents the food inside from being damaged due to drastic temperature changes, thereby reducing temperature fluctuations and improving the preservation effect.
[0102] Please see Figure 6 , Figure 6 This is a flowchart of a refrigerator control method provided in another embodiment of this application. Figure 6 As shown, the target working strategy for generating the compressor based on the ingredient information in step S520 above includes, but is not limited to, steps S610-S620. Each step will be described in turn below.
[0103] Step S610: Calculate the cooling requirement of the food ingredients based on the ingredient information;
[0104] Step S620: Generate the target operating strategy of the compressor based on the cooling demand.
[0105] It should be noted that the target operating strategy of the compressor generated based on the food information can first calculate the cooling demand of the food to be put in. The food information is identified by the built-in sensors or information input by the user, such as the type, volume, quantity and initial temperature of the food to be put in the refrigerator. Then, the compressor start time, running frequency and cooling intensity are generated based on the cooling demand to obtain the target operating strategy, so as to meet the cooling needs of the food and avoid unnecessary energy consumption.
[0106] In one embodiment, the refrigerator is equipped with a touch screen or LED display screen, through which users can view food information, temperature information and compressor operating status. When the internal temperature of the refrigerator exceeds the preset range, the system will trigger an alarm and automatically adjust the compressor's operating strategy to restore the normal temperature.
[0107] Please see Figure 7 , Figure 7 This is a flowchart of a refrigerator control method provided in another embodiment of this application. Figure 7 As shown, the calculation of the cooling requirement for the food ingredients based on the food ingredient information in step S610 includes, but is not limited to, steps S710-S720. Each step will be described in turn below.
[0108] Step S710: When the food information is the food video information of the process of storing food by the user, the food video information is split to obtain multiple video frames arranged in chronological order, and the images of the multiple video frames before and after are compared.
[0109] Step S720: When the user stores food through image comparison, the cooling requirement of the food is calculated based on the video frames.
[0110] In one embodiment, the server captures the process of a user placing food ingredients using a camera, generating video information about the ingredients. The server then breaks down this video information into multiple video frames arranged chronologically. The processor then compares these video frames to detect the placement of food ingredients. Once food placement is detected through image comparison, the system calculates the cooling demand based on the video frames. The server can employ intelligent algorithms, such as machine learning, to calculate the cooling demand, thereby optimizing the compressor's operating strategy and improving energy efficiency. Simultaneously, the server records food ingredient information and compressor operating data for subsequent analysis and optimization.
[0111] Please see Figure 8 , Figure 8 This is a flowchart of a refrigerator control method provided in another embodiment of this application. Figure 8 As shown, the calculation of the cooling requirement for the food ingredients based on the video frames in step S720 includes, but is not limited to, steps S810-S830. Each step will be described in turn below.
[0112] Step S810: Determine at least one target video frame corresponding to the food items stored by the user;
[0113] Step S820: Identify the food attribute information of the food ingredients from the target video frame;
[0114] Step S830: Calculate the cooling requirement of the food ingredients based on the ingredient attribute information.
[0115] It should be noted that the ingredient attribute information includes at least one of the following: ingredient category, ingredient quantity, and ingredient volume.
[0116] In one embodiment, when calculating the cooling requirement for adding food based on video frames, the process of a user storing food can be captured by a camera, and keyframes can be extracted from the video. At least one keyframe is selected as the target video frame, containing the crucial moment of food storage. The target video frame is then analyzed using image recognition technology to identify the food's category and / or quantity and / or volume, among other attributes. Once these attributes are identified, the server calculates the required cooling demand for adding the food. Based on this cooling demand, the server generates a target operating strategy for the compressor. This target operating strategy guides the compressor on how to adjust its operation to adapt to the new cooling requirements.
[0117] In one embodiment, the calculation module that determines the cooling requirement of the placed food based on its attribute information can be a remote server. When the calculation module is a server, the camera must also support network connectivity for data transmission. Simultaneously, users can update food information via voice commands and a refrigerator-linked app to obtain more accurate calculation results. It should be noted that even when the refrigerator does not have a camera or the camera is not working, users can still update food information via voice commands and the refrigerator-linked app. When the user modifies this information, the refrigerator can calculate and update the cooling strategy in real time.
[0118] Please see Figure 9 , Figure 9 This is a flowchart of a refrigerator control method provided in another embodiment of this application. Figure 9 As shown, the volume of the ingredients is determined through the following steps, including but not limited to steps S910-S930, which will be described in turn below.
[0119] Step S910: Identify the food area image corresponding to the food being placed from the target video frame;
[0120] Step S920: Calculate the pixel percentage of the food ingredient area image in the target video frame;
[0121] Step S930: Calculate the volume of the food to be placed in the container based on the pixel ratio.
[0122] In one embodiment, the volume of the food ingredient can be obtained from the target video frame. First, image recognition technology is used to identify the region image corresponding to the food ingredient. Image recognition technology includes image processing and machine learning algorithms, such as deep learning. Then, the pixel ratio of the identified food ingredient region image in the target video frame is calculated. The pixel ratio can be used to estimate the space occupied by the food ingredient in the image. Based on the pixel ratio of the food ingredient region image, the server can calculate the volume of the food ingredient. Once the volume of the food ingredient is calculated, the server can calculate the cooling demand based on the volume. The cooling demand will guide how the compressor adjusts its operation to adapt to the new cooling demand.
[0123] Please see Figure 10 , Figure 10 This is a flowchart of a refrigerator control method provided in another embodiment of this application, such as... Figure 10 As shown, the step S530 above, which involves sending the target working strategy to the refrigerator, includes, but is not limited to, steps S1010-S1020. Each step will be described in turn below.
[0124] Step S1010: Compare the compressor's target operating strategy with its current operating strategy;
[0125] Step S1020: When there is a difference between the target work strategy and the current work strategy, send the target work strategy to the refrigerator.
[0126] In one embodiment, the server first compares the compressor's target operating strategy with the current operating strategy to determine if there is a difference. The target operating strategy is calculated based on the cooling demand of the food, while the current operating strategy is the compressor's current actual operating state. When the target operating strategy and the current operating strategy are inconsistent, the server sends the target operating strategy to the refrigerator's main control board. The refrigerator's control system adjusts the compressor's operation to meet the new cooling demand, including adjusting the compressor's operating frequency, start-stop time, or other parameters.
[0127] Please see Figure 11 , Figure 11 This is a flowchart of a refrigerator control method provided in another embodiment of this application. The refrigerator control method is applied to the refrigerator side and includes, but is not limited to, steps S1110-S1120, which are described in turn below.
[0128] Step S1110: Obtain the ingredient information of the ingredients to be put in, and generate the target working strategy of the compressor based on the ingredient information;
[0129] Step S1120: Control the compressor according to the target working strategy.
[0130] In one embodiment, firstly, after a user places food into the refrigerator, the refrigerator acquires the food information. Then, the refrigerator sends this information to its processor for processing. The refrigerator's calculation module calculates the compressor's target operating strategy based on the food information and sends the calculated strategy back to the refrigerator's control system. The refrigerator receives the compressor's target operating strategy based on the food information feedback and finally controls the compressor according to the target operating strategy fed back by the refrigerator's calculation module. In this refrigerator control method of the present application embodiment, the refrigerator controller can control the compressor according to the compressor's target operating strategy fed back from the food information feedback, keeping the refrigerator's internal temperature in a relatively stable state at all times. This prevents the loss of existing food due to drastic temperature changes, thereby reducing temperature fluctuations and improving the preservation effect.
[0131] It should be noted that the specific implementation method and technical effects of the refrigerator in this application embodiment can be referred to the specific implementation method and technical effects of the refrigerator control method in any of the above embodiments.
[0132] Please see Figure 12 , Figure 12 This is an overall flowchart of a refrigerator control method provided in one embodiment of this application. Figure 12As shown, the refrigerator control method provided in this application embodiment includes, but is not limited to, steps S1201-S1214, which will be described in turn below.
[0133] Step S1201, Trigger module;
[0134] Step S1202: Camera starts;
[0135] Step S1203: Obtain user actions;
[0136] Step S1204: Input using other methods;
[0137] Step S1205: Add ingredients. If yes, proceed to step S1207; otherwise, proceed to step S1206.
[0138] Step S1206: Is the camera recording? If yes, proceed to step S1203; if no, proceed to step S1214.
[0139] Step S1207: Obtain ingredient attributes;
[0140] Step S1208: Calculate the cooling strategy;
[0141] Step S1209: Compressor execution strategy;
[0142] Step S1210: Strategy adjustment; if so, proceed to step S1208.
[0143] Step S1211: Is the camera recording? If yes, proceed to step S1212; otherwise, proceed to step S1214.
[0144] Step S1212: Trigger stop. If yes, proceed to step S1213; otherwise, proceed to step S1203.
[0145] Step S1213: Camera stops;
[0146] Step S1214, End.
[0147] It should be noted that steps S1205, S1207, and S1208 can be executed by the server's computing module or by the refrigerator's computing unit.
[0148] In one embodiment, when the refrigerator is connected to the server, and the refrigerator is equipped with a trigger module and a camera, firstly, the trigger module detects the open / closed state of the refrigerator door. When the refrigerator door is open, the trigger module generates a trigger signal, and the camera is activated to capture the process of the user storing food, obtaining food video information, wherein the food information includes food video information; the refrigerator receives user input information, then obtains the food attribute information of the food being placed based on the input information, and sends the food information to the server; if the food information is the food video information of the user storing food, the food video information is split into multiple video frames arranged chronologically, and the images of the preceding and following video frames are compared; when the image comparison detects that the user is storing food, at least one target video frame corresponding to the food stored by the user is determined; the food attribute information of the food being placed is identified from the target video frame, wherein the food attribute information includes at least one of the following: food category, food quantity, and food volume. Next, the server's computing module identifies the food region image corresponding to the added food from the target video frame. The server's computing module calculates the pixel percentage of the food region image in the target video frame; based on the pixel percentage, it calculates the volume of the added food, thus obtaining the food volume. The server's computing module also calculates the cooling requirement of the added food based on its attribute information, generates a target operating strategy for the compressor based on the cooling requirement, and then compares the target operating strategy with the current operating strategy. If there is a difference between the target operating strategy and the current operating strategy, the target operating strategy is sent to the refrigerator so that the refrigerator can control the compressor according to the target operating strategy. Because the refrigerator in this embodiment is communicatively connected to the server, the refrigerator can control the compressor according to the target operating strategy fed back from the server based on the food information, keeping the temperature inside the refrigerator in a relatively stable state at all times. This avoids loss of existing food due to drastic temperature changes, thereby reducing temperature fluctuations and improving the preservation effect.
[0149] In one embodiment, the refrigerator is equipped with a trigger module and a camera. First, the trigger module detects the open / closed state of the refrigerator door. When the refrigerator door is open, the trigger module generates a trigger signal, which activates the camera to capture the user's food storage process, obtaining food video information. The food information includes food video information. The refrigerator receives user input information and then obtains the food attribute information of the food being stored based on the input information, and sends the food information to the refrigerator's controller. If the food information is the food video information of the user's food storage process, the food video information is split into multiple video frames arranged chronologically, and the images of the preceding and following video frames are compared. When the image comparison detects that the user is storing food, at least one target video frame corresponding to the food is determined. The food attribute information of the food being stored is identified from the target video frame, wherein the food attribute information includes at least one of the following: food category, food quantity, and food volume. Next, the refrigerator's computing unit identifies the food region image corresponding to the placed food from the target video frame. The unit calculates the pixel percentage of the food region image in the target video frame; based on the pixel percentage, it calculates the volume of the placed food, thus obtaining the food volume. The refrigerator's computing unit calculates the cooling requirement of the placed food based on the food attribute information, generates a target operating strategy for the compressor based on the cooling requirement, and then compares the target operating strategy with the current operating strategy. If there is a difference between the target operating strategy and the current operating strategy, the target operating strategy is sent to the refrigerator so that the refrigerator controls the compressor according to the target operating strategy. In this embodiment of the refrigerator control method, the refrigerator controller can control the compressor based on the target operating strategy fed back from the food information, keeping the temperature inside the refrigerator in a relatively stable state at all times. This avoids loss of existing food due to drastic temperature changes, thereby reducing temperature fluctuations and improving the preservation effect.
[0150] Based on the refrigerator control methods of the above embodiments, the following presents various embodiments of the controller, refrigerator, computer-readable storage medium, and computer program product of this application.
[0151] like Figure 13 As shown, Figure 13 This is a schematic diagram of a controller for performing a refrigerator control method according to an embodiment of this application. The controller 1300 implemented in this application includes: a processor 1310, a memory 1320, and a computer program stored in the memory 1320 and executable on the processor 1310, wherein... Figure 13 The example uses a processor 1310 and a memory 1320.
[0152] The processor 1310 and the memory 1320 can be connected via a bus or other means. Figure 13Taking the example of a connection between China and Israel via a bus.
[0153] Memory 1320, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. Furthermore, memory 1320 may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory 1320 may optionally include remotely located memories 1320 relative to processor 1310, which can be connected to controller 1300 via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0154] Those skilled in the art will understand that Figure 13 The device structure shown does not constitute a limitation on the controller 1300 and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0155] exist Figure 13 In the controller 1300 shown, the processor 1310 can be used to call the control program stored in the memory 1320, thereby implementing the refrigerator control method described above. Specifically, the non-transitory software program and instructions required to implement the refrigerator control method of the above embodiment are stored in the memory 1320. When executed by the processor 1310, the refrigerator control method of the above embodiment is executed.
[0156] It is worth noting that since the controller 1300 of this application embodiment can execute the refrigerator control method of any of the above embodiments, the specific implementation and technical effects of the controller 1300 of this application embodiment can refer to the specific implementation and technical effects of the refrigerator control method of any of the above embodiments.
[0157] Furthermore, one embodiment of this application also provides a refrigerator that includes the controller described in the above embodiment.
[0158] It is worth noting that, since the refrigerator of this application embodiment includes the controller of the above embodiments, and the controller of the above embodiments can execute the control method of the refrigerator of any of the above embodiments, the specific implementation method and technical effect of the refrigerator of this application embodiment can refer to the specific implementation method and technical effect of the control method of the refrigerator of any of the above embodiments.
[0159] Furthermore, one embodiment of this application also provides a computer-readable storage medium storing computer-executable instructions for performing the aforementioned refrigerator control method. Exemplarily, the above-described method is executed... Figures 1 to 12 The methods and steps in the text.
[0160] It is worth noting that, since the computer-readable storage medium of this application embodiment can execute the refrigerator control method of any of the above embodiments, the specific implementation and technical effects of the computer-readable storage medium of this application embodiment can be referred to the specific implementation and technical effects of the refrigerator control method of any of the above embodiments.
[0161] Furthermore, one embodiment of this application also provides a computer program product, including a computer program or computer instructions, which are stored in a computer-readable storage medium. A processor of a computer device reads the computer program or computer instructions from the computer-readable storage medium and executes the computer program or computer instructions, causing the computer device to perform the aforementioned refrigerator control method. Exemplarily, the above-described method is executed... Figures 1 to 12 The methods and steps in the text.
[0162] It is worth noting that, since the computer program product of this application embodiment can execute the refrigerator control method of any of the above embodiments, the specific implementation method and technical effect of the computer program product of this application embodiment can refer to the specific implementation method and technical effect of the refrigerator control method of any of the above embodiments.
[0163] It will be understood by those skilled in the art that all or some of the steps and systems in the methods disclosed above can be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components can be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, which can include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and is accessible to a computer. Furthermore, as is known to those skilled in the art, communication media typically include computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.
[0164] It should be understood that in this application, "at least one (item)" means one or more, and "more than" means two or more. "And / or" is used to describe the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one (item) of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (item) of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.
[0165] In the several embodiments provided in this application, it should be understood that the disclosed systems, instruments, and methods can be implemented in other ways. For example, the instrument embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the shown or discussed mutual couplings, direct couplings, or communication connections may be through some interfaces; indirect couplings or communication connections between instruments or units may be electrical, mechanical, or other forms. Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, i.e., they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0166] It should also be understood that the various implementation methods provided in this application can be combined arbitrarily to achieve different technical effects.
[0167] The above provides a detailed description of the preferred embodiments of this application. However, this application is not limited to the above embodiments. Those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit of this application. All such equivalent modifications or substitutions are included within the scope defined by the claims of this application.
Claims
1. A method for controlling a refrigerator, characterized in that, The method is applied to the refrigerator, which is communicatively connected to a server; the method includes: Obtain the ingredient information of the ingredients to be added, and send the ingredient information to the server; The compressor receives the target operating strategy of the compressor based on the information of the ingredients from the server, and controls the compressor according to the target operating strategy.
2. The method according to claim 1, characterized in that, The refrigerator is equipped with a trigger module and a camera; the food information includes food video information; acquiring the food information of the food placed inside includes: The trigger module generates a trigger signal. The camera is activated based on the trigger signal to film the process of the user storing food ingredients, thereby obtaining video information of the food ingredients.
3. The method according to claim 2, characterized in that, The generation of the trigger signal through the trigger module includes: The opening and closing status of the refrigerator door is detected by the trigger module; When the refrigerator door is open, a trigger signal is generated by the trigger module.
4. The method according to claim 1, characterized in that, The ingredient information includes ingredient attribute information; obtaining the ingredient information for the ingredients includes: Receive user input information; The ingredient attribute information is obtained based on the input information.
5. The method according to claim 4, characterized in that, The input information includes at least one of the following: Voice information; Refrigerator panel button information; The information entered into the terminal program bound to the refrigerator.
6. The method according to claim 4, characterized in that, The food ingredient attribute information includes at least one of the following: food ingredient category, food ingredient quantity, and food ingredient volume.
7. A method for controlling a refrigerator, characterized in that, The method is applied to a server, which is communicatively connected to the refrigerator; the method includes: Receive the food information sent by the refrigerator regarding the food that has been placed inside; Generate the target operating strategy for the compressor based on the ingredient information; The target operating strategy is sent to the refrigerator so that the refrigerator controls the compressor according to the target operating strategy.
8. The method according to claim 7, characterized in that, The step of generating the target operating strategy for the compressor based on the ingredient information includes: The cooling requirement of the added ingredients is calculated based on the ingredient information. The target operating strategy for the compressor is generated based on the cooling demand.
9. The method according to claim 8, characterized in that, The step of calculating the cooling requirement of the added ingredients based on the ingredient information includes: When the food information is a video of the process of the user storing the food, the food video information is split into multiple video frames arranged in chronological order, and the images of the multiple video frames are compared. When the image comparison detects that the user has stored food, the cooling requirement of the food is calculated based on the video frames.
10. The method according to claim 9, characterized in that, The step of calculating the cooling requirement for the added food based on the video frames includes: Identify at least one target video frame that corresponds to the food items stored by the user; The food attribute information of the added food is identified from the target video frame; The cooling requirement for the added ingredients is calculated based on the ingredient attribute information.
11. The method according to claim 10, characterized in that, The food ingredient attribute information includes at least one of the following: food ingredient category, food ingredient quantity, and food ingredient volume.
12. The method according to claim 11, characterized in that, The volume of the food ingredient was determined through the following steps: Identify the food region image corresponding to the placed food from the target video frame; Calculate the pixel percentage of the food ingredient area image in the target video frame; The volume of the food ingredient is calculated based on the pixel ratio.
13. The method according to claim 7, characterized in that, Sending the target working strategy to the refrigerator includes: Compare the compressor's target operating strategy with its current operating strategy; When there is a difference between the target working strategy and the current working strategy, the target working strategy is sent to the refrigerator.
14. A method for controlling a refrigerator, characterized in that, Applied to a refrigerator, the method includes: Obtain the ingredient information of the added ingredients, and generate the target operating strategy of the compressor based on the ingredient information; The compressor is controlled according to the target operating strategy.
15. A controller, characterized in that, include: The refrigerator includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, performs the refrigerator control method as described in any one of claims 1 to 14.
16. A refrigerator, characterized in that, Includes the controller as described in claim 15.
17. A computer-readable storage medium, characterized in that: The refrigerator is stored with computer-executable instructions for performing the refrigerator control method as described in any one of claims 1 to 14.
18. A computer program product, comprising a computer program or computer instructions, characterized in that, The computer program or the computer instructions are stored in a computer-readable storage medium, the processor of the computer device reads the computer program or the computer instructions from the computer-readable storage medium, and the processor executes the computer program or the computer instructions to cause the computer device to perform the refrigerator control method as described in any one of claims 1 to 14.