Drinking water heating method, vehicle, storage medium and computer program product
By detecting the power interface status and selecting the appropriate heating mode, the problem that the vehicle heating equipment cannot heat drinking water when connected to different power sources is solved, and a reliable heating function is achieved in multiple power situations.
Patent Information
- Application Number
- CN202411116025.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-14
- Publication Date
- 2024-11-19
AI Technical Summary
Existing vehicle heating equipment can only match one power supply in the vehicle, and drinking water cannot be heated when connected to other power supplies, reducing the riding experience.
By detecting the connection status of the power supply interface, determining the target power supply, and selecting the appropriate heating mode according to the target power supply, controlling the power supply to achieve heating of drinking water.
When power supplies are connected to different power sources, the vehicle can automatically match the appropriate heating mode to ensure that the drinking water can always be heated and improve the riding experience.
Smart Images

Figure CN118977636A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to a method for heating drinking water, a vehicle, a storage medium, and a computer program product. Background Art
[0002] With the continuous development of the automobile industry, cars have become the preferred means of transportation in people's daily lives. In order to improve the comfort of riding in a car, the demand for hot water by passengers in the car is also increasing.
[0003] In the related art, in order to meet the needs of passengers in the car for hot water, technicians usually configure heating equipment in the vehicle to provide hot water to the passengers in the car through the heating equipment. However, the heating equipment used in the related art can usually only be adapted to one of the multiple power sources with different power contained in the vehicle, so as to heat the drinking water in a single heating mode. In this way, when the passengers in the car connect the heating equipment to other power sources in the vehicle, the heating equipment is likely to fail to heat the drinking water, thereby greatly reducing the riding experience of the passengers in the car.
[0004] Therefore, how to enable the heating equipment to heat drinking water when connected to power sources of different power in the vehicle has become a technical problem that urgently needs to be solved in the industry. Summary of the invention
[0005] The main purpose of the present application is to provide a method for heating drinking water, a vehicle, a storage medium and a computer program product, aiming to solve the technical problem in the related art that the heating equipment is easily unable to heat the drinking water when connected to other power sources in the vehicle.
[0006] To achieve the above object, the present application proposes a method for heating drinking water, the method for heating drinking water being applied to a vehicle, the vehicle comprising a heating device and a plurality of power supplies, the heating device comprising a power supply interface, and the method comprising:
[0007] Detecting an interface connection state of the power interface, wherein the interface connection state includes an interface connection state and an interface disconnection state;
[0008] If it is detected that the interface connection state is the interface connected state, determining a target power supply connected to the power supply interface from among the multiple power supplies;
[0009] determining a target heating mode according to the target power supply;
[0010] The target power source is controlled to supply power to the heating device according to the target heating mode, so that the heating device provides heated drinking water.
[0011] In one embodiment, the power source comprises a high power source, the heating device further comprises a mode selection switch, and the target heating mode comprises an instant heating mode and a non-instant heating mode;
[0012] The step of determining a target heating mode according to the target power source comprises:
[0013] In the case where the high-power power source is determined to be the target power source, detecting a switch state of the mode selection switch;
[0014] If it is detected that the switch state is the first switch state, determining the instant heating mode as the target heating mode;
[0015] If it is detected that the switch state is the second switch state, the non-instantaneous heating mode is determined to be the target heating mode.
[0016] In one embodiment, the power source further includes a low power source, and the step of determining the target heating mode according to the target power source further includes:
[0017] In the case where the low-power power source is determined to be the target power source, the non-instant heating mode is determined to be the target heating mode.
[0018] In one embodiment, the heating device further comprises a water pipe, a water pump and a heating pipe, the water pipe is connected to the water pump and the heating pipe respectively, and the high-power power supply is connected to the water pump and the heating pipe respectively through the power supply interface;
[0019] The step of controlling the target power supply to supply power to the heating device according to the target heating mode so that the heating device provides heated drinking water comprises:
[0020] In the case where it is determined that the instant heating mode is the target heating mode, controlling the high-power power supply to supply power to the water pump so that the water pump inputs drinking water into the water pipe;
[0021] The high-power power supply is controlled to supply power to the heating pipe, so that the heating pipe heats the drinking water in the water pipe and provides the heated drinking water through the water pipe.
[0022] In one embodiment, after the step of controlling the high-power power supply to supply power to the heating tube, the method further comprises:
[0023] Detecting a first drinking water temperature in the water delivery pipe, and comparing the first drinking water temperature with a preset first temperature threshold to obtain a first comparison result;
[0024] When the first comparison result is that the first drinking water temperature is greater than or equal to the first temperature threshold, the high-power power supply is controlled to stop supplying power to the heating tube.
[0025] In one embodiment, the heating device further comprises a heating base, and the heating base is connected to a high-power power source or a low-power power source through the power interface;
[0026] The step of controlling the target power supply to supply power to the heating device according to the target heating mode so that the heating device provides heated drinking water further includes:
[0027] In the case where it is determined that the non-instant heating mode is the target heating mode, determining whether there is a target container on the heating base;
[0028] If it is determined that the target container exists on the heating base, the high-power power supply / the low-power power supply is controlled to supply power to the heating base, so as to heat the drinking water in the target container through the heating base.
[0029] In one embodiment, before the step of detecting the interface connection state of the power interface, the method further includes:
[0030] Get the ambient temperature value;
[0031] A target power adjustment value is determined according to the ambient temperature value, and the first standard output power of the high power supply is adjusted to a second standard output power according to the target power adjustment value.
[0032] In one embodiment, the step of determining the target power adjustment value according to the ambient temperature value includes:
[0033] Determine a plurality of reference temperature values and reference power adjustment values corresponding to the plurality of reference temperature values;
[0034] Determining a target temperature value from among the plurality of reference temperature values according to the ambient temperature value, wherein the target temperature value is a reference temperature value that is the same as the ambient temperature value;
[0035] The reference power adjustment value corresponding to the target temperature value is determined as the target power adjustment value.
[0036] In one embodiment, after the step of controlling the target power supply to supply power to the heating device according to the target heating mode, the method further includes:
[0037] Detecting a second drinking water temperature of the target container by the heating device, and comparing the second drinking water temperature with a preset second temperature threshold to obtain a second comparison result;
[0038] When the second comparison result is that the second drinking water temperature is less than or equal to the second temperature threshold, controlling the target power supply to supply power to the heating base, so as to heat the target container through the heating base;
[0039] Detecting a third drinking water temperature of the target container by the heating device, and comparing the third drinking water temperature with a preset third temperature threshold to obtain a third comparison result, wherein the third drinking water temperature is greater than the second drinking water temperature, and the third temperature threshold is greater than the second temperature threshold;
[0040] When the third comparison result is that the third drinking water temperature is greater than or equal to the third temperature threshold, the target power supply is controlled to stop supplying power to the heating base.
[0041] In addition, to achieve the above-mentioned purpose, the present application also proposes a vehicle, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the method for heating drinking water as described above.
[0042] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the drinking water heating method described above are implemented.
[0043] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the method for heating drinking water as described above are implemented.
[0044] The drinking water heating method provided in the embodiment of the present application is applied to a vehicle, wherein the vehicle includes a heating device and multiple power supplies, and the heating device includes a power interface. The interface connection state of the power interface is detected, wherein the interface connection state includes an interface connected state and an interface disconnected state; if the interface connection state is detected to be the interface connected state, a target power supply connected to the power interface is determined among the multiple power supplies; a target heating mode is determined according to the target power supply; and according to the target heating mode, the target power supply is controlled to supply power to the heating device, so that the heating device provides heated drinking water.
[0045] In this embodiment, the vehicle first detects the power interface included in the heating device to obtain the interface connection status of the power interface, and determines whether the interface connection status is the interface connection status or the interface disconnection status. Then, if the vehicle determines that the interface connection status is the interface connection status, the vehicle determines the target power supply connected to the power interface among the multiple power supplies configured by itself. Then, the vehicle determines the target heating mode corresponding to the target power supply. Finally, the vehicle controls the target power supply according to the target heating mode to enable the target power supply to supply power to the heating device, thereby heating the drinking water through the heating device and providing the heated drinking water to the occupants in the vehicle.
[0046] In this way, the present application solves the technical problem in the related art that the heating device is prone to being unable to heat drinking water when connected to other power sources in the vehicle. That is, the present application determines a target power source connected to the heating device among multiple power sources included in the vehicle, and determines a target heating mode to be adopted based on the target power source, thereby controlling the target power source to supply power to the heating device according to the target heating mode to heat the drinking water. When the occupants in the vehicle connect the heating device to power sources of different power, the vehicle can find a matching target heating mode among the preset multiple heating modes according to the power source connected to the heating device, thereby achieving the technical effect of enabling the vehicle to control the heating device to heat drinking water when the heating device is connected to different power sources. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0048] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0049] Figure 1 A schematic diagram of a process flow provided for Embodiment 1 of the method for heating drinking water of the present application;
[0050] Figure 2 This is a schematic diagram of the structure of a heating device involved in an embodiment of a method for heating drinking water of the present application;
[0051] Figure 3 A schematic diagram of the deployment position of a high-power power source involved in an embodiment of a method for heating drinking water of the present application;
[0052] Figure 4 A schematic diagram of the deployment position of a low-power power source involved in an embodiment of a method for heating drinking water of the present application;
[0053] Figure 5 A schematic diagram of the equipment structure of the hardware operating environment involved in the method for heating drinking water in an embodiment of the present application;
[0054] Figure 6 A simplified schematic diagram of the process for heating drinking water according to the present application.
[0055] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0056] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0057] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0058] In this embodiment, for the convenience of description, the following description is made by taking a vehicle equipped with a high-power power supply, a low-power power supply and a heating device as the execution subject, wherein, please refer to Figure 2 , Figure 2 This is a schematic diagram of the structure of a heating device involved in an embodiment of a method for heating drinking water of the present application, such as Figure 2 As shown, the heating device is equipped with a power interface, a water pipe, a heating pipe, a water pump, a water storage tank and a heating base. When the heating device is connected to a high-power power supply, the heating pipe, the water pump and the heating base are connected to the high-power power supply through the power interface respectively. Similarly, when the heating device is connected to a low-power power supply, the heating base is connected to the low-power power supply through the power interface respectively. In addition, the water pipe is connected to the water storage tank through the water pump. The heating device can input the drinking water in the water storage tank into the water pipe through the water pump, and send the drinking water into the passenger's water cup through the water pipe. In addition, the heating pipe is configured on the outer wall shell of the water pipe to increase the water temperature of the drinking water in the water pipe by heating the water pipe.
[0059] Based on the above-mentioned vehicle, the overall concept of the method for heating drinking water of the present application is proposed herein.
[0060] With the continuous development of the automobile industry, cars have become the preferred means of transportation in people's daily lives. In order to improve the comfort of riding in a car, the demand for hot water by passengers in the car is also increasing. In the relevant technology, in order to meet the demand for hot water by passengers in the car, technicians usually configure heating equipment in the vehicle to provide hot water to passengers in the car through the heating equipment. However, the heating equipment used in the relevant technology is usually only configured with a single heating mode, that is, the heating equipment can only use one of the instant heating mode or the non-instant heating mode. The heating equipment that can use the instant heating function is usually only adapted to the high-power power supply in the vehicle. In this way, once the heating equipment is connected to the low-power power supply by the passengers in the car, the heating equipment will not be able to heat the drinking water. Similarly, the heating equipment that can use the non-instant heating function is usually only adapted to the low-power power supply in the vehicle. In this way, once the heating equipment is connected to the high-power power supply by the passengers in the car, the heating equipment cannot heat the drinking water, thereby greatly reducing the riding experience of the passengers in the car.
[0061] In response to the above phenomenon, the present application provides a method for heating drinking water, which is applied to a vehicle, wherein the vehicle includes a heating device and multiple power supplies, and the heating device includes a power interface. The method includes: detecting an interface connection state of the power interface, wherein the interface connection state includes an interface connection state and an interface disconnection state; if the interface connection state is detected to be the interface connection state, determining a target power supply connected to the power interface among the multiple power supplies; determining a target heating mode according to the target power supply; and controlling the target power supply to supply power to the heating device according to the target heating mode, so that the heating device provides heated drinking water.
[0062] In this way, the present application solves the technical problem in the related art that the heating device is prone to being unable to heat drinking water when connected to other power sources in the vehicle. That is, the present application determines a target power source connected to the heating device among multiple power sources included in the vehicle, and determines a target heating mode to be adopted based on the target power source, thereby controlling the target power source to supply power to the heating device according to the target heating mode to heat the drinking water. When the occupants in the vehicle connect the heating device to power sources of different power, the vehicle can find a matching target heating mode among the preset multiple heating modes according to the power source connected to the heating device, thereby achieving the technical effect of enabling the vehicle to control the heating device to heat drinking water when the heating device is connected to different power sources.
[0063] Based on the overall concept of the method for heating drinking water of the present application, the embodiment of the present application provides a method for heating drinking water, referring to Figure 1 , Figure 1This is a schematic flow chart of a first embodiment of a method for heating drinking water of the present application.
[0064] In this embodiment, the method for heating drinking water is applied to a vehicle, the vehicle includes a heating device and multiple power supplies, the heating device includes a power supply interface, and the method for heating drinking water includes steps S10 to S40:
[0065] Step S10: detecting the interface connection state of the power interface, wherein the interface connection state includes an interface connection state and an interface disconnection state;
[0066] It should be noted that the interface connectivity state indicates that the power interface in the heating device is connected to the high-power power supply / low-power power supply configured in the vehicle. Similarly, the interface disconnection state indicates that the power interface is not connected to the high-power power supply / low-power power supply configured in the vehicle.
[0067] In this embodiment, the vehicle first detects the power interface of the heating device configured in the vehicle during driving, so as to obtain the interface connection state of the power interface and determine whether the interface connection state is the interface connected state or the interface disconnected state.
[0068] Exemplarily, for example, when the vehicle is driving, if the occupant in the vehicle needs to get hot water in the vehicle through a cup, the occupant in the vehicle can connect the heating device to the power supply configured in the vehicle, and turn on the heating device to deliver the heated drinking water to the cup. At this time, the vehicle first detects the power interface configured in the heating device during operation, so as to determine the interface connection status of the power interface, and judges whether the interface connection status is an interface connection status indicating that the heating device is connected to the high-power power supply / low-power power supply configured in the vehicle, or an interface disconnection status indicating that the heating device is not connected to either the high-power power supply or the low-power power supply.
[0069] In this way, the vehicle can determine whether the heating device is connected to the power supply configured in the vehicle by detecting the power interface in the heating device, and then, when it is detected that the heating device is connected to the power supply, the target heating mode to be adopted is determined according to the target power supply, and the target power supply is controlled to supply power to the heating device according to the target heating mode to heat the drinking water. When the occupants in the vehicle connect the heating device to power supplies of different power, the vehicle can find a matching target heating mode from the preset multiple heating modes according to the power supply connected to the heating device.
[0070] Step S20: if it is detected that the interface connection state is the interface connected state, determining a target power supply connected to the power supply interface from among the multiple power supplies;
[0071] In this embodiment, when the vehicle determines that the interface connection state of the power interface is the interface connected state, the vehicle screens multiple power sources configured by the vehicle, thereby determining the target power source connected to the heating device among the multiple power sources.
[0072] Exemplarily, for example, when the vehicle determines that the interface connection state is an interface connectivity state indicating that the heating device is connected to a high-power power supply / low-power power supply configured in the vehicle, it further screens the high-power power supply with a standard output power of 2200W and the low-power power supply with a standard output power of 120W configured by itself, thereby determining the target power supply connected to the heating device among the high-power power supply and the low-power power supply.
[0073] In this way, the vehicle can determine the target power supply connected to the heating device among the multiple power supplies configured by itself, and then determine the target heating mode to be adopted according to the target power supply, and control the target power supply to supply power to the heating device according to the target heating mode to heat the drinking water.
[0074] Step S30: determining a target heating mode according to the target power supply;
[0075] It should be noted that the target heating mode is a heating mode that can be adopted by the heating equipment in the process of heating drinking water, which specifically includes two types: instant heating mode and non-instant heating mode. Among them, the instant heating mode is a mode in which the heating equipment can quickly heat the drinking water, and the non-instant heating mode is a mode in which the heating equipment can slowly heat the drinking water.
[0076] In this embodiment, after determining the target power source connected to the heating device, the vehicle screens multiple preset heating modes according to the target power source, thereby determining a target heating mode that matches the target power source from the multiple heating modes.
[0077] In a feasible implementation manner, the power supply includes a high-power power supply, the heating device further includes a mode selection switch, and the target heating mode includes an instant heating mode and a non-instant heating mode; the above step S30 specifically includes steps S301 to S303:
[0078] Step S301: when it is determined that the high-power power source is the target power source, detecting the switch state of the mode selection switch;
[0079] Step S302: if it is detected that the switch state is the first switch state, determining the instant heating mode as the target heating mode;
[0080] Step S303: If it is detected that the switch state is the second switch state, the non-instant heating mode is determined to be the target heating mode.
[0081] It should be noted that the first switch state is a switch state in which the hardware switch for selecting the instant heating mode in the mode selection switch is closed, while the hardware switch for selecting the non-instant heating mode is disconnected. Similarly, the second switch state is a switch state in which the hardware switch for selecting the instant heating mode in the mode selection switch is disconnected, while the hardware switch for selecting the non-instant heating mode is closed. In addition, the instant heating mode is a heating mode in which a high-power power supply is used to power a heating tube in a heating device to heat drinking water through the heating tube. Similarly, the non-instant heating mode is a heating mode in which a high-power power supply / low-power power supply is used to power a heating base in a heating device to heat a cup of drinking water through the heating base.
[0082] In this embodiment, when the vehicle detects that a high-power power supply among the multiple power supplies configured by the vehicle is the target power supply connected to the heating device, the vehicle further detects the mode selection switch configured on the heating device to obtain the switch state of the mode selection switch. Thereafter, if the vehicle detects that the switch state is the first switch state in which the instant heating mode is selected, the preset instant heating mode is determined to be the target heating mode. If the vehicle detects that the switch state is the second switch state in which the non-instant heating mode is selected, the preset non-instant heating mode is determined to be the target heating mode.
[0083] Exemplarily, for example, when the vehicle detects that the high-power power supply with a standard output power of 2200w configured by itself is the target power supply connected to the heating device, it determines that the preset heating mode corresponding to the high-power power supply includes two types: instant heating mode and non-instant heating mode. At this time, the vehicle detects the mode selection switch configured in the heating device, including switch A corresponding to the instant heating mode and switch B corresponding to the non-instant heating mode, so as to obtain the switch state of the mode detection switch. Afterwards, when the vehicle detects that switch A included in the mode selection switch is closed and switch B is open, it determines that the switch state corresponding to the mode selection switch is the first switch state in which the instant heating mode is selected. At this time, the vehicle determines that the user has selected the instant heating mode, and thus determines the instant heating mode as the target heating mode that can be adopted. If the vehicle detects that switch A included in the mode selection switch is open and switch B is closed, it determines that the switch state corresponding to the mode selection switch is the second switch state in which the non-instant heating mode is selected. At this time, the vehicle determines that the user has selected the non-instant heating mode, and thus determines the non-instant heating mode as the target heating mode that can be adopted.
[0084] In this way, the vehicle is able to recognize the user's selection of a heating mode when it is determined that the heating device is connected to a high-power power source.
[0085] In a feasible implementation manner, the power supply further includes a low-power power supply, and the above step S30 further includes step S304:
[0086] Step S304: when it is determined that the low-power power source is the target power source, the non-instant heating mode is determined to be the target heating mode.
[0087] In this embodiment, when the vehicle detects that a low-power power source among multiple power sources configured by the vehicle is a target power source connected to the heating device, the vehicle directly determines the preset non-instant heating mode as the target heating mode.
[0088] Exemplarily, for example, when the vehicle detects that the low-power power supply with a standard output power of 120w is the target power supply connected to the heating device, it determines that the preset heating mode corresponding to the low-power power supply only includes the non-instantaneous heating mode. At this time, the vehicle directly determines the non-instantaneous heating mode as the target heating mode that can be adopted.
[0089] It should be noted that, since the power output of the low-power power supply cannot enable the heating tube to quickly heat the drinking water, when the vehicle recognizes that the heating device is connected to a low-power power supply, it can directly determine to heat the drinking water in a non-instantaneous heating mode. In addition, since the power output of the high-power power supply is adjustable, when the vehicle recognizes that the heating device is connected to a high-power power supply, if the user does not need to use the instant heating mode, the heating device can also supply power to the heating base through the high-power power supply to heat the drinking water in a non-instantaneous heating mode through the heating base.
[0090] In this way, the vehicle can determine the non-instant heating mode as the target heating mode when it is determined that the heating device is connected to the low-power power source.
[0091] Step S40: controlling the target power supply to supply power to the heating device according to the target heating mode, so that the heating device provides heated drinking water;
[0092] In this embodiment, after determining the target heating mode that matches the target power supply, the vehicle controls the target power supply to power the heating device according to the target heating mode, so that the heating device heats the drinking water and outputs the heated drinking water to the target container used by the user.
[0093] In a feasible implementation manner, the heating device further includes a water pipe, a water pump and a heating pipe, the water pipe is connected to the water pump and the heating pipe respectively, and the high-power power supply is connected to the water pump and the heating pipe respectively through the power supply interface; the above step S40 specifically includes steps S401 to S402:
[0094] Step S401: when it is determined that the instant heating mode is the target heating mode, controlling the high-power power supply to supply power to the water pump so that the water pump inputs drinking water into the water pipe;
[0095] Step S402: Control the high-power power supply to supply power to the heating pipe, so that the heating pipe heats the drinking water in the water pipe and provides the heated drinking water through the water pipe.
[0096] In this embodiment, when the vehicle determines that the instant heating mode is the target heating mode, it first controls the high-power power supply to supply power to the water pump configured in the heating device, so that the water pump runs to draw the drinking water contained in the water storage tank into the water pipe connected to the water pump. At this time, the vehicle controls the high-power power supply to supply power to the heating pipe configured in the heating device, and the heating pipe heats the water pipe connected to itself, thereby increasing the temperature of the water pipe to heat the drinking water in the water pipe, and then allowing the heated drinking water to flow through the water pipe into the target container used by the occupants in the vehicle.
[0097] Exemplarily, for example, when the vehicle determines that the instant heating mode is the target heating mode, it first controls the high-power power supply to supply power to the water pump in the heating device to enable the water pump to run, and the water pump draws the drinking water stored in the water storage tank into the water pipe connected to the water pump. At this time, the vehicle controls the high-power power supply to supply power to the heating pipe configured in the heating device to increase the temperature of the heating pipe, so as to heat the water pipe shell connected to the heating pipe through the heating pipe, thereby increasing the water temperature of the drinking water in the water pipe, and allowing the heated drinking water to flow into the driver's cup through the water outlet at the tail end of the water pipe.
[0098] In this way, the vehicle can control the high-power power supply to power the heating pipe and the water pump when determining that the instant heating mode is the target heating mode, thereby heating the drinking water pumped out by the water pump through the heating pipe, thereby ensuring that the drinking water heats up quickly to complete the instant heating operation.
[0099] In a feasible implementation manner, the heating device further includes a heating base, and the heating base is connected to a high-power power supply or a low-power power supply through the power interface; the above step S40 may further include steps S403 to S404:
[0100] Step S403: when it is determined that the non-instant heating mode is the target heating mode, determining whether there is a target container on the heating base;
[0101] Step S404: if it is determined that the target container exists on the heating base, the high-power power supply / the low-power power supply is controlled to supply power to the heating base, so as to heat the drinking water in the target container through the heating base.
[0102] In this embodiment, when the vehicle determines that the non-instant heating mode is the target heating mode, the vehicle first detects the heating base configured on the heating device to determine whether there is a target container used by the occupants in the vehicle on the heating base. Thereafter, when the vehicle detects the presence of the target container on the heating base, the vehicle further controls the high-power power supply / low-power power supply to power the heating base, thereby allowing the heating base to operate to heat the target container, thereby increasing the water temperature of the drinking water in the target container.
[0103] Exemplarily, for example, when the vehicle determines that the non-instantaneous heating mode is the target heating mode, the vehicle first detects the heating base configured on the heating device, and thereby determines through the pressure sensor on the heating base whether there is a water cup placed by the occupant in the vehicle on the heating base. Afterwards, if the vehicle detects through the value change of the pressure sensor that the occupant in the vehicle has placed the water cup on the heating base, it determines that the occupant needs to heat the drinking water in the cup at this time. At this time, if the vehicle determines that the target power supply connected to the heating device is a low-power power supply, the low-power power supply is controlled to power the heating base, thereby heating the drinking water in the cup through the heating base.
[0104] Similarly, when the vehicle determines that the passenger needs to heat the drinking water in the cup, if it is determined that the target power supply connected to the heating device is a high-power power supply, the high-power power supply can be controlled to power the heating base, thereby heating the drinking water in the cup through the heating base.
[0105] In this way, the vehicle can control the high power power supply / low power power supply to supply power to the heating base when determining the non-instant heating mode, thereby heating the drinking water in the water cup through the heating base.
[0106] In this embodiment, the vehicle first detects the power interface of the heating device configured in the vehicle during driving, so as to obtain the interface connection status of the power interface, and judge whether the interface connection status is the interface connection status or the interface disconnection status. Then, when the vehicle judges that the interface connection status of the power interface is the interface connection status, the vehicle screens the multiple power supplies configured by itself, so as to determine the target power supply connected to the heating device among the multiple power supplies. Then, the vehicle screens the preset multiple heating modes according to the target power supply, so as to determine the target heating mode matching the target power supply among the multiple heating modes. Finally, the vehicle controls the target power supply to power the heating device according to the target heating mode, so that the heating device heats the drinking water, and outputs the heated drinking water to the target container used by the user.
[0107] In this way, the present application solves the technical problem in the related art that the heating device is prone to being unable to heat drinking water when connected to other power sources in the vehicle. That is, the present application determines a target power source connected to the heating device among multiple power sources included in the vehicle, and determines a target heating mode to be adopted based on the target power source, thereby controlling the target power source to supply power to the heating device according to the target heating mode to heat the drinking water. When the occupants in the vehicle connect the heating device to power sources of different power, the vehicle can find a matching target heating mode among the preset multiple heating modes according to the power source connected to the heating device, thereby achieving the technical effect of enabling the vehicle to control the heating device to heat drinking water when the heating device is connected to different power sources.
[0108] Based on the first embodiment of the present application, a second embodiment of the present application is proposed. In the second embodiment of the present application, the same or similar contents as those of the first embodiment can be referred to the above description and will not be described in detail later. On this basis, after the step of "controlling the high-power power supply to supply power to the heating tube" in step S402, the drinking water heating method of the present application further includes steps A10 to A20:
[0109] Step A10: detecting a first drinking water temperature in the water delivery pipe, and comparing the first drinking water temperature with a preset first temperature threshold to obtain a first comparison result;
[0110] Step A20: When the first comparison result is that the first drinking water temperature is greater than or equal to the first temperature threshold, controlling the high-power power supply to stop supplying power to the heating tube.
[0111] It should be noted that the first temperature threshold is a temperature value used to determine whether the drinking water in the water pipe has reached the water temperature set by the user. The first temperature threshold can specifically be 100°C, or the first temperature threshold can also be set by the user to any value according to their own needs. It can be understood that this application does not limit the specific value of the first temperature threshold.
[0112] In this embodiment, after the vehicle controls the high-power power supply to supply power to the heating pipe to heat the drinking water in the water pipe through the heating pipe, the vehicle can also detect the water pipe to obtain a first drinking water temperature of the drinking water in the water pipe, and compare the first drinking water temperature with a preset first temperature threshold to obtain a first comparison result. Thereafter, when the vehicle detects that the first comparison result is that the first drinking water temperature is greater than or equal to the first temperature threshold, the vehicle controls the high-power power supply to stop supplying power to the heating pipe, thereby causing the heating pipe to stop heating the drinking water in the water pipe.
[0113] Exemplarily, for example, when the vehicle controls the high-power power supply to supply power to the heating pipe so as to heat the drinking water in the water pipe through the heating pipe, the vehicle further calls the water temperature sensor configured in the water pipe to detect the first drinking water temperature of the drinking water in the water pipe through the water temperature sensor. At the same time, the vehicle reads the storage module configured by itself to obtain the first temperature threshold set by the user as 100°C. The vehicle then compares the first drinking water temperature with the first temperature threshold to obtain a first comparison result. Thereafter, when the vehicle detects that the first comparison result is that the first drinking water temperature is greater than or equal to 100°C, it determines that the water temperature of the drinking water in the water pipe has reached the water temperature set by the user, thereby determining that the heating of the drinking water can be stopped. At this time, the vehicle controls the high-power power supply to stop supplying power to the heating pipe, thereby causing the heating pipe to stop heating the water pipe so that the water temperature in the water pipe is maintained at 100°C.
[0114] In this way, the vehicle can determine whether the temperature of the drinking water has reached the water temperature required by the user by detecting the temperature of the drinking water in the water pipe. When it is determined that the temperature of the drinking water has reached the water temperature required by the user, the heating pipe is immediately turned off, thereby avoiding the situation where the heating pipe continues to heat the drinking water and reducing power loss.
[0115] Based on the first embodiment and / or the second embodiment of the present application, a third embodiment of the present application is proposed. In the third embodiment of the present application, the same or similar contents as those of the above embodiments can be referred to the above description and will not be described in detail later. On this basis, before step S10, the method for heating drinking water of the present application further includes steps B10 to B20:
[0116] Step B10: Obtaining the ambient temperature value;
[0117] Step B20: determining a target power adjustment value according to the ambient temperature value, and adjusting the first standard output power of the high power source to a second standard output power according to the target power adjustment value.
[0118] It should be noted that the second standard output power is the power actually output by the high-power power supply to the heating device, and similarly, the first standard output power is the power output by the high-power power supply to the heating device before adjusting the output power. It is understandable that since the ambient temperature will have different effects on the heating effect of drinking water, the vehicle can control the heating rate of the heating device for drinking water by adjusting the output power of the power supply in different temperature environments.
[0119] In this embodiment, before controlling the heating equipment to heat drinking water, the vehicle first detects the environment in which the vehicle is located to obtain an ambient temperature value corresponding to the surrounding environment. After that, the vehicle determines a target power supply power adjustment value that matches the high-power power supply according to the ambient temperature value, and adjusts the high-power power supply according to the target power supply power adjustment value to change the output power of the high-power power supply from the above-mentioned first standard output power adjustment value to the second standard output power that matches the ambient temperature.
[0120] Exemplarily, for example, before the vehicle controls the heating equipment to heat drinking water, the vehicle first calls the temperature sensor configured by itself to detect the surrounding environment, so as to obtain the ambient temperature value corresponding to the vehicle's environment. Afterwards, if the vehicle determines that the vehicle is in a high temperature environment based on the ambient temperature value, it determines that the heating effect of heating the drinking water is better at this time, so as to determine that the output power of the high-power battery can be lowered. At this time, the vehicle determines the first target power supply power adjustment value corresponding to the ambient temperature value. At the same time, the vehicle determines that the first standard power supply output power of the high-power power supply set by the user is 2000w. The vehicle then adjusts the output power of the high-power power supply from the first standard power supply output power of 2000w to the second standard power supply output power of 1800w according to the target power supply power adjustment value. In this way, the vehicle can reduce the consumption of the high-power power supply while ensuring the heating effect.
[0121] Similarly, in this embodiment, if the vehicle determines that the vehicle is in a low-temperature internal environment based on the ambient temperature value, it determines that the heating effect of the drinking water is poor at this time, and thus determines that the output power of the high-power battery can be increased. At this time, the vehicle determines the second target power supply power adjustment value corresponding to the ambient temperature value. At the same time, the vehicle determines that the first standard power supply output power of the high-power power supply set by the user is 2000w. The vehicle then adjusts the output power of the high-power power supply from the first standard power supply output power of 2000w to the second standard power supply output power of 2200w according to the target power supply power adjustment value. In this way, the vehicle can ensure that the heating equipment quickly completes the heating of drinking water in a low-temperature environment, thereby improving the user's riding experience.
[0122] In a feasible implementation manner, the step of "determining the target power adjustment value according to the ambient temperature value" in the above step B20 may specifically include steps B201 to B203:
[0123] Step B201: determining a plurality of reference temperature values and reference power adjustment values corresponding to the plurality of reference temperature values;
[0124] Step B202: determining a target temperature value from among the plurality of reference temperature values according to the ambient temperature value, wherein the target temperature value is a reference temperature value that is the same as the ambient temperature value;
[0125] Step B203: Determine the reference power adjustment value corresponding to the target temperature value as the target power adjustment value.
[0126] In this embodiment, after obtaining the ambient temperature value, the vehicle first reads the storage module configured by itself to obtain multiple reference temperature values and reference power adjustment values corresponding to the multiple reference temperature values. Then, the vehicle filters the multiple reference temperature values based on the obtained ambient temperature value to filter out the target temperature value that matches the ambient temperature value from the multiple reference temperature values. Finally, the vehicle determines the reference power adjustment value corresponding to the target temperature value as the target power supply power adjustment value that matches the high-power power supply.
[0127] Exemplarily, for example, after obtaining the ambient temperature value, the vehicle first reads the storage module configured by itself to obtain a power adjustment value mapping table containing multiple reference temperature values and reference power adjustment values corresponding to the multiple reference temperature values. Then, the vehicle queries the power adjustment value mapping table based on the obtained ambient temperature value to compare the ambient temperature value with the multiple reference temperature values contained in the power adjustment value mapping table, thereby determining a target temperature value that is the same as the ambient temperature value among the multiple reference temperature values. Finally, the vehicle determines the reference power adjustment value corresponding to the target temperature value in the power adjustment value mapping table as the target power supply power adjustment value for adjusting the high-power power supply.
[0128] In this way, when the vehicle is in a high temperature environment, it can determine the target power supply power adjustment value that matches the high temperature environment, and reduce the output power of the high-power power supply according to the target power supply power adjustment value, thereby reducing power consumption while ensuring the heating effect. At the same time, when the vehicle is in a low temperature environment, it can determine the target power supply power adjustment value that matches the low temperature environment, and increase the output power of the high-power power supply according to the target power supply power adjustment value, thereby ensuring that the vehicle can quickly heat drinking water in a low temperature environment.
[0129] Based on the various embodiments of the present application, a fourth embodiment of the present application is proposed here. In the fourth embodiment of the present application, the same or similar contents as those of the above embodiments can be referred to the above introduction and will not be repeated later. On this basis, after step S40, the drinking water heating method of the present application further includes steps C10 to C40:
[0130] Step C10: detecting a second drinking water temperature of the target container by the heating device, and comparing the second drinking water temperature with a preset second temperature threshold to obtain a second comparison result;
[0131] Step C20: when the second comparison result is that the second drinking water temperature is less than or equal to the second temperature threshold, controlling the target power supply to supply power to the heating base, so as to heat the target container through the heating base;
[0132] Step C30: detecting a third drinking water temperature of the target container by the heating device, and comparing the third drinking water temperature with a preset third temperature threshold to obtain a third comparison result, wherein the third drinking water temperature is greater than the second drinking water temperature, and the third temperature threshold is greater than the second temperature threshold;
[0133] Step C40: When the third comparison result is that the third drinking water temperature is greater than or equal to the third temperature threshold, controlling the target power supply to stop supplying power to the heating base.
[0134] It should be noted that the second drinking water temperature is the drinking water temperature of the drinking water in the target container when the target container is placed on the heating base and the heating base does not heat the target container. Similarly, the third drinking water temperature is the drinking water temperature of the drinking water in the target container when the target container is placed on the heating base and the heating base heats the target container. In addition, the second temperature threshold is a temperature value used to determine whether the temperature of the drinking water in the target container is too low. It is understandable that when the heating base does not heat the target container, the temperature of the drinking water in the target container will continue to decrease, making it difficult for the user to drink hot water when drinking water. Therefore, the heating device can heat the container to keep the water temperature in the container at a certain level when it detects that the second drinking water temperature in the container is lower than the second temperature threshold. In addition, the third temperature threshold is a temperature value used to determine whether the temperature of the drinking water in the target container is too high. It is understandable that when the heating base heats the target container, the heating device can stop heating the container when it detects that the third drinking water temperature in the container reaches the third temperature threshold.
[0135] In this embodiment, after the vehicle controls the heating device to provide heated drinking water to the target container, the vehicle further detects the heating base, so that when the presence of the target container is detected on the heating base, the second drinking water temperature of the drinking water in the target container is obtained through the heating base, and then the second drinking water temperature is compared with a preset second temperature threshold to obtain a second comparison result. Thereafter, when the vehicle determines that the second comparison result is that the second drinking water temperature is less than or equal to the second temperature threshold, the vehicle controls the high-power power supply / low-power power supply to supply power to the heating base to heat the target container through the heating base. Thereafter, the vehicle collects the third drinking water temperature after heating through the heating base, and compares the third drinking water temperature with a third temperature threshold higher than the second temperature threshold to obtain a third comparison result. Finally, when the vehicle determines that the third comparison result is that the third drinking water temperature is greater than or equal to the third temperature threshold, the vehicle controls the high-power power supply / low-power power supply to stop supplying power to the heating base to stop the heating base from heating the target container.
[0136] Exemplarily, for example, after the vehicle controls the heating device to provide hot water to the cup, if the user places the cup containing drinking water on the heating base, the vehicle detects the second drinking water temperature of the remaining drinking water in the cup through the heating base. At the same time, the vehicle reads the above-mentioned storage module to obtain the preset second temperature threshold of 40°C, and compares the second drinking water temperature with the second temperature threshold to obtain a second comparison result. Afterwards, if the vehicle detects that the second comparison result is that the second drinking water temperature is less than or equal to 40°C, it is determined that the temperature of the remaining drinking water in the cup is too low at this time, and the vehicle controls the high-power power supply / low-power power supply to power the heating base, so as to heat the cup through the heating base to improve the drinkability of the remaining drinking water in the cup. Water temperature, and then, when the vehicle controls the heating base to heat the water cup, the heating base detects the third drinking water temperature corresponding to the remaining drinking water in the water cup after heating. At the same time, the vehicle reads the storage module to obtain a third temperature threshold higher than the second temperature threshold of 60°C, and compares the third drinking water temperature with the third temperature threshold to obtain a third comparison result. Finally, if the vehicle detects that the third comparison result is that the third drinking water temperature is greater than or equal to 60°C, it is determined that the water temperature of the remaining drinking water in the cup at this time reaches the required temperature set by the user. At this time, the vehicle controls the high-power power supply / low-power power supply to stop powering the heating base, so that the heating base stops heating the water cup, thereby keeping the water temperature in the water cup at 60°C.
[0137] In this way, the vehicle can detect the temperature of the remaining drinking water in the cup, and when it detects that the temperature of the remaining drinking water is low, it automatically controls the target power supply connected to the heating device to supply power to the heating base to increase the temperature of the remaining drinking water in the cup, so that the passengers in the car can drink hot water that meets their needs at any time.
[0138] For example, in order to help understand the implementation process of the drinking water heating method obtained by combining the present embodiment with the above embodiments, please refer to Figure 6 , Figure 6 A brief schematic diagram of a method for heating drinking water is provided, such as Figure 6 As shown, specifically:
[0139] In this embodiment, please refer to Figure 3 and Figure 4 ,in, Figure 3 This is a schematic diagram of the deployment position of a high-power power source involved in an embodiment of the drinking water heating method of the present application. Figure 4 This is a schematic diagram of the deployment position of a low-power power source involved in an embodiment of the drinking water heating method of the present application, such as Figure 3 and Figure 4 As shown, when the front cabin of the vehicle is equipped with a low-power power supply and the rear cabin is equipped with a high-power power supply, if the front passenger needs to get hot water through a water cup, the front passenger connects the heating device to the low-power power supply in the front row. At this time, the vehicle detects that the interface connection state of the power interface in the heating device is the interface connection state, and determines that the low-power power supply is the target power supply connected to the heating device, thereby determining that the heating mode matching the low-power power supply is the non-instant heating mode. After that, the vehicle detects the heating base configured on the heating device, and when it detects that there is a water cup placed by the front passenger on the heating base, the low-power power supply is controlled to supply power to the heating base, thereby heating the drinking water in the water cup through the heating base. After that, the vehicle detects the drinking water temperature of the drinking water in the water cup through the heating base, and compares the drinking water temperature with the preset temperature threshold, so that when it is determined that the drinking water temperature reaches the temperature threshold, the low-power power supply is controlled to stop supplying power to the heating base to complete the heating of the drinking water.
[0140] Then, if the rear passenger needs to get hot water through the cup, the rear passenger moves the heating device from the low-power interface in the front row to the rear cabin, and connects it to the high-power power supply configured in the rear cabin. At this time, the vehicle detects that the interface connection state of the power interface in the heating device is the interface connection state, and determines that the high-power power supply is the target power supply connected to the heating device. After that, the vehicle further detects the mode selection switch included in the heating device. If the rear passenger needs to drink hot water as soon as possible, he can press switch A included in the mode selection switch. At this time, the vehicle detects that the mode selection switch is in the state of switch A closed and switch B open. The first switch state is disconnected, thereby determining that the heating mode selected by the rear passenger is the instant heating mode. After that, the vehicle controls the high-power power supply to supply power to the water pump in the heating device to make the water pump run, and the water pump draws the drinking water stored in the water storage tank into the water pipe connected to the water pump. At the same time, the vehicle controls the high-power power supply to supply power to the heating pipe configured in the heating device to increase the temperature of the heating pipe, so as to heat the water pipe shell connected to the heating pipe through the heating pipe, thereby increasing the water temperature of the drinking water in the water pipe, and allowing the heated drinking water to flow into the driver's cup through the water outlet at the tail end of the water pipe.
[0141] Similarly, if the rear passengers do not need to drink hot water as soon as possible, they can press switch B included in the mode selection switch. At this time, the vehicle detects that the mode selection switch is in the second switch state of switch A being disconnected and switch B being closed, thereby determining that the heating mode selected by the rear passengers is a non-instant heating mode. After that, the vehicle detects the heating base configured on the heating device, and when it detects that there is a water cup placed by the front passengers on the heating base, the high-power power supply is controlled to supply power to the heating base, and then the drinking water in the cup is heated by the heating base, and when it is detected that the temperature of the drinking water in the cup reaches the temperature threshold, the high-power power supply is controlled to stop supplying power to the heating base to complete the heating of the drinking water.
[0142] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the method for heating drinking water of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.
[0143] The present application provides a vehicle, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method for heating drinking water in the above-mentioned embodiment one.
[0144] Reference below Figure 5 , which shows a schematic diagram of the structure of a vehicle suitable for implementing the embodiment of the present application. The vehicle in the embodiment of the present application may include but is not limited to a vehicle with a high-power power supply, a low-power power supply and a heating device configured inside. Figure 5 The vehicle shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0145] like Figure 5 As shown, the vehicle may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for vehicle operation are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the vehicle to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a vehicle with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.
[0146] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0147] The vehicle provided by the present application adopts the method for heating drinking water in the above embodiment, which can solve the technical problem in the related art that the heating device is easily unable to heat drinking water when connected to other power sources in the vehicle. Compared with the prior art, the beneficial effects of the vehicle provided by the present application are the same as the beneficial effects of the method for heating drinking water provided by the above embodiment, and the other technical features of the vehicle are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0148] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0149] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0150] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the method for heating drinking water in the above-mentioned embodiment.
[0151] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0152] The computer-readable storage medium may be included in the vehicle, or may exist independently without being installed in the vehicle.
[0153] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the vehicle, the vehicle: detects the interface connection state of the power interface, wherein the interface connection state includes an interface connection state and an interface disconnection state; if the interface connection state is detected to be the interface connection state, determines a target power supply connected to the power interface among multiple power supplies; determines a target heating mode according to the target power supply; and controls the target power supply to supply power to the heating device according to the target heating mode, so that the heating device provides heated drinking water.
[0154] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0155] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0156] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0157] The readable storage medium provided in the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned method for heating drinking water, and can solve the technical problem in the related art that the heating device is easily unable to heat drinking water when connected to other power sources in the vehicle. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in the present application are the same as the beneficial effects of the method for heating drinking water provided in the above-mentioned embodiment, and will not be elaborated here.
[0158] The present application also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the steps of the method for heating drinking water as described above are implemented.
[0159] The computer program product provided by the present application can solve the technical problem in the related art that the heating device is easily unable to heat drinking water when connected to other power sources in the vehicle. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the drinking water heating method provided by the above embodiment, which will not be described in detail here.
[0160] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A method for heating drinking water, It is characterized in that The drinking water heating method is applied to a vehicle, the vehicle comprises a heating device and a plurality of power supplies, the heating device comprises a power supply interface, and the method comprises: Detecting an interface connection state of the power interface, wherein the interface connection state includes an interface connection state and an interface disconnection state; If it is detected that the interface connection state is the interface connected state, determining a target power supply connected to the power supply interface from among the multiple power supplies; determining a target heating mode according to the target power supply; The target power source is controlled to supply power to the heating device according to the target heating mode, so that the heating device provides heated drinking water.
2. The method according to claim 1, It is characterized in that The power source includes a high-power power source, the heating device further includes a mode selection switch, and the target heating mode includes an instant heating mode and a non-instant heating mode; The step of determining a target heating mode according to the target power source comprises: In the case where the high-power power source is determined to be the target power source, detecting a switch state of the mode selection switch; If it is detected that the switch state is the first switch state, determining the instant heating mode as the target heating mode; If it is detected that the switch state is the second switch state, the non-instantaneous heating mode is determined to be the target heating mode.
3. The method according to claim 2, It is characterized in that The power source further includes a low-power power source, and the step of determining the target heating mode according to the target power source further includes: In the case where the low-power power source is determined to be the target power source, the non-instant heating mode is determined to be the target heating mode.
4. The method according to claim 2, It is characterized in that The heating device further comprises a water pipe, a water pump and a heating pipe, wherein the water pipe is connected to the water pump and the heating pipe respectively, and the high-power power supply is connected to the water pump and the heating pipe respectively through the power supply interface; The step of controlling the target power supply to supply power to the heating device according to the target heating mode so that the heating device provides heated drinking water comprises: In the case where it is determined that the instant heating mode is the target heating mode, controlling the high-power power supply to supply power to the water pump so that the water pump inputs drinking water into the water pipe; The high-power power supply is controlled to supply power to the heating pipe, so that the heating pipe heats the drinking water in the water pipe and provides the heated drinking water through the water pipe.
5. The method according to claim 4, It is characterized in that After the step of controlling the high-power power supply to supply power to the heating tube, the method further includes: Detecting a first drinking water temperature in the water delivery pipe, and comparing the first drinking water temperature with a preset first temperature threshold to obtain a first comparison result; When the first comparison result is that the first drinking water temperature is greater than or equal to the first temperature threshold, the high-power power supply is controlled to stop supplying power to the heating tube.
6. The method according to claim 2 or 3, It is characterized in that The heating device further comprises a heating base, and the heating base is connected to a high-power power source or a low-power power source through the power interface; The step of controlling the target power supply to supply power to the heating device according to the target heating mode so that the heating device provides heated drinking water further includes: In the case where it is determined that the non-instant heating mode is the target heating mode, determining whether there is a target container on the heating base; If it is determined that the target container exists on the heating base, the high-power power supply / the low-power power supply is controlled to supply power to the heating base, so as to heat the drinking water in the target container through the heating base.
7. The method according to claim 2, It is characterized in that Before the step of detecting the interface connection state of the power interface, the method further includes: Get the ambient temperature value; A target power adjustment value is determined according to the ambient temperature value, and the first standard output power of the high power supply is adjusted to a second standard output power according to the target power adjustment value.
8. The method according to claim 7, It is characterized in that The step of determining the target power adjustment value according to the ambient temperature value comprises: Determine a plurality of reference temperature values and reference power adjustment values corresponding to the plurality of reference temperature values; Determining a target temperature value from among the plurality of reference temperature values according to the ambient temperature value, wherein the target temperature value is a reference temperature value that is the same as the ambient temperature value; The reference power adjustment value corresponding to the target temperature value is determined as the target power adjustment value.
9. The method according to claim 1, It is characterized in that After the step of controlling the target power supply to supply power to the heating device according to the target heating mode, the method further includes: Detecting a second drinking water temperature of the target container by the heating device, and comparing the second drinking water temperature with a preset second temperature threshold to obtain a second comparison result; When the second comparison result is that the second drinking water temperature is less than or equal to the second temperature threshold, controlling the target power supply to supply power to the heating base, so as to heat the target container through the heating base; Detecting a third drinking water temperature of the target container by the heating device, and comparing the third drinking water temperature with a preset third temperature threshold to obtain a third comparison result, wherein the third drinking water temperature is greater than the second drinking water temperature, and the third temperature threshold is greater than the second temperature threshold; When the third comparison result is that the third drinking water temperature is greater than or equal to the third temperature threshold, the target power supply is controlled to stop supplying power to the heating base.
10. A vehicle, It is characterized in that The vehicle comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the method for heating drinking water according to any one of claims 1 to 9.
11. A storage medium, It is characterized in that The storage medium is a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for heating drinking water according to any one of claims 1 to 9 are implemented.
12. A computer program product, It is characterized in that The computer program product comprises a computer program, which, when executed by a processor, implements the steps of the method for heating drinking water according to any one of claims 1 to 9.
