Battery management method, system and related device

By detecting the temperature and sending power limit information, the battery capacity of electronic equipment is controlled within the safe range, solving the problem of battery bulge in high temperature environments, realizing the protection and life of the battery.

CN120565853APending Publication Date: 2025-08-29HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410233101.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-02-29
Publication Date
2025-08-29

AI Technical Summary

Technical Problem

Electronic devices are prone to bulging in high temperature environments, affecting battery life and potentially damaging the equipment, especially when the temperature in the vehicle rises.

Method used

The vehicle establishes a communication connection with the electronic device after detecting that the user gets on the vehicle, obtains the temperature outside and inside the vehicle and the battery temperature, determines the power limit information, and sends the power limit information to the device to control the battery power in the safe range, including charging or discharging operations to keep the power in the limit range.

Benefits of technology

It effectively reduces the risk of battery bulge in high temperature environments, protects the battery of electronic devices and the equipment itself, and extends the battery life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120565853A_ABST
    Figure CN120565853A_ABST
Patent Text Reader

Abstract

The invention discloses a battery management method and system and a related device. The vehicle includes a power supply module, and the electronic device includes a battery. The power supply module may be used to power a battery of the electronic device. And when detecting that the user gets on the vehicle, the vehicle establishes communication connection with the electronic equipment and supplies power to the electronic equipment. The vehicle obtains the temperature outside the vehicle, the temperature inside the vehicle and the battery temperature of the electronic equipment. And the vehicle determines electric quantity limiting information based on the acquired information, and the electric quantity limiting information can be used for indicating an electric quantity limiting interval. And the vehicle sends the electric quantity limit information to the electronic equipment. After the electronic equipment responds to the electric quantity limiting information, the electric quantity of the battery is kept within the electric quantity limiting interval. Therefore, the higher the electric quantity of the battery is, the larger the damage of high temperature to the battery is, the vehicle determines the electric quantity limit interval, the electronic equipment keeps the electric quantity of the battery in the electric quantity limit interval, and the risk of battery failure caused by too high environment temperature is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminals, and in particular to a battery management method, system and related devices. Background Art

[0002] If electronic devices are exposed to high temperatures for long periods of time, their batteries can easily swell, which not only reduces the battery lifespan but can also damage the electronics. Currently, users often place electronic devices inside their vehicles. Because the temperature inside a vehicle is significantly affected by the ambient temperature, when a vehicle is exposed to sunlight, the interior temperature often reaches very high temperatures. For example, if electronic equipment is parked outdoors in the summer, the temperature inside the vehicle may reach 55°C. If the vehicle is exposed to direct sunlight, the surface of components such as the front dashboard may reach 70°C, which can easily damage the electronic devices inside the vehicle. How to minimize the damage caused by high temperatures to electronic devices inside the vehicle has become an urgent issue that needs to be addressed. Summary of the Invention

[0003] The present application provides a battery management method, system and related devices, wherein the vehicle includes a power supply module and the electronic device includes a battery. The power supply module can be used to supply power to the battery of the electronic device. The vehicle detects that a user has boarded the vehicle, establishes a communication connection with the electronic device and supplies power to the electronic device. The vehicle obtains the outside temperature, the inside temperature and the battery temperature of the electronic device. Based on the information obtained, the vehicle determines power limit information, and the power limit information can be used to indicate the power limit interval. The vehicle sends the power limit information to the electronic device. After the electronic device responds to the power limit information, the battery power is maintained within the power limit interval. The vehicle determines the power limit information through the outside temperature, the inside temperature and / or the battery temperature. The vehicle notifies the electronic device to adjust the power of the electronic device's battery according to the power limit information. The risk of high-power batteries bulging in high-temperature environments is reduced.

[0004] In a first aspect, the present application provides a battery management method, which is applied to a battery management system, wherein the battery management system includes a vehicle and an electronic device, and the electronic device includes a battery; the method includes: the vehicle detects that a user has boarded the vehicle, establishes a communication connection with the electronic device, and supplies power to the battery of the electronic device; the vehicle obtains a first battery temperature of the battery through the electronic device, the first battery temperature representing the temperature of the battery; the vehicle collects a first outside temperature, the first outside temperature representing the ambient temperature outside the vehicle; the vehicle determines first power limit information based on the first battery temperature and the first outside temperature, the first power limit information being used to instruct the electronic device to keep the battery power within a first power limit range; the vehicle sends the first power limit information to the electronic device; the electronic device responds to the first power limit information and keeps the battery power within the first power limit range. In this way, when the user just boards the vehicle, the vehicle air conditioner has not started working, and the temperature inside the vehicle and the temperature outside the vehicle are approximately the same. The vehicle can directly determine the first power limit information based on the first outside temperature and the first battery temperature, thereby reducing the risk of battery bulging in the electronic device.

[0005] In a possible implementation, the vehicle includes a power supply module, which is used to supply power to the electronic device.

[0006] In one possible implementation, the electronic device maintains the battery power within the first power limit range in response to the first power limit information, specifically including: maintaining the battery power within the first power limit range by charging or discharging the battery. In this way, the electronic device can maintain the battery power within the first power limit range by charging or discharging the battery.

[0007] In one possible implementation, the electronic device maintains the battery charge within the first charge limit interval in response to the first charge limit information. Specifically, the electronic device performs a charging operation when it detects that the battery charge is less than the minimum charge of the first charge limit interval, and suspends the charging operation when it detects that the battery charge is greater than or equal to the maximum charge of the first charge limit interval. In this way, the electronic device can more conveniently maintain the battery charge within the first charge limit interval, thereby maximizing the battery charge while ensuring battery safety.

[0008] In one possible implementation, the method further includes: when the electronic device suspends the charging operation, discharging the battery until the battery power is less than the maximum power of the first power limit interval. In this way, the electronic device can discharge the battery to reduce the battery power to less than the maximum power more quickly. In this way, by discharging the battery, the battery power is quickly reduced to the first power limit interval, reducing the time of damage caused by the high temperature environment to the battery and reducing the degree of damage to the battery. In some scenarios, the electronic device can also reduce the battery power to the first power limit interval before the ambient temperature increases by discharging the battery, so that the battery is not damaged by the high temperature environment.

[0009] In one possible implementation, an electronic device includes a discharge circuit configured to consume battery power. Discharging the battery until the battery power level is less than a maximum power level within a first power limit interval specifically includes discharging the battery through the discharge circuit until the battery power level is less than the maximum power level within the first power limit interval. In this way, the electronic device consumes the battery power through the discharge circuit, rapidly reducing the battery power level to the first power limit interval, thereby reducing the duration and severity of damage to the battery caused by a high temperature environment.

[0010] In one possible implementation, discharging the battery includes discharging the battery by increasing the screen brightness of the electronic device, and / or controlling the running of high-power applications in the background of the electronic device, and / or increasing the operating frequency of the processor of the electronic device. In this way, the electronic device can accelerate the discharge speed by increasing the screen brightness, etc., and quickly reduce the battery power to the first power limit range.

[0011] In one possible implementation, after the vehicle sends the first power limit information to the electronic device, the method further includes: the vehicle collecting a first continuous external temperature and a first internal temperature, the first continuous external temperature being a second external temperature whose value remains unchanged and collected by the vehicle within a preset collection time period, the first internal temperature being used to represent the ambient temperature inside the vehicle; the vehicle determining second power limit information based on the first continuous external temperature and the first internal temperature, the second power limit information being used to instruct the electronic device to maintain the battery power within a second power limit range; the vehicle sending the second power limit information to the electronic device; and the electronic device maintaining the battery power within the second power limit range in response to the second power limit information. In this way, after a user has been in the vehicle for a period of time, the vehicle's air conditioner starts operating, and the internal temperature and the external temperature are different. Furthermore, while the user is in the vehicle, the battery of the electronic device may be at a higher temperature due to user operations (e.g., playing games) while the user is using the electronic device. In this case, using the battery temperature to determine the second power limit information may result in a misjudgment. Therefore, the vehicle can directly determine the second power limit information based on the first continuous external temperature and the first internal temperature, and the electronic device can also maintain the power within the second power limit range during vehicle use to ensure battery safety.

[0012] In one possible implementation, the method further includes: the vehicle detects that the user has gotten off the vehicle and collects a third outside temperature and a second inside temperature; the vehicle determines third power limit information based on the third outside temperature and the second inside temperature, the third power limit information being used to instruct the electronic device to set the battery power to less than a preset safety power; the vehicle sends the third power limit information to the electronic device; the electronic device, in response to the third power limit information, discharges the battery when it detects that the battery power is greater than the preset safety power until the battery power is less than the preset safety power. In this way, when the user gets off the vehicle, the inside temperature can remain unchanged for a period of time, and the outside temperature will gradually change the inside temperature. Therefore, both the outside temperature and the inside temperature may cause battery problems. Therefore, determining the third power limit information based on the third outside temperature and the second inside temperature can more comprehensively protect battery safety. After the user gets off the vehicle, the electronic device can also set the battery power according to the third power limit information to reduce the probability of battery swelling.

[0013] In one possible implementation, before the vehicle determines the third power limit information based on the third outside temperature and the second inside temperature, the method further includes: the vehicle detects that a user has exited the vehicle and obtains weather information, the weather information being used to indicate the maximum temperature in the area where the vehicle is located after the user has exited the vehicle; and the vehicle determines the third power limit information based on the third outside temperature and the second inside temperature, specifically including: the vehicle determines the third power limit information based on the maximum temperature indicated by the weather information, the third outside temperature, and the second inside temperature. In this way, the weather information can indicate the maximum temperature after the user has exited the vehicle. If the vehicle is parked in an open-air area, the rising temperature will also affect the battery. Determining the third power limit information based on the maximum temperature can more comprehensively protect the safety of the battery.

[0014] In one possible implementation, before the vehicle detects that the user has gotten off the vehicle, the method further includes: collecting a second continuous outside temperature and a third inside temperature when a preset interval is reached from the time when the second power limit information is sent to the electronic device; the vehicle determines fourth power limit information based on the second continuous outside temperature and the third inside temperature, the fourth power limit information being used to instruct the electronic device to keep the battery power within a fourth power limit range; the vehicle sends the fourth power limit information to the electronic device; the electronic device responds to the fourth power limit information and keeps the battery power within the fourth power limit range. In this way, the outside temperature of the vehicle may change during use, and the vehicle can re-acquire the power limit information at preset intervals before the user gets off the vehicle, so that the battery power can be set more in real time to protect the safety of the battery.

[0015] In one possible implementation, the method further includes: displaying a charging prompt message when the electronic device is performing a charging operation, the charging prompt message being used to inform a user that the electronic device is charging; and canceling the display of the charging prompt message when the electronic device pauses the charging operation. In this way, the user can know whether the electronic device is currently charging.

[0016] In one possible implementation, when the electronic device pauses charging, it displays a charging pause prompt message, which is used to remind the user that the electronic device has paused charging. In this way, the user can understand the reason why the electronic device has paused charging through the charging pause prompt message, avoiding the user's mistaken belief that the electronic device is damaged.

[0017] In one possible implementation, when the first battery temperature is greater than or equal to the first preset battery temperature, the minimum power of the first power limit interval is the first power; and / or, when the first battery temperature is less than the first preset battery temperature and the first outside vehicle temperature is less than the first preset outside vehicle temperature, the minimum power of the first power limit interval is the second power, the maximum power of the first power limit interval is the third power, and the second power is greater than the first power; and / or, when the first battery temperature is less than the first preset battery temperature, the first outside vehicle temperature is greater than or equal to the first preset outside vehicle temperature and the first outside vehicle temperature is less than the second preset outside vehicle temperature, the minimum power of the first power limit interval is the fourth power, the maximum power of the first power limit interval is the fifth power, the fourth power is greater than the first power and the fifth power is less than the third power; and / or, when the first battery temperature is less than the first preset battery temperature and the first outside vehicle temperature is greater than or equal to the second preset outside vehicle temperature, the minimum power of the first power limit interval is the sixth power, the maximum power of the first power limit interval is the seventh power, the sixth power is greater than the first power and the seventh power is less than the fifth power. In this way, the electronic device determines the maximum power in the first power limit range based on the relative size relationship between the first battery temperature and the first outside vehicle temperature and the preset temperature, adapts to various environments, and sets the battery power more reasonably, thereby maintaining the battery at a higher power level while protecting the battery safety.

