Method and device for determining ice amount in ice making equipment and computer equipment
By combining liquid level detection with liquid injection volume, the problem of inaccurate ice quantity measurement in ice making equipment is solved, and more stable and economical ice quantity monitoring is achieved to meet the needs of different users.
Patent Information
- Application Number
- CN202510826271.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-19
- Publication Date
- 2025-09-26
AI Technical Summary
Existing ice-making equipment cannot accurately monitor the amount of ice, resulting in inconvenience for users and waste of resources. Weight sensors have low measurement accuracy in low-temperature and humid environments.
By comparing the liquid level detection with the liquid injection amount, combined with the relationship between the average volume of ice gaps and the amount of ice, the actual amount of ice is calculated, and the ice amount is determined using a liquid level sensor and a simple liquid injection device.
It improves the accuracy and stability of ice volume measurement, adapts to complex working conditions, reduces costs, and improves system response speed and user experience.
Smart Images

Figure CN120702146A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electrical equipment, and in particular to a method and device for determining the amount of ice in an ice-making device, and a computer device. Background Art
[0002] Conventional ice-making equipment typically lacks the ability to monitor the internal ice storage level in real time, which creates numerous inconveniences for users. For example, users are unable to keep track of the remaining ice, potentially failing to replenish it when it runs out. When large quantities of ice are needed, the inability to monitor the ice level in advance impacts efficiency. To check ice levels, users must frequently turn on the ice maker, which not only increases operational complexity but also potentially affects the machine's efficiency and ice quality. Furthermore, users are unable to adjust ice usage frequency based on actual ice levels, resulting in wasted energy and resources. These issues significantly diminish the user experience.
[0003] Although some ice making devices are currently equipped with weight sensors and can determine the amount of ice based on the detection signal of the weight sensor, their accuracy is low. Summary of the Invention
[0004] In view of this, the present invention provides a method, device and computer device for determining the amount of ice in an ice-making device, so as to solve the problem of low accuracy in determining the amount of ice in the ice-making device using a weight sensor.
[0005] In a first aspect, the present invention provides a method for determining the amount of ice in an ice-making device, comprising the following steps: after first ice cubes are filled into an ice storage container, injecting a first liquid into the ice storage container; obtaining an actual liquid level in the ice storage container; when the actual liquid level reaches a preset first mark position, stopping injecting the first liquid into the ice storage container and obtaining the amount of liquid injected into the ice storage container; obtaining the total amount of the first container from the bottom of the ice storage container to the first mark position; and calculating the actual amount of ice in the ice storage container based on the total amount of the first container and the amount of liquid injected.
[0006] The ice quantity determination method provided in this embodiment compares liquid level detection with the liquid injection volume to more stably and accurately determine the actual amount of ice in the ice storage container. This method is particularly suitable for applications under complex working conditions. Compared with traditional weight sensor solutions, this method offers significant advantages in terms of anti-interference capability, adaptability, cost control, and system integration, making it a more practical ice quantity detection technology for engineering applications.
[0007] In an optional embodiment, calculating the actual amount of ice in the ice storage container based on the total amount of the first container and the amount of liquid injected includes: obtaining the actual amount of ice by subtracting the amount of liquid injected from the total amount of the first container.
[0008] This can quickly determine the actual amount of ice, simplify calculation logic, improve system response speed, and reduce dependence on complex algorithms and high-cost hardware.
[0009] In an optional embodiment, after calculating the actual amount of ice cubes in the ice storage container based on the total amount of the first container and the liquid injection amount, it also includes: obtaining the relationship between the preset average volume of ice cube gaps and the amount of ice cubes; determining the amount of ice cube gaps based on the actual amount of ice cubes and the relationship between the average volume of ice cube gaps and the amount of ice cubes; and calculating the total amount of ice cubes based on the actual amount of ice cubes and the amount of ice cube gaps.
[0010] Ice cubes of different shapes (such as cubes, spheres, bars, etc.) have different packing densities and porosities. By presetting the relationship, the test requirements of ice cubes of different shapes can be adapted.
[0011] In an optional embodiment, a method for determining the relationship between the average volume of ice gaps and the amount of ice includes: when the filling amount of the second ice cube in the ice storage container reaches a preset second mark position, taking out the second ice cube and melting it to obtain a second liquid, and obtaining the volume of the second liquid; obtaining the solid density of the second ice cube and the liquid density of the second liquid; calculating the volume of the second ice cube based on the volume of the second liquid, the solid density of the second ice cube and the liquid density of the second liquid; obtaining the total amount of the second container from the bottom to the second mark position of the ice storage container; calculating a variation coefficient based on the total amount of the second container and the volume of the second ice cube, and forming a set of training data with the variation coefficient and the volume of the second ice cube; and using multiple sets of training data to obtain the relationship between the average volume of ice gaps and the amount of ice cubes.
[0012] When constructing the relationship between the average volume of ice gaps and ice mass, this invention takes into account the impact of ice density differences on measurement results. By incorporating solid and liquid densities, this effectively eliminates errors caused by these differences, improving the versatility and adaptability of the constructed relationship. Furthermore, by utilizing multiple sets of training data to determine the relationship between the average volume of ice gaps and ice mass, the relationship can be regularly updated.
[0013] In an optional embodiment, the method for determining the amount of ice in the ice-making device further includes the following steps: obtaining user instructions; determining whether the amount of ice cubes required by the user includes ice gaps based on the user instructions; when the amount of ice cubes required by the user does not include ice gaps, providing the actual amount of ice cubes to the user; when the amount of ice cubes required by the user includes ice gaps, providing the total amount of ice cubes to the user.
[0014] This can adapt to different user needs. In some cases, the required ice volume does not include the gaps in the ice. For example, if a user plans to host a party and wants to add 1 / 5 of ice to each person's drink, then the user needs to have at least 1 / 5 of the actual volume of the ice excluding the gaps. In other cases, the required ice volume does include the gaps in the ice. For example, if a user wants to fill a thermos and store the ice in the thermos to take to work, then the required ice volume is the volume including the gaps.
[0015] In a second aspect, the present invention also provides an ice quantity determination device in an ice-making device, the device including a liquid injection module, a liquid level acquisition module, a first container total quantity acquisition module and a first calculation module; the liquid injection module is used to inject the first liquid into the ice storage container after the first ice cubes are filled into the ice storage container; the liquid level acquisition module is used to obtain the actual liquid level in the ice storage container; when the actual liquid level reaches a preset first mark position, the liquid injection module is also used to stop injecting the first liquid into the ice storage container and obtain the liquid injection amount of the ice storage container; the first container total quantity acquisition module is used to obtain the total quantity of the first container from the bottom of the ice storage container to the first mark position; the first calculation module is used to calculate the actual quantity of ice cubes in the ice storage container based on the first container total quantity and the liquid injection amount.
[0016] In a third aspect, the present invention further provides a computer device comprising a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the computer instructions to execute the method for determining the amount of ice in the ice-making device of the first aspect or any corresponding embodiment thereof.
[0017] In a fourth aspect, the present invention further provides a refrigeration device comprising the computer device of the third aspect.
[0018] In a fifth aspect, the present invention further provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the method for determining the amount of ice in an ice-making device according to the first aspect or any corresponding embodiment thereof.
[0019] In a sixth aspect, the present invention further provides a computer program product, comprising computer instructions, the computer instructions being used to enable a computer to perform the method for determining the amount of ice in an ice-making device according to the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the specific embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0021] Figure 1 is a flow chart of a method for determining ice quantity in an ice-making device according to an embodiment of the present invention;
[0022] Figure 2 A flow chart of another method for determining ice quantity in an ice-making device according to an embodiment of the present invention;
[0023] Figure 3 is a flow chart of an example of a method for determining the relationship between the average volume of ice gaps and the amount of ice according to an embodiment of the present invention;
[0024] Figure 4 is a flow chart of a method for determining ice quantity in an ice-making device according to another embodiment of the present invention;
[0025] Figure 5 is a flow chart of an example of a method for determining the amount of ice in an ice-making device according to an embodiment of the present invention;
[0026] Figure 6 is a structural block diagram of an apparatus for determining ice quantity in an ice-making device according to an embodiment of the present invention;
[0027] Figure 7 Schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0028] To make the purpose, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts shall fall within the scope of protection of the present invention.
[0029] Modern ice-making equipment often incorporates a weight sensor to detect the weight of ice in the ice storage container, thereby determining the current ice quantity. This design enables automated control through real-time monitoring of weight changes. For example, the ice-making process can be stopped when the ice quantity reaches a set upper limit and restarted when the ice quantity decreases, improving the intelligence and convenience of the equipment.
[0030] However, in actual applications, long-term exposure of the weight sensor to a low-temperature and humid working environment may adversely affect its performance and measurement accuracy, leading to inaccurate ice quantity determination. The main reasons for this phenomenon include the following aspects:
[0031] (1) Effect of condensed water: In a low-temperature and humid environment, moisture in the air easily condenses into water droplets inside the device, adhering to the sensor surface or penetrating its internal structure. This moisture may cause circuit short circuits, signal drift, or corrosion of metal components, thereby affecting the stability and accuracy of the sensor.
[0032] (2) Changes in material properties: Weight sensors are usually composed of elastomers (such as alloy steel, stainless steel, etc.) and strain gauges. These materials may have inconsistent thermal expansion coefficients at low temperatures, resulting in slight structural deformation, which in turn affects the linearity and repeatability of the sensor output signal.
[0033] (3) Accelerated aging of electronic components: Although low temperatures do not directly cause rapid aging of electronic components, the presence of humidity can exacerbate oxidation and corrosion, especially at solder joints and connectors. Over time, these factors can cause changes in the sensor's internal resistance, which can affect measurement results.
[0034] (4) Degradation of insulation performance: A humid environment will reduce the insulation performance between the electronic components and circuits inside the sensor, increase the risk of leakage current, and thus cause increased signal noise or misreading, seriously affecting measurement accuracy.
[0035] (5) Temperature drift: Some weight sensors are sensitive to temperature changes. When the working environment temperature fluctuates greatly, the sensor's output signal may exhibit "temperature drift." Even under the same weight conditions, the measured values at different temperatures may differ.
[0036] In summary, when weight sensors operate in a low-temperature and humid environment for a long time, they are easily affected by factors such as condensation water erosion, changes in material properties, aging of electronic components, degradation of insulation performance, and temperature drift, which may lead to a decrease in measurement accuracy and even misjudgment.
[0037] It's also important to note that weight sensors require very demanding installation. They must not only be level but also ensure good contact between the object being measured and the sensor. Balances or electronic scales used in experiments require zeroing before each use to ensure accurate measurements. Similarly, commercially available electronic scales can produce weight errors if placed on an uneven surface or if the object being measured is not placed firmly on the scale pan. This is primarily due to the following: when the load cell and the object being measured are perfectly level, the pressure on the load cell equals the weight of the object being measured. Under these ideal conditions, the load cell accurately converts gravity into an electrical signal, resulting in precise weight readings. However, the situation becomes more complex when the load cell or the object being measured is tilted. The object being measured may have a tendency to slide along the surface, generating friction. During this process, a portion of the gravity no longer directly acts on the load cell, but is converted into a frictional component. In other words, the object is not completely "pressed" on the weight sensor, and the force felt by the weight sensor is only a part of the gravity. Therefore, the measured weight will be less than the actual weight, resulting in inaccurate measurement results.
[0038] During the use of the ice-making equipment, in some cases it cannot be guaranteed that the weight sensor is in a horizontal state (for example, the table on which the ice-making equipment is placed is uneven; when the ice-making equipment needs to be hung on the wall, the ice-making equipment is hung on the wall at a slight tilt, etc.), which will also lead to lower accuracy of the detection results of the weight sensor.
[0039] According to an embodiment of the present invention, an embodiment of a method for determining the amount of ice in an ice-making device is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0040] In this embodiment, a method for determining the amount of ice in an ice-making device is provided, which can be used in the ice-making device. Figure 1 FIG. 1 is a flow chart of a method for determining ice quantity in an ice-making device according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:
[0041] Step S101: After the first ice cubes are filled into the ice cube storage container, a first liquid is injected into the ice cube storage container.
[0042] The process of making ice cubes is the solidification of a liquid. Most commercially available ice-making devices operate by continuously flowing a liquid through a cooling zone, gradually cooling it and solidifying it into ice cubes. In this embodiment, the first ice cube and the first liquid are of the same type, and the first ice cube is made from the first liquid. For example, if the first ice cube is made from water, then the first liquid is water; if the first ice cube is made from lemonade, then the first liquid is lemonade.
[0043] If the temperature of the first liquid is relatively low, for example, close to 0°C, then adding the first liquid to the ice storage container will not significantly affect the taste or temperature of the first ice cubes. However, if the temperature of the first liquid itself is relatively high, the first ice cubes will melt rapidly, potentially changing the strength and taste of the beverage. Therefore, in this embodiment, the temperature of the first liquid needs to be below a predetermined first threshold, which can be 0-5°C.
[0044] In this embodiment, the first liquid can be injected by pumping the first liquid or allowing the first liquid to fall freely into the ice storage container under gravity. The first liquid can be water or other liquids, such as juice, cola, beverages, etc.
[0045] The ice storage container can be of various shapes, which has no effect on the actual amount of ice finally determined.
[0046] Step S102: obtaining the actual liquid level in the ice storage container.
[0047] Specifically, a liquid level sensor may be provided in the ice storage container, and the actual liquid level in the ice storage container may be acquired by using the liquid level sensor.
[0048] Step S103: When the actual liquid level reaches a preset first mark position, stop injecting the first liquid into the ice storage container and obtain the liquid injection amount of the ice storage container.
[0049] In this embodiment, the amount of liquid injected can be obtained through multiple methods, such as adding a flow measuring sensor to the drainage or water inlet pipe to measure the flow of the first liquid; or discharging the first liquid into a container, in which there is a liquid level sensor to measure the liquid level and calculate its volume; or discharging the first liquid into a container to directly measure its volume, etc.
[0050] Step S104: Obtain the total amount of the first container from the bottom to the first mark position of the ice storage container.
[0051] In this embodiment, the total amount of the first container can be preset in the ice-making device.
[0052] Step S105: Calculating the actual amount of ice in the ice storage container according to the total amount of the first container and the amount of liquid injected.
[0053] Specifically, the actual amount of ice cubes is obtained by subtracting the amount of liquid injected from the total amount of the first container.
[0054] The method for determining the amount of ice in the ice storage container provided by this embodiment can more stably and accurately determine the actual amount of ice in the ice storage container by comparing the liquid level detection with the liquid injection amount, and is particularly suitable for application scenarios under complex working conditions. Compared with the traditional weight sensor solution, the method provided by this embodiment has the following advantages: (1) Based on liquid level judgment, it is less affected by physical disturbances such as environmental vibration and the measurement is more stable; (2) For mobile or tilted equipment, it is difficult for the weight sensor to accurately measure; while the liquid level detection of the present invention is not affected by the equipment posture and has stronger adaptability; (3) In the traditional weight sensor solution, uneven accumulation or adhesion of ice may lead to uneven weight distribution, resulting in inaccurate sensor readings; while the liquid level method of the present invention directly reflects the effective space occupancy and is closer to the actual amount of ice available; (4) Weight sensors are relatively expensive and have aging problems; liquid level detection devices (such as photoelectric liquid level sensors or float switches) have simple structures, low costs, long lifespans, and are easy to maintain; (5) The weight sensor needs to wait until the container is completely still before it can accurately read; liquid level detection can provide real-time feedback status, improving the efficiency and automation level of ice quantity judgment.
[0055] In this embodiment, a method for determining the amount of ice in an ice-making device is provided, which can be used in the ice-making device. Figure 2 According to another embodiment of the present invention, a flow chart of a method for determining the amount of ice in an ice-making device is shown as follows: Figure 2 As shown, the process includes the following steps:
[0056] Step S201: After the first ice cubes are filled into the ice cube storage container, a first liquid is injected into the ice cube storage container.
[0057] Step S202: Acquire the actual liquid level in the ice storage container.
[0058] Step S203: When the actual liquid level reaches a preset first mark position, stop injecting the first liquid into the ice storage container and obtain the liquid injection amount of the ice storage container.
[0059] Step S204: Obtain the total amount of the first container from the bottom to the first mark position of the ice storage container.
[0060] Step S205: Calculating the actual amount of ice in the ice storage container according to the total amount of the first container and the amount of liquid injected.
[0061] Specifically, calculating the actual amount of ice in the ice storage container according to the total amount of the first container and the amount of liquid injected includes: subtracting the amount of liquid injected from the total amount of the first container to obtain the actual amount of ice, wherein the actual amount of ice can be expressed as V 冰实 express.
[0062] Step S206: Obtaining the relationship between the preset average volume of ice gaps and the amount of ice.
[0063] The method for determining the relationship between the average volume of ice gaps and the amount of ice comprises the following steps:
[0064] (1) When the amount of the second ice cube in the ice storage container reaches a preset second mark position, the second ice cube is taken out and melted to obtain a second liquid, and the volume of the second liquid is obtained; (2) the solid density of the second ice cube and the liquid density of the second liquid are obtained; (3) the volume of the second ice cube is calculated based on the volume of the second liquid, the solid density of the second ice cube and the liquid density of the second liquid; (4) the total amount of the second container from the bottom to the second mark position of the ice storage container is obtained; (5) a variation coefficient is calculated based on the total amount of the second container and the volume of the second ice cube, and the variation coefficient and the volume of the second ice cube are combined into a set of training data; (6) the relationship between the average volume of the ice gap and the amount of ice cube is obtained using multiple sets of training data.
[0065] For example, Figure 3 As shown in Figure 2, the relationship between the average volume of ice gaps and the amount of ice can be obtained by the following method:
[0066] (1) The ice-making device continuously makes ice, and the filling amount of the second ice cube in the ice cube storage container reaches a preset second mark position;
[0067] (2) Take out the second ice cube and try to melt it completely to obtain the second liquid. Obtain the volume of the second liquid, where the volume of the second liquid can be expressed as V 液体 express.
[0068] (3) Obtain the solid density ρ of the second ice cube 固 , the liquid density of the second liquid ρ 液 , using the formula: ρ 液体 / ρ 固体 *V 液体 =V 融化 Calculate the volume of the second ice cube, where the volume of the second ice cube is V 融合 express.
[0069] For example, at standard atmospheric pressure, the density of ice at 0°C is approximately 0.9167 g / cm 3 , while the density of pure water at 4°C is about 1g / cm 3, the volume of ice of the same mass is approximately 1.091 times that of water (i.e., 1 / 0.9167≈1.091). By calculating the volume of water and then multiplying it by 1.091, the volume V of the second ice cube can be obtained. 融合 .
[0070] (4) Obtain the total volume of the ice storage container from the bottom to the second marking position, where the total volume of the container is represented by V 容 ;
[0071] (5) According to the total volume of the container V 容 and the volume of the second ice cube V 融合 Use K = (V 容 - V 融化 ) /
[0072] V 融化 to calculate the change coefficient K;
[0073] (6) After repeating the experiment multiple times, multiple sets of data are obtained. Calculate the average value of multiple change coefficients K to obtain K 均 , thereby making K 均 more accurate;
[0074] (7) If the shape of the container is regular, approximately a cylindrical structure with equal size at the top and bottom, the linear relationship between the average volume of ice gaps in the container and the ice quantity can be obtained: V 缝 = V 冰实 * K 均 . If the shape of the container is irregular, its curve relationship formula can be obtained through repeated fitting experiments. In short, through the above experimental steps, the function expression of V 缝 = f(Vice_real) can be obtained.
[0075] Step S207: Determine the ice gap quantity according to the actual ice quantity and the relationship between the average volume of ice gaps and the ice quantity.
[0076] Specifically, the actual ice quantity can be used to search in the relationship between the average volume of ice gaps and the ice quantity to obtain the ice gap quantity, where the ice gap quantity can be represented by V 缝 ;
[0077] Step S208: Calculate the total ice quantity according to the actual ice quantity and the ice gap quantity.
[0078] Specifically, the actual ice quantity V 冰实 plus the ice gap quantity V 缝 gives the total ice quantity, where the total ice quantity can be represented by V 冰总 ; Both can reflect the volume of ice cubes in the container, where the total amount of ice cubes V 冰总 Closer to the user's intuitive feeling, the actual amount of ice cubes V 冰实 It is more accurate.
[0080] The ice quantity determination method provided in this embodiment compares liquid level detection with the liquid injection volume to more stably and accurately determine the actual amount of ice in the ice storage container. This method is particularly suitable for applications under complex working conditions. Compared with traditional weight sensor solutions, this method offers significant advantages in terms of anti-interference capability, adaptability, cost control, and system integration, making it a more practical ice quantity detection technology for engineering applications.
[0081] In this embodiment, a method for determining the amount of ice in an ice-making device is provided, which can be used in the ice-making device. Figure 4 According to another embodiment of the present invention, there is provided a flow chart of a method for determining the amount of ice in an ice-making device. Figure 5 FIG. 1 is a flow chart of an example of a method for determining the amount of ice in an ice-making device according to an embodiment of the present invention. Figure 4 and Figure 5 As shown, the process includes the following steps:
[0082] Step S401 obtains user instructions.
[0083] For example, two buttons may be provided on the ice-making device, one of which is used to receive a user instruction that the amount of ice cubes required includes gaps in the ice cubes; and the other button is used to receive a user instruction that the amount of ice cubes required does not include gaps in the ice cubes.
[0084] Step S402: Determine whether the amount of ice cubes required by the user includes ice gaps based on the user's instructions; when the amount of ice cubes required by the user does not include ice gaps, execute the following steps S403 to S407; when the amount of ice cubes required by the user includes ice gaps, execute the following steps S403 to S410.
[0085] Step S403: After the first ice cubes are filled into the ice cube storage container, injecting the first liquid into the ice cube storage container;
[0086] Step S404: obtaining the actual liquid level in the ice storage container;
[0087] Step S405: When the actual liquid level reaches a preset first mark position, stop injecting the first liquid into the ice storage container and obtain the liquid injection amount of the ice storage container;
[0088] Step S406: Obtaining the total volume of the first container from the bottom to the first mark position of the ice storage container;
[0089] Step S407: Calculate the actual amount of ice in the ice storage container according to the total amount of the first container and the amount of liquid injected.
[0090] Step S408: Obtaining the relationship between the preset average volume of ice gaps and the amount of ice;
[0091] Step S409: determining the ice gap amount based on the actual amount of ice and the relationship;
[0092] Step S410: Calculate the total amount of ice cubes based on the actual amount of ice cubes and the amount of ice gaps.
[0093] This is because, in some cases, the amount of ice a user requires doesn't include gaps in the ice. For example, if a user plans to host a party and wants to add 1 / 5 of ice to everyone's drink, then the user needs to have at least 1 / 5 of the actual volume of the ice excluding gaps. In other cases, the amount of ice a user requires includes gaps in the ice. For example, if a user wants to fill a thermos and store the ice in the thermos to take to work, then the volume of ice the user needs includes the gaps. This embodiment can adapt to the needs of different users.
[0094] This embodiment also provides an ice quantity determination device for an ice-making device. This device is used to implement the above-mentioned embodiments and preferred embodiments, and details already described will not be repeated. As used below, the term "module" may refer to a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
[0095] This embodiment provides an ice quantity determination device in an ice making device, such as Figure 6 As shown, including:
[0096] The liquid injection module 601 is used to inject the first liquid into the ice storage container after the first ice cubes are filled into the ice storage container.
[0097] The liquid level acquisition module 602 is used to acquire the actual liquid level in the ice storage container.
[0098] The liquid injection module 601 is further configured to stop injecting the first liquid into the ice storage container and obtain the amount of liquid injected into the ice storage container when the actual liquid level reaches a preset first mark position.
[0099] The first container total amount obtaining module 603 is configured to obtain the first container total amount from the bottom to the first mark position in the ice storage container.
[0100] The first calculation module 604 is configured to calculate the actual amount of ice in the ice storage container according to the total amount of the first container and the amount of liquid injected.
[0101] In some optional implementations, the calculation module 604 is specifically configured to obtain the actual amount of ice cubes by subtracting the amount of liquid injected from the total amount of the first container.
[0102] In some optional embodiments, the ice quantity determination device in the ice-making device further includes a second calculation module. After calculating the actual quantity of ice in the ice storage container based on the total quantity of the first container and the amount of liquid injected, the second calculation module is configured to obtain a relationship between a preset average volume of ice gaps and the quantity of ice; determine the quantity of ice gaps based on the actual quantity of ice and the relationship between the average volume of ice gaps and the quantity of ice; and calculate the total quantity of ice based on the actual quantity of ice and the quantity of ice gaps.
[0103] In some optional embodiments, the ice quantity determination device in the ice-making device further includes a training module. The training module is configured to: when the amount of the second ice cube in the ice storage container reaches a preset second mark position, remove the second ice cube and melt it to obtain a second liquid, and obtain the volume of the second liquid; obtain the solid density of the second ice cube and the liquid density of the second liquid; calculate the volume of the second ice cube based on the volume of the second liquid, the solid density of the second ice cube, and the liquid density of the second liquid; obtain the total volume of the second container from the bottom of the ice storage container to the second mark position; calculate a coefficient of variation based on the total volume of the second container and the volume of the second ice cube, and form a set of training data with the coefficient of variation and the volume of the second ice cube; and use multiple sets of training data to obtain a relationship between the average volume of ice gaps and the amount of ice cubes.
[0104] In some optional embodiments, the ice quantity determination device in the ice-making device further includes a user instruction response module. The user instruction response module is configured to receive a user instruction; determine, based on the user instruction, whether the amount of ice cubes desired by the user includes gaps in the ice cubes; provide the user with the actual amount of ice cubes if the amount of ice cubes desired by the user does not include gaps in the ice cubes; and provide the user with the total amount of ice cubes if the amount of ice cubes desired by the user includes gaps in the ice cubes.
[0105] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0106] The ice quantity determination device in the ice-making device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0107] The embodiment of the present invention also provides a computer device having the above Figure 6 The ice quantity determining device in the ice making device is shown.
[0108] See also Figure 7 , Figure 7 is a structural diagram of a computer device provided by an optional embodiment of the present invention, such as Figure 7 As shown, the computer device includes: one or more processors 10, memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components utilize different buses to communicate with each other and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in the memory or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Equally, multiple computer devices can be connected, and each device provides part of the necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 7 A processor 10 is taken as an example.
[0109] The processor 10 may be a central processing unit, a network processor, or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit, a programmable logic device, or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic, or any combination thereof.
[0110] The memory 20 stores instructions that can be executed by at least one processor 10, so as to enable at least one processor 10 to execute the method shown in the above embodiment.
[0111] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and application programs required for at least one function; the data storage area may store data created based on the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely located relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0112] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid-state drive; the memory 20 may also include a combination of the above types of memory.
[0113] The computer device also includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 can be connected via a bus or other means. Figure 7 The bus connection is taken as an example.
[0114] The input device 30 can receive input digital or character information and generate key signal input related to user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a trackpad, a touch pad, an indicator stick, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 can include a display device, an auxiliary lighting device (e.g., an LED), and a tactile feedback device (e.g., a vibration motor). The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display, and a plasma display. In some optional embodiments, the display device can be a touch screen.
[0115] The embodiment of the present invention also provides a computer-readable storage medium. The above-mentioned method according to the embodiment of the present invention can be implemented in hardware, firmware, or implemented as a computer code that can be recorded in a storage medium, or implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and downloaded through a network and will be stored in a local storage medium, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state drive, etc.; further, the storage medium can also include a combination of the above-mentioned types of memory. It can be understood that a computer, a processor, a microprocessor controller or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor or hardware, the method shown in the above embodiment is implemented.
[0116] A portion of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the form in which the computer program instruction exists in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc. Accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium that can be accessed by the computer.
[0117] Although the embodiments of the present invention have been described with reference to the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention. Such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A method for determining the amount of ice in an ice making device, characterized in that: include: After the first ice cubes are filled into the ice cube storage container, injecting a first liquid into the ice cube storage container; Obtaining an actual liquid level in the ice storage container; When the actual liquid level reaches a preset first mark position, stopping injecting the first liquid into the ice storage container and obtaining the liquid injection amount of the ice storage container; Obtaining the total volume of the first container from the bottom of the ice storage container to the first marking position; The actual amount of ice cubes in the ice cube storage container is calculated according to the total amount of the first container and the liquid injection amount.
2. The method according to claim 1, characterized in that Calculating the actual amount of ice in the ice storage container according to the total amount of the first container and the amount of liquid injected includes: The actual amount of ice cubes is obtained by subtracting the amount of liquid injected from the total amount of the first container.
3. The method according to claim 1, characterized in that After calculating the actual amount of ice cubes in the ice cube storage container according to the total amount of the first container and the liquid injection amount, the method further includes: Obtaining the relationship between the preset average volume of ice gaps and the amount of ice; determining the amount of ice gaps according to the actual amount of ice and the relationship between the average volume of ice gaps and the amount of ice; The total amount of ice cubes is calculated based on the actual amount of ice cubes and the amount of gaps between the ice cubes.
4. The method according to claim 3, characterized in that The method for determining the relationship between the average volume of ice gaps and the amount of ice includes: When the amount of the second ice cube in the ice cube storage container reaches a preset second mark position, the second ice cube is taken out and melted to obtain a second liquid, and the volume of the second liquid is obtained; obtaining the solid density of the second ice cube and the liquid density of the second liquid; calculating the volume of the second ice cube according to the volume of the second liquid, the solid density of the second ice cube, and the liquid density of the second liquid; Obtaining the total amount of the second container from the bottom of the ice storage container to the second mark position; Calculating a variation coefficient based on the total amount of the second container and the volume of the second ice cube, and combining the variation coefficient and the volume of the second ice cube to form a set of training data; Multiple sets of training data are used to obtain the relationship between the average volume of ice gaps and the amount of ice.
5. The method according to claim 3, characterized in that Also includes: Get user instructions; determining, according to the user instruction, whether the amount of ice cubes required by the user includes ice cube gaps; When the amount of ice cubes required by the user does not include ice cube gaps, providing the actual amount of ice cubes to the user; When the amount of ice cubes required by the user includes ice cube gaps, the total amount of ice cubes is provided to the user.
6. An ice quantity determination device in an ice making device, characterized in that: The device comprises: a liquid injection module, configured to inject a first liquid into the ice storage container after the first ice cubes are filled into the ice storage container; A liquid level acquisition module, configured to acquire the actual liquid level in the ice storage container; a liquid injection module, further configured to stop injecting the first liquid into the ice storage container and obtain the amount of liquid injected into the ice storage container when the actual liquid level reaches a preset first mark position; A first container total amount obtaining module, configured to obtain the first container total amount from the bottom of the ice storage container to the first marking position; The first calculation module is configured to calculate the actual amount of ice in the ice storage container according to the total amount of the first container and the liquid injection amount.
7. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the ice quantity determination method in the ice-making device according to any one of claims 1 to 5 by executing the computer instructions.
8. A refrigeration device, characterized in that: A computer device comprising the computer device of claim 7.
9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the ice quantity determination method in the ice-making device according to any one of claims 1 to 5.
10. A computer program product, characterized in that The method comprises computer instructions for causing a computer to execute the ice amount determination method in the ice-making device according to any one of claims 1 to 5.