CN-121977680-A - Control method and device applied to electronic scale, electronic scale and storage medium
Abstract
The application is applicable to the technical field of data processing, and provides a control method and device applied to an electronic scale, the electronic scale and a storage medium, wherein the control method comprises the steps of responding to a measurement instruction and acquiring coffee bean information to be measured; the coffee bean information comprises the weight of the coffee bean to be measured, caffeine information corresponding to the weight of the coffee bean is determined based on the coffee bean information and brewing flow information, and part or all of the caffeine information is displayed through a display screen of the electronic scale. By adopting the method, the information types displayable by the electronic scale can be improved, the caffeine content contained by the electronic scale can be conveniently determined before the user infuses coffee, the convenience of caffeine information acquisition is improved, and the daily use requirements of the user are met.
Inventors
- YU HUAYUN
- YANG XIANWEN
Assignees
- 深圳市乐福衡器有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20260408
Claims (10)
- 1. A control method applied to an electronic scale, characterized by comprising: acquiring coffee bean information to be measured in response to a measurement instruction, wherein the coffee bean information comprises the weight of the coffee beans to be measured; Determining caffeine information corresponding to the weight of the coffee beans based on the coffee bean information and brewing flow information, wherein the brewing flow information comprises the brewing time of the coffee beans; and displaying part or all of the caffeine information through a display screen of the electronic scale.
- 2. The control method according to claim 1, wherein the brewing flow information includes a grinding granularity at which coffee beans are ground and a brewing manner; the determining caffeine information corresponding to the weight of the coffee beans based on the coffee bean information and brewing process information comprises: determining a reference caffeine coefficient corresponding to the coffee bean type according to the coffee bean type in the coffee bean information; Determining a caffeine floating range according to the weight of the coffee beans and the reference caffeine coefficient; performing range calibration on the caffeine floating range through extraction efficiency corresponding to the grinding granularity to obtain a calibrated floating range; determining the caffeine amount corresponding to each brewing mode according to the extraction coefficient, the brewing time length and the calibrated floating range corresponding to each candidate brewing mode; and obtaining the caffeine information based on the corresponding relation between all the brewing modes and the caffeine amount.
- 3. The control method according to claim 2, wherein the determining the amount of caffeine corresponding to each of the brewing modes based on the extraction coefficient corresponding to each of the candidate brewing modes and the calibrated float range includes: under the condition that the brewing mode is a hand brewing mode, determining a first extraction coefficient corresponding to the hand brewing mode according to the baking mode and the brewing time length of coffee beans, wherein the first extraction coefficient is used for determining the caffeine quantity corresponding to the hand brewing mode; And under the condition that the brewing mode is a non-hand brewing mode, determining a second extraction coefficient corresponding to the non-hand brewing mode according to the weight of the coffee beans and the weight of the liquid outlet of the coffee liquid.
- 4. The control method according to claim 2, characterized by further comprising, before the range calibration of the caffeine floating range by the extraction efficiency corresponding to the grinding granularity, obtaining a calibrated floating range: Obtaining the average coffee particle size corresponding to the coffee beans; determining the extraction efficiency according to the average coffee granularity and the grinding granularity, wherein the extraction efficiency is specifically as follows: Wherein Eff (SizeCoff, sizedust) is the extraction efficiency, sizeCoff is the average coffee particle size, sizedust is the grind, baseCoff is the reference coffee particle size, basedust is the reference grind, η is a preset coefficient.
- 5. The control method according to any one of claims 1 to 4, wherein the displaying, by the display screen of the electronic scale, part or all of the caffeine information includes: Receiving input operation of a user on target caffeine, wherein the input operation is triggered based on an input control or a voice recognition module of the electronic scale; and determining the weight of the target coffee beans matched with the target caffeine according to the target caffeine and the brewing flow information.
- 6. The control method according to any one of claims 1 to 4, wherein the displaying, by the display screen of the electronic scale, part or all of the caffeine information includes: Determining target caffeine corresponding to a user based on activity information of the user; Determining the brewing mode with the smallest difference value with the target caffeine as a recommended brewing mode according to the caffeine amount corresponding to each brewing mode in the caffeine information; And displaying the recommended brewing mode and the caffeine amount corresponding to the recommended brewing mode through the display screen.
- 7. A control method according to any one of claims 1-4, wherein said obtaining coffee bean information to be measured in response to a measurement instruction comprises: Responding to a semantic acquisition instruction, and acquiring a voice signal of a user; and determining the coffee bean information and the brewing flow information according to the voice signal.
- 8. A control device for an electronic scale, comprising: the coffee bean information acquisition unit is used for responding to the measurement instruction and acquiring coffee bean information to be measured, wherein the coffee bean information comprises the weight of the coffee beans to be measured; A caffeine information determining unit for determining caffeine information corresponding to the weight of the coffee beans based on the coffee bean information and brewing process information, wherein the brewing process information comprises the brewing time of the coffee beans; And the display unit is used for displaying part or all of the caffeine information through a display screen of the electronic scale.
- 9. An electronic scale comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the control method as claimed in any one of claims 1 to 7 when the computer program is executed.
- 10. A computer-readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the steps of the control method of any one of claims 1 to 7 applied to an electronic scale.
Description
Control method and device applied to electronic scale, electronic scale and storage medium Technical Field The application belongs to the technical field of data processing, and particularly relates to a control method and device applied to an electronic scale, the electronic scale and a storage medium. Background With the continuous development of electronic technology, more and more products are developed towards the direction of electronics, for example, in the field of weighing, in view of the higher convenience, accuracy and aesthetic property of electronic scales, traditional scales have been gradually replaced in daily life and work. The existing electronic scale technical field can display the weight of an object to be weighed through an electronic screen. However, as the importance of users on diet health is higher, when the object to be weighed is coffee beans, the users often need to determine the caffeine amount contained in the object except for paying attention to the weight of the object, but the existing electronic scale can only display single weight information, so that the information types are few, and the actual use requirements of the users cannot be met. Disclosure of Invention The embodiment of the application provides a control method and device applied to an electronic scale, the electronic scale and a storage medium, and can solve the problems that the existing electronic scale can only display single weight information, has few information types and cannot meet the requirement of a user on checking caffeine amount. In a first aspect, an embodiment of the present application provides a control method applied to an electronic scale, including: acquiring coffee bean information to be measured in response to a measurement instruction, wherein the coffee bean information comprises the weight of the coffee beans to be measured; Determining caffeine information corresponding to the weight of the coffee beans based on the coffee bean information and brewing flow information, wherein the brewing flow information comprises the brewing time of the coffee beans; and displaying part or all of the caffeine information through a display screen of the electronic scale. In a possible implementation manner of the first aspect, the brewing flow information includes a grinding granularity for grinding the coffee beans and a brewing manner; the determining caffeine information corresponding to the weight of the coffee beans based on the coffee bean information and brewing process information comprises: determining a reference caffeine coefficient corresponding to the coffee bean type according to the coffee bean type in the coffee bean information; Determining a caffeine floating range according to the weight of the coffee beans and the reference caffeine coefficient; performing range calibration on the caffeine floating range through extraction efficiency corresponding to the grinding granularity to obtain a calibrated floating range; determining the caffeine amount corresponding to each brewing mode according to the extraction coefficient, the brewing time length and the calibrated floating range corresponding to each candidate brewing mode; and obtaining the caffeine information based on the corresponding relation between all the brewing modes and the caffeine amount. In a possible implementation manner of the first aspect, the determining, according to the extraction coefficient corresponding to each candidate brewing mode and the calibrated floating range, the caffeine amount corresponding to each brewing mode includes: under the condition that the brewing mode is a hand brewing mode, determining a first extraction coefficient corresponding to the hand brewing mode according to the baking mode and the brewing time length of coffee beans, wherein the first extraction coefficient is used for determining the caffeine quantity corresponding to the hand brewing mode; And under the condition that the brewing mode is a non-hand brewing mode, determining a second extraction coefficient corresponding to the non-hand brewing mode according to the weight of the coffee beans and the weight of the liquid outlet of the coffee liquid. In a possible implementation manner of the first aspect, before the performing range calibration on the caffeine floating range by using the extraction efficiency corresponding to the grinding granularity, obtaining a calibrated floating range, the method further includes: Obtaining the average coffee particle size corresponding to the coffee beans; determining the extraction efficiency according to the average coffee granularity and the grinding granularity, wherein the extraction efficiency is specifically as follows: Wherein Eff (SizeCoff, sizedust) is the extraction efficiency, sizeCoff is the average coffee particle size, sizedust is the grind, baseCoff is the reference coffee particle size, basedust is the reference grind, η is a preset coefficient. In a possible implementa