[0018] In one possible implementation, when the first continuous temperature outside the vehicle is lower than the first preset continuous temperature outside the vehicle and the first temperature inside the vehicle is lower than the first preset temperature inside the vehicle, the minimum power of the second power limit interval is the seventh power, and the maximum power of the second power limit interval is the eighth power; and / or, when the first continuous temperature outside the vehicle is lower than the first preset continuous temperature outside the vehicle and the first temperature inside the vehicle is greater than or equal to the first preset temperature inside the vehicle, the minimum power of the second power limit interval is the ninth power, the maximum power of the second power limit interval is the tenth power, and the tenth power is lower than the eighth power; and / or, when the first continuous temperature outside the vehicle is higher than the first preset continuous temperature outside the vehicle, the first continuous temperature outside the vehicle is lower than the second preset continuous temperature outside the vehicle, and the first temperature inside the vehicle is lower than the first preset temperature inside the vehicle, The minimum charge level in the second charge limit interval is the eleventh charge level, the maximum charge level in the second charge limit interval is the twelfth charge level, and the twelfth charge level is less than the eighth charge level; and / or, when the first continuous external temperature is greater than the first preset continuous external temperature, the first continuous external temperature is less than the second preset continuous external temperature, and the first interior temperature is greater than or equal to the first preset interior temperature, the minimum charge level in the second charge limit interval is the thirteenth charge level, the maximum charge level in the second charge limit interval is the fourteenth charge level, and the fourteenth charge level is less than the tenth charge level; and / or, when the first continuous external temperature is greater than the second preset continuous external temperature, the minimum charge level in the second charge limit interval is the fifteenth charge level, the maximum charge level in the second charge limit interval is the sixteenth charge level, and the sixteenth charge level is less than the tenth charge level. In this way, the electronic device determines the maximum charge level in the second charge limit interval based on the relative relationship between the first continuous external temperature and the first interior temperature and the preset temperature, adapts to various temperature environments, more reasonably sets the battery charge level, and maintains the battery at a high charge level while protecting battery safety.

[0019] In one possible implementation, when the maximum temperature indicated by the weather information, the third outside temperature, and / or the second inside temperature are higher than a preset safety temperature, the third power limit information is used to instruct the electronic device to set the power level to less than the preset safety level. In this way, when any of the maximum temperature indicated by the weather information, the third outside temperature, or the second inside temperature is high, it may affect battery safety. Therefore, the electronic device can more comprehensively consider the impact of various temperatures on the battery, reducing the probability of battery swelling.

[0020] In a second aspect, the present application provides a battery management method, which is applied to a vehicle; the method includes: detecting that a user has boarded the vehicle, establishing a communication connection with an electronic device, and supplying power to the battery of the electronic device; obtaining a first battery temperature of the battery from the electronic device, the first battery temperature representing the temperature of the battery; collecting a first outside vehicle temperature, the first outside vehicle temperature being used to represent the ambient temperature outside the vehicle; determining first power limit information based on the first battery temperature and the first outside vehicle temperature, the first power limit information being used to instruct the electronic device to keep the battery power within a first power limit range; and sending the first power limit information to the electronic device. In this way, after detecting that a user has boarded the vehicle, the vehicle supplies power to the electronic device 200, and based on the first outside vehicle temperature and the first battery temperature, determines the first power limit information, controls the power of the electronic device through the first battery information, and protects the battery of the electronic device.

[0021] In one possible implementation, after sending the first power limit information to the electronic device, the method also includes: collecting a first continuous temperature outside the vehicle and a first temperature inside the vehicle, the first continuous temperature outside the vehicle being a second temperature outside the vehicle whose temperature value collected by the vehicle within a preset collection time period remains unchanged, and the first temperature inside the vehicle is used to indicate the ambient temperature inside the vehicle; determining second power limit information based on the first continuous temperature outside the vehicle and the first temperature inside the vehicle, the second power limit information being used to instruct the electronic device to keep the battery power within a second power limit range; and sending the second power limit information to the electronic device.

[0022] In one possible implementation, the method further includes: detecting that a user gets off the vehicle, collecting a third vehicle-exterior temperature and a second vehicle-interior temperature; determining third power limit information based on the third vehicle-exterior temperature and the second vehicle-interior temperature, the third power limit information being used to instruct the electronic device to set the battery power to less than a preset safety power; and sending the third power limit information to the electronic device.

[0023] In one possible implementation, before determining the third power limit information based on the third outside vehicle temperature and the second inside vehicle temperature, the method also includes: detecting that the user gets off the vehicle, obtaining weather information, the weather information is used to indicate the maximum temperature in the area where the vehicle is located after the user gets off the vehicle; determining the third power limit information based on the third outside vehicle temperature and the second inside vehicle temperature, specifically including: determining the third power limit information based on the maximum temperature indicated by the weather information, the third outside vehicle temperature and the second inside vehicle temperature.

[0024] In one possible implementation, before the vehicle detects that the user has gotten off the vehicle, the method further includes: collecting a second continuous temperature outside the vehicle and a third temperature inside the vehicle when a preset interval is reached from the time when the second power limit information is sent to the electronic device; the vehicle determines fourth power limit information based on the second continuous temperature outside the vehicle and the third temperature inside the vehicle, and the fourth power limit information is used to instruct the electronic device to keep the battery power within a fourth power limit range; the vehicle sends the fourth power limit information to the electronic device; and the electronic device responds to the fourth power limit information to keep the battery power within the fourth power limit range.

[0025] In one possible implementation, when the first battery temperature is greater than or equal to the first preset battery temperature, the minimum power of the first power limit interval is the first power; and / or, when the first battery temperature is less than the first preset battery temperature and the first outside vehicle temperature is less than the first preset outside vehicle temperature, the minimum power of the first power limit interval is the second power, the maximum power of the first power limit interval is the third power, and the second power is greater than the first power; and / or, when the first battery temperature is less than the first preset battery temperature, the first outside vehicle temperature is greater than or equal to the first preset outside vehicle temperature and the first outside vehicle temperature is less than the second preset outside vehicle temperature, the minimum power of the first power limit interval is the fourth power, the maximum power of the first power limit interval is the fifth power, the fourth power is greater than the first power and the fifth power is less than the third power; and / or, when the first battery temperature is less than the first preset battery temperature and the first outside vehicle temperature is greater than or equal to the second preset outside vehicle temperature, the minimum power of the first power limit interval is the sixth power, the maximum power of the first power limit interval is the seventh power, the sixth power is greater than the first power and the seventh power is less than the fifth power. In this way, the electronic device determines the maximum power in the first power limit range based on the relative size relationship between the first battery temperature and the first outside vehicle temperature and the preset temperature, adapts to various environments, and sets the battery power more reasonably, thereby maintaining the battery at a higher power level while protecting the battery safety.

[0026] In one possible implementation, when the first continuous temperature outside the vehicle is lower than the first preset continuous temperature outside the vehicle and the first temperature inside the vehicle is lower than the first preset temperature inside the vehicle, the minimum power of the second power limit interval is the seventh power, and the maximum power of the second power limit interval is the eighth power; and / or, when the first continuous temperature outside the vehicle is lower than the first preset continuous temperature outside the vehicle and the first temperature inside the vehicle is greater than or equal to the first preset temperature inside the vehicle, the minimum power of the second power limit interval is the ninth power, the maximum power of the second power limit interval is the tenth power, and the tenth power is lower than the eighth power; and / or, when the first continuous temperature outside the vehicle is higher than the first preset continuous temperature outside the vehicle, the first continuous temperature outside the vehicle is lower than the second preset continuous temperature outside the vehicle, and the first temperature inside the vehicle is lower than the first preset temperature inside the vehicle, The minimum charge level in the second charge limit interval is the eleventh charge level, the maximum charge level in the second charge limit interval is the twelfth charge level, and the twelfth charge level is less than the eighth charge level; and / or, when the first continuous external temperature is greater than the first preset continuous external temperature, the first continuous external temperature is less than the second preset continuous external temperature, and the first interior temperature is greater than or equal to the first preset interior temperature, the minimum charge level in the second charge limit interval is the thirteenth charge level, the maximum charge level in the second charge limit interval is the fourteenth charge level, and the fourteenth charge level is less than the tenth charge level; and / or, when the first continuous external temperature is greater than the second preset continuous external temperature, the minimum charge level in the second charge limit interval is the fifteenth charge level, the maximum charge level in the second charge limit interval is the sixteenth charge level, and the sixteenth charge level is less than the tenth charge level. In this way, the electronic device determines the maximum charge level in the second charge limit interval based on the relative relationship between the first continuous external temperature and the first interior temperature and the preset temperature, adapts to various temperature environments, more reasonably sets the battery charge level, and maintains the battery at a high charge level while protecting battery safety.

[0027] In one possible implementation, when the maximum temperature indicated by the weather information, the third outside temperature, and / or the second inside temperature are higher than a preset safety temperature, the third power limit information is used to instruct the electronic device to set the power level to less than the preset safety level. In this way, when any of the maximum temperature indicated by the weather information, the third outside temperature, or the second inside temperature is high, it may affect battery safety. Therefore, the electronic device can more comprehensively consider the impact of various temperatures on the battery, reducing the probability of battery swelling.

[0028] On the third aspect, the present application provides a battery management method, which is applied to an electronic device, wherein the electronic device includes a battery; the method includes: establishing a communication connection with a vehicle and receiving power from the vehicle; sending a first battery temperature to the vehicle, wherein the first battery temperature represents the temperature of the battery; receiving power limit information sent by the vehicle, wherein the power limit information includes a power limit interval; in response to the power limit information, when it is detected that the power of the battery is less than the minimum power of the power limit interval, a charging operation is performed, and when it is detected that the power of the battery is greater than the maximum power of the power limit interval, the charging operation is suspended. In this way, after the electronic device establishes a communication connection with the vehicle, it receives power from the vehicle and controls the power of the electronic device in accordance with the first power limit information sent by the vehicle, thereby protecting the battery of the electronic device.

[0029] In a possible implementation, the method further includes: discharging the battery when the charging operation is suspended until the power level of the battery is less than a maximum power level of the power limit interval.

[0030] In one possible implementation, the electronic device includes a discharge circuit configured to consume battery power. Discharging the battery specifically includes discharging the battery via the discharge circuit. Thus, the electronic device consumes the battery power via the discharge circuit, rapidly reducing the battery power level to a first power limit range, thereby reducing the duration and severity of damage to the battery caused by a high temperature environment.

[0031] In one possible implementation, discharging the battery includes discharging the battery by increasing the screen brightness of the electronic device, and / or controlling the running of high-power applications in the background of the electronic device, and / or increasing the operating frequency of the processor of the electronic device. In this way, the electronic device can accelerate the discharge speed by increasing the screen brightness, etc., and quickly reduce the battery power to the first power limit range.

[0032] In one possible implementation, the method further includes: displaying a charging prompt message when the electronic device is performing a charging operation, the charging prompt message being used to inform a user that the electronic device is charging; and canceling the display of the charging prompt message when the electronic device pauses the charging operation. In this way, the user can know whether the electronic device is currently charging.

[0033] In a fourth aspect, the present application provides a vehicle comprising: a power supply module, one or more transceivers, one or more processors and one or more memories; the power supply module is used to supply power to electronic equipment; the power supply module, one or more transceivers, one or more memories are coupled to one or more processors, and the one or more memories are used to store computer executable programs. When the one or more processors execute the computer executable programs, the vehicle executes any possible implementation method as in the second aspect.

[0034] In a fifth aspect, the present application provides a computer-readable storage medium storing a computer program, which, when the computer program runs on a processor of a vehicle, enables the vehicle to execute any possible implementation method as in the second aspect.

[0035] In a sixth aspect, the present application provides a computer program product, which, when running on a vehicle, enables the vehicle to execute any possible implementation method as in the second aspect.

[0036] In the seventh aspect, the present application provides an electronic device comprising: a battery, one or more transceivers, one or more processors and one or more memories; the battery, one or more transceivers, one or more memories are coupled to one or more processors, and the one or more memories are used to store computer executable programs. When the one or more processors execute the computer executable programs, the electronic device executes any possible implementation method as in the third aspect.

[0037] In an eighth aspect, the present application provides a computer-readable storage medium that stores a computer program. When the computer program runs on a processor of an electronic device, the electronic device executes any possible implementation method as in the third aspect.

[0038] In a ninth aspect, the present application provides a computer program product, which, when executed on an electronic device, enables the electronic device to execute any possible implementation method in the third aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 A schematic diagram of a battery management system 10 provided in an embodiment of the present application;

[0040] Figure 2 A flowchart of a battery management method provided in an embodiment of the present application;

[0041] Figure 3 A schematic diagram of a module flow of a battery management method provided in an embodiment of the present application;

[0042] Figures 4A-4D A set of interface schematic diagrams provided for embodiments of the present application;

[0043] Figure 5 A schematic structural diagram of a vehicle 100 provided in an embodiment of the present application;

[0044] Figure 6 A schematic structural diagram of an electronic device 200 provided in an embodiment of the present application. DETAILED DESCRIPTION

