Method, apparatus, device, storage medium and program product for charging detection
By deploying a discharge load module in shared bicycles, the charging path is selected based on the remaining battery power, solving the detection problem when the battery power is sufficient in the existing technology, realizing efficient and accurate charging detection, and improving detection efficiency and safety.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- BEIJING DIDI INFINITY TECH & DEV CO LTD
- Filing Date
- 2024-12-17
- Publication Date
- 2026-06-26
AI Technical Summary
Existing technologies cannot efficiently and accurately perform charging tests when the battery is fully charged, making it unavoidable to disassemble the battery for testing, which increases maintenance costs and safety hazards.
By deploying a discharge load module in shared bicycles, the charging path is selected to connect to the target module based on the remaining battery power, and charging data is collected to determine whether the charging function is normal, thus avoiding the need to disassemble the battery for testing.
It achieves efficient charging detection when the battery is fully charged, improves detection efficiency, avoids unnecessary disassembly operations, and ensures battery safety and lifespan.
Smart Images

Figure CN122283259A_ABST
Abstract
Description
Technical Field
[0001] The exemplary embodiments disclosed herein generally relate to the field of computers, and particularly to methods, apparatus, devices, storage media, and program products for charging detection. Background Technology
[0002] With the widespread adoption of shared bicycles, especially those powered by new energy sources such as solar panels, the health and charging performance of their batteries play a crucial role in the safety, reliability, and lifespan of the vehicles. As a core component of shared bicycles, battery status monitoring is essential for ensuring battery safety, optimizing the charging process, and extending battery life. Currently, although some testing technologies exist for detecting battery charging status and health, achieving efficient, accurate, and convenient battery monitoring remains a significant technical challenge. Summary of the Invention
[0003] In a first aspect of this disclosure, a method for charging detection is provided. The method may include: acquiring the remaining battery charge of the vehicle in response to a charging detection command for the vehicle; selecting a target module to which a charging path is to be connected from the vehicle's battery module and discharge load module based on the remaining battery charge; controlling the connection of the charging path to the selected target module, so that the vehicle's charging module charges the target module via the charging path; and determining a charging detection result for the vehicle based on charging data collected from the target module, the charging detection result indicating whether the vehicle's charging function is normal.
[0004] In a second aspect of this disclosure, a charging and discharging system is provided. The system may include: a power detection module configured to detect the remaining battery power of the vehicle in response to a charging detection command for the vehicle; a charging and discharging control module configured to output a binary selection command based on the remaining battery power, for controlling the connection between the vehicle's battery module or discharge load module and the charging path; wherein a first value of the binary selection command is configured to indicate a switch is on, and a second value of the binary selection command is configured to indicate a switch is off; a battery module configured to be connected to the vehicle's charging module via a first switch controlled by the binary selection command; a discharge load module configured to be connected to the vehicle's charging module via a second switch controlled by the binary selection command; and a detection module configured to determine a charging detection result based on charging data collected from a target module, the charging detection result indicating whether the charging function is normal.
[0005] In a third aspect of this disclosure, a charging detection apparatus is provided. The apparatus may include: a battery remaining capacity acquisition module configured to acquire the remaining battery capacity of the vehicle in response to a charging detection command for the vehicle; a selection module configured to select a target module to which a charging path is to be connected from the vehicle's battery module and a discharge load module based on the remaining battery capacity; a connection module configured to control the connection of the charging path to the selected target module, so that the vehicle's charging module charges the target module via the charging path; and a detection module configured to determine a charging detection result for the vehicle based on charging data collected from the target module, the charging detection result indicating whether the vehicle's charging function is normal.
[0006] In a fourth aspect of this disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit. When executed by the at least one processing unit, the instructions cause the electronic device to perform the method of the first aspect.
[0007] In a fifth aspect of this disclosure, a computer-readable storage medium is provided. A computer program is stored on the medium, which, when executed by a processor, implements the method of the first aspect.
[0008] In a sixth aspect of this disclosure, a computer program product is provided. The computer program product includes computer-executable instructions that, when executed by a processor, implement the method of the first aspect.
[0009] It should be understood that the description in this section is not intended to limit the key or essential features of the embodiments of this disclosure, nor is it intended to restrict the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0010] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. In the drawings, the same or similar reference numerals denote the same or similar elements, wherein:
[0011] Figure 1 A schematic diagram of an example environment in which embodiments of the present disclosure can be implemented is shown;
[0012] Figure 2 A flowchart of a charging detection method according to some embodiments of the present disclosure is shown;
[0013] Figure 3 Example diagrams of a charging detection process based on real-time charging power according to some embodiments of the present disclosure are shown;
[0014] Figure 4 Example diagrams of a charging detection process based on cumulative charge amount according to some embodiments of the present disclosure are shown;
[0015] Figure 5 Example diagrams of a charging and discharging system according to some embodiments of the present disclosure are shown;
[0016] Figure 6 A schematic structural block diagram of a charging detection apparatus according to some embodiments of the present disclosure is shown; and
[0017] Figure 7 A block diagram of an electronic device that can implement one or more embodiments of the present disclosure is shown. Detailed Implementation
[0018] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0019] In the description of embodiments of this disclosure, the term "comprising" and similar terms should be understood as open-ended inclusion, i.e., "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may also be included below.
[0020] In this document, unless explicitly stated otherwise, performing a step in response to A does not mean that the step is performed immediately after A, but may include one or more intermediate steps.
[0021] It is understood that the data involved in this technical solution (including but not limited to the data itself, the acquisition, use, storage or deletion of the data) shall comply with the requirements of relevant laws, regulations and related provisions.
[0022] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, relevant users should be informed of the type, scope of use, and usage scenarios of the information involved in this disclosure through appropriate means in accordance with relevant laws and regulations, and authorization should be obtained from the relevant users. Among them, relevant users may include any type of rights holder, such as individuals, enterprises, and groups.
[0023] For example, in response to receiving an active request from a user, a prompt message is sent to the relevant user to clearly inform the user that the requested operation will require obtaining and using the user's information, thereby enabling the relevant user to choose whether to provide information to the software or hardware such as the electronic device, application, server, or storage medium that performs the operation of the technical solution disclosed herein based on the prompt message.
[0024] As an optional but non-restrictive implementation, in response to a user's active request, a prompt message can be sent to the user, such as a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide information to the electronic device.
[0025] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.
[0026] With the widespread adoption of electric vehicles, shared bicycles (such as those powered by solar panels) have become an important part of modern urban transportation. As a core component of electric vehicles, the performance and health of the battery directly affect the vehicle's range, safety, and operational efficiency. The battery's state of charge (SOC) and energy consumption (i.e., power consumption) are crucial factors influencing the normal operation of electric vehicles. Especially under high power consumption demands, such as the application of technologies like high-precision positioning and intelligent control, the battery's burden increases, making it prone to problems like abnormal charging and power consumption. These issues not only affect the normal use of shared bicycles but may also lead to safety hazards and increased maintenance costs.
[0027] For charging tests of shared bicycles, existing solutions typically cannot be completed when the battery charge is too high. This means that when the battery has a significant remaining charge, it must be disassembled and replaced before testing can continue. This makes comprehensive testing of battery health more difficult and hinders the achievement of 100% non-disassembly testing.
[0028] Figure 1A schematic diagram of an environment 100 in which embodiments of the present disclosure can be implemented is shown. Environment 100 includes a detection device 110 and a vehicle 130. Vehicle 130 may be a shared bicycle powered by solar panels. The power source of vehicle 130 may include various forms of energy, such as electricity and / or fossil fuels (such as gasoline or diesel), to drive the operation of vehicle 130. Furthermore, some components of vehicle 130 may be electrically driven, such as onboard electronics or auxiliary power systems, and therefore vehicle 130 may be equipped with power sources such as batteries and solar panels.
[0029] A discharge load module can be installed in vehicle 130. The remaining battery charge of vehicle 130 is detected by a power detection module. If the remaining charge exceeds a preset value, the output of the charging chip can be connected to the discharge load module via the charge / discharge control module to detect the output power of the charging chip. If the remaining charge does not exceed the preset value, the output of the charging chip can be connected to the battery module of vehicle 130 via the charge / discharge control module, thus allowing vehicle 130 to be tested without removing the battery.
[0030] Although shown as a separate device, the detection device 110 can actually be located on the vehicle 130 side. The detection device 110 can be an onboard control unit, battery management system, onboard terminal, onboard display, onboard computer, onboard controller, intelligent onboard assistant, or any other suitable in-vehicle electronic device. In some embodiments, the detection device 110 can serve as the main control system of the vehicle 130, responsible for managing various functions of the vehicle 130, including battery charging status, power consumption information, location information, and vehicle fault diagnosis. Through communication with the battery management system, positioning module, and other onboard sensors, the detection device 110 collects and analyzes the vehicle's charging and power consumption data in real time, ensuring the safety and reliability of the vehicle 130's operation.
[0031] It should be understood that the structure and function of the various elements in environment 100 are described for illustrative purposes only and do not imply any limitation on the scope of this disclosure.
[0032] In embodiments of this disclosure, an improved charging detection scheme is proposed. The scheme includes: in response to a charging detection command for the vehicle, acquiring the remaining battery power of the vehicle; based on the remaining battery power, selecting a target module from the vehicle's battery module and discharge load module to which the charging path should be connected; controlling the connection of the charging path to the selected target module, so that the vehicle's charging module charges the target module via the charging path; and determining a charging detection result for the vehicle based on charging data collected from the target module, the charging detection result indicating whether the vehicle's charging function is normal.
[0033] The above solution involves deploying a discharge load module on the vehicle to assist in charging detection. When charging detection is required, the charging path can be controlled to connect to either the battery module or the discharge load module based on the remaining battery charge, allowing for flexible adjustment of the charging strategy. This way, charging detection can be completed even when the vehicle's battery has sufficient remaining charge, without requiring battery removal for testing, thus avoiding unnecessary operational delays and troubleshooting.
[0034] Figure 2 An example flow of a task processing method 200 according to some embodiments of the present disclosure is shown. For ease of discussion, reference will be made to... Figure 1 The environment is used to describe process 200.
[0035] In box 201, the detection device 110 responds to the charging detection command of the vehicle 130 and obtains the remaining battery power of the vehicle 130.
[0036] The detection device 110 can obtain the remaining battery power information of the vehicle 130's battery from the vehicle 130's battery management system (BMS). This charging detection command can be issued manually by the user or automatically triggered under certain conditions. For example, when the vehicle 130 is started, or when the detection device 110 detects that the battery power has reached a certain threshold, it automatically issues a charging detection command.
[0037] Remaining battery capacity is typically expressed as a percentage or voltage value, reflecting the battery's current state of charge. A battery capacity detection module can determine the remaining battery capacity by collecting real-time data on parameters such as voltage, current, and temperature, combined with a pre-defined battery characteristic model.
[0038] In box 202, the detection device 110 selects the target module to which the charging path should be connected from the vehicle's battery module and discharge load module based on the remaining battery power.
[0039] If the remaining battery power is not lower than a set power threshold, the detection device 110 can select a discharge load module as the target module. The discharge load module can be a load resistor, and its main function is to supply the power from the charging module to the load device. As an example, the charging module can be a solar panel, an external power source, etc.
[0040] On the other hand, when the remaining battery power is lower than the set remaining power threshold, the detection device 110 can select the battery module as the target module in order to detect whether the battery module is operating normally.
[0041] In box 203, the detection device 110 controls the connection of the charging path to the selected target module so that the vehicle's charging module charges the target module via the charging path.
[0042] When the battery charge is high, the detection device 110 can prioritize the discharge load module. This not only helps avoid overcharging but also allows for "current pulling" using a load resistor. By controlling the charge and discharge, the output of the charging path is connected to the discharge load module, enabling the charging module to be connected without replacing the battery. This allows for charging data acquisition without removing the battery. If the vehicle's battery module is selected as the target module, the charging module can be connected to the vehicle 130's battery via the charging path for regular charging operations.
[0043] In box 204, the detection device 110 determines the charging detection result for the vehicle based on the charging data collected from the target module. The charging detection result indicates whether the vehicle's charging function is normal.
[0044] Charging data can include charging current, voltage, power, and other relevant data, reflecting the real-time status during the charging process. Using this data, the detection device 110 can assess the effectiveness of the charging operation, confirm whether the expected charging effect has been achieved, and determine whether the charging function is working properly.
[0045] The detection device 110 can collect voltage and current data of the target module in real time through integrated sensors or a battery management system (BMS). Charging voltage and charging current are core parameters for evaluating charging functionality. Changes in charging voltage and charging current reflect charging efficiency and potential anomalies (such as charging failures) during the charging process. For example, if there are abnormal fluctuations in charging voltage, charging current, or power, or if the charging amount fails to increase as expected, the detection device 110 can determine that the charging function is malfunctioning. For instance, excessively low charging power may indicate inefficient charging module or charging failure, while excessively high charging current may indicate an overcharge risk during battery charging.
[0046] Through the above process, based on the remaining battery power, the testing device 110 can automatically select to connect to either the charging module or the discharging load module to perform charging function testing according to the battery's charge level. If the battery power is high, the testing device 110 can control the charging module to connect to the discharging load module for current drawing testing, ensuring that the test can be completed without disassembling the battery even if it is overcharged. This process avoids the manual battery removal testing procedure, greatly improving the efficiency of the vehicle 130's charging function testing.
[0047] When determining the charging test result, the detection device 110 determines the first real-time charging power of the charging path based on the first charging voltage and first charging current collected from the target module in real time. The charging test result is determined based at least on the first real-time charging power.
[0048] Figure 3 An example flow is shown for determining a charging detection result 300 using a first real-time charging power according to some embodiments of the present disclosure. Figure 3 Boxes 301 to 305 represent the process by which the detection device 110 identifies the target module and charges the target module via the charging path. To briefly review the process, in box 301, the detection device 110 determines whether the remaining battery power of the vehicle 130 is not lower than a power threshold. If the remaining battery power is lower than the power threshold, then in box 302, the battery module is designated as the target module, and in box 303, the vehicle's charging module is controlled to charge the target module via the charging path. If the remaining battery power is not lower than the power threshold, then in box 304, the discharge load module is designated as the target module, and in box 305, the vehicle's charging module is controlled to charge the discharge load module via the charging path.
[0049] In box 306, the detection device 110 can continuously acquire the first charging voltage and the first charging current from the target module. Through continuous acquisition, the detection device 110 can continuously and in real time record current and voltage data throughout the entire charging process.
[0050] In frame 307, the detection device 110 detects whether the real-time first real-time charging power is 0.
[0051] The detection device 110 can continuously acquire charging current and charging voltage, thereby obtaining the first charging voltage and first charging current acquired in real time. Based on the first charging voltage and first charging current acquired in real time, the first real-time charging power P(t) can be obtained.
[0052] The detection device 110 can determine whether the first real-time charging power P(t) is 0. If it is determined to be 0, in box 308, the detection device 110 can determine that the charging function is faulty and can check possible causes of the fault. For example: charging module failure; if the charging module fails to supply power correctly, both the charging current and voltage may be 0, resulting in 0 power, indicating that the charging power supply cannot provide charging energy. Connection failure; if there is poor contact or a fault in the charging cable or connector, it may cause the charging current or voltage to be 0, thus resulting in 0 power. If the first real-time charging power P(t) is not 0, in box 309, the detection device 110 can determine that the charging function is normal.
[0053] Besides the detection methods described above, other detection methods are also possible. The detection device 110 not only relies on the judgment of zero real-time power to detect charging faults, but also periodically collects charging current and charging voltage, which is described in detail below. The detection device 110 acquires a second charging current and a second charging voltage periodically collected from the target module at specified time intervals. Based on the second charging current and the second charging voltage, the cumulative charging amount within the period is determined. The charging detection result is determined based at least on the cumulative charging amount.
[0054] Figure 4 An example flow diagram is shown for determining a charging detection result 400 using accumulated charging capacity according to some embodiments of the present disclosure. In block 401, the detection device 110 may periodically collect a second charging current and a second charging voltage at specified time intervals (e.g., per second, per minute, etc.). This data, through periodic acquisition of the charging current and voltage, will provide a more accurate assessment of the state of charging.
[0055] In box 402, the detection device 110 determines multiple charging powers within a cycle based on multiple pairs of second charging currents and second charging voltages within the cycle. Within each cycle, the detection device 110 acquires a series of instantaneous second charging currents and second charging voltages. Based on this series of instantaneous second charging currents and second charging voltages, multiple instantaneous charging powers within the cycle can be obtained.
[0056] In box 403, the detection device 110 can calculate the cumulative charge amount for each cycle by integration. During this process, the current and voltage change over time; therefore, the integration process is the accumulation of power within that cycle. In this way, the detection device 110 can obtain the accurate charge amount within a cycle.
[0057] In box 404, the detection device 110 can determine the cumulative charging amount over multiple cycles by summing or other methods. In box 405, if the cumulative charging amount over multiple cycles is 0 or has not reached the predetermined value, a charging function malfunction can be determined in box 406. If the cumulative charging amount over multiple cycles is not 0 or has reached the predetermined value, the charging function can be determined to be normal in box 407.
[0058] The aforementioned detection process can also be used during the daily operation of vehicle 130. For example, for vehicle 130 powered by clean energy sources such as solar energy, detection device 110 can continuously monitor the battery charging status of vehicle 130 to ensure the normal operation of the solar panel charging function. In this case, detection device 110 can periodically collect charging current and voltage data, and calculate the charging amount by integration to evaluate the charging status of the solar panel in real time. If the charging amount is lower than expected, detection device 110 can detect the abnormality in a timely manner and initiate fault diagnosis to ensure that vehicle 130 always maintains a good charging status.
[0059] In addition, through this periodic collection and integration calculation method, the detection device 110 can not only work in static charging scenarios, but also dynamically detect changes in current and voltage of the vehicle 130 during driving, and calculate the cumulative charging power in one hour or one day, thereby determining whether there is a risk of insufficient charging or charging failure.
[0060] Next, we will introduce another detection method. In response to the target module being the vehicle's battery module, the detection device 110 acquires the vehicle's battery power change data. Based on the battery power change data and charging data, it determines the detection result of abnormal power consumption of the vehicle's battery.
[0061] The vehicle's battery charge change data can be the natural decrease in the battery charge of vehicle 130 (such as the consumption of battery charge during driving), while the charging data of vehicle 130 can be determined by the current and voltage acquired by detection device 110. By combining these two sets of data, detection device 110 can determine the overall energy consumption of vehicle 130 within a specific time period.
[0062] This approach enables the detection device 110 to not only monitor the charging status of the vehicle 130 in real time, but also to identify potential abnormal power consumption faults. For example, if it detects that the change in the vehicle 130's power level is greater than the expected normal power consumption when not charging, or if the change in battery power level during charging does not conform to the predetermined charging mode, the detection device 110 will be able to determine that the vehicle has an abnormal power consumption problem, and then activate the fault detection mechanism to help users or maintenance personnel to find and solve the problem in a timely manner.
[0063] Therefore, based on the comprehensive analysis of battery power change data and charging data, the detection device 110 provides a more accurate vehicle 130 power management capability, that is, it can efficiently identify and prevent possible battery failures or energy management problems, thereby improving the operational reliability and energy efficiency of the vehicle 130.
[0064] Figure 5 A schematic diagram of a charge / discharge system 500 according to some embodiments of the present disclosure is shown. For ease of discussion, reference will be made to... Figure 1 environment and Figure 2 The charging and discharging system 500 is described using a process described below. The charging and discharging system 500 can be configured in a vehicle 130, wherein the power detection module 502, charging and discharging control module 503, phase inversion switch module 504, first switch 505, second switch 506, and detection module 509 can be part of a detection device 110. The battery module 507 can be the battery of the vehicle 130, thereby providing kinetic energy to the vehicle 130 or powering some modules of the vehicle 130. The discharge load module 508 can be a resistive element.
[0065] The charging module 501 can be a solar panel or a power adapter, etc., to provide charging functionality.
[0066] The battery power detection module 502 can be configured to detect the remaining battery power of the vehicle 130 in response to a charging detection command for the vehicle, and can output the detection result of the remaining battery power.
[0067] The charge / discharge control module 503 can be configured to output a binary selection command based on the detection result of the remaining battery power output by the power detection module 502. This command is used to control the connection between the vehicle's battery module or discharge load module and the charging path. The first value of the binary selection command is configured to indicate that the switch is on, and the second value is configured to indicate that the switch is off. The binary selection command can be 1 or 0, or it can represent a high or low level, etc.
[0068] Battery module 507 is configured to connect to the charging module of vehicle 130 via a first switch 505 controlled by a binarized selection command.
[0069] The discharge load module 508 is configured to connect to the charging module 501 of the vehicle 130 via a second switch 506 controlled by a binarized selection command.
[0070] The detection module 509 is configured to determine the charging detection result based on the charging data collected from the target module, and the charging detection result indicates whether the charging function is normal. In addition, the detection module 509 can also determine the abnormal power consumption detection result of the battery module 507 of the vehicle 130 based on the charging data of the battery module 507 and the battery power change data detected by the power detection module 502 during the charging process of the charging module 501 to the battery module 507.
[0071] The charging and discharging system 500 may also include an inverting switch module 504. The input terminal of the inverting switch module 504 is connected to the charging and discharging control module 503, and the output terminal of the inverting switch module 504 is connected to one of the first switch 505 or the second switch 506. The inverting switch module 504 is configured to perform inversion processing on the binarized selection command to control the first switch 505 and the second switch 504 to perform opposite connection or disconnection actions.
[0072] If the binarized selection command (e.g., high level) output by the charge / discharge control module 503 controls the second switch to close, then the second switch closes based on the binarized selection command, thereby allowing the charging module to charge the discharge load module 508 via the charging path. At this time, the inverting switch module 504 inverts the binarized selection command output by the charge / discharge control module 503, obtaining a command opposite to the binarized selection command output by the charge / discharge control module 503 (e.g., low level). This command can control the first switch to open, thereby cutting off the charging path to the battery module 507.
[0073] Figure 6 A schematic structural block diagram of a charge detection device 600 according to some embodiments of the present disclosure is shown. The device 600 may be implemented in or included in a terminal device 110, for example. The various modules / components in the device 600 may be implemented by hardware, software, firmware, or any combination thereof.
[0074] As shown in the figure, the device 600 includes a battery remaining power acquisition module 601, configured to acquire the remaining battery power of the vehicle in response to a charging detection command for the vehicle. A selection module 602 is configured to select a target module from the vehicle's battery modules and discharge load modules based on the remaining battery power, to which the charging path should be connected. A connection module 603 is configured to control the connection of the charging path to the selected target module, so that the vehicle's charging module charges the target module via the charging path. A detection module 604 is configured to determine a charging detection result for the vehicle based on charging data collected from the target module, the charging detection result indicating whether the vehicle's charging function is normal. The battery remaining power acquisition module 601 can correspond to... Figure 5 The power detection module 502 is included. The selectable module 602 can correspond to... Figure 5 The charging and discharging control module 503 is included. The connection module 603 can correspond to... Figure 5 The first switch 505, the second switch 506, and the phase inverter module 504 are included. The detection module 604 can correspond to... Figure 5 The detection module 509 in the middle.
[0075] In some embodiments of this disclosure, the selection module 602 may be specifically configured to: select a discharge load module as a target module in response to the remaining battery power being not lower than a power threshold; and select a battery module as a target module in response to the remaining battery power being lower than a power threshold.
[0076] In some embodiments of this disclosure, the detection module 604 may be specifically configured to: determine a first real-time charging power of the charging path based on a first charging voltage and a first charging current acquired from the target module in real time; and determine a charging detection result based at least on the first real-time charging power.
[0077] In some embodiments of this disclosure, the detection module 604 may further be specifically configured to: acquire a second charging current and a second charging voltage periodically collected from the target module at specified time intervals; determine the cumulative charging amount within the period based on the second charging current and the second charging voltage; and determine the charging detection result based at least on the cumulative charging amount.
[0078] In some embodiments of this disclosure, the detection module 604 may also be specifically configured to: acquire battery charge change data of the vehicle during the process of connecting the charging path to the target module, in response to the target module being the vehicle's battery module. Based on the battery charge change data and charging data, determine the abnormal power consumption detection result of the vehicle's battery.
[0079] In some embodiments of this disclosure, the battery of the target object includes a solar-powered rechargeable battery.
[0080] Figure 7 A block diagram of an electronic device 700 in which one or more embodiments of the present disclosure may be implemented is shown. It should be understood that... Figure 7 The electronic device 700 shown is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. Figure 7 The illustrated electronic device 700 may include or be implemented as Figure 1 The terminal device 110, or Figure 6 Device 600.
[0081] like Figure 7 As shown, electronic device 700 is in the form of a general-purpose electronic device. Components of electronic device 700 may include, but are not limited to, one or more processors or processing units 710, memory 720, storage device 730, one or more communication units 740, one or more input devices 750, and one or more output devices 760. Processing unit 710 may be a physical or virtual processor and is capable of performing various processes according to programs stored in memory 720. In a multiprocessor system, multiple processing units execute computer-executable instructions in parallel to improve the parallel processing capability of electronic device 700.
[0082] Electronic device 700 typically includes multiple computer storage media. Such media can be any accessible media that is accessible to electronic device 700, including but not limited to volatile and non-volatile media, removable and non-removable media. Memory 720 can be volatile memory (e.g., registers, cache, random access memory (RAM)), non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. Storage device 730 can be removable or non-removable media and can include machine-readable media, such as flash drives, disks, or any other media that can be used to store information and / or data and can be accessed within electronic device 700.
[0083] Electronic device 700 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not explicitly stated... Figure 7 As shown, disk drives for reading from or writing to removable, non-volatile disks (e.g., "floppy disks") and optical disk drives for reading from or writing to removable, non-volatile optical disks can be provided. In these cases, each drive can be connected to a bus (not shown) via one or more data media interfaces. Memory 720 may include computer program product 725 having one or more program modules configured to perform various methods or actions of various embodiments of this disclosure.
[0084] The communication unit 740 enables communication with other electronic devices via a communication medium. Additionally, the functionality of the components of the electronic device 700 can be implemented using a single computing cluster or multiple computing machines capable of communicating via communication connections. Therefore, the electronic device 700 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or another network node.
[0085] Input device 750 can be one or more input devices, such as a mouse, keyboard, trackball, etc. Output device 760 can be one or more output devices, such as a monitor, speaker, printer, etc. Electronic device 700 can also communicate with one or more external devices (not shown) via communication unit 740 as needed. These external devices include storage devices, display devices, etc., and can communicate with one or more devices that enable user interaction with electronic device 700, or with any device that enables electronic device 700 to communicate with one or more other electronic devices (e.g., network card, modem, etc.). Such communication can be performed via input / output (I / O) interface (not shown).
[0086] According to an exemplary implementation of this disclosure, a computer-readable storage medium is provided that stores computer-executable instructions thereon, wherein the computer-executable instructions are executed by a processor to implement the methods described above. According to an exemplary implementation of this disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, which are executed by a processor to implement the methods described above.
[0087] According to an exemplary implementation of this disclosure, a computer program product or computer program is provided, comprising 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... Figure 2 The methods provided are among the various optional methods available in the code, so they will not be elaborated upon here.
[0088] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatuses, devices, and computer program products implemented according to this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.
[0089] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processing unit of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.
[0090] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions that execute on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.
[0091] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction, which contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0092] Various implementations of this disclosure have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is chosen to best explain the principles, practical applications, or improvements to technology in the market, or to enable others skilled in the art to understand the various implementations disclosed herein.
Claims
1. A method for detecting charging, comprising: In response to a charging detection command for the vehicle, the remaining battery power of the vehicle is obtained; Based on the remaining battery power, select the target module to which the charging path should be connected from the vehicle's battery module and discharge load module; The system controls the connection of the charging path to the selected target module, so that the vehicle's charging module charges the target module via the charging path. as well as Based on the charging data collected from the target module, a charging test result for the vehicle is determined, and the charging test result indicates whether the vehicle's charging function is normal.
2. The method of claim 1, wherein selecting the target module to which the charging path is to be connected from the vehicle's battery module and discharge load module comprises: In response to the fact that the remaining battery power is not lower than the power threshold, the discharge load module is selected as the target module; as well as In response to the battery's remaining power being lower than the power threshold, the battery module is selected as the target module.
3. The method according to claim 1, wherein determining the charging detection result includes: Based on the real-time first charging voltage and first charging current collected from the target module, the first real-time charging power of the charging path is determined. as well as The charging detection result is determined based at least on the first real-time charging power.
4. The method according to claim 1, wherein determining the result of the charging detection further includes: The second charging current and the second charging voltage are acquired periodically from the target module at specified time intervals. Based on the second charging current and the second charging voltage, the cumulative charging amount in the cycle is determined; as well as The charging detection result is determined based at least on the cumulative charging amount.
5. The method according to claim 1, further comprising: In response to the target module being the vehicle's battery module, the battery charge change data of the vehicle is acquired during the process of the charging path being connected to the target module; as well as Based on the battery power change data and the charging data, the abnormal power consumption detection result of the vehicle's battery is determined.
6. The method of claim 1, wherein the battery of the target object comprises a solar-powered battery.
7. A charging and discharging system, comprising: The battery power detection module is configured to detect the remaining battery power of the vehicle in response to a charging detection command for the vehicle. The charging and discharging control module is configured to output a binary selection command based on the remaining battery power, for controlling the connection between the vehicle's battery module or discharge load module and the charging path. The first value of the binarization selection instruction is configured to indicate that the switch is connected, and the second value of the binarization selection instruction is configured to indicate that the switch is disconnected; The battery module is configured to be connected to the vehicle's charging module via a first switch, the first switch being controlled to be connected or disconnected by the binarized selection command; The discharge load module is configured to be connected to the vehicle's charging module via a second switch, which is controlled to be connected or disconnected by the binarized selection command. as well as The detection module is configured to determine the charging detection result based on the charging data collected from the target module, and the charging detection result indicates whether the charging function is normal.
8. The system according to claim 7 further includes an inverting switch module, wherein the input terminal of the inverting switch module is connected to the charge / discharge control module, and the output terminal of the inverting switch module is connected to one of the first switch or the second switch, wherein the inverting switch module is configured to perform inversion processing on the binarized selection instruction to control the first switch and the second switch to perform opposite connection or disconnection actions.
9. A charging detection device, comprising: The battery remaining power acquisition module is configured to acquire the remaining battery power of the vehicle in response to a charging detection command for the vehicle. The selection module is configured to select a target module from the vehicle's battery modules and discharge load modules to connect to for the charging path, based on the remaining battery power. A connection module is configured to control the connection of the charging path to a selected target module, so that the vehicle's charging module charges the target module via the charging path; as well as The detection module is configured to determine a charging detection result for the vehicle based on charging data collected from the target module, the charging detection result indicating whether the vehicle's charging function is normal.
10. An electronic device, comprising: At least one processing unit; as well as At least one memory, coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, which, when executed by the at least one processing unit, cause the electronic device to perform the method according to any one of claims 1 to 6.
11. A computer-readable storage medium having a computer program stored thereon, the computer program being executable by a processor to implement the method according to any one of claims 1 to 6.
12. A computer program product comprising computer-executable instructions that, when executed by a processor, implement the method of any one of claims 1 to 6.