Control method and device of vehicle coffee machine, vehicle controller and storage medium
By receiving instructions and location information from mobile terminals and combining the duration of water temperature changes, the system accurately calculates the start time for coffee brewing, solving the problem of in-vehicle coffee machines being unable to accurately control coffee temperature, thus saving time and improving user experience.
Patent Information
- Application Number
- CN202311616496.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-29
- Publication Date
- 2026-02-24
- Estimated Expiration
- 2043-11-29
AI Technical Summary
Existing car coffee machines cannot accurately control the coffee brewing time, resulting in unsuitable coffee temperatures and affecting the user experience.
By receiving the demand commands from the mobile terminal and combining factors such as location information, historical walking speed, and water temperature change duration, the machine accurately calculates the start time for coffee making, thereby enabling automatic control of the coffee machine's operation.
Accurately control coffee preparation time, utilize commuting and coffee drinking time to save time and improve user experience.
Smart Images

Figure CN117426667B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle technology, and in particular to a control method, device, vehicle controller and storage medium for an in-vehicle coffee machine. Background Technology
[0002] Coffee is highly nutritious and has benefits such as refreshing the mind and promoting metabolism, making it popular among office workers.
[0003] Some existing car coffee machines use mobile terminals to make reservations, but this method cannot accurately control the coffee making time, resulting in coffee temperatures that are either too high or too low, affecting the user experience. Summary of the Invention
[0004] In view of this, embodiments of this application provide a control method, device, vehicle controller, and storage medium for a vehicle-mounted coffee machine to solve the problem that the reservation method in the prior art cannot accurately control the coffee making time.
[0005] A first aspect of this application provides a control method for a vehicle-mounted coffee machine, comprising:
[0006] Receive the demand command sent from the mobile terminal and use the moment the demand command is received as the start time;
[0007] Get the coffee brewing time;
[0008] Obtain the location information of the mobile terminal, and based on the location information and the stored historical walking speed, determine the time required for the mobile terminal to move to the location of the vehicle.
[0009] The duration of placement between the moment when the mobile terminal's location matches the vehicle's location and the moment the coffee is consumed;
[0010] Acquire the duration of water temperature change that controls the water temperature to reach the target temperature during coffee making;
[0011] Based on the demand instructions and the relationship between the movement time and the first duration, the start time for coffee making is determined by the start time, coffee making time, movement time, placement time, and water temperature change time; the first duration is the sum of the coffee making time and the water temperature change time.
[0012] Control the coffee machine to start making the coffee corresponding to the requested command at the moment of startup.
[0013] A second aspect of this application provides a control device for a vehicle-mounted coffee machine, comprising:
[0014] The receiving module is configured to receive the demand command sent from the mobile terminal and to use the moment the demand command is received as the start time.
[0015] The first acquisition module is configured to acquire the coffee preparation time.
[0016] The second acquisition module is configured to acquire the location information of the mobile terminal and, based on the location information and the stored historical walking speed, determine the travel time required for the mobile terminal to move from its location to the location of the vehicle.
[0017] The third acquisition module is configured to acquire the placement duration between the moment when the mobile terminal's location is the same as the vehicle's location and the moment when coffee is started;
[0018] The fourth acquisition module is configured to acquire the duration of water temperature change when the water temperature reaches the target temperature for coffee making;
[0019] The determination module is configured to determine the start time of coffee making based on the demand instruction and the relationship between the movement duration and the first duration, by using the start time, coffee making time, movement duration, placement time, and water temperature change duration; the first duration is the sum of the coffee making time and the water temperature change duration.
[0020] The control module is configured to control the coffee machine to start making the coffee corresponding to the demand command at startup.
[0021] A third aspect of this application provides a vehicle controller, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the method described above.
[0022] A fourth aspect of this application provides a readable storage medium storing a computer program that, when executed by a processor, implements the steps of the above-described method.
[0023] The beneficial effects of this application embodiment compared with the prior art are as follows: It receives a demand command sent from a mobile terminal and uses the moment the demand command is received as the start time; it obtains the coffee preparation time; it obtains the location information of the mobile terminal and, based on the location information and stored historical walking speed, determines the movement time required for the mobile terminal to move to the vehicle's location; it obtains the placement time between the moment the mobile terminal's location matches the vehicle's location and the moment the coffee is consumed; it obtains the water temperature change time to control the water temperature to reach the target temperature for coffee preparation; based on the demand command and the relationship between the movement time and the first time, it determines the coffee preparation start time through the start time, coffee preparation time, movement time, placement time, and water temperature change time; the first time is the sum of the coffee preparation time and the water temperature change time; and it controls the coffee machine to start making the coffee corresponding to the demand command at the start time. By employing the above technical means, this application embodiment combines a coffee making system with automatic control, which can accurately control the coffee preparation time. Furthermore, by utilizing commuting time and coffee drinking time, it allows for the completion of coffee preparation during fragmented time, saving time and improving the user experience. Attached Figure Description
[0024] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0025] Figure 1 This is a flowchart illustrating a control method for a vehicle-mounted coffee machine provided in an embodiment of this application;
[0026] Figure 2 This is a schematic diagram of the control system of a vehicle-mounted coffee machine provided in an embodiment of this application;
[0027] Figure 3 This is a schematic diagram of the structure of a control device for a vehicle-mounted coffee machine provided in an embodiment of this application;
[0028] Figure 4 This is a schematic diagram of the structure of a vehicle controller provided in an embodiment of this application. Detailed Implementation
[0029] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0030] The following will describe in detail, with reference to the accompanying drawings, a control method and apparatus for a vehicle-mounted coffee machine according to an embodiment of this application.
[0031] Figure 1 This is a flowchart illustrating a control method for a vehicle-mounted coffee machine according to an embodiment of this application. The control method for the vehicle-mounted coffee machine can be executed by a vehicle controller. Figure 1 As shown, the control method of this vehicle-mounted coffee machine includes:
[0032] S101, receive the demand instruction sent from the mobile terminal, and take the moment of receiving the demand instruction as the start time;
[0033] S102, get the coffee brewing time;
[0034] S103, obtain the location information of the mobile terminal, and determine the travel time required for the mobile terminal to move to the location of the vehicle based on the location information and the stored historical walking speed;
[0035] S104, Obtain the placement duration between the moment when the mobile terminal's location is the same as the vehicle's location and the moment when coffee is started;
[0036] S105, obtain the duration of water temperature change to reach the target temperature for coffee making;
[0037] S106. Based on the demand instruction and the relationship between the movement time and the first time, determine the start time of coffee making by using the start time, coffee making time, movement time, placement time, and water temperature change time; the first time is the sum of the coffee making time and the water temperature change time.
[0038] S107 controls the coffee machine to start making the coffee corresponding to the demand command at the start time.
[0039] Specifically, Figure 2 This is a schematic diagram of the control system of a vehicle-mounted coffee machine provided in an embodiment of this application, as shown below. Figure 2 As shown, the control method of this car coffee machine can be... Figure 2The vehicle control unit (VCU) shown executes the control system of the in-vehicle coffee machine. The control system includes a mobile terminal, a cloud management platform, and a vehicle-side system. The vehicle-side system includes the vehicle controller, TBOX controller, gateway controller, body controller, cabin domain controller, camera module, wearable device, battery pack, and coffee machine. The battery pack powers the TBOX controller, gateway controller, body control module (BCM), cabin domain controller (CDC), and vehicle controller (VCU). The gateway controller connects to the vehicle controller, TBOX controller, and coffee machine. The vehicle controller connects to the coffee machine via the body controller. The cloud management platform wirelessly connects to the TBOX controller and mobile terminal. The camera module connects to the cabin domain controller, and the wearable device (which can be a heart rate and blood pressure monitoring glove) connects to the vehicle controller. The body controller powers the coffee machine.
[0040] Optionally, before step S101, the following steps are included:
[0041] The system receives a vehicle wake-up command from the mobile terminal, wakes up other controllers according to the command, puts the vehicle into the start-up state, and checks the vehicle's battery level and the operating status of each controller, and then sends the results back to the mobile terminal.
[0042] Receive the coffee machine wake-up command sent from the mobile terminal, and control the coffee machine to enter standby mode according to the coffee machine wake-up command;
[0043] It receives the start command sent from the mobile terminal and controls the coffee machine to complete the pre-start according to the start command.
[0044] Specifically, the mobile terminal sends a vehicle wake-up command through the cloud management platform, TBOX controller, and gateway controller. The vehicle controller receives the wake-up command from the mobile terminal and, based on the command, wakes up the other controllers, bringing the vehicle into the start-up state. It then checks the vehicle's battery level and the operational status of each controller, feeding the results back to the mobile terminal via the gateway controller, TBOX controller, and cloud management platform. This information can be displayed through the mobile terminal's human-machine interface. Optionally, the vehicle can also be woken up using its original wake-up method.
[0045] The mobile terminal sends a wake-up command to the coffee machine via the cloud management platform, TBOX controller, and gateway controller. The vehicle controller receives the wake-up command from the mobile terminal and, based on the command, sends a wake-up command to the coffee machine via the gateway controller to wake it up and put it into standby mode. Specifically, the coffee machine performs a self-test based on the wake-up command, detecting the pre-stored coffee beans, water level, milk, sugar, etc., using its own sensors, and feeds the results back to the vehicle controller via the gateway controller. The vehicle controller then feeds back the results to the mobile terminal via the gateway controller, TBOX controller, and cloud management platform, putting the coffee machine into standby mode. Optionally, the coffee machine can also be put into standby mode via buttons on the machine itself.
[0046] The mobile terminal sends an activation command through the cloud management platform, TBOX controller, and gateway controller. The vehicle controller receives the activation command from the mobile terminal and, based on the command, sends an activation command to the coffee machine through the gateway controller to control the coffee machine to complete pre-start. Specifically, the coffee machine performs self-cleaning based on the activation command, cleaning the coffee dispensing pipe and discharging wastewater into the wastewater tank, thus completing the pre-start of the coffee machine. Optionally, the coffee machine can also be controlled to start and brew coffee using buttons on its own buttons.
[0047] Optionally, after the coffee machine pre-starts, a request command can be sent via a mobile app to control the machine to begin operation. This request command includes a coffee type selection command. The mobile app sends the coffee type selection command through the cloud management platform, TBOX controller, and gateway controller, and the vehicle controller receives the command. Specifically, the coffee type is selected via the mobile app; for example, three types can be selected: Americano (coffee liquid plus water), white coffee (coffee plus milk), and latte (coffee, milk, and milk foam). Pre-stored coffee beans are ground and the coffee liquid is prepared. Different coffee types require different brewing modes. The coffee machine selects the appropriate brewing mode based on the selected coffee type.
[0048] The vehicle controller will take the moment when it receives the demand command as the start time T0; the demand command includes the coffee type selection command.
[0049] The vehicle controller obtains the coffee brewing time t1. Specifically, the mobile terminal APP inputs the coffee type selection command and sends it to the vehicle controller via the cloud management platform, TBOX controller, and gateway controller. The vehicle controller then sends the coffee type selection command to the coffee machine via the gateway controller. The coffee machine determines the brewing time for that type of coffee based on the coffee type selection command and feeds it back to the vehicle controller via the gateway controller. Different types of coffee have different brewing times.
[0050] The vehicle controller obtains the location information of the mobile terminal and, based on the location information and the stored historical walking speed, determines the time t2 required for the mobile terminal to move to the location of the vehicle. Specifically, the vehicle controller obtains the location information of the mobile terminal APP through the gateway controller, TBOX controller, and cloud management platform, and determines the time t2 required for the user to reach the location of the vehicle based on the location information and the stored historical walking speed.
[0051] The vehicle controller obtains the placement time t3 between the moment when the mobile terminal's location matches the vehicle's location and the moment when the user starts drinking coffee; for example, if the user intends to drink coffee 5 minutes after getting in the car, the placement time t3 is 5 minutes.
[0052] The vehicle controller obtains the time t4 required for the water temperature to reach the target temperature for coffee brewing. Specifically, the coffee machine obtains the current water temperature through a temperature detector and, based on the selected coffee type and instructions, determines the time t4 required for the current water temperature to reach the target temperature for coffee brewing. The optimal water temperature (target temperature) for brewing different types of coffee varies. For example, the optimal water temperature for espresso is approximately between 90℃ and 96℃, while the optimal water temperature for drip coffee is approximately between 85℃ and 90℃. Specifically, if the current water temperature is 19℃ (Celsius), the coffee machine can calculate the time t4 required for the water temperature to rise from 19℃ to the target temperature (e.g., 90℃) using its stored PID algorithm, and then feed this information back to the vehicle controller via the gateway controller.
[0053] The vehicle controller determines the start time T for coffee making based on the demand command and the relationship between the movement time and the first time. This is achieved by using the start time T0, coffee making time t1, movement time t2, placement time t3, and water temperature change time t4. The first time is the sum of the coffee making time t1 and the water temperature change time t4.
[0054] The vehicle controller controls the coffee machine to start making the coffee corresponding to the demand command at startup time T.
[0055] According to the technical solution provided in the embodiments of this application, the coffee making system is combined with automatic control, which can accurately control the coffee making time. Moreover, by making use of commuting time and coffee drinking time, coffee can be made in spare time, saving time and improving user experience.
[0056] In some embodiments, based on the demand instruction and the relationship between the movement duration and the first duration, the start time of coffee preparation is determined by the start time, coffee preparation time, movement time, placement time, and water temperature change duration; the first duration is the sum of the coffee preparation time and the water temperature change duration, including:
[0057] If the moving duration is less than the first duration, add the starting moment, coffee-making duration, placing duration, and water temperature change duration to obtain the first moment, and use the first moment as the starting moment for coffee-making;
[0058] Specifically, if the user can reach the position of this vehicle before the water is heated to the target temperature, the first moment T can be calculated through the first mathematical expression.
[0059] That is, if t2 < t1 + t4, calculate the first moment T through the first mathematical expression T = T0 + t1 + t3 + t4, and use the first moment T as the starting moment for coffee-making.
[0060] If the moving duration is greater than the first duration, add the starting moment, moving duration, and placing duration to obtain the second moment, and use the second moment as the starting moment for coffee-making.
[0061] Specifically, if the user cannot reach the position of this vehicle before the water is heated to the target temperature, the second moment T can be calculated through the second mathematical expression.
[0062] That is, if t2 > t1 + t4, calculate the second moment T through the second mathematical expression T = T0 + t2 + t3, and use the second moment T as the starting moment for coffee-making.
[0063] In some embodiments, the control method of the in-vehicle coffee machine further includes:
[0064] Receive the heart rate and blood pressure of the user collected from the wearable device;
[0065] Judge whether the heart rate is within the preset heart rate range and whether the blood pressure is within the preset blood pressure range;
[0066] If the heart rate is not within the preset heart rate range or the blood pressure is not within the preset blood pressure range, output the first prompt message to the mobile terminal;
[0067] If the heart rate is within the preset heart rate range and the blood pressure is within the preset blood pressure range, output the second prompt message to the mobile terminal.
[0068] Specifically, the wearable device includes a heart rate and blood pressure detection glove. In an application scenario, the driver enters the cockpit and wears the heart rate and blood pressure detection glove. The heart rate and blood pressure detection glove collects the driver's heart rate and blood pressure and sends the collected heart rate and blood pressure to the vehicle controller.
[0069] The vehicle controller determines whether the heart rate and blood pressure are within a preset range. A normal person's heart rate is between 60 and 100 beats per minute, and the preset heart rate range is 60-100 beats per minute. A normal adult's blood pressure is maintained at a systolic pressure greater than or equal to 90 mmHg and less than 140 mmHg, and a diastolic pressure greater than or equal to 60 mmHg and less than 90 mmHg. The preset blood pressure range is a systolic pressure greater than or equal to 90 mmHg and less than 140 mmHg, and a diastolic pressure greater than or equal to 60 mmHg and less than 90 mmHg.
[0070] If the average heart rate collected within the preset time period is outside the preset heart rate range, or the average blood pressure collected within the preset time period is outside the preset blood pressure range, or both are outside the preset range, an anomaly is determined. The gateway controller, TBOX controller, and cloud management platform will then output an initial alert to the mobile terminal to remind the driver to avoid caffeine intake. The preset time period can be set to 5 minutes, but the specific value can be adjusted according to actual conditions or user needs; no restrictions are imposed here.
[0071] If the average heart rate collected within the preset time period is within the preset heart rate range and the collected blood pressure is within the preset blood pressure range, it is considered normal. The second prompt message is then output to the mobile terminal through the gateway controller, TBOX controller, and cloud management platform to remind the driver that caffeine intake is possible.
[0072] According to the technical solution provided in the embodiments of this application, by monitoring the user's heart rate and blood pressure, it can be determined whether the user can consume caffeine and remind the user, thereby enabling the user to control their caffeine intake and improving the user experience.
[0073] In some embodiments, the control method for the in-vehicle coffee machine further includes:
[0074] Receive facial image information of the user captured by the camera component;
[0075] Based on facial image information, determine whether the user is in a state of fatigue;
[0076] If the user is determined to be fatigued, the coffee to water ratio is adjusted to the highest level.
[0077] If the user is determined to be in a normal or excited state, the coffee to water ratio is adjusted to the second ratio; the first ratio is greater than the second ratio.
[0078] Specifically, the camera component includes a DMS (Driver Monitor System) camera. In one application scenario, after the vehicle is started, the vehicle controller controls the DMS camera to turn on via the cockpit domain controller to collect real-time facial image information of the driver, and then feeds it back to the vehicle controller via the cockpit domain controller.
[0079] The vehicle controller determines whether the user is fatigued and adjusts the ratio of coffee to water based on the assessment.
[0080] For example, the vehicle controller uses a fatigue algorithm to intelligently analyze the driver's facial features, eyes, and posture. It identifies fatigued drivers by observing facial expressions and body language such as frequent blinking, yawning, daydreaming, wandering gaze, and head tilting. If the driver is determined to be fatigued, the coffee concentration is automatically increased. If the driver is determined to be in a normal or alert state (i.e., not fatigued), the coffee concentration is automatically decreased.
[0081] Specifically, fatigue levels can be assessed using a fatigue rating system. For example, blinking frequency is 15 times per minute; each blink exceeding this adds 1 point. Yawning frequency is 3 times per minute; each yawn exceeding this adds 1 point. Prolonged daydreaming adds 1 point, and wandering gaze adds 1 point. Exceeding a set score indicates a state of fatigue; for example, exceeding 5 points indicates a state of fatigue. Fatigue levels can also be assigned, such as Level 1, Level 2, and Level 3. Level 1 fatigue scores are 5-7 points, Level 2 fatigue scores are 7-9 points, and Level 3 fatigue scores are greater than 10 points. The above fatigue ratings are merely examples; other fatigue rating systems may be used depending on the specific circumstances, and this application does not impose any limitations on this.
[0082] If the driver is determined to be fatigued, the coffee-to-water ratio is adjusted to the first ratio. For example, if the original ratio was 1:12 (one part coffee to 12 parts water), and the driver is determined to be fatigued, the ratio is adjusted to 1:11 (the first ratio). This adjustment continues based on the fatigue score, up to a maximum of 1:9 (a ratio acceptable to the human body). At this point, no additional sugar or milk is added to the coffee machine; only coffee and water are mixed.
[0083] If the driver is determined to be in a normal or excited state (i.e., not fatigued), the coffee-to-water ratio is adjusted to the second ratio; the first ratio is greater than the second. For example, if the original coffee-to-water ratio was 1:12 (one part coffee to 12 parts water), if the driver is determined to be in a normal or excited state, the coffee-to-water ratio is adjusted to 1:13 (i.e., the second ratio), the coffee beans are automatically switched to decaffeinated beans, and sugar or milk is added to make lattes and mochas, enhancing the coffee flavor while reducing the caffeine concentration. The coffee temperature is also appropriately lowered to enhance the driver's taste.
[0084] According to the technical solution provided in the embodiments of this application, by monitoring the user's facial image information, it is possible to determine whether the user is in a state of fatigue, thereby controlling the coffee ratio and improving the user experience.
[0085] In some embodiments, the control method for the in-vehicle coffee machine further includes:
[0086] After the coffee is made, the coffee temperature is received from the coffee machine's temperature sensor;
[0087] If the coffee temperature is higher than the preset temperature, a first control signal is output to the coffee machine to control the coffee temperature to drop to the preset temperature, and feedback is sent to the mobile terminal.
[0088] If the coffee temperature is lower than the preset temperature, a second control signal is output to the coffee machine to control the coffee temperature to rise to the preset temperature, and feedback is sent to the mobile terminal.
[0089] Specifically, for example, if the water temperature is 19 degrees Celsius and the coffee brewing time is approximately 30 seconds, the coffee temperature will be 100 degrees Celsius after brewing. The vehicle controller receives the coffee temperature detected by the coffee machine's temperature sensor via the gateway controller. The vehicle controller monitors the coffee temperature in real time to ensure that the coffee is always kept at the preset temperature for the user's enjoyment. Specifically, the vehicle controller outputs control signals to control the execution of the coffee machine's internal PID algorithm to ensure that the coffee temperature remains at the preset level.
[0090] If the coffee temperature is higher than the preset temperature, the vehicle controller outputs a first control signal to the body controller. The body controller then controls the cooling system at the coffee machine to operate based on this first control signal, thereby cooling the coffee to the preset temperature.
[0091] If the coffee temperature is lower than the preset temperature, the vehicle controller outputs a second control signal to the body controller. The body controller then controls the coffee machine heating system based on this second control signal to raise the temperature to the preset temperature.
[0092] According to the technical solution provided in the embodiments of this application, by adding a heat preservation operation after coffee making, that is, after coffee is made, the vehicle controller monitors the coffee temperature in real time and controls the coffee temperature to always be kept at the preset temperature, so that users can drink coffee at a suitable temperature and improve the user experience.
[0093] In some embodiments, the control method for the in-vehicle coffee machine further includes:
[0094] Receive the coffee preparation completion signal sent from the coffee machine;
[0095] Based on the completion signal, the aroma system in the control cabin area is activated by the coffee machine's exhaust of coffee grounds after coffee preparation is complete.
[0096] Specifically, once the coffee is made, the coffee grounds can be automatically collected and stored in the cabin's aroma system. The vehicle controller receives the coffee making completion signal from the coffee machine through the gateway controller and outputs an activation command to the cabin controller based on the completion signal. The cabin controller then activates the aroma system based on the activation command, delivering the residual aroma of the coffee grounds to the interior of the vehicle through the exhaust vents for deodorization and fragrance enhancement.
[0097] According to the technical solution provided in the embodiments of this application, after the coffee is made, the aroma system in the cabin area is turned on to recycle the coffee grounds, which is in line with the concept of environmental protection and revenue generation.
[0098] Optionally, the coffee machine automatically enters standby mode after the coffee grounds have been collected.
[0099] Considering that people's lack of awareness about caffeine leads to excessive caffeine intake, the control method for the in-vehicle coffee machine in this embodiment further includes:
[0100] Receive the number of coffee brews and caffeine content sent from the coffee machine;
[0101] If the caffeine content exceeds the preset level, an alarm message will be output.
[0102] The alarm information includes at least one of a first alarm information output to the mobile terminal and a second alarm information output to the vehicle's voice device.
[0103] Specifically, there is a limit to the daily caffeine intake for each person; generally, levels below 400mg will not have a negative impact on health. The vehicle controller records the number of times the coffee machine brews coffee and the caffeine content. It issues an alarm when the caffeine content exceeds a preset level, for example, when it exceeds 300mg. The alarm information can be sent to mobile terminals via the gateway controller, TBOX controller, and cloud management platform, or it can be sent to the vehicle's voice system for audio announcement. If the caffeine intake exceeds the limit for the day, the vehicle controller automatically adjusts the coffee-to-water ratio, lowering it to, for example, to a third ratio. The third ratio is lower than the first ratio. Specifically, this might involve increasing the water / milk volume, selecting low-caffeine, dark roast coffee beans, choosing filter coffee, or reducing brewing time.
[0104] According to the technical solution provided in the embodiments of this application, by monitoring the user's coffee intake, when the user consumes too much coffee, the user is reminded, which can make the user pay attention to the amount of caffeine intake and reduce the proportion of coffee liquid to reduce the intake, thus ensuring the user's health and improving the user experience.
[0105] All of the above-mentioned optional technical solutions can be combined in any way to form the optional embodiments of this application, and will not be described in detail here.
[0106] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0107] The following are embodiments of the apparatus of this application, which can be used to execute the embodiments of the method of this application. For details not disclosed in the embodiments of the apparatus of this application, please refer to the embodiments of the method of this application.
[0108] Figure 3 This is a schematic diagram of a control device for a car-mounted coffee machine provided in an embodiment of this application. Figure 3 As shown, the control device for the coffee machine includes:
[0109] The first receiving module 301 is configured to receive a demand instruction sent from the mobile terminal and to take the moment of receiving the demand instruction as the start time.
[0110] The first acquisition module 302 is configured to acquire the coffee preparation time;
[0111] The second acquisition module 303 is configured to acquire the location information of the mobile terminal and, based on the location information and the stored historical walking speed, determine the travel time required for the mobile terminal to move from its location to the location of the vehicle.
[0112] The third acquisition module 304 is configured to acquire the placement time between the moment when the mobile terminal's location is the same as the vehicle's location and the moment when coffee is started;
[0113] The fourth acquisition module 305 is configured to acquire the duration of water temperature change when the water temperature reaches the target temperature for coffee making;
[0114] The determination module 306 is configured to determine the start time of coffee making based on the demand instruction and the relationship between the movement time and the first time, by using the start time, coffee making time, movement time, placement time and water temperature change time; the first time is the sum of the coffee making time and the water temperature change time.
[0115] The first control module 307 is configured to control the coffee machine to start making the coffee corresponding to the demand command at the start time.
[0116] According to the technical solution provided in this application embodiment, the system receives a demand command sent from a mobile terminal and uses the moment the demand command is received as the start time; it obtains the coffee preparation time; it obtains the location information of the mobile terminal and, based on the location information and stored historical walking speed, determines the movement time required for the mobile terminal to move to the vehicle's location; it obtains the placement time between the moment the mobile terminal's location matches the vehicle's location and the moment the coffee is started; it obtains the water temperature change time to control the water temperature to reach the target temperature for coffee preparation; based on the demand command and the relationship between the movement time and the first time, it determines the coffee preparation start time using the start time, coffee preparation time, movement time, placement time, and water temperature change time; the first time is the sum of the coffee preparation time and the water temperature change time; and it controls the coffee machine to start making the coffee corresponding to the demand command at the start time. By employing the above technical means, this application embodiment combines a coffee making system with automatic control, utilizing commuting time and coffee drinking time, completing coffee preparation in fragmented time, saving time, and improving user experience.
[0117] In some embodiments, the determining module 306 is specifically configured as follows:
[0118] If the moving time is less than the first time, the starting time, coffee making time, resting time, and water temperature change time are added together to get the first time, which is then used as the starting time for coffee making.
[0119] If the movement time is longer than the first time, the start time, movement time, and placement time are added together to obtain the second time, which is then used as the start time for coffee making.
[0120] In some embodiments, it also includes:
[0121] The second receiving module is configured to receive the user's heart rate and blood pressure collected from the wearable device;
[0122] The first judgment module is configured to judge whether the heart rate is within the preset heart rate range and whether the blood pressure is within the preset blood pressure range;
[0123] The first output module is configured to output a first prompt message to the mobile terminal if the heart rate is not within the preset heart rate range or the blood pressure is not within the preset blood pressure range.
[0124] The second output module is configured to output a second prompt message to the mobile terminal if the heart rate is within a preset heart rate range and the blood pressure is within a preset blood pressure range.
[0125] In some embodiments, it also includes:
[0126] The third receiving module is configured to receive facial image information of the user captured from the camera component;
[0127] The second judgment module is configured to determine whether the user is in a state of fatigue based on facial image information;
[0128] The first adjustment module is configured to adjust the ratio of coffee to water to a first ratio if it determines that the user is in a state of fatigue.
[0129] The second adjustment module is configured to adjust the coffee-to-water ratio to a second ratio if the user is determined to be in a normal or excited state; the first ratio is greater than the second ratio.
[0130] In some embodiments, it also includes:
[0131] The fourth receiving module is configured to receive the coffee temperature detected by the coffee machine's temperature sensor after the coffee is made;
[0132] The third output module is configured to output a first control signal to the coffee machine if the coffee temperature is higher than the preset temperature, so as to control the coffee temperature to drop to the preset temperature and feed it back to the mobile terminal.
[0133] The fourth output module is configured to output a second control signal to the coffee machine if the coffee temperature is lower than the preset temperature, so as to control the coffee temperature to rise to the preset temperature and feed it back to the mobile terminal.
[0134] In some embodiments, it also includes:
[0135] The fifth receiving module is configured to receive a coffee-making completion signal sent from the coffee machine;
[0136] The second control module is configured to control the aroma system in the cabin area based on the coffee grounds exhaust from the coffee machine after the coffee making process is completed, according to the completion signal.
[0137] In some embodiments, it also includes:
[0138] The sixth receiving module is configured to receive the number of coffee brews and caffeine content sent from the coffee machine;
[0139] The fifth output module is configured to output an alarm message if the caffeine content exceeds a preset level; the alarm message includes at least one of a first alarm message output to a mobile terminal and a second alarm message output to the vehicle's voice device.
[0140] Figure 4 This is a schematic diagram of the vehicle controller 4 provided in an embodiment of this application. Figure 4 As shown, the vehicle controller 4 in this embodiment includes a processor 401, a memory 402, and a computer program 403 stored in the memory 402 and executable on the processor 401. When the processor 401 executes the computer program 403, it implements the steps in the various method embodiments described above. Alternatively, when the processor 401 executes the computer program 403, it implements the functions of each module / unit in the various device embodiments described above.
[0141] The vehicle controller 4 can be a desktop computer, laptop, handheld computer, or cloud server, etc. The vehicle controller 4 may include, but is not limited to, a processor 401 and a memory 402. Those skilled in the art will understand that... Figure 4 This is merely an example of vehicle controller 4 and does not constitute a limitation on vehicle controller 4. It may include more or fewer components than shown, or different components.
[0142] The processor 401 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
[0143] The memory 402 can be an internal storage unit of the vehicle controller 4, such as a hard disk or RAM of the vehicle controller 4. The memory 402 can also be an external storage device of the vehicle controller 4, such as a plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) card, Flash Card, etc., equipped on the vehicle controller 4. The memory 402 can also include both internal and external storage units of the vehicle controller 4. The memory 402 is used to store computer programs and other programs and data required by the vehicle controller.
[0144] Based on the same inventive concept, embodiments of this application provide a readable storage medium storing a computer program that, when executed by a processor, implements the steps of the method as described in any of the above embodiments.
[0145] The readable storage medium provided in this application has the same inventive concept and the same beneficial effects as the previous embodiments. For the contents not shown in detail in the readable storage medium, please refer to the previous embodiments, and will not be repeated here.
[0146] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0147] If integrated modules / units are implemented as software functional units and sold or used as independent products, they can be stored in a readable storage medium (e.g., a computer-readable storage medium). Based on this understanding, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program may include computer program code, which may be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable storage medium may include: any entity or device capable of carrying computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc.
[0148] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A control method for a car-mounted coffee machine, characterized in that, include: Receive a demand instruction sent from a mobile terminal, and use the moment the demand instruction is received as the start time; Get the coffee brewing time; The location information of the mobile terminal is obtained, and based on the location information and the stored historical walking speed, the travel time required for the mobile terminal to move to the location of the vehicle is determined. The duration of placement between the moment when the mobile terminal's location matches the vehicle's location and the moment the coffee is consumed; Acquire the duration of water temperature changes that allow the water temperature to reach the target temperature for coffee making; Based on the demand instruction and the relationship between the movement duration and the first duration, the start time of coffee making is determined by the start time, the coffee making duration, the movement duration, the placement duration, and the water temperature change duration. The first duration is the sum of the coffee preparation time and the water temperature change time; This includes: if the movement duration is less than the first duration, then the start time, the coffee making duration, the placement duration, and the water temperature change duration are added together to obtain a first time, and the first time is used as the start time of coffee making; if the movement duration is greater than the first duration, then the start time, the movement duration, and the placement duration are added together to obtain a second time, and the second time is used as the start time of coffee making. The coffee machine is controlled to start making the coffee corresponding to the demand command at the start time.
2. The method according to claim 1, characterized in that, Also includes: Receives user's heart rate and blood pressure data collected from wearable devices; Determine whether the heart rate is within a preset heart rate range, and determine whether the blood pressure is within a preset blood pressure range; If the heart rate is not within the preset heart rate range or the blood pressure is not within the preset blood pressure range, a first prompt message is output to the mobile terminal; If the heart rate is within the preset heart rate range and the blood pressure is within the preset blood pressure range, then a second prompt message is output to the mobile terminal.
3. The method according to claim 1, characterized in that, Also includes: Receive facial image information of the user captured by the camera component; Based on the facial image information, determine whether the user is in a state of fatigue; If the user is determined to be fatigued, the ratio of coffee to water is adjusted to the first ratio. If the user is determined to be in a normal or excited state, the coffee to water ratio is adjusted to a second ratio; the first ratio is greater than the second ratio.
4. The method according to claim 1, characterized in that, Also includes: After the coffee is made, the coffee temperature is received from the coffee machine's temperature sensor; If the coffee temperature is higher than the preset temperature, a first control signal is output to the coffee machine to control the coffee temperature to decrease to the preset temperature, and feedback is sent to the mobile terminal. If the coffee temperature is lower than the preset temperature, a second control signal is output to the coffee machine to control the coffee temperature to rise to the preset temperature, and feedback is sent to the mobile terminal.
5. The method according to claim 1, characterized in that, Also includes: Receive a coffee preparation completion signal sent from the coffee machine; Based on the completion signal, the aroma system in the control cabin area is activated by exhausting coffee grounds from the coffee machine after coffee preparation.
6. The method according to any one of claims 1 to 5, characterized in that, Also includes: Receive the number of coffee brewing times and caffeine content sent from the coffee machine; If the caffeine content exceeds the preset level, an alarm message will be output. The alarm information includes at least one of a first alarm information output to a mobile terminal and a second alarm information output to the vehicle's voice device.
7. A control device for a car-mounted coffee machine, characterized in that, include: The receiving module is configured to receive a demand instruction sent from the mobile terminal, and to use the moment of receiving the demand instruction as the start time. The first acquisition module is configured to acquire the coffee preparation time. The second acquisition module is configured to acquire the location information of the mobile terminal, and based on the location information and the stored historical walking speed, determine the travel time required for the mobile terminal to move from its location to the location of the vehicle. The third acquisition module is configured to acquire the placement duration between the moment when the mobile terminal's location is the same as the vehicle's location and the moment when coffee is started; The fourth acquisition module is configured to acquire the duration of water temperature change when the water temperature reaches the target temperature for coffee making; The determination module is configured to determine the start time of coffee making based on the demand instruction and the relationship between the movement duration and the first duration, by using the start time, the coffee making duration, the movement duration, the placement duration, and the water temperature change duration. The first duration is the sum of the coffee preparation time and the water temperature change time; This includes: if the movement duration is less than the first duration, then the start time, the coffee making duration, the placement duration, and the water temperature change duration are added together to obtain a first time, and the first time is used as the start time of coffee making; if the movement duration is greater than the first duration, then the start time, the movement duration, and the placement duration are added together to obtain a second time, and the second time is used as the start time of coffee making. The control module is configured to control the coffee machine to start making the coffee corresponding to the demand instruction at the start time.
8. A vehicle controller, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method as described in any one of claims 1 to 6.
9. A readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Coffee pre-making method, device and system based on geographic position
CN111369024A
Coffee drink order processing apparatus using unmanned coffee drink making machine, and operating method therefor
US20200082461A1