[0045] The following is a clear and detailed description of the technical solutions in the embodiments of the present application in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in the text is only a description of the association relationship between related objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0046] In the following, the terms "first" and "second" are used for descriptive purposes only and should not be understood to imply or suggest relative importance or implicitly indicate the number of the technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of this application, unless otherwise specified, "plurality" means two or more.

[0047] An embodiment of the present application provides a battery management method. A vehicle 100 includes a power supply module that can be used to power an electronic device 200. The electronic device 200 includes a battery. Upon detecting a user boarding the vehicle, the vehicle 100 establishes a communication connection with the electronic device 200 and supplies power to the electronic device 200. The vehicle 100 obtains the outside temperature, the inside temperature, and the battery temperature of the electronic device 200. Based on the obtained information, the vehicle 100 can determine power limit information, which can indicate a power limit interval. The vehicle 100 can send the power limit information to the electronic device 200. Upon receiving the power limit information, the electronic device 200 maintains the battery power within the power limit interval. In this way, since a higher battery power level in a high-temperature environment causes greater damage to the battery, the vehicle 100 can determine the battery power limit interval for the electronic device 200 after startup based on the outside temperature, the inside temperature, and the battery temperature of the electronic device 200. The vehicle 100 can then notify the electronic device 200 to maintain the battery temperature within the power limit interval, thereby reducing the risk of battery failure caused by excessively high ambient temperatures. The outside temperature is the ambient temperature outside the vehicle 100 , the inside temperature is the ambient temperature inside the vehicle 100 , and the battery temperature of the electronic device 200 is the temperature of the battery of the electronic device 200 .

[0048] It is understood that the electronic device 200 can maintain the battery power within the power limit range by charging or discharging the battery. After receiving the power limit information, the electronic device 200 can charge the battery when it determines that the battery power is less than the minimum power of the power limit range. The electronic device 200 can suspend battery charging when it determines that the battery power is greater than the maximum power of the power limit range.

[0049] In some examples, when the electronic device 200 determines that the battery power level is greater than the maximum power level of the power limit interval, it may control the battery to discharge until the battery power level is less than the maximum power level of the power limit interval. In this way, the battery power level of the electronic device 200 can be ensured to be within the power limit interval.

[0050] Specifically, upon detecting that a user has boarded the vehicle, the vehicle 100 may establish a communication connection with the electronic device 200 and charge the electronic device 200. The vehicle 100 may obtain a first outside temperature and, through this communication connection, obtain a first battery temperature of the electronic device 200. The first outside temperature is the ambient temperature outside the vehicle 100, and the first battery temperature is the temperature of the battery of the electronic device 200. The vehicle 100 may determine first power limit information based on the first outside temperature and the first battery temperature. The first power limit information may be used to instruct the electronic device 200 to maintain the battery power within a first power limit range. The higher the first outside temperature and / or the first battery temperature, the lower the maximum power value in the first power limit range. In this way, when the user first boards the vehicle, the vehicle air conditioning has not yet started, and the inside and outside temperatures are approximately the same. The vehicle 100 may determine the first power limit information directly based on the outside temperature and the battery temperature, thereby reducing the risk of battery bulging in the electronic device 200.

[0051] Subsequently, vehicle 100 can obtain a first continuous external temperature and a first internal temperature at preset intervals while the user is using vehicle 100. The first continuous external temperature can represent a second external temperature that remains constant and is collected within a preset collection period, while the first internal temperature represents the ambient temperature inside vehicle 100. Vehicle 100 can determine second power limit information based on the first continuous external temperature and the first internal temperature. The second power limit information can be used to instruct electronic device 200 to maintain the battery charge within a second power limit range. The higher the first continuous external temperature and / or the first internal temperature, the lower the maximum charge value within the second power limit range. In this way, after a user has been in the vehicle for a period of time, the vehicle's air conditioner begins operating, and the internal temperature differs from the external temperature, typically being lower than the external temperature. Furthermore, while the user is in the vehicle, electronic device 200 may be in use. During use, the battery of electronic device 200 may be at a higher temperature due to user activity (e.g., playing games). Using battery temperature to determine power limit information in this situation may lead to misjudgment. Therefore, the vehicle 100 can directly determine the second power limit information based on the outside temperature and the inside temperature of the vehicle, thereby reducing the risk of battery swelling of the electronic device 200 .

[0052] The vehicle 100 can obtain the outside temperature and the inside temperature of the electronic device 200 when detecting that the user has gotten off the vehicle. The vehicle 100 can determine the third power limit information based on the third outside temperature and the second inside temperature. The third power limit information can be used to instruct the electronic device 200 to keep the battery power in the third power limit interval. The higher the third outside temperature and / or the second inside temperature, the lower the maximum power value in the third power limit interval. In this way, when the user gets off the vehicle, the inside temperature can remain unchanged for a period of time, and the outside temperature will gradually change the inside temperature. Therefore, both the outside temperature and the inside temperature may cause problems with the battery. Therefore, determining the third power limit information based on these parameters can more comprehensively protect battery safety.

[0053] In some examples, because the vehicle 100 stops supplying power to the electronic device 200 after the user exits the vehicle, the third power limit interval does not have a minimum power level, or the minimum value of the third power limit interval is 0. In this way, the electronic device 200 only needs to maintain the battery power level below the maximum power level of the third power limit interval to maximize battery safety.

