Method, apparatus, device, and storage medium for controlling a battery
By monitoring the battery current when the vehicle is stationary and reducing the power consumption of the vehicle network and controller when necessary, the problem of power loss during static parking is solved, and the battery power is preserved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHERY AUTOMOBILE CO LTD
- Filing Date
- 2023-11-02
- Publication Date
- 2026-08-04
AI Technical Summary
When a vehicle is parked, the static current of the battery increases, leading to power loss and potential battery depletion. Existing technologies struggle to effectively control the static current to prevent battery depletion.
By acquiring the detection results of whether the vehicle is in a static parking state, the current value of the battery is monitored, and when the minimum current value exceeds the threshold, the control area control unit (ZCU) enables the vehicle network and controller to enter a reference power consumption state to reduce current consumption.
It effectively controls the current of the battery, prevents power loss, prevents battery depletion, and ensures that the vehicle retains its power when parked.
Smart Images

Figure CN117246263B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle control technology, and in particular to a method, apparatus, device, and storage medium for controlling a storage battery. Background Technology
[0002] As vehicles offer more functions while stationary, the scenarios in which the battery consumes power also increase. Controlling the battery's quiescent current can prevent it from becoming depleted. Therefore, controlling the battery's quiescent current is crucial for ensuring its normal operation, controlling power loss, and preventing battery depletion. Summary of the Invention
[0003] This application provides a method, apparatus, device, and storage medium for controlling a storage battery, which can be used to prevent battery depletion. The technical solution is as follows:
[0004] On one hand, embodiments of this application provide a method for controlling a storage battery, the method comprising:
[0005] Obtain a first detection result, which is used to indicate whether the vehicle is in a static parking state;
[0006] Based on the first detection result indicating that the vehicle is in the static parking state, the current value of the vehicle's battery is obtained according to the reference frequency;
[0007] The control area control unit (ZCU) acquires the minimum current value among the current values acquired within a first reference time period, and the ZCU is located on the vehicle.
[0008] Based on the fact that the minimum current value is greater than the first reference threshold, the reference value is incremented by one. The reference value is used to statistically analyze the comparison results of whether the current value is greater than the first reference threshold.
[0009] Based on the reference value being greater than the second reference threshold, the ZCU is controlled to bring the vehicle network and controller into a reference power consumption state.
[0010] On the other hand, a device for controlling a storage battery is provided, the device comprising:
[0011] The first acquisition module is used to acquire a first detection result, which is used to indicate whether the vehicle is in a static parking state.
[0012] The second acquisition module is used to acquire the current value of the vehicle's battery according to a reference frequency, based on the first detection result indicating that the vehicle is in the static parking state.
[0013] The third acquisition module is used to control the area control unit (ZCU) to acquire the minimum current value among the current values acquired within the first reference time period, wherein the ZCU is located on the vehicle.
[0014] The first control module is used to control a reference value to be incremented by one based on the minimum current value being greater than a first reference threshold. The reference value is used for the statistical analysis of whether the current value is greater than the first reference threshold.
[0015] The second control module is used to control the ZCU to make the vehicle network and controller enter the reference power consumption state based on the reference value being greater than the second reference threshold.
[0016] On the other hand, a computer device is provided, the computer device including a processor and a memory, the memory storing at least one computer program, the at least one computer program being loaded and executed by the processor to enable the computer device to implement any of the above-described methods for controlling a storage battery.
[0017] On the other hand, a computer-readable storage medium is also provided, wherein at least one computer program is stored therein, the at least one computer program being loaded and executed by a processor to enable a computer to implement any of the above-described methods for controlling a storage battery.
[0018] On the other hand, a computer program product or computer program is also provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, causing the computer device to perform any of the above-described methods for controlling a battery.
[0019] The technical solution provided in this application has at least the following beneficial effects:
[0020] This application obtains a first detection result to indicate whether the vehicle is in a static parking state. If the first detection result indicates that the vehicle is in a static parking state, the current value of the vehicle's battery is obtained according to a reference frequency, thereby realizing the monitoring of the battery current value according to the reference frequency.
[0021] By controlling the ZCU to obtain the minimum current value among the current values acquired within a first reference time period, if the minimum current value is greater than the first reference threshold, the reference value is incremented by one. When the reference value exceeds the second reference threshold, indicating excessive battery current, the ZCU is controlled to put the vehicle network and controller into a reference power consumption state, thereby controlling the battery current. By detecting the magnitude of the battery's quiescent current and inducing the vehicle network and controller into a reference power consumption state, the loss of battery charge is controlled, thus preventing battery depletion. Attached Figure Description
[0022] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0023] Figure 1 This is a schematic diagram of an implementation environment provided in an embodiment of this application;
[0024] Figure 2 This is a flowchart of a method for controlling a storage battery provided in an embodiment of this application;
[0025] Figure 3 This is a diagram illustrating a strategy for controlling a storage battery, provided in an embodiment of this application.
[0026] Figure 4 This is a schematic diagram of a device for controlling a storage battery according to an embodiment of this application;
[0027] Figure 5 This is a schematic diagram of the structure of a server provided in an embodiment of this application;
[0028] Figure 6 This is a schematic diagram of the structure of a device for controlling a storage battery provided in an embodiment of this application. Detailed Implementation
[0029] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0030] This application provides a method for controlling a storage battery. Please refer to... Figure 1 The diagram illustrates the implementation environment of the method provided in this application embodiment. This implementation environment may include: a vehicle 11 and a vehicle control system 12.
[0031] Optionally, the vehicle control system 12 acquires a first detection result, which indicates whether the vehicle 11 is in a static parking state. Based on the first detection result indicating that the vehicle is in a static parking state, the vehicle control system 12 acquires the current value of the battery of the vehicle 11 according to a reference frequency. The vehicle control system 12 controls the ZCU (Zone Control Unit) to acquire the minimum current value among the current values acquired within a first reference time period. The ZCU is located on the vehicle 11. Based on the minimum current value being greater than a first reference threshold, the vehicle control system 12 controls the reference value to be incremented by one. The reference value is used for the statistical comparison of whether the current value is greater than the first reference threshold. Based on the reference value being greater than a second reference threshold, the vehicle control system 12 controls the ZCU to put the vehicle network and controller into a reference power consumption state.
[0032] The vehicle control system 12 can store the minimum current value among the current values acquired within the first reference time period. The vehicle 11 can obtain the minimum current value from the vehicle control system 12. The minimum current value is used to compare with the first reference threshold to determine whether it is necessary to control the ZCU to put the vehicle network and controller into the reference power consumption state. Of course, the vehicle 11 can also store the minimum current value.
[0033] Optionally, the vehicle 11 and the vehicle control system 12 establish a communication connection via a wired or wireless network.
[0034] Those skilled in the art should understand that the above-described vehicle 11 and vehicle control system 12 are merely examples. Other existing or future vehicles 11 or vehicle control systems 12 that are applicable to this application should also be included within the scope of protection of this application, and are hereby incorporated by reference.
[0035] Based on the above Figure 1 The implementation environment shown in this application embodiment provides a method for controlling a storage battery, such as... Figure 2 As shown, taking the application of this method to a vehicle control system as an example, the method includes steps 201-205.
[0036] In step 201, a first detection result is obtained, which is used to indicate whether the vehicle is in a static parking state.
[0037] The first detection result is used to indicate whether the vehicle is in a static parking state. In one possible implementation, obtaining the first detection result includes: obtaining a second detection result and a third detection result, wherein the second detection result is used to indicate whether the vehicle is in a power-off state, and the third detection result is used to indicate whether the vehicle is in a network sleep state, where the network sleep state is a state without bus activity; based on the second detection result indicating that the vehicle is in a power-off state and the third detection result indicating that the vehicle is in a network sleep state, the first detection result indicates that the vehicle is in a static parking state.
[0038] For example, obtaining a second detection result for indicating whether the vehicle is in a power-off state includes: judging the power-on / off state of the vehicle by the position of the vehicle's ignition switch; the vehicle control system obtains the position information of the ignition switch; when the ignition switch is in the OFF position, the second detection result indicates that the vehicle is in a power-off state; when the ignition switch is in the ON position, the second detection result indicates that the vehicle is not in a power-off state.
[0039] In one possible implementation, the vehicle control device obtains the ignition switch position information in ways including, but not limited to, detecting the ignition switch position information via the CAN (Controller Area Network) bus. When the ignition switch is detected to be in the OFF position, a third detection result indicates that the vehicle is powered off; when the ignition switch is detected to be in the ON position, a second detection result indicates that the vehicle is not powered off.
[0040] Optionally, obtaining a third detection result to indicate whether the vehicle is in a network sleep state includes: determining whether there is data transmission or signal transmission on the detection bus, and obtaining a fourth, fifth, or sixth detection result. The fourth detection result is used to indicate whether there is a signal change on the data line of the CAN bus, the fifth detection result is used to indicate whether there is a signal change on the clock line of the CAN bus, and the sixth detection result is used to indicate whether there is a signal change on the control line of the CAN bus.
[0041] If the fourth detection result indicates no signal change on the CAN data line, the fifth detection result indicates no signal change on the CAN clock line, and the sixth detection result indicates no signal change on the CAN control line, then the third detection result indicates the vehicle is in network sleep mode. If the fourth detection result indicates a signal change on the CAN data line, the fifth detection result indicates a signal change on the CAN clock line, or the sixth detection result indicates a signal change on the CAN control line, then the third detection result indicates the vehicle is not in network sleep mode.
[0042] In step 202, based on the first detection result indicating that the vehicle is in a static parking state, the current value of the vehicle's battery is obtained according to the reference frequency.
[0043] In one possible implementation, after determining that the first detection result indicates the vehicle is in a static parking state, the vehicle's battery current value is acquired at a reference frequency. This includes: the vehicle control system controlling the EBS (Electronic Brake Systems) to acquire the battery current value via an ammeter at the reference frequency. The ammeter is located on the vehicle; when detecting the battery current, the positive terminal of the ammeter is connected to the positive terminal of the battery, and the negative terminal of the ammeter is connected to the negative terminal of the battery. The ammeter reading is then used as the battery current value. After the EBS acquires the battery current value, the vehicle control system reads the battery current value acquired by the EBS.
[0044] For example, after EBS obtains the current value of the battery according to the reference frequency, it stores the minimum current value among the obtained current values of the battery every first reference time interval.
[0045] This application does not limit the reference frequency. For example, the reference frequency can be set based on experience, such as 10 seconds, or it can be adjusted according to actual conditions. This application also does not limit the first reference duration. For example, the first reference duration can be set based on experience, or it can be adjusted according to actual conditions.
[0046] In step 203, the ZCU is controlled to acquire the minimum current value among the current values acquired within the first reference time period. The ZCU is located on the vehicle.
[0047] In one possible implementation, the vehicle control system wakes up the ZCU and controls the ZCU to obtain the minimum current value among the battery current values obtained within a first reference time period from the vehicle control system, wherein the ZCU is located on the vehicle and controls the vehicle network and the controllers on the vehicle.
[0048] Optionally, the vehicle control system may wake up the ZCU by sending a wake-up signal to the ZCU, including but not limited to the method of waking up the ZCU by the vehicle control system.
[0049] In step 204, based on the minimum current value being greater than the first reference threshold, the reference value is incremented by one. The reference value is used to statistically analyze the comparison results of whether the current value is greater than the first reference threshold.
[0050] In one possible implementation, the vehicle control system controls the ZCU to compare the minimum current value among the battery current values acquired within a first reference time period with a first reference threshold. If the minimum current value is greater than the first reference threshold, the control reference value is incremented by one. The reference value is used to statistically determine whether the current value is greater than the first reference threshold. In each comparison between the minimum current value and the first reference threshold, if the minimum current value is greater than the first reference threshold, the control reference value is incremented by one.
[0051] For example, based on a minimum current value being less than or equal to a first reference threshold, the ZCU is controlled to switch to a sleep state. The sleep state is a state in which the ZCU transfers the data in memory to the hard disk and shuts off the power supply to all devices except the memory. Optionally, the method of controlling the ZCU to switch to a sleep state includes, but is not limited to, the vehicle control system sending a sleep command to the ZCU.
[0052] This application does not restrict the initial value of the reference value; the reference value can be any integer. This application also does not restrict the first reference threshold; for example, the first reference threshold can be set based on experience, or it can be adjusted according to actual circumstances.
[0053] In step 205, based on the reference value being greater than the second reference threshold, the ZCU is controlled to bring the vehicle network and controller into the reference power consumption state.
[0054] In one possible implementation, the vehicle control system controls the ZCU to compare a reference value with a second reference threshold. If the reference value is greater than the second reference threshold, the ZCU controls the vehicle network and controller to enter a reference power consumption state. For example, the reference value is obtained by subtracting the original reference value from the increased reference value.
[0055] The methods by which the ZCU (Zero Control Unit) is controlled to bring the vehicle network and controller into a reference power consumption state include, but are not limited to: the vehicle control system controlling the ZCU to send a sleep command to the vehicle network and controller, thus putting them into a sleep state. In the sleep state, both the vehicle network and controller are in a reference power consumption state, where the power consumption is lower than a reference power consumption level. In this state, the current of the ECU (Electronic Control Unit) and the quiescent current of the controller decrease. Optionally, the reference power consumption setting may include, but is not limited to, an empirically based setting.
[0056] After the vehicle network and controller enter the reference power consumption state, the vehicle control system restores the control reference value to the value before the increase, which is used for the next statistical comparison of whether the current value is greater than the first reference threshold.
[0057] For example, based on a reference value being less than or equal to a second reference threshold, the ZCU is controlled to switch to a sleep state. For example, the vehicle control system controls the ZCU to switch to a sleep state in accordance with step 204. After the ZCU switches to a sleep state, the vehicle control system controls the vehicle not to acquire and compare the battery current value for a second reference duration, and the EBS clears the stored minimum current value before switching to a sleep state, so that the minimum current value can be acquired again after the second reference duration.
[0058] This application does not impose any limitations on the second reference threshold. For example, the second reference threshold can be set based on experience, or it can be adjusted according to actual circumstances. Similarly, this application does not impose any limitations on the second reference duration. For example, the second reference duration can be set based on experience, or it can be adjusted according to actual circumstances.
[0059] Figure 3 A strategy diagram for controlling a storage battery is provided. Specifically, when the vehicle is in a static parking state, i.e., the vehicle is powered off and the network is in sleep state 301, the EBS acquires the current value of the vehicle's battery according to a reference frequency 302, and the EBS stores the minimum current value among the acquired battery current values every first reference time interval 303.
[0060] Determine whether the minimum current value is greater than the first reference threshold 304. If the minimum current value is greater than the first reference threshold, control the reference value to be incremented by one 305. If the minimum current value is less than or equal to the first reference threshold, EBS obtains the current value of the vehicle's battery according to the reference frequency 302.
[0061] 305. If the reference value is greater than the second reference value, the ZCU is controlled to put the vehicle network and controller into the reference power consumption state. 307. If the reference value is less than or equal to the second reference value, the EBS obtains the current value of the vehicle's battery according to the reference frequency.
[0062] This application embodiment obtains a first detection result indicating whether the vehicle is in a static parking state. If the first detection result indicates that the vehicle is in a static parking state, the current value of the vehicle's battery is obtained according to a reference frequency, thereby realizing the monitoring of the battery current value according to the reference frequency.
[0063] By controlling the ZCU to obtain the minimum current value among the current values acquired within a first reference time period, if the minimum current value is greater than the first reference threshold, the reference value is incremented by one. When the reference value exceeds the second reference threshold, indicating excessive battery current, the ZCU is controlled to put the vehicle network and controller into a reference power consumption state, thereby controlling the battery current. By detecting the magnitude of the battery's quiescent current and inducing the vehicle network and controller into a reference power consumption state, the loss of battery charge is controlled, thus preventing battery depletion.
[0064] See Figure 4 This application provides a device for controlling a storage battery, the device comprising:
[0065] The first acquisition module 401 is used to acquire a first detection result, which indicates whether the vehicle is in a static parking state.
[0066] The second acquisition module 402 is used to acquire the current value of the vehicle's battery according to a reference frequency based on the first detection result indicating that the vehicle is in a static parking state.
[0067] The third acquisition module 403 is used to control the area control unit ZCU to acquire the minimum current value among the current values acquired within the first reference time period. The ZCU is located on the vehicle.
[0068] The first control module 404 is used to control the reference value to be incremented by one based on the minimum current value being greater than the first reference threshold. The reference value is used for the statistical analysis of the comparison results of whether the current value is greater than the first reference threshold.
[0069] The second control module 405 is used to control the ZCU to make the vehicle network and controller enter the reference power consumption state based on the reference value being greater than the second reference threshold.
[0070] In one possible implementation, the first acquisition module 401 is used to acquire a second detection result and a third detection result. The second detection result is used to indicate whether the vehicle is in a power-off state, and the third detection result is used to indicate whether the vehicle is in a network sleep state, which is a state without bus activity. Based on the second detection result indicating that the vehicle is in a power-off state and the third detection result indicating that the vehicle is in a network sleep state, the first detection result indicates that the vehicle is in a static parking state.
[0071] In one possible implementation, the third acquisition module 403 is also used to control the ZCU to switch to a sleep state based on the minimum current value being less than or equal to a first reference threshold. The sleep state is a state in which the ZCU transfers the data in memory to the hard disk and shuts off the power supply to all devices except the memory.
[0072] In one possible implementation, the first control module 404 is also used to control the ZCU to switch to sleep mode based on a reference value being less than or equal to a second reference threshold.
[0073] In one possible implementation, the second control module 405 is also used to control the reference value to be restored to the value before the increase.
[0074] This device acquires a first detection result indicating whether the vehicle is in a static parking state. If the first detection result indicates that the vehicle is in a static parking state, it acquires the current value of the vehicle's battery according to a reference frequency, thereby realizing the monitoring of the battery current value according to the reference frequency.
[0075] By controlling the ZCU to obtain the minimum current value among the current values acquired within a first reference time period, if the minimum current value is greater than the first reference threshold, the reference value is incremented by one. When the reference value exceeds the second reference threshold, indicating excessive battery current, the ZCU is controlled to put the vehicle network and controller into a reference power consumption state, thereby controlling the battery current. By detecting the magnitude of the battery's quiescent current and inducing the vehicle network and controller into a reference power consumption state, the loss of battery charge is controlled, thus preventing battery depletion.
[0076] It should be noted that the apparatus provided in the above embodiments is only illustrated by the division of the above functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process can be found in the method embodiments, which will not be repeated here.
[0077] Figure 5 This is a schematic diagram of a server structure provided in an embodiment of this application. The server can vary significantly due to differences in configuration or performance. It may include one or more processors 901 and one or more memories 902. The one or more memories 902 store at least one computer program, which is loaded and executed by the one or more processors 901 to enable the server to implement the battery control methods provided in the above-described method embodiments. Of course, the server may also have wired or wireless network interfaces, a keyboard, and input / output interfaces for input and output. The server may also include other components for implementing device functions, which will not be elaborated upon here.
[0078] Figure 6This is a schematic diagram of a device structure for controlling a storage battery, provided in an embodiment of this application. The device can be a terminal, such as an in-vehicle system, smartphone, tablet computer, media player, laptop computer, or desktop computer. The terminal may also be referred to as user equipment, portable terminal, laptop terminal, desktop terminal, or other names.
[0079] Typically, a terminal includes a processor 1501 and a memory 1502.
[0080] Processor 1501 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 1501 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 1501 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 1501 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the screen. In some embodiments, processor 1501 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.
[0081] The memory 1502 may include one or more computer-readable storage media, which may be non-transitory. The memory 1502 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 1502 are used to store at least one instruction, which is executed by the processor 1501 to cause the terminal to implement the method for controlling the battery provided in the method embodiments of this application.
[0082] In some embodiments, the terminal may also optionally include: a peripheral device interface 1503 and at least one peripheral device. The processor 1501, memory 1502, and peripheral device interface 1503 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 1503 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of: a radio frequency circuit 1504, a display screen 1505, a camera assembly 1506, an audio circuit 1507, and a power supply 1508.
[0083] Peripheral interface 1503 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 1501 and memory 1502. In some embodiments, processor 1501, memory 1502 and peripheral interface 1503 are integrated on the same chip or circuit board; in some other embodiments, any one or two of processor 1501, memory 1502 and peripheral interface 1503 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.
[0084] Radio frequency (RF) circuit 1504 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. RF circuit 1504 communicates with communication networks and other communication devices via electromagnetic signals. RF circuit 1504 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals.
[0085] Optionally, the radio frequency circuit 1504 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The radio frequency circuit 1504 can communicate with other terminals via at least one wireless communication protocol. This wireless communication protocol includes, but is not limited to: metropolitan area networks, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 1504 may also include circuitry related to NFC (Near Field Communication), which is not limited in this application.
[0086] Display screen 1505 is used to display a UI (User Interface). This UI may include graphics, text, icons, videos, and any combination thereof. When display screen 1505 is a touch display screen, it also has the ability to collect touch signals on or above its surface. These touch signals can be input as control signals to processor 1501 for processing. In this case, display screen 1505 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, display screen 1505 can be a single screen, located on the front panel of the terminal; in other embodiments, display screen 1505 can be at least two screens, respectively located on different surfaces of the terminal or in a folded design; in other embodiments, display screen 1505 can be a flexible display screen, located on a curved or folded surface of the terminal. Furthermore, display screen 1505 can be configured as a non-rectangular, irregular shape, i.e., a non-rectangular screen. Display screen 1505 can be made of materials such as LCD (Liquid Crystal Display) or OLED (Organic Light-Emitting Diode).
[0087] The camera assembly 1506 is used to acquire images or videos. Optionally, the camera assembly 1506 includes a front-facing camera and a rear-facing camera. Typically, the front-facing camera is located on the front panel of the terminal, and the rear-facing camera is located on the back of the terminal. In some embodiments, there are at least two rear-facing cameras, which are any one of a main camera, a depth-sensing camera, a wide-angle camera, and a telephoto camera, to achieve background blurring by fusion of the main camera and the depth-sensing camera, panoramic shooting by fusion of the main camera and the wide-angle camera, VR (Virtual Reality) shooting, or other fusion shooting functions. In some embodiments, the camera assembly 1506 may also include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm-light flash and a cool-light flash, which can be used for light compensation at different color temperatures.
[0088] The audio circuit 1507 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, converting the sound waves into electrical signals that are input to the processor 1501 for processing, or input to the radio frequency circuit 1504 for voice communication. For stereo sound acquisition or noise reduction purposes, multiple microphones may be used, each positioned at a different location on the terminal. The microphone may also be an array microphone or an omnidirectional microphone. The speaker is used to convert electrical signals from the processor 1501 or the radio frequency circuit 1504 into sound waves. The speaker may be a conventional diaphragm speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can convert electrical signals not only into audible sound waves but also into inaudible sound waves for purposes such as distance measurement. In some embodiments, the audio circuit 1507 may also include a headphone jack.
[0089] Power supply 1508 is used to power the various components in the terminal. Power supply 1508 can be AC power, DC power, a disposable battery, or a rechargeable battery. When power supply 1508 includes a rechargeable battery, the rechargeable battery can support wired or wireless charging. The rechargeable battery can also be used to support fast charging technology.
[0090] In some embodiments, the terminal further includes one or more sensors 1509. The one or more sensors 1509 include, but are not limited to: an acceleration sensor 1510, a gyroscope sensor 1511, a pressure sensor 1512, an optical sensor 1513, and a proximity sensor 1514.
[0091] Accelerometer 1510 can detect the magnitude of acceleration along the three coordinate axes of a coordinate system established by the terminal. For example, accelerometer 1510 can be used to detect the components of gravitational acceleration along the three coordinate axes. Processor 1501 can control display screen 1505 to display the user interface in either a landscape or portrait view based on the gravitational acceleration signal acquired by accelerometer 1510. Accelerometer 1510 can also be used for games or for acquiring user motion data.
[0092] The gyroscope sensor 1511 can detect the terminal's orientation and rotation angle. The gyroscope sensor 1511 can work in conjunction with the accelerometer sensor 1510 to collect the user's 3D movements on the terminal. Based on the data collected by the gyroscope sensor 1511, the processor 1501 can perform the following functions: motion sensing (e.g., changing the UI based on the user's tilt), image stabilization during shooting, game control, and inertial navigation.
[0093] The pressure sensor 1512 can be disposed on the side bezel of the terminal and / or the lower layer of the display screen 1505. When the pressure sensor 1512 is disposed on the side bezel of the terminal, it can detect the user's grip signal on the terminal, and the processor 1501 can perform left / right hand recognition or quick operation based on the grip signal collected by the pressure sensor 1512. When the pressure sensor 1512 is disposed on the lower layer of the display screen 1505, the processor 1501 can control the operable controls on the UI interface based on the user's pressure operation on the display screen 1505. The operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.
[0094] Optical sensor 1513 is used to collect ambient light intensity. In one embodiment, processor 1501 can control the display brightness of display screen 1505 based on the ambient light intensity collected by optical sensor 1513. Specifically, when the ambient light intensity is high, the display brightness of display screen 1505 is increased; when the ambient light intensity is low, the display brightness of display screen 1505 is decreased. In another embodiment, processor 1501 can also dynamically adjust the shooting parameters of camera assembly 1506 based on the ambient light intensity collected by optical sensor 1513.
[0095] The proximity sensor 1514, also known as a distance sensor, is typically installed on the front panel of the terminal. The proximity sensor 1514 is used to detect the distance between the user and the front of the terminal. In one embodiment, when the proximity sensor 1514 detects that the distance between the user and the front of the terminal is gradually decreasing, the processor 1501 controls the display screen 1505 to switch from a screen-on state to a screen-off state; when the proximity sensor 1514 detects that the distance between the user and the front of the terminal is gradually increasing, the processor 1501 controls the display screen 1505 to switch from a screen-off state to a screen-on state.
[0096] Those skilled in the art will understand that Figure 6 The structure shown does not constitute a limitation on the terminal and may include more or fewer components than shown, or combine certain components, or use different component arrangements.
[0097] In an exemplary embodiment, a computer device is also provided, comprising a processor and a memory storing at least one computer program. The at least one computer program is loaded and executed by one or more processors to enable the computer device to implement any of the aforementioned methods for controlling a battery.
[0098] In an exemplary embodiment, a computer-readable storage medium is also provided, which stores at least one computer program that is loaded and executed by a processor of a computer device to enable the computer to implement any of the above-described methods for controlling a battery.
[0099] In one possible implementation, the aforementioned computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), magnetic tape, floppy disk, and optical data storage device, etc.
[0100] In an exemplary embodiment, a computer program product or computer program is also provided, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform any of the above-described methods for controlling a battery.
[0101] It should be noted that all information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.), and signals involved in this application are authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the battery current value involved in this application was obtained with full authorization.
[0102] It should be understood that "multiple" as used in this article refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0103] It should be noted that the terms "first," "second," etc. (if applicable) in the specification and claims of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0104] The above description is merely an exemplary embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the principles of this application should be included within the protection scope of this application.
Claims
1. A method for controlling a storage battery, characterized in that, The method includes: Obtain a first detection result, which indicates whether the vehicle is in a static parking state; Based on the first detection result indicating that the vehicle is in the static parking state, the current value of the vehicle's battery is obtained according to the reference frequency; The control area control unit (ZCU) acquires the minimum current value among the current values acquired within a first reference time period, and the ZCU is located on the vehicle. Based on the fact that the minimum current value is greater than the first reference threshold, the reference value is incremented by one. The reference value is used to statistically analyze the comparison results of whether the current value is greater than the first reference threshold. Based on the fact that the reference value is greater than the second reference threshold, the ZCU is controlled to make the vehicle network and controller enter the reference power consumption state. The control of the ZCU to bring the vehicle network and controller into a reference power consumption state includes: The ZCU is controlled to send a sleep command to the vehicle network and the controller, so as to control the vehicle network and the controller to enter a sleep state.
2. The method according to claim 1, characterized in that, The process of obtaining the first detection result includes: Acquire a second detection result and a third detection result. The second detection result is used to indicate whether the vehicle is in a power-off state, and the third detection result is used to indicate whether the vehicle is in a network sleep state, which is a state without bus activity. Based on the second detection result indicating that the vehicle is in the power-off state and the third detection result indicating that the vehicle is in the network sleep state, the first detection result indicates that the vehicle is in the static parking state.
3. The method according to claim 1, characterized in that, After the control area control unit (ZCU) acquires the minimum current value among the current values obtained within the first reference time period, it further includes: Based on the minimum current value being less than or equal to the first reference threshold, the ZCU is controlled to switch to sleep mode. The sleep mode is a state in which the ZCU transfers the data in memory to the hard disk and shuts off the power supply to all devices except the memory.
4. The method according to claim 1, characterized in that, The step of incrementing the reference value by one based on the minimum current value being greater than the first reference threshold further includes: Based on the reference value being less than or equal to the second reference threshold, the ZCU is controlled to switch to sleep mode. The sleep mode is a state in which the ZCU transfers the data in memory to the hard disk and turns off the power supply to all devices except memory.
5. The method according to claim 1, characterized in that, After controlling the ZCU to put the vehicle network and controller into a reference power consumption state based on the reference value being greater than the second reference threshold, the method further includes: The reference value is restored to its original value before the increase.
6. A device for controlling a storage battery, characterized in that, The device includes: The first acquisition module is used to acquire a first detection result, which indicates whether the vehicle is in a static parking state. The second acquisition module is used to acquire the current value of the vehicle's battery according to a reference frequency, based on the first detection result indicating that the vehicle is in the static parking state. The third acquisition module is used to control the area control unit (ZCU) to acquire the minimum current value among the current values acquired within the first reference time period, wherein the ZCU is located on the vehicle. The first control module is used to control a reference value to be incremented by one based on the minimum current value being greater than a first reference threshold. The reference value is used to statistically analyze the comparison result of whether the current value is greater than the first reference threshold. The second control module is used to control the ZCU to make the vehicle network and controller enter the reference power consumption state based on the reference value being greater than the second reference threshold. The control of the ZCU to bring the vehicle network and controller into a reference power consumption state includes: The ZCU is controlled to send a sleep command to the vehicle network and the controller, so as to control the vehicle network and the controller to enter a sleep state.
7. The apparatus according to claim 6, characterized in that, The first acquisition module is used to acquire a second detection result and a third detection result. The second detection result is used to indicate whether the vehicle is in a power-off state, and the third detection result is used to indicate whether the vehicle is in a network sleep state, wherein the network sleep state is a state without bus activity. Based on the second detection result indicating that the vehicle is in the power-off state and the third detection result indicating that the vehicle is in the network sleep state, the first detection result indicates that the vehicle is in the static parking state.
8. The apparatus according to claim 6, characterized in that, The third acquisition module is also used to control the ZCU to switch to sleep mode based on the minimum current value being less than or equal to the first reference threshold. The sleep mode is the state in which the ZCU transfers the data in memory to the hard disk and turns off the power supply to all devices except the memory.
9. A computer device, characterized in that, The computer device includes a processor and a memory, the memory storing at least one computer program, the at least one computer program being loaded and executed by the processor to enable the computer device to implement the method of controlling the battery as described in any one of claims 1 to 5.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one computer program, which is loaded and executed by a processor to enable the computer to implement the method of controlling the battery as described in any one of claims 1 to 5.