[0054] In some examples, vehicle 100 may be configured with multiple temperature thresholds (e.g., Figure 2 The vehicle 100 may determine power limit information based on multiple temperature thresholds and the acquired outside temperature, inside temperature, and battery temperature of the electronic device 200.

[0055] In some examples, the electronic device 200 may perform a discharge operation when it detects that the battery charge is greater than the maximum charge of the charge limit interval, until the battery charge is less than the maximum charge of the charge limit interval. For example, the electronic device 200 may include a discharge circuit, and the discharge circuit is used to consume the battery charge. When the electronic device 200 performs a discharge operation, the battery may be discharged through the discharge circuit. For another example, the electronic device 200 may increase the brightness of the display screen to discharge the battery. For another example, the electronic device 200 may increase the operating frequency of the processor of the electronic device 200 to discharge the battery, and so on. In this way, the electronic device 200 self-discharges at a slow speed, and the electronic device 200 may discharge the battery by performing a discharge operation to speed up the discharge speed of the electronic device 200, so that the electronic device 200 can reduce the charge to less than the maximum charge more quickly.

[0056] Next, a battery management system 10 provided in an embodiment of the present application is introduced.

[0057] For example, Figure 1As shown, the battery management system 10 may include, but is not limited to, a vehicle 100 and an electronic device 200. The electronic device 200 is placed within the vehicle 100. For example, the electronic device 200 may be a tablet computer, a mobile phone, a laptop computer, or a rear-seat tablet. The vehicle 100 includes a power supply module that can be used to power the electronic device 200. The electronic device 200 includes a battery. For example, the battery may be a rechargeable battery, such as a lithium-ion battery, a nickel-chromium battery, a nickel-metal hydride battery, or a lead-acid battery.

[0058] After detecting that a user has boarded the vehicle, the vehicle 100 can use the power supply module to power the electronic device 200. The power supply module of the vehicle 100 can include a wired charging interface. After the vehicle 100 and the electronic device 200 form a charging circuit through the wired charging interface, the battery of the electronic device 200 can be charged via wired charging. Optionally, the power supply module of the vehicle 100 can also include a wireless charging coil. The vehicle 100 can use the wireless charging coil to charge the battery of the electronic device 200 wirelessly.

[0059] Among them, the vehicle 100 can establish a wireless communication connection with the electronic device 200 when it detects that a user has boarded the vehicle. The wireless connection can be a short-range connection such as a high-fidelity wireless communication (wireless fidelity, Wi-Fi) connection, a Bluetooth connection, an infrared connection, an NFC connection, a ZigBee connection, or a long-range connection. The long-range connection includes but is not limited to a long-range connection based on a mobile network of 2G, 3G, 4G, 5G and subsequent standard protocols. In some examples, the communication connection can also be a wired connection. For example, the vehicle 100 and the electronic device 200 can be connected via a data cable, and when the vehicle 100 detects that a user has boarded the vehicle, a communication connection can be established with the electronic device 200 via the data cable.

[0060] In the embodiment of the present application, after the vehicle 100 establishes a communication connection with the electronic device 200, the battery temperature of the electronic device 200 can be obtained through the communication connection. The vehicle 100 can also send power limit information to the electronic device 200 through the communication connection.

[0061] Next, a flow chart of a battery management method provided in an embodiment of the present application is introduced.

[0062] For example, Figure 2 As shown, the battery management method includes the following steps:

[0063] S201 . The vehicle 100 detects that a user has boarded the vehicle, establishes a communication connection with the electronic device 200 , and supplies power to the electronic device 200 .

[0064] The vehicle 100 detects that the user has boarded the vehicle, establishes a communication connection with the electronic device 200, and supplies power to the electronic device 200. For example, the vehicle 100 may determine that the user has boarded the vehicle when it detects that the user has opened a door and that the user has sat down in the vehicle.

[0065] In other examples, the vehicle 100 may establish a communication connection with the electronic device 200 and supply power to the electronic device 200 after receiving a remote start instruction.

[0066] S202 . The vehicle 100 obtains a first outside temperature.

[0067] After detecting that a user has boarded the vehicle, the vehicle 100 may obtain a first outside vehicle temperature, which may be used to represent the ambient temperature outside the vehicle.

[0068] S203 . The vehicle 100 obtains a first battery temperature of the electronic device 200 .

[0069] The vehicle 100 obtains a first battery temperature from the electronic device 200 via a communication connection. The first battery temperature may represent the temperature of the battery of the electronic device 200. The vehicle 100 may send a message to the electronic device 200 to query the battery temperature. After receiving the message, the electronic device 200 may obtain the first battery temperature using a temperature sensor and send the first battery temperature to the vehicle 100.

[0070] S204 : The vehicle 100 determines first power limit information based on the first external temperature and the first battery temperature.

[0071] The vehicle 100 may determine first power limit information based on the first external temperature and the first battery temperature. The first power limit information may be used to indicate a first power limit interval of the battery of the electronic device 200. The higher the first external temperature and / or the first battery temperature, the lower the minimum power and / or maximum power of the first power limit interval.

[0072] In some examples, the vehicle 100 is set with a preset ambient temperature 1 (e.g., 10 degrees Celsius) and a preset battery temperature (e.g., 50 degrees Celsius). When the vehicle 100 determines that the outside temperature is less than the preset ambient temperature 1 and the battery temperature is less than the preset battery temperature, the vehicle 100 determines first power limit information for instructing the electronic device 200 to charge.

[0073] For example, when the vehicle 100 determines that the outside temperature is less than the preset ambient temperature 1, and the battery temperature is less than the preset battery temperature, the first power limit interval 1 is obtained as [minimum power 1, maximum power 1]. Among them, the minimum power 1 is less than or equal to 100%. For example, the minimum power 1 can be 100%. In this way, the electronic device 200 can continue to perform the charging operation when the power is less than 100%, and keep the power of the electronic device 200 at 100%. It can be understood that the minimum power of the first power limit interval 1 is only an example. The electronic device 200 can suspend charging after charging to 100%, and charge again when the power of the electronic device 200 drops to a preset charging power (for example, 99%, 90%, etc.), and so on. The embodiment of the present application is not limited to this. Among them, the maximum power 1 is less than or equal to 100%, and the maximum power 1 is greater than the minimum power 1. For example, the maximum power can be 100%.

[0074] In some examples, the electronic device 200 may stop charging the battery after charging to 100%, and set the charging power source to power the main system of the electronic device 200. In this way, damage to the battery caused by overcharging can be avoided.

[0075] In other examples, when the vehicle 100 determines that the outside temperature is less than the preset ambient temperature 1 and the battery temperature is less than the preset battery temperature, the vehicle 100 does not generate the first power limit interval 1 and only sends the first power limit information for instructing the electronic device 200 to charge. In other examples, when the vehicle 100 determines that the outside temperature is less than the preset ambient temperature 1 and the battery temperature is less than the preset battery temperature, the operation of generating and sending the first power limit information to the electronic device 200 is not performed. In this way, the electronic device 200 does not need to maintain the battery power within the first power limit interval 1 and only needs to perform the charging operation.

[0076] When the vehicle 100 determines that the battery temperature is greater than or equal to a preset battery temperature, the determined first power limit information is used to instruct the electronic device 200 to stop charging. For example, the first power limit interval 2 determined by the vehicle 100 is [minimum power 2, preset safety power]. Minimum power 2 is greater than or equal to 0%, and minimum power 2 is less than minimum power 1. The preset safety power is less than maximum power 1. For example, minimum power 2 can be 0%, and the preset safety power can be 50%.

[0077] In some examples, when the power level of the electronic device 200 is greater than the preset safety level, the electronic device 200 may suspend the charging operation. In this way, after the electronic device 200 is powered on, the operation of the electronic device 200 will discharge the battery, and the power level of the battery of the electronic device 200 will gradually decrease to less than the preset safety level.

[0078] In other examples, when the power level of the electronic device 200 is greater than the preset safety level, the electronic device 200 may perform a discharge operation to reduce the power level to less than the preset safety level. Specifically, the description of the discharge operation performed by the electronic device 200 can be found in the above embodiments and will not be repeated here. In this way, the electronic device 200 can quickly reduce the battery power level.

[0079] In other examples, when the vehicle 100 determines that the battery temperature is greater than or equal to the preset battery temperature, the first power limit interval 2 is not generated, and only the first power limit information for instructing the electronic device 200 to stop charging is sent.

[0080] When the vehicle 100 determines that the battery temperature is less than a preset battery temperature and the outside temperature is greater than a preset ambient temperature 1, the determined first power limit information is used to instruct the electronic device 200 to maintain the power within a first power limit interval 3. The first power limit interval 3 may be [minimum power 3, maximum power 3]. The minimum power 3 is less than the minimum power 1, the minimum power 3 is greater than the minimum power 2, and the maximum power 3 is less than the maximum power 1. For example, the minimum power 3 is 40% and the maximum power 3 is 50%.

[0081] In some examples, the vehicle 100 is set with a preset ambient temperature 2 (e.g., 30 degrees Celsius), which is greater than the preset ambient temperature 1. When the vehicle 100 determines that the battery temperature is less than the preset battery temperature and the outside temperature is greater than the preset ambient temperature 1 and less than the preset ambient temperature 2, the determined first power limit information is used to instruct the electronic device 200 to maintain the power within the first power limit interval 3. When the vehicle 100 determines that the battery temperature is less than the preset battery temperature and the outside temperature is greater than the preset ambient temperature 2, the determined first power limit information is used to instruct the electronic device 200 to maintain the power within the first power limit interval 4. The first power limit interval 4 can be [minimum power 4, maximum power 4]. Among them, the minimum power 4 is less than the minimum power 1, and the maximum power 4 is less than the maximum power 3. For example, the minimum power 13 is 20% and the maximum power 14 is 40%. In this way, when the outside temperature is high and the weather is hot, the power of the electronic device 200 can be limited to a lower state to protect the safety of the battery.

[0082] S205 . The vehicle 100 sends first power limit information to the electronic device 200 , to instruct the electronic device 200 to keep the battery power within the first power limit range.

[0083] S206. The electronic device 200 maintains the battery power within the first power limit range.

[0084] The vehicle 100 may send the first power limit information to the electronic device 200. After receiving the first power limit information, the electronic device 200 may keep the battery power within the first power limit range.

[0085] When the electronic device 200 determines that the battery charge is less than the minimum charge of the first charge limit interval, the battery is charged until the battery charge is greater than or equal to the maximum charge of the first charge limit interval. When the electronic device 200 determines that the battery charge is greater than the minimum charge of the first charge limit interval, the battery is not charged. In this way, the electronic device 200 can keep the battery within the first charge limit interval for a longer period of time, reducing the charging time.

[0086] In other examples, when the electronic device 200 determines that the battery power is less than the maximum power of the first power limit interval, the battery is charged until the battery power is greater than or equal to the maximum power of the first power limit interval. When the electronic device 200 determines that the battery power is greater than the maximum power of the first power limit interval, the battery is not charged. In this way, the electronic device 200 can maintain a higher power level when the temperature is suitable, making it easier for the user to use.

[0087] Optionally, when the electronic device 200 determines that the battery charge is greater than the maximum charge of the first charge limit interval, the electronic device 200 performs a discharge operation until the battery charge is less than the maximum charge of the first charge limit interval. In this way, the electronic device 200 can more quickly bring the battery charge within the first charge limit interval, thereby protecting the safety of the battery.

[0088] In other examples, the vehicle 100 may establish a communication connection with the electronic device 200 and execute steps S202 to S205 upon detecting that a user has boarded the vehicle. The vehicle 100 may also provide power to the electronic device 200 upon transmitting the first power limit information to the electronic device 200. This prevents the electronic device 200 from charging the battery when the battery temperature and / or the outside temperature are high before receiving the first power limit information.

[0089] In other examples, the vehicle 100 may establish a communication connection with the electronic device 200 and provide power to the electronic device 200 upon detecting that a user has boarded the vehicle. After receiving the power limit information sent by the vehicle 100, the electronic device 200 determines whether to charge or discharge the battery based on the power limit information. In this way, the electronic device 200 prohibits charging the battery before receiving the first power limit information, avoiding the situation where the battery temperature and / or the outside temperature of the vehicle are high and the battery temperature is high.

[0090] S207 . The vehicle 100 obtains a first continuous vehicle exterior temperature and a first vehicle interior temperature, where the first continuous vehicle exterior temperature represents a second vehicle exterior temperature that remains unchanged within a preset acquisition time period.

[0091] After determining the first power limit information, vehicle 100 can obtain the first continuous outside temperature and the first inside temperature. Vehicle 100 can also continuously collect the second outside temperature. When vehicle 100 determines that the second outside temperatures collected within a preset collection period are the same, the second outside temperature is used as the first continuous outside temperature. This allows vehicle 100 to observe the continuous outside temperature, making the obtained temperature more accurate, as the temperature may vary during driving due to factors such as terrain.

[0092] The vehicle 100 includes a temperature sensor, and the vehicle 100 can obtain the second outside temperature and the first inside temperature through the temperature sensor.

[0093] S208 . The vehicle 100 determines second power limit information based on the first continuous vehicle exterior temperature and the first vehicle interior temperature.

[0094] Among them, the vehicle 100 can determine the second power limit information based on the first continuous temperature outside the vehicle and the first temperature inside the vehicle. Specifically, the second power limit information can be used to indicate the second power limit interval of the battery of the electronic device 200. Among them, the higher the first continuous temperature outside the vehicle and / or the first temperature inside the vehicle, the smaller the minimum power and / or maximum power of the second power limit interval. In this way, after the user gets in the car, the electronic device 200 may maintain a high battery temperature due to the user's use, and there may be errors in determining the second power limit interval based on the battery temperature. Therefore, the second power limit interval can be determined based on the first continuous temperature outside the vehicle and the temperature inside the vehicle. In addition, by setting the second power limit interval with reference to the first continuous temperature outside the vehicle, after the user parks the car, there will be no problem of increasing the risk of battery bulging due to a large difference between the first continuous temperature outside the vehicle and the temperature inside the vehicle.

[0095] In some examples, the vehicle 100 is set with a preset ambient temperature 1 (e.g., 10 degrees Celsius) and a preset vehicle interior temperature (e.g., 30 degrees Celsius). When the vehicle 100 determines that the first continuous external temperature is less than the preset ambient temperature 1 and the first vehicle interior temperature is less than the preset vehicle interior temperature, the determined second power limit information is used to instruct the electronic device 200 to charge.

[0096] For example, when the vehicle 100 determines that the first continuous external temperature is less than the preset ambient temperature 1 and the first internal temperature is less than the preset internal temperature, the second power limit interval 1 is obtained as [minimum power 5, maximum power 5]. The minimum power 5 is less than or equal to 100%, and the maximum power 5 is less than or equal to 100%. For example, the minimum power 5 can be 100%. It is understood that the minimum power of the second power limit interval is only an example. The electronic device 200 can suspend charging after charging to 100%, and charge again when the power of the electronic device 200 drops to a preset charging power (e.g., 99%, 90%, etc.), and so on. The embodiments of the present application are not limited to this. In some examples, the electronic device 200 can stop charging the battery after charging to 100%, and set the charging power supply to power the main system of the electronic device 200. In this way, damage to the battery caused by overcharging can be avoided. In other examples, the vehicle 100 does not generate the second power limit interval 1 and only sends the second power limit information to instruct the electronic device 200 to charge. In other examples, when the vehicle 100 determines that the first continuous external temperature is less than the preset ambient temperature 1 and the first internal temperature is less than the preset internal temperature, the operation of generating and sending the second power limit information to the electronic device 200 is not performed.

[0097] When the vehicle 100 determines that the first continuous external temperature is less than the preset ambient temperature 1 and the first internal temperature is greater than the preset internal temperature, the second power limit information determined is used to instruct the electronic device 200 to maintain the power level in the second power limit interval 2. The second power limit interval 2 can be [minimum power level 6, maximum power level 6]. The minimum power level 6 is greater than 0%, and the maximum power level 6 is less than the maximum power level 5. For example, the minimum power level 6 is 20%, and the maximum power level 6 is 80%.

[0098] When the vehicle 100 determines that the first continuous temperature outside the vehicle is greater than the preset ambient temperature 1, and the first temperature inside the vehicle is less than the preset temperature inside the vehicle, the determined second power limit information is used to instruct the electronic device 200 to maintain the power in the second power limit interval 3, and the second power limit interval 3 can be [minimum power 7, maximum power 7]. Among them, the minimum power 7 is greater than 0%, and the maximum power 7 is less than the maximum power 5. For example, the minimum power 7 is 40%, and the maximum power 7 is 50%. In some examples, the maximum power 7 is less than or equal to the maximum power 6. In this way, since the temperature inside the vehicle is controlled by the user, the impact of the first continuous temperature outside the vehicle on the battery is greater than the impact of the temperature inside the vehicle on the battery. Therefore, when the first continuous temperature outside the vehicle is higher, the maximum power in the power limit interval is smaller.

[0099] When the vehicle 100 determines that the first continuous external temperature is greater than the preset ambient temperature 1 and the first internal temperature is greater than the preset internal temperature, the second power limit information determined is used to instruct the electronic device 200 to maintain the power level in the second power limit interval 4. The second power limit interval 4 can be [minimum power level 8, maximum power level 8]. The minimum power level 8 is greater than 0%, and the maximum power level 8 is less than the maximum power level 7. For example, the minimum power level 8 is 20%, and the maximum power level 8 is 40%.

[0100] In some examples, the vehicle 100 is set to a preset ambient temperature 2 (e.g., 30 degrees Celsius), and the preset ambient temperature 2 is greater than the preset ambient temperature 1. When the vehicle 100 determines that the first continuous external temperature is less than the preset ambient temperature 1, the second power limit interval obtained can refer to the above embodiment and will not be repeated here. When the vehicle 100 determines that the first continuous external temperature is greater than the preset ambient temperature 1 and less than the preset ambient temperature 2, and the interior temperature is less than the preset interior temperature, the second power limit information determined is used to instruct the electronic device 200 to maintain the power within the second power limit interval 3. When the vehicle 100 determines that the interior temperature is greater than the preset interior temperature, and the first continuous external temperature is greater than the preset ambient temperature 1 and less than the preset ambient temperature 2, the second power limit information determined is used to instruct the electronic device 200 to maintain the power within the second power limit interval 4. When the vehicle 100 determines that the first continuous external temperature is greater than the preset ambient temperature 2, the second power limit information determined is used to instruct the electronic device 200 to maintain the power within the second power limit interval 5. The second power limit interval 5 can be [minimum power 9, maximum power 9]. The minimum charge level 9 is greater than 0%, and the maximum charge level 9 is less than the maximum charge level 7. For example, the minimum charge level 9 is 20%, and the maximum charge level 9 is 40%. In some examples, the maximum charge level 9 is less than or equal to the maximum charge level 8. Thus, the vehicle 100 is more likely to determine the charge limit interval based on the first continuous external temperature.

[0101] In this way, when the temperature outside the first vehicle is continuously high and the weather is hot, the power of the electronic device 200 can be limited to a lower state to protect the safety of the battery.

[0102] It should be noted that the vehicle 100 is not limited to the first continuous external temperature. The vehicle 100 can also directly determine the second power limit information based on the collected second external temperature and the first internal temperature. In this way, the vehicle 100 can obtain the external temperature information more quickly and reduce the power consumption of the collection.

[0103] S209 . The vehicle 100 sends second power limit information to the electronic device 200 , to instruct the electronic device 200 to keep the battery power within the second power limit range.

[0104] After determining the second power limit information, the vehicle 100 may send the second power limit information to the electronic device 200 .

[0105] S210. The electronic device 200 maintains the battery power within the second power limit range.

[0106] After receiving the second limit information, the electronic device 200 may maintain the battery power within the second power limit interval within the second time period. Specifically, the description of the electronic device 200 maintaining the battery power within the second power limit interval can be referred to the above embodiment and will not be repeated here.

[0107] S211. The vehicle 100 detects that the user has gotten off the vehicle and obtains a second vehicle interior temperature and a third vehicle exterior temperature.

[0108] The vehicle 100 detects that the user has gotten off the vehicle and can obtain a second vehicle interior temperature and a third vehicle exterior temperature, wherein the second vehicle interior temperature is used to indicate the vehicle interior temperature when the user has gotten off the vehicle, and the third vehicle exterior temperature is used to indicate the vehicle exterior temperature when the user has gotten off the vehicle.

[0109] S212 : The vehicle 100 determines third power limit information based on the second vehicle interior temperature and the third vehicle exterior temperature.

[0110] The vehicle 100 may determine the third power limit information based on the second vehicle interior temperature and the third vehicle exterior temperature. The higher the second vehicle interior temperature and / or the third vehicle exterior temperature, the lower the maximum power of the third power limit interval indicated by the third power limit information.

[0111] Since the vehicle 100 stops supplying power to the electronic device 200 after detecting that the user has gotten off the vehicle, the third power limit interval may only include the maximum power level. Alternatively, the minimum power level of the third power limit interval is 0%.

[0112] Among them, the vehicle 100 can determine that the third power limit interval is [0%, preset safety power] when it detects that the second in-vehicle temperature is greater than or equal to the preset in-vehicle temperature (for example, 30 degrees Celsius), and / or the third outside-vehicle temperature is greater than or equal to the preset ambient temperature 2 (for example, 30 degrees Celsius).

[0113] When the vehicle 100 detects that the second interior temperature is less than a preset interior temperature and the third exterior temperature is less than a preset ambient temperature 2, it may determine that the third power limit interval is [0%, current power]. In this way, the vehicle 100 can maintain the battery power of the electronic device 200 at a high level when the temperature is suitable, thereby extending the battery life of the electronic device 200.

[0114] In some examples, the vehicle 100 may not generate the third power limit information when it detects that the second vehicle interior temperature is less than a preset vehicle interior temperature and the third vehicle exterior temperature is less than a preset ambient temperature 2. In this way, the vehicle 100 does not send the third power limit information to the electronic device 200, the electronic device 200 does not receive the third power limit information, and does not change the battery power level according to the third power limit information.

[0115] S213 . The vehicle 100 sends third power limit information to the electronic device 200 , to instruct the electronic device 200 to keep the battery power within the third power limit range.

[0116] S214. The electronic device 200 maintains the battery power within the third power limit range.

[0117] After receiving the third power limit information, the electronic device 200 may, when determining that the battery power is greater than the maximum power of the third power limit interval, perform a discharge operation until the battery power of the electronic device 200 is less than the maximum power. The electronic device 200 may not perform a discharge operation when determining that the battery power is less than the maximum power.

[0118] In some examples, the electronic device 200 can determine whether to perform a discharge operation based on the battery temperature and battery level of the electronic device 200 after disconnecting the communication connection with the vehicle 100. After disconnecting the communication connection with the vehicle 100, if the electronic device 200 determines that the battery temperature of the electronic device 200 is higher than a preset safety temperature and the battery level is higher than a preset safety level, the electronic device 200 can perform a discharge operation until the battery level of the electronic device 200 is lower than the preset safety level. In this way, the electronic device 200 can monitor the battery temperature after the user exits the vehicle, reducing the risk of battery swelling.

[0119] In some examples, the electronic device 200 may cancel the operation of maintaining the battery charge within the third charge limit range upon detecting that the communication connection with the vehicle 100 is disconnected and / or that no charging current is input. In this way, the electronic device 200 can be charged elsewhere after the user leaves the vehicle.

[0120] In one possible implementation, vehicle 100 may also obtain weather information when detecting a user exiting the vehicle. The weather information may indicate the current and future maximum temperatures in the area where vehicle 100 is located, or the current maximum temperature in the area where vehicle 100 is located. Vehicle 100 may obtain this weather information through a weather application. Vehicle 100 may determine third power limit information based on the maximum temperature indicated by the weather information, the third exterior temperature, and the second interior temperature.

[0121] In which, when the vehicle 100 detects that the maximum temperature is higher than a preset temperature (e.g., 30 degrees Celsius), and / or the second vehicle interior temperature is greater than or equal to the preset vehicle interior temperature (e.g., 30 degrees Celsius), and / or the third vehicle exterior temperature is greater than or equal to the preset ambient temperature 2 (e.g., 30 degrees Celsius), the vehicle 100 can send a third power limit information to the electronic device 200 to instruct the electronic device 200 to set the power to less than the preset safety power.

[0122] When the vehicle 100 detects that the maximum temperature is lower than a preset temperature (for example, 30 degrees Celsius), the second in-vehicle temperature is lower than the preset in-vehicle temperature and the third outside-vehicle temperature is lower than the preset ambient temperature 2, the vehicle 100 may send a third power limit information to the electronic device 200 to instruct the electronic device 200 not to perform a discharge operation, or the third power limit information is not generated. For details, please refer to the above embodiment and will not be repeated here. In this way, the vehicle 100 can determine whether to perform a discharge operation in combination with the maximum temperature. For example, when the vehicle 100 detects that the user gets off the vehicle, the temperature is suitable. As time goes by, the temperature may increase. When the temperature rises to a high temperature, it may cause damage to the battery of the electronic device 200. Therefore, the safety of the battery can be more comprehensively protected in combination with the temperature.

[0123] In some examples, the parking location of the vehicle 100 will also affect the temperature of the environment in which the electronic device 200 is located. The vehicle 100 can obtain parking location information. When the vehicle 100 determines that the parking location information indicates that the parking location is located under a bridge, in a basement, or in a sheltered location, the vehicle 100 can determine the third power limit information based on the maximum temperature indicated by the weather information, the third outside temperature, and the second inside temperature. When the vehicle 100 determines that the parking location information indicates that the parking location is located next to the road, in an open-air parking lot, or in an unobstructed location, the vehicle 100 can determine the third power limit information based on the third outside temperature and the second inside temperature. In this way, the vehicle 100 can predict whether the temperature will have a greater impact on the temperature of the environment in which the electronic device 200 is located based on the parking location. The vehicle 100 can protect the battery health of the electronic device 200 while ensuring that the electronic device 200 has sufficient power.

[0124] It should be noted that the vehicle 100 may execute steps S207 to S209 multiple times before detecting that the user has gotten off the vehicle. The electronic device 200 also executes step S210 multiple times. For example, the vehicle 100 may re-execute steps S207 to S209 at preset intervals. That is, after sending the second power limit information to the electronic device 200, the vehicle 100 may re-execute steps S207 to S209 when it detects that the time since the last time the second power limit information was sent to the electronic device 200 has reached a preset interval. It is understandable that the electronic device 200 can keep the battery power within the power limit range indicated by the power limit information according to the most recently received power limit information.

[0125] For example, before the vehicle 100 detects that a user has exited the vehicle, after the vehicle 100 sends the second power limit information to the electronic device 200, the vehicle 100 may acquire a second continuous outside vehicle temperature and a third inside vehicle temperature upon detecting that a preset interval has elapsed since the time the second power limit information was sent to the electronic device 200. The second continuous outside vehicle temperature represents a fourth outside vehicle temperature that remains constant for the preset collection time period. The fourth outside vehicle temperature represents the ambient temperature outside the vehicle, and the third inside vehicle temperature represents the ambient temperature inside the vehicle. The vehicle 100 determines the fourth power limit information based on the second continuous outside vehicle temperature and the third inside vehicle temperature. For details, please refer to the description of determining the second power limit information based on the first continuous outside vehicle temperature and the first inside vehicle temperature, which will not be repeated here. The vehicle 100 may send the fourth power limit information to the electronic device 200. The electronic device 200 may control the battery charge according to the fourth power limit information. Thereafter, the vehicle 100 may acquire the third continuous outside vehicle temperature and the fourth inside vehicle temperature after sending the fourth power limit information to the electronic device 200, and so on. In this way, before the vehicle 100 detects that the user has gotten off the vehicle, the outside temperature will change over time. The vehicle 100 updates the power limit information at regular intervals to obtain power limit information that is more in line with the ambient temperature.

[0126] In some examples, the first power limit information can be used to instruct the electronic device 200 to maintain the power level within the first power limit interval for a first duration (e.g., 5 minutes). It is understandable that in order to ensure that the power level of the electronic device 200 is continuously maintained within a safe range, the time difference between the moment when the vehicle 100 sends the second power limit information to the electronic device 200 and the moment when the vehicle 100 sends the first power limit information to the electronic device 200 is less than the first duration. In this way, the first power limit information has a time limit, which can prevent the electronic device 200 from always setting the power level according to the first power limit information when the user places it outside the vehicle.

[0127] In some examples, the second power limit information may be used to instruct the electronic device 200 to maintain the power level within the first power limit interval for a second duration (eg, 5 minutes), wherein the preset interval duration is less than or equal to the second duration.

[0128] In some examples, the third power limit information can be used to instruct the electronic device 200 to keep the power level within the third power limit interval for a third time period (eg, 1 minute).

[0129] In one possible implementation, the vehicle 100 includes a vehicle-mounted application 31. The electronic device 200 includes a power control application 32 and a power management module 33. The vehicle-mounted application 31 can be used to trigger the vehicle 100 to establish a communication connection with the electronic device 200 when detecting that a user has boarded the vehicle. The vehicle-mounted application 31 can communicate with the power control application 32 of the electronic device 200 to obtain the battery temperature of the electronic device 200. The vehicle-mounted application 31 can also be used to determine power limit information based on the vehicle's interior temperature, the vehicle's exterior temperature, and the battery temperature of the electronic device 200. The vehicle-mounted application 31 can send the power limit information to the power control application 32 of the electronic device 200.

[0130] The power control application 32 can communicate with the vehicle computer application 31 of the vehicle 100 and send the battery temperature of the electronic device 200 to the vehicle computer application 31. The power control application 32 can also receive power limit information sent by the vehicle computer application 31 and set the power management module 33 according to the power limit information to ensure that the battery power of the electronic device 200 is within the power limit range indicated by the power limit information.

[0131] The power management module 33 can be used to control the battery charging process. The power management module 33 can monitor the battery capacity, battery temperature, etc. In the embodiment of the present application, the power management module can be used to maintain the battery power within the power limit range according to the settings of the power control application 32.

[0132] Optionally, the power control application 32 may also display a charging prompt message during the charging process, which can be used to remind the user that the electronic device 200 is charging. The power control application 32 may also cancel the display of the charging prompt message during the charging prohibition process, or display a charging pause prompt message, which can be used to remind the user that the electronic device 200 is suspending charging.

[0133] In the embodiment of the present application, the battery management system 10 can implement the battery management method provided in the embodiment of the present application through the vehicle application 31, the power control application 32, and the power management module 33. It will be understood that the vehicle application 31, the power control application 32, and the power management module 33 are merely examples, and the battery management system 10 can also implement the same battery management method in the embodiment of the present application through more or fewer applications or modules, or other modules.

[0134] For example, Figure 3 As shown, the battery management method provided in the embodiment of the present application includes the following steps:

[0135] S301 . The vehicle application 31 of the vehicle 100 detects that a user has boarded the vehicle, establishes a communication connection with the electronic device 200 , and supplies power to the electronic device 200 .

[0136] The vehicle 100's onboard application 31 can trigger the vehicle 100 to establish a communication connection with the electronic device 200 upon detecting a user boarding the vehicle. The onboard application 31 and the power control application 32 can transmit data via this communication connection. The onboard application 31 can also power the electronic device 200 upon detecting a user boarding the vehicle.

[0137] It should be noted that the vehicle application 31 supplying power to the electronic device 200 after detecting that the user gets on the vehicle is only an example. The vehicle 100 can charge the electronic device 200 after the ignition is started.

[0138] In some examples, to prevent the vehicle 100 from charging the battery of the electronic device 200, the vehicle 100 may first execute steps S302 to S306, and then charge the electronic device 200. In this way, the electronic device 200 may set a charging strategy according to the first power limit information to keep the battery power within the first power limit range.

[0139] S302. The vehicle application 31 obtains a first vehicle exterior temperature.

[0140] The vehicle computer application 31 may collect the first vehicle exterior temperature through a temperature sensor.

[0141] S303 . The vehicle application 31 sends a notification 31 to the power control application 32 , for obtaining a first battery temperature of the electronic device 200 .

[0142] When the vehicle application 31 detects that the user has entered the vehicle, the vehicle application 31 may send a notification 31 for obtaining the first battery temperature of the electronic device 200 to the power control application 32 .

[0143] S304 . The power control application 32 obtains the first battery temperature from the power management module 33 .

[0144] After receiving the notification 31, the power control application 32 may notify the power management module 33 to obtain the first battery temperature, and send the first battery temperature to the power control application 32. After receiving the notification from the power control application 32, the power management module 33 may collect the first battery temperature of the battery using a temperature sensor and send the first battery temperature to the power control application 32.

[0145] S305 . The power control application 32 sends the first battery temperature to the vehicle computer application 31 .

[0146] After acquiring the first battery temperature, the power control application 32 sends the first battery temperature to the vehicle computer application 31 through a communication connection.

[0147] S306 . The vehicle application 31 determines first power limit information based on the first vehicle exterior temperature and the first battery temperature.

[0148] S307 . The vehicle application 31 sends first power limit information to the power control application 32 . The first power limit information is used to instruct the electronic device 200 to keep the battery power within the first power limit range.

[0149] S308 . The power control application 32 notifies the power management module 33 to keep the battery power within the first power limit range.

[0150] In some examples, the first power limit information is used to instruct the electronic device 200 to maintain the battery power in the first power limit range within a first time period, and the time difference between the moment when the vehicle application 31 sends the first power limit information to the power control application 32 and the moment when the vehicle application 31 sends the first power limit information to the power control application 32 is less than the first time period.

[0151] S309. The vehicle computer application 31 obtains a first continuous vehicle exterior temperature and a first vehicle interior temperature, where the first continuous vehicle exterior temperature represents a second vehicle exterior temperature that remains unchanged within a preset acquisition time period.

[0152] S310 . The vehicle application 31 determines second power limit information based on the first continuous vehicle exterior temperature and the first vehicle interior temperature.

[0153] S311. The vehicle application 31 sends second power limit information to the power control application 32, which is used to instruct the electronic device 200 to keep the battery power within the second power limit range.

[0154] S312 . The power control application 32 notifies the power management module 33 to keep the battery power within the second power limit range.

[0155] Among them, the vehicle application 31 can execute steps S309 to S310 multiple times before detecting that the user gets off the vehicle. The power control application 32 also executes step S312 multiple times. Exemplarily, the vehicle application 31 can re-execute steps S309 to S310 at preset intervals. That is to say, after sending the second power limit information to the power control application 32, the vehicle application 31 can re-execute steps S309 to S310 when it detects that the time from the last time the second power limit information was sent to the power control application 32 reaches the preset interval. It can be understood that the power control application 32 can keep the battery power in the power limit range indicated by the power limit information according to the latest received power limit information through the power management module 33.

[0156] In some examples, the second power limit information is used to instruct the electronic device 200 to keep the battery power within the second power limit interval within a second time period, and the preset interval time period is less than or equal to the second time period.

[0157] S313. The vehicle application 31 detects that the user gets off the vehicle and obtains the second vehicle interior temperature and the third vehicle exterior temperature.

[0158] S314 . The vehicle application 31 determines third power limit information based on the second vehicle interior temperature and the third vehicle exterior temperature.

[0159] S315 . The vehicle application 31 sends third power limit information to the power control application 32 , which is used to indicate the maximum power of the battery of the electronic device 200 .

[0160] In some examples, the third power limit information is used to instruct the electronic device 200 to keep the battery power within the third power limit interval for a third time period.

[0161] S316 . The power control application 32 notifies the power management module 33 to keep the battery power less than the maximum power.

[0162] Specifically, the description of steps S301 to S316 can be found in the above embodiment and will not be repeated here.

[0163] In this way, the vehicle 100 and the electronic device 200 can implement the battery management method provided in the embodiment of the present application through the vehicle application 31, the power control application 32 and the power management module 33.

[0164] In one possible implementation, after receiving the power limit information, the electronic device 200 may start charging the battery when it determines that the battery power is less than the minimum power indicated by the power limit information, and display a charging prompt during the charging process. The charging prompt can be used to remind the user that the electronic device 200 is charging. The electronic device 200 may prohibit charging the battery when it determines that the battery power is greater than the maximum power indicated by the power limit information. During the process of prohibiting battery charging, the electronic device 200 may cancel the display of the charging prompt. In this way, the user can understand the charging status of the electronic device 200 by whether the electronic device 200 displays the charging prompt.

[0165] For example, after detecting that a user has boarded the vehicle, the vehicle 100 may establish a communication connection with the electronic device 200 and charge the electronic device 200. The vehicle 100 may obtain a first outside temperature and a first battery temperature, and determine first power limit information based on the obtained information. For example, the first outside temperature obtained by the vehicle 100 is greater than the preset ambient temperature 1 and the first battery temperature is less than the preset battery temperature. The first power limit interval determined by the vehicle 100 may be [40%, 50%]. The vehicle 100 may send the first power limit information indicating the first power limit interval to the electronic device 200.

[0166] The power level of the electronic device 200 is 45%. When the electronic device 200 receives the first power limit information, it can determine that the battery power is less than the maximum power level of the first power limit interval. The electronic device 200 can perform a charging operation and display the following information: Figure 4A The interface 401 shown. Figure 4A As shown, interface 401 may be a user interface displayed by electronic device 200. Interface 401 may display an icon 402, which may be used to indicate that a communication connection has been established between electronic device 200 and vehicle 100. It should be noted that the style of icon 402 is merely an example and should not constitute a specific limitation. Interface 401 also includes an icon 403, which may be used to indicate that electronic device 200 is charging. Optionally, icon 403 may also be used to indicate the battery level of electronic device 200.

[0167] The electronic device 200 may stop the charging operation when the battery power reaches the maximum power of the first power limit interval during the charging operation. Figure 4B The interface 401 shown. Figure 4B As shown, the interface 401 may display icons 402 and 403, and the icon 404 may be used to indicate that the electronic device 200 is not charged. Optionally, the icon 404 may also be used to indicate the battery level of the electronic device 200.

[0168] In some examples, the electronic device 200 may also display a charging pause prompt message when battery charging is prohibited. The charging pause prompt message may be used to prompt the user that the electronic device 200 has paused charging to extend the battery life. In this way, the charging pause prompt message may be used to inform the user why the electronic device 200 is not charging when connected to a charging power source, thereby preventing the user from believing that the electronic device 200 has malfunctioned.

[0169] Optionally, when displaying the charging pause information, the electronic device 200 may display a charging control, which may be used to trigger the electronic device 200 to perform a charging operation. In this way, the electronic device 200 may perform a charging operation according to user needs.

[0170] The electronic device 200 displays Figure 4B After the interface 401 shown, the battery power gradually decreases to 39% due to the user's use. The electronic device 200 can determine that the battery power is less than the minimum power of the first power limit interval, and the electronic device 200 can perform a charging operation and display the following information: Figure 4C The interface 401 shown. Figure 4C As shown, the interface 401 may display an icon 402 and an icon 405 , wherein the icon 405 may be used to indicate that the electronic device 200 is being charged. Optionally, the icon 405 may also be used to indicate the battery level of the electronic device 200 .

[0171] It is understandable that the electronic device 200 displays Figure 4A , Figure 4B as well as Figure 4C The time difference between the time of the interface being displayed and the time of receiving the first power limit information is less than the first duration.

[0172] In some examples, after receiving the third power limit information sent by the vehicle 100, the electronic device 200 can determine whether to perform a discharge operation based on the battery power of the electronic device 200 and the third power limit information. In this way, the electronic device 200 can perform a discharge operation when the battery power is high and the ambient temperature is high, reducing the risk of battery swelling.

[0173] Exemplarily, the vehicle 100 may obtain a third outside temperature and a second inside temperature when detecting that a user has gotten off the vehicle. The vehicle 100 may determine third power limit information based on the information obtained, and the vehicle 100 may send the third power limit information to the electronic device 200. Optionally, the vehicle 100 may also obtain weather information, and determine the third power limit information based on the maximum temperature indicated by the weather information, the third outside temperature, and the second inside temperature. For example, if the maximum temperature indicated by the weather information obtained by the vehicle 100 is 35 degrees Celsius, the third outside temperature is 29 degrees Celsius, and the second inside temperature is 25 degrees Celsius. The preset temperature, the outside ambient temperature 2, and the preset inside temperature are 30 degrees Celsius, the third power limit information determined by the vehicle 100 can be used to instruct the electronic device 200 to set the power to less than the preset safety power. The vehicle 100 may send the third power limit information to the electronic device 200.

[0174] After receiving the third power limit information, the electronic device 200 can perform a discharge operation to reduce the power of the electronic device 200 to less than the preset safety power if the power of the electronic device 200 is greater than the preset safety power. For example, the power of the electronic device 200 is 60%, and the preset safety power is 50%. The electronic device 200 determines that the battery power is greater than the preset safety power, and performs a discharge operation to reduce the power to 49%. At this time, the electronic device 200 can also display the following Figure 4D The interface 401 shown. Figure 4D As shown, the interface 401 includes an icon 402 and an icon 406. The icon 406 can be used to indicate the power level of the electronic device 200. Here, the icon 406 indicates that the power level of the electronic device 200 is 49%.

[0175] In one possible implementation, upon receiving first or second power limit information sent by the vehicle 100, the electronic device 200 may perform a charging operation when the battery power level is less than the minimum power level indicated by the first or second power limit information. The electronic device 200 may suspend the charging operation when the battery power level is greater than the maximum power level indicated by the first or second power limit information. Upon receiving third power limit information sent by the vehicle 100, the electronic device 200 may perform a discharging operation when the battery power level is greater than the maximum power level indicated by the third power limit information, discharging the battery until the battery power level is less than the maximum power level indicated by the third power limit information. The electronic device 200 may not perform the discharging operation when the battery power level is less than the maximum power level indicated by the third power limit information. In some examples, when the third power limit information instructs the electronic device 200 to maintain power within a third power limit interval, the electronic device 200 may cancel the operation of maintaining power within the third power limit interval when the battery power level is less than the maximum power level indicated by the third power limit information. It is understood that after performing the discharging operation in accordance with the third power limit information, the electronic device 200 may cancel the operation of maintaining power within the third power limit interval. In this way, while the user is inside the vehicle 100, the electronic device 200 does not perform a discharge operation. The electronic device 200 can slowly reduce the power level to less than the maximum power level indicated by the first power limit information or the second power limit information, and the discharge operation by the electronic device 200 will not cause the battery to heat up severely when the user uses the electronic device 200. After the user gets out of the vehicle, the electronic device 200 will reduce the power level slowly, and the temperature inside the vehicle will rise as the temperature outside the vehicle rises. The discharge operation by the electronic device 200 can speed up the charge reduction process, reducing the battery power level to less than the preset safe power level as much as possible when the temperature is low, thereby reducing the probability of battery damage.

[0176] In one possible implementation, the vehicle 100 may obtain the battery charge of the electronic device 200 when determining the first charge limit information or the second charge limit information. The vehicle 100 may cancel power supply to the electronic device 200 when determining that the battery charge of the electronic device 200 is greater than the maximum charge indicated by the charge limit information. The vehicle 100 may continue to supply power to the electronic device 200 when determining that the battery charge of the electronic device 200 is less than the maximum charge indicated by the charge limit information. In this way, the vehicle 100 may determine whether to supply power to the electronic device 200 and control the battery charge of the electronic device 200 directly based on the battery charge of the electronic device 200 without sending the charge limit information to the electronic device 200.

[0177] In some examples, the vehicle 100 can set the maximum power of all power limit intervals to a preset safety power, or the vehicle 100 can determine the maximum power of all power limit intervals based on the maximum temperature indicated by the weather information. Among them, the higher the maximum temperature detected by the vehicle 100, the smaller the maximum power is set. For example, when the maximum temperature is greater than 10 degrees Celsius and less than 30 degrees Celsius, the maximum power is set to any power value between 50% and 80%. When the maximum temperature is greater than 30 degrees Celsius, the maximum power is set to a preset safety power. It can be understood that the maximum temperature value and the maximum power value here are only examples, and this example is used to better describe the impact of the maximum temperature on the maximum power. This should not be limited. In this way, the vehicle 100 controls the power of the electronic device 200 to not exceed the maximum power, and the electronic device 200 does not need to perform a discharge operation.

[0178] In another possible implementation, after establishing a communication connection with the vehicle 100, the electronic device 200 obtains a first battery temperature and a first outside temperature from the vehicle 100. The electronic device 200 may determine first power limit information based on the first outside temperature and the first battery temperature. The electronic device 200 may maintain the battery power within a first power limit range indicated by the first power limit information. The electronic device 200 may obtain a first continuous outside temperature and a first inside temperature from the vehicle 100 at predetermined intervals. The electronic device 200 may determine second power limit information based on the first continuous outside temperature and the first inside temperature. The electronic device 200 may maintain the battery power within a second power limit range indicated by the second power limit information. When the communication connection with the vehicle 100 is disconnected, the electronic device 200 may use the most recently obtained first continuous outside temperature as a third outside temperature and the most recently obtained first inside temperature as a second inside temperature. The electronic device 200 may determine third power limit information based on the third inside temperature and the second inside temperature. The electronic device 200 may maintain the battery power within a third power limit range indicated by the third power limit information. Specifically, the description of how the electronic device 200 determines the power limit information can be found in the description of how the vehicle 100 determines the power limit information, and will not be repeated here. In this way, the electronic device 200 can independently determine the power limit information and control the battery power according to the power limit information, thereby reducing damage to the battery caused by high temperature environments.

[0179] Figure 5 A schematic structural diagram of a vehicle 100 provided in an embodiment of the present application.

[0180] like Figure 5As shown, the vehicle 100 may include but is not limited to a controller area network (CAN) bus 501, multiple electronic control units (ECUs), an engine 503, a telematics box (T-box) 504, a transmission 505, a sensor module 506, an anti-lock brake system (ABS) 507, an onboard air conditioner 508, and a power supply module 509, etc.

[0181] Among them, the CAN bus 501 is a serial communication network that supports distributed control or real-time control and is used to connect the various components of the vehicle 100. Any component on the CAN bus 501 can monitor all data transmitted on the CAN bus 501. The frames transmitted by the CAN bus 501 can include data frames, remote frames, error frames, and overload frames, and different frames transmit different types of data. In an embodiment of the present application, the CAN bus 501 can be used to transmit data involved in the control method based on voice commands of various components. The specific implementation of this method can be referred to the detailed description of the method embodiment below.

[0182] The CAN bus 501 is not limited to this. In other embodiments, the various components of the vehicle 100 may also be connected and communicated via other methods. For example, the various components may also communicate via an in-vehicle Ethernet, a local interconnect network (LIN) bus, FlexRay, or a common in-vehicle media oriented systems (MOST) bus, etc., although this embodiment of the present application is not limited thereto. The following embodiments are described assuming that the various components communicate via the CAN bus 501.

[0183] The ECU is the processor or brain of vehicle 100, instructing components to perform actions based on instructions received from CAN bus 501 or user input. The ECU may consist of a security chip, a microprocessor (MCU), random access memory (RAM), read-only memory (ROM), input / output (I / O) interfaces, an analog / digital converter (A / D converter), and large-scale integrated circuits for input, output, shaping, and driver functions.

[0184] There are many types of ECUs, and different types of ECUs can be used to implement different functions. In the embodiment of the present application, the ECU may also store other functional modules in the vehicle 100, such as a vehicle-mounted application function module. The vehicle-mounted application function module can be used to determine power limit information based on the vehicle's internal temperature, the vehicle's external temperature, and the battery temperature of the electronic device 200.

[0185] For example, the vehicle 100 may include, but is not limited to, an engine ECU 502A, a T-box ECU 502B, a transmission ECU 502C, and an ABS ECU 502D.

[0186] Engine ECU 502A is used to manage the engine and coordinate its various functions, such as starting and shutting it down. The engine is the device that provides power to vehicle 100. An engine is a machine that converts some form of energy into mechanical energy. Vehicle 100 can be used to convert chemical energy from the combustion of liquids or gases, or electrical energy, into mechanical energy and output it as power. The engine components may include two major mechanisms: the crankshaft and the valve train, as well as five major systems: cooling, lubrication, ignition, energy supply, and starting. The main components of the engine include the cylinder block, cylinder head, piston, piston pin, connecting rod, crankshaft, and flywheel.

[0187] T-box ECU 502B is used to manage T-box 504. T-box 504 is primarily responsible for communicating with the Internet, providing a remote communication interface for vehicle 100. It offers services including navigation, entertainment, driving data collection, vehicle fault monitoring, remote vehicle query and control (such as unlocking and closing, air conditioning control, window control, engine torque limiting, engine start and stop, seat adjustment, and querying battery charge, fuel level, door status, etc.), driving behavior analysis, wireless hotspot sharing, roadside assistance, and abnormality alerts.

[0188] T-box 504 can be used to communicate with a telematics service provider (TSP) and other electronic devices (e.g., electronic device 200) to display and control the vehicle status on the electronic device. When a user sends a control command through the vehicle management application on the electronic device, the TSP will issue a request instruction to the T-box 504. After obtaining the control command, the T-box 504 sends a control message through the CAN bus and controls the vehicle 100, and finally feeds back the operation result to the vehicle management application on the user-side electronic device. In other words, the data read by the T-box 504 through the CAN bus 501, such as vehicle condition reports, driving reports, fuel consumption statistics, violation inquiries, driving behavior and other data, can be transmitted to the TSP background system through the network, and forwarded by the TSP background system to other electronic devices for user viewing.

[0189] The T-box 504 may specifically include a communication module and a display screen.

[0190] Among them, the communication module can be used to provide wireless communication functions, supporting the vehicle 100 to communicate with other devices through wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), ultra-wideband (UWB) and other wireless communication technologies. The communication module can also be used to provide mobile communication functions, supporting the vehicle 100 to communicate with other devices through communication technologies such as global system for mobile communications (GSM), universal mobile telecommunications system (UMTS), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), 5G and the future 6G.

[0191] The communication module can establish a connection and communicate with other devices such as servers, other electronic devices (e.g., electronic device 200), etc. through vehicle-to-everything (V2X) communication technology (cellular V2X, C-V2X) based on a cellular network. C-V2X may include, for example, V2X based on long-term evolution (LTE) (LTE-V2X), 5G-V2X, etc.

[0192] The display screen is used to provide a visual interface for the driver. Vehicle 100 may include one or more display screens, such as an onboard display screen located in front of the driver's seat, a display screen located above the seat for displaying surrounding information, and a head-up display (HUD) that projects information onto the windshield.

[0193] T-box 504 may also be referred to as a vehicle system, a telematics processor, a vehicle gateway, etc., which is not limited in the embodiments of the present application.

[0194] In an embodiment of the present application, the T-box 504 can be used to obtain power information of the electronic device 200 and can be used to send power limit information to the electronic device 200. In some examples, the T-box ECU 502B can be used to determine the power limit information based on the power information of the electronic device 200 obtained by the T-box 504 and the vehicle interior temperature and vehicle exterior temperature obtained from the temperature sensor 506A of the sensor module 506. The power limit information can be used to inform the vehicle 100 of the power level within a period of time.

[0195] The transmission ECU 502C manages the transmission. The transmission 505 is a mechanism used to change the engine's speed and torque. It can change the output and input shaft ratios in fixed or step-by-step fashion. Transmission 505 components may include a transmission mechanism, an operating mechanism, and a power take-off mechanism. The transmission mechanism primarily changes the magnitude and direction of torque and speed; the operating mechanism primarily controls the transmission mechanism to achieve transmission ratio changes, i.e., shifting gears, to achieve speed and torque changes.

[0196] The sensor module 506 may include a temperature sensor 506A. The temperature sensor 506A may be used to obtain the temperature inside the vehicle and the temperature outside the vehicle.

[0197] Optionally, the sensor module 506 may also include, but is not limited to, an accelerometer, a vehicle speed sensor, a vibration sensor, a gyroscope sensor, a radar sensor, a signal transmitter, a signal receiver, and the like. The accelerometer and vehicle speed sensor are used to detect the speed of the vehicle 100. The vibration sensor can be located under the seat, on the seat belt, on the seat back, on the operating panel, on the airbag, or in other locations to detect whether the vehicle 100 has been impacted and the location of the user. For example, the vibration sensor can be used to detect whether the user has boarded the vehicle. The gyroscope sensor can be used to determine the motion posture of the vehicle 100. The radar sensor may include a laser radar, an ultrasonic radar, a millimeter-wave radar, and the like. The radar sensor is used to transmit electromagnetic waves to illuminate a target and receive the echoes, thereby obtaining information such as the distance from the target to the electromagnetic wave emission point, the rate of change of distance (radial velocity), the direction, and the altitude, thereby identifying other vehicles, pedestrians, or roadblocks near the vehicle 100. The signal transmitter and signal receiver are used to transmit and receive signals, which can be used to detect the user's location. The signal may be, for example, ultrasonic, millimeter-wave, or laser.

[0198] ABS ECU 502D manages ABS 507. During vehicle braking, ABS 507 automatically controls the braking force to prevent the wheels from locking and maintain a rolling-slip state, thereby ensuring maximum adhesion between the wheels and the ground. During braking, if the electronic control unit determines that a wheel is approaching locking based on the wheel speed signal input from the wheel speed sensor, the ABS will initiate the anti-lock brake pressure adjustment process.

[0199] The vehicle air conditioner 508 can be used to adjust the temperature inside the vehicle. In other examples, the T-box ECU 502B can be used to obtain the vehicle temperature from the vehicle air conditioner 508. It should be noted that in some application scenarios, the vehicle 100 does not include the vehicle air conditioner 508. The vehicle 100 can determine the second power limit information based on the first continuous external temperature, or the vehicle 100 can determine the second power limit information based on the first continuous external temperature and the temperature of the battery of the electronic device 200. The vehicle 100 can determine the third power limit information based on a third external temperature, or the vehicle 100 can determine the third power limit information based on the third external temperature and the temperature of the battery of the electronic device 200.

[0200] The power supply module 509 can be used to supply power to the electronic device 200 in a wireless or wired manner.

[0201] Optionally, the vehicle 100 may further include a camera system, which may include multiple cameras for capturing still images or videos. The cameras in the camera system may be located in the front, rear, side, or interior of the vehicle, facilitating functions such as assisted driving, driving recording, panoramic surround view, and in-vehicle monitoring.

[0202] In addition, the vehicle 100 may also include multiple interfaces, such as a USB interface, an RS-232 interface, an RS485 interface, etc., which can be connected to an external camera, a microphone, a headset, and other electronic devices (e.g., the electronic device 200). The vehicle 100 can power the electronic device 200 through a power supply interface (e.g., a USB interface).

[0203] In some examples, the vehicle 100 may further include a wireless charging coil. When the electronic device 200 is placed on the wireless charging coil, the vehicle 100 may charge the electronic device 200 via the wireless charging coil.

[0204] It is understandable that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the vehicle system. The embodiment of the present application does not limit the number of electronic control units ECU. The vehicle 100 may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure can be implemented in hardware, software, or a combination of software and hardware. For example, the vehicle 100 may also include a separate memory, battery, headlights, wipers, instrument panel, audio, vehicle terminal (transmission control unit, TCU), auxiliary control unit (auxiliary control unit, ACU), intelligent entry and start system (passive entry passive start, PEPS), vehicle board unit (on board unit, OBU), body control module (body control module, BCM), charging interface, etc., which are not limited in the embodiment of the present application.

[0205] Next, the electronic device 200 provided in an embodiment of the present application is introduced.

[0206] The electronic device 200 can be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), an augmented reality (AR) device, a virtual reality (VR) device, an artificial intelligence (AI) device, a wearable device, an in-vehicle device, a smart home device and / or a smart city device. The embodiments of the present application do not impose any special restrictions on the specific type of the electronic device 200.

[0207] Figure 6A schematic structural diagram of an electronic device 200 is shown.

[0208] The following describes the embodiment in detail using the electronic device 200 as an example. It should be understood that Figure 1 The electronic device 200 shown is only an example, and the electronic device 200 may have more Figure 1 The more or less components shown in the figure can be combined with two or more components, or can have different component configurations. The various components shown in the figure can be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and / or application specific integrated circuits.

[0209] The electronic device 200 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0210] It should be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 200. In other embodiments of the present application, the electronic device 200 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0211] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.

[0212] The controller may be the nerve center and command center of the electronic device 200. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.

[0213] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.

[0214] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface.

[0215] It is understood that the interface connection relationship between the modules illustrated in the embodiment of the present invention is merely an illustrative illustration and does not constitute a structural limitation on the electronic device 200. In other embodiments of the present application, the electronic device 200 may also adopt different interface connection methods from the above embodiments, or a combination of multiple interface connection methods.

[0216] The charging management module 140 is configured to receive charging input from a charger. The charger can be either a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 can receive wireless charging input via the wireless charging coil of the electronic device 200. While charging the battery 142, the charging management module 140 can also provide power to the electronic device 200 via the power management module 141.

[0217] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle count, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In some other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device. Among them, the battery 142 is a rechargeable battery, that is, a battery that can be recharged to activate the active material after the battery is discharged and continue to be used. For example, the battery 12 can be a lithium-ion battery, a nickel-chromium battery, a nickel-metal hydride battery, a lead-acid battery, etc.

[0218] The wireless communication function of the electronic device 200 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0219] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 200 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.

[0220] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the electronic device 200. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0221] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.

[0222] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 200. The wireless communication module 160 can be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0223] In some embodiments, the antenna 1 of the electronic device 200 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 200 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0224] Electronic device 200 implements display functionality through a GPU, display screen 194, and an application processor. A GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.

[0225] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD). The display screen panel can also be made of an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a miniLED, a microLED, a micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 200 can include one or N display screens 194, where N is a positive integer greater than one.

[0226] The electronic device 200 can implement the shooting function through the ISP, camera 193, video codec, GPU, display screen 194 and application processor.

[0227] The ISP processes data fed back by camera 193. For example, when taking a photo, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, which is then passed to the ISP for processing and converted into a visible image. The ISP can also perform algorithmic optimization on image noise, brightness, and other factors. It can also optimize parameters such as exposure and color temperature of the captured scene. In some embodiments, the ISP can be located within camera 193.

[0228] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then passes the electrical signal to the ISP for conversion into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 200 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0229] The digital signal processor is used to process digital signals. In addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 200 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0230] Video codecs are used to compress or decompress digital video. Electronic device 200 may support one or more video codecs. This allows electronic device 200 to play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, and MPEG4.

[0231] The NPU is a neural network (NN) computing processor. Drawing on the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it rapidly processes input information and can continuously self-learn. The NPU can enable intelligent cognitive applications in electronic device 200, such as image recognition, face recognition, speech recognition, and text comprehension.

[0232] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 200. The external memory card communicates with the processor 110 via the external memory interface 120 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.

[0233] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 200 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area can store data created during the use of the electronic device 200 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0234] The electronic device 200 can implement audio functions through the audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and application processor, etc. For example, music playback, recording, etc. The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be set in the processor 110, or some functional modules of the audio module 170 can be set in the processor 110. The speaker 170A, also known as the "speaker", is used to convert audio electrical signals into sound signals. The receiver 170B, also known as the "earpiece", is used to convert audio electrical signals into sound signals. The microphone 170C, also known as the "microphone" or "microphone", is used to convert sound signals into electrical signals. The headphone jack 170D is used to connect wired headphones.

[0235] The pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, the pressure sensor 180A can be located on the display screen 194. The gyroscope sensor 180B can be used to determine the motion posture of the electronic device 200. The air pressure sensor 180C is used to measure air pressure. The magnetic sensor 180D includes a Hall effect sensor. The electronic device 200 can use the magnetic sensor 180D to detect the opening and closing of the flip cover. The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 200 in various directions (generally three axes). The distance sensor 180F is used to measure distance. The proximity light sensor 180G may include, for example, a light-emitting diode (LED) and a light detector. The electronic device 200 can use the proximity light sensor 180G to detect when a user holds the electronic device 200 close to their ear to make a call, thereby automatically turning off the screen to save power. The ambient light sensor 180L is used to sense ambient light brightness. The fingerprint sensor 180H is used to collect fingerprints. The temperature sensor 180J is used to detect temperature. The touch sensor 180K, also known as the "touch panel," is also known as the touch panel. The touch sensor 180K can be mounted on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also known as a "touch screen." The bone conduction sensor 180M can capture vibration signals. The buttons 190 include a power button, a volume button, and other buttons. These buttons can be mechanical or touch-sensitive. The motor 191 can generate vibration prompts. The indicator 192 can be an indicator light that can indicate charging status, battery level changes, messages, missed calls, and notifications. The SIM card interface 195 is used to connect a SIM card.

[0236] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A battery management method, characterized in that: Applied to a battery management system, the battery management system includes a vehicle and an electronic device, the electronic device includes a battery; the method includes: The vehicle detects that a user has boarded the vehicle, establishes a communication connection with the electronic device, and supplies power to the battery of the electronic device; The vehicle obtains a first battery temperature of the battery through the electronic device, where the first battery temperature indicates the temperature of the battery; The vehicle collects a first outside temperature, where the first outside temperature is used to represent the ambient temperature outside the vehicle; The vehicle determines first power limit information based on the first battery temperature and the first vehicle exterior temperature, wherein the first power limit information is used to instruct the electronic device to maintain the power of the battery within a first power limit range; The vehicle sends the first power limit information to the electronic device; The electronic device maintains the power level of the battery within the first power limit range in response to the first power limit information.

2. The method according to claim 1, characterized in that The electronic device maintains the power level of the battery within the first power limit range in response to the first power limit information, specifically including: The electronic device performs a charging operation when detecting that the battery power is less than the minimum power of the first power limit interval, and suspends the charging operation when detecting that the battery power is greater than or equal to the maximum power of the first power limit interval.

3. The method according to claim 2, characterized in that The method further comprises: When the electronic device suspends the charging operation, it discharges the battery until the power level of the battery is less than the maximum power level of the first power limit interval.

4. The method according to any one of claims 1 to 3, characterized in that After the vehicle sends the first power limit information to the electronic device, the method further includes: The vehicle collects a first continuous external temperature and a first internal temperature, where the first continuous external temperature is a second external temperature of the vehicle that remains unchanged and is collected within a preset collection time period, and the first internal temperature is used to represent the ambient temperature inside the vehicle; The vehicle determines second power limit information based on the first continuous external temperature and the first internal temperature, wherein the second power limit information is used to instruct the electronic device to maintain the power of the battery within a second power limit range; The vehicle sends the second power limit information to the electronic device; The electronic device maintains the power level of the battery within the second power limit range in response to the second power limit information.

5. The method according to any one of claims 1 to 4, characterized in that The method further comprises: The vehicle detects that a user has gotten off the vehicle and collects a third vehicle exterior temperature and a second vehicle interior temperature; The vehicle determines third power limit information based on the third vehicle exterior temperature and the second vehicle interior temperature, wherein the third power limit information is used to instruct the electronic device to set the power of the battery to be less than a preset safety power; The vehicle sends the third power limit information to the electronic device; In response to the third power limit information, the electronic device discharges the battery when detecting that the power level of the battery is greater than a preset safety power level, until the power level of the battery is less than the preset safety power level.

6. The method according to claim 5, characterized in that Before the vehicle determines third power limit information based on the third vehicle exterior temperature and the second vehicle interior temperature, the method further includes: The vehicle detects that the user has gotten off the vehicle and obtains weather information, where the weather information indicates the maximum temperature in the area where the vehicle is located after the user has gotten off the vehicle; The vehicle determines third power limit information based on the third vehicle exterior temperature and the second vehicle interior temperature, specifically including: The vehicle determines the third power limit information based on the maximum temperature indicated by the weather information, the third vehicle exterior temperature, and the second vehicle interior temperature.

7. The method according to claim 3, characterized in that Before the vehicle detects that the user gets off the vehicle, the method further includes: When a preset interval has elapsed since the second power limit information was sent to the electronic device, collecting a second continuous vehicle exterior temperature and a third vehicle interior temperature; The vehicle determines fourth power limit information based on the second continuous external temperature and the third internal temperature, wherein the fourth power limit information is used to instruct the electronic device to maintain the power of the battery within a fourth power limit range; The vehicle sends the fourth power limit information to the electronic device; The electronic device maintains the power level of the battery within the fourth power limit range in response to the fourth power limit information.

8. The method according to claim 2, characterized in that The method further comprises: When the electronic device is performing a charging operation, the charging prompt information is displayed, and the charging prompt information is used to remind the user that the electronic device is charging; When the electronic device suspends the charging operation, the display of the charging prompt information is canceled.

9. The method according to claim 1, characterized in that When the first battery temperature is greater than or equal to a first preset battery temperature, the minimum power of the first power limit interval is the first power; and / or, When the first battery temperature is lower than a first preset battery temperature and the first vehicle exterior temperature is lower than a first preset vehicle exterior temperature, the minimum power level of the first power limit interval is a second power level, the maximum power level of the first power limit interval is a third power level, and the second power level is higher than the first power level; and / or When the first battery temperature is lower than a first preset battery temperature, the first vehicle exterior temperature is higher than or equal to the first preset vehicle exterior temperature, and the first vehicle exterior temperature is lower than a second preset vehicle exterior temperature, the minimum power level of the first power limit interval is a fourth power level, the maximum power level of the first power limit interval is a fifth power level, the fourth power level is higher than the first power level, and the fifth power level is lower than the third power level; and / or When the first battery temperature is lower than a first preset battery temperature and the first outside vehicle temperature is greater than or equal to a second preset outside vehicle temperature, the minimum power level of the first power limit interval is a sixth power level, the maximum power level of the first power limit interval is a seventh power level, the sixth power level is greater than the first power level, and the seventh power level is less than the fifth power level.

10. The method according to claim 4, characterized in that When the first continuous external temperature is lower than a first preset continuous external temperature and the first internal temperature is lower than a first preset internal temperature, the minimum power level of the second power limit interval is the seventh power level, and the maximum power level of the second power limit interval is the eighth power level; and / or When the first continuous external temperature is lower than the first preset continuous external temperature and the first internal temperature is higher than or equal to the first preset internal temperature, the minimum power level of the second power limit interval is the ninth power level, the maximum power level of the second power limit interval is the tenth power level, and the tenth power level is lower than the eighth power level; and / or When the first continuous external temperature is greater than the first preset continuous external temperature, the first continuous external temperature is less than the second preset continuous external temperature, and the first internal temperature is less than the first preset internal temperature, the minimum power level of the second power limit interval is the eleventh power level, the maximum power level of the second power limit interval is the twelfth power level, and the twelfth power level is less than the eighth power level; and / or When the first continuous external temperature is greater than the first preset continuous external temperature, the first continuous external temperature is less than the second preset continuous external temperature, and the first internal temperature is greater than or equal to the first preset internal temperature, the minimum power level of the second power limit interval is the thirteenth power level, the maximum power level of the second power limit interval is the fourteenth power level, and the fourteenth power level is less than the tenth power level; and / or When the first continuous external temperature is greater than the second preset continuous external temperature, the minimum power of the second power limit interval is the fifteenth power, the maximum power of the second power limit interval is the sixteenth power, and the sixteenth power is less than the tenth power.

11. The method according to claim 6, characterized in that When the maximum temperature indicated by the weather information, the third outside vehicle temperature and / or the second inside vehicle temperature are higher than a preset safety temperature, the third power limit information is used to instruct the electronic device to set the power to be less than the preset safety power.

12. A battery management method, characterized in that: Applied to a vehicle; the method comprises: Detecting that a user has boarded the vehicle, establishing a communication connection with the electronic device, and supplying power to the battery of the electronic device; acquiring, from the electronic device, a first battery temperature of the battery, where the first battery temperature indicates a temperature of the battery; collecting a first vehicle exterior temperature, where the first vehicle exterior temperature is used to represent an ambient temperature outside the vehicle; determining first power limit information based on the first battery temperature and the first vehicle exterior temperature, the first power limit information being used to instruct the electronic device to maintain the power of the battery within a first power limit range; The first power limit information is sent to the electronic device.

13. The method according to claim 12, characterized in that After sending the first power limit information to the electronic device, the method further includes: collecting a first continuous external temperature and a first internal temperature, where the first continuous external temperature is a second external temperature of the vehicle that remains unchanged and is collected within a preset collection time period, and the first internal temperature is used to represent the ambient temperature inside the vehicle; determining second power limit information based on the first continuous external temperature and the first internal temperature, wherein the second power limit information is used to instruct the electronic device to maintain the power of the battery within a second power limit range; The second power limit information is sent to the electronic device.

14. The method according to claim 12 or 13, characterized in that The method further comprises: When the user gets off the vehicle, the third vehicle exterior temperature and the second vehicle interior temperature are collected; determining third power limit information based on the third vehicle exterior temperature and the second vehicle interior temperature, wherein the third power limit information is used to instruct the electronic device to set the power of the battery to be less than a preset safety power; Sending the third power limit information to the electronic device.

15. A battery management method, characterized in that: Applied to an electronic device, the electronic device includes a battery; the method includes: establishing a communication connection with a vehicle and receiving power from the vehicle; sending a first battery temperature to the vehicle, wherein the first battery temperature indicates a temperature of the battery; receiving power limit information sent by the vehicle, the power limit information including a power limit interval; In response to the power limit information, when it is detected that the power level of the battery is less than the minimum power level of the power limit interval, a charging operation is performed; when it is detected that the power level of the battery is greater than the maximum power level of the power limit interval, the charging operation is suspended.

16. The method according to claim 15, characterized in that The method further comprises: When the charging operation is suspended, the battery is discharged until the power level of the battery is less than the maximum power level of the power limit interval.

17. A vehicle, characterized in that: The vehicle comprises one or more processors, one or more memories, a power supply module and one or more transceivers; wherein the power supply module is used to supply power to electronic devices; the power supply module, the one or more transceivers, the one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer executable programs. When the one or more processors execute the computer executable programs, the vehicle executes the method as described in any one of claims 12 to 14.

18. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is run on a vehicle, the vehicle is caused to perform the method according to any one of claims 12 to 14.

19. An electronic device, characterized in that: The electronic device comprises one or more processors, one or more memories, one or more transceivers and a battery; wherein the battery, the one or more transceivers, the one or more memories are coupled to the one or more processors, and the one or more memories are used to store a computer executable program, so that when the one or more processors execute the computer executable program, the electronic device executes the method as described in any one of claims 15 or 16.

20. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is run on an electronic device, the electronic device is caused to execute the method according to any one of claims 15 or 16.