Vehicle charging control method, electronic equipment and vehicle
By obtaining vehicle status information to determine the charging port connection status and selecting the optimal charging mode, the problem of charging interruption when both charging guns are plugged in is solved, achieving greater charging flexibility and user experience.
Patent Information
- Application Number
- CN202511885717.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-15
- Publication Date
- 2026-03-03
AI Technical Summary
In the existing technology, when the DC charging port and AC charging port of a vehicle are plugged in at the same time, the vehicle cannot recognize the charging mode, resulting in interruption or failure to charge, which limits the flexibility of charging.
By acquiring vehicle status information, the connection status of each charging port is determined, and when multiple charging ports are successfully connected, the optimal charging mode is determined and the target charging mode is selected to charge the vehicle, avoiding charging being prohibited due to dual-gun insertion.
This improves the flexibility of vehicle charging, avoids charging interruptions caused by dual-gun insertion, and enhances the user experience.
Smart Images

Figure CN121590331A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle charging technology, and in particular to a vehicle charging control method, electronic device and vehicle. Background Technology
[0002] With the increasing popularity of new energy vehicles, charging technology has become a crucial factor affecting the user experience. As charging infrastructure continues to improve, vehicle charging methods have diversified, primarily including alternating current (AC) charging and direct current (DC) charging. Currently, when both the DC and AC charging ports are plugged into the charging gun simultaneously, the vehicle cannot recognize the charging mode, leading to charging interruptions or failures, thus limiting charging flexibility. Summary of the Invention
[0003] In view of this, the purpose of this application is to provide a vehicle charging control method, electronic device and vehicle to solve the technical problem that the vehicle cannot be charged when both charging guns are inserted at the same time in the prior art.
[0004] To achieve the above objectives, this application provides a vehicle charging control method, comprising: Obtain vehicle status information; Based on the vehicle status information, determine the connection status of each charging port of the vehicle; Determine the number of charging ports that are successfully connected. In response to the number being greater than or equal to two, the target charging mode of the vehicle is determined based on the vehicle status information; The vehicle is charged according to the target charging mode.
[0005] Optionally, charging the vehicle according to the target charging mode includes: Determine the charging status of the vehicle; In response to the vehicle being in a non-charging state, the vehicle is controlled to charge according to the target charging mode; In response to the vehicle charging status being charging, determine whether the vehicle's current charging mode is the target charging mode; In response to the fact that the current charging mode is not the target charging mode, the current charging mode is adjusted to the target charging mode.
[0006] Optionally, the vehicle status information includes a charging guidance signal corresponding to the charging port; Determining the connection status of each charging port of the vehicle based on the vehicle status information includes: In response to the charging guidance signal corresponding to the charging port satisfying the preset charging gun connection conditions, the connection status of the charging port is determined to be successful. If the charging guidance signal corresponding to the charging port does not meet the preset charging gun connection conditions, the connection status of the charging port is determined to be a connection failure.
[0007] Optionally, the charging mode includes an AC charging mode and a DC charging mode; Determining the target charging mode of the vehicle based on the vehicle status information includes: Based on the vehicle status information, determine whether the vehicle meets the emergency charging conditions; In response to the vehicle meeting the emergency charging conditions, the target charging mode of the vehicle is determined to be DC charging mode. In response to the vehicle not meeting the emergency charging scenario, the connection order of each charging port with a successful connection status is determined based on the vehicle status information. The charging mode corresponding to the first connected charging port in the connection sequence is taken as the target charging mode.
[0008] Optionally, the vehicle status information includes vehicle location information, vehicle identification number, and remaining battery power. The step of determining whether the vehicle meets the emergency charging conditions based on the vehicle status information includes: Based on the vehicle location information, the scene information of the vehicle is determined; The vehicle type is determined based on the vehicle identification number; The remaining charging time of the vehicle is determined based on the remaining charge of the power battery. The allowable charging time for the vehicle is determined based on the current time and the preset vehicle usage time. In response to the fact that the vehicle's current scenario information is one of multiple preset scenario information, the vehicle type is a preset vehicle type, or the vehicle's remaining charging time is greater than the vehicle's allowed charging time, it is determined that the vehicle meets the emergency charging conditions.
[0009] Optionally, the vehicle status information includes a charging guidance signal corresponding to the charging port; The step of determining the connection order of each charging port with a successful connection status based on the vehicle status information includes: The connection sequence of each charging port is determined based on the timestamp of the charging guidance signal.
[0010] Optionally, after charging the vehicle according to the target charging mode, the method further includes: Generate and display a prompt message indicating that the charging port corresponding to any charging mode other than the target charging mode is closed.
[0011] Optionally, the method further includes: In response to receiving a user-selected charging mode, determine whether the target charging mode is the user-selected charging mode; In response to the fact that the target charging mode is not the charging mode selected by the user, the target charging mode is adjusted to the charging mode selected by the user.
[0012] Based on the same inventive concept, this application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the processor implements the method described above when executing the computer program.
[0013] Based on the same inventive concept, this application also provides a non-transitory computer-readable storage medium that stores computer instructions for causing a computer to perform the method described above.
[0014] Based on the same inventive concept, this application also provides a vehicle including the electronic equipment described above.
[0015] As can be seen from the above, the vehicle charging control method, electronic device, and vehicle provided in this application obtain vehicle status information and determine the connection status of each charging port of the vehicle based on the vehicle status information. When the connection status of each charging port of the vehicle is successful and the number of successfully connected charging ports is greater than or equal to two, it can be determined that the charging gun corresponding to the AC charging mode and the charging gun corresponding to the DC charging mode are both inserted into the corresponding charging port of the vehicle. In order to avoid the situation where the vehicle is prohibited from charging, it is necessary to determine the optimal charging mode of the vehicle based on the vehicle status information, and use the optimal charging mode as the target charging mode. The vehicle is charged according to the target charging mode. That is, after both guns are inserted into the vehicle, the vehicle selects the optimal charging mode between the AC charging mode and the DC charging mode to charge the vehicle, thereby avoiding the problem of the vehicle being prohibited from charging due to the insertion of both guns and improving the flexibility of vehicle charging. Attached Figure Description
[0016] To more clearly illustrate the technical solutions in this application or related technologies, the drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0017] Figure 1This is a schematic flowchart of a vehicle charging control method according to an embodiment of this application; Figure 2 This is a schematic diagram of the vehicle control charging process according to an embodiment of this application; Figure 3 This is a schematic diagram of a vehicle charging control device according to an embodiment of this application; Figure 4 This is a schematic diagram of the hardware structure of an electronic device according to an embodiment of this application. Detailed Implementation
[0018] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with specific embodiments and the accompanying drawings.
[0019] It should be noted that, unless otherwise defined, the technical or scientific terms used in the embodiments of this application should have the ordinary meaning understood by one of ordinary skill in the art to which this application pertains. The terms "first," "second," and similar terms used in the embodiments of this application do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Terms such as "comprising" or "including" mean that the element or object preceding the word encompasses the elements or objects listed after the word and their equivalents, without excluding other elements or objects. Terms such as "connected" or "linked" are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. Terms such as "upper," "lower," "left," and "right" are only used to indicate relative positional relationships; when the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0020] As described in the background technology, AC charging is suitable for long-term charging in homes or offices, while DC charging is suitable for fast charging stations, providing rapid energy replenishment services. Related charging piles already have charging guns that support both AC and DC charging modes. Users may plug both charging guns into the vehicle simultaneously; however, current vehicle charging systems, for safety and efficiency reasons, automatically disable charging and prompt the user to unplug one charging gun when both guns are plugged in simultaneously. This method of disabling charging after both guns are plugged in limits charging flexibility.
[0021] In addition, when the vehicle is charging, users may insert a charging gun with a different charging mode into the vehicle out of curiosity to observe the charging status and the vehicle's response. For safety reasons, the vehicle may terminate the charging process, causing an interruption.
[0022] To address the aforementioned technical problems, this application provides a vehicle charging control method. By acquiring vehicle status information, the connection status of each charging port of the vehicle is determined based on the vehicle status information. When the connection status of each charging port of the vehicle is successful, and the number of successfully connected charging ports is greater than or equal to two, it can be determined that both the charging gun corresponding to the AC charging mode and the charging gun corresponding to the DC charging mode are inserted into the corresponding charging ports of the vehicle. To avoid the vehicle being prohibited from charging, the optimal charging mode of the vehicle needs to be determined based on the vehicle status information. The optimal charging mode is then used as the target charging mode, and the vehicle is charged according to the target charging mode. That is, after both charging guns are inserted into the vehicle, the vehicle selects the optimal charging mode between AC charging mode and DC charging mode to charge the vehicle, thereby avoiding the problem of the vehicle being prohibited from charging due to the insertion of both charging guns and improving the flexibility of vehicle charging.
[0023] This application also provides a method to determine whether the vehicle's current charging mode is the target charging mode (i.e., the optimal charging mode) while the vehicle is charging. If it is, charging continues; if not, the current charging mode is replaced with the target charging mode. This avoids the problem of other charging guns being plugged in and causing the vehicle's charging to be interrupted while it is charging.
[0024] The embodiments of this application will be described in detail below with reference to the accompanying drawings.
[0025] like Figure 1 As shown, this application provides a vehicle charging control method, applied to a vehicle control system, comprising the following steps: Step 102: Obtain vehicle status information.
[0026] In this step, the vehicle status information includes the charging guide line signal corresponding to the charging port, vehicle location information, vehicle identification number (VIN), and the remaining charge of the power battery. The charging guide line signal includes a charging connection confirmation signal and a control guidance signal. The charging connection confirmation signal primarily confirms whether the charging gun and the vehicle are physically and reliably connected; the control guidance signal primarily establishes communication between the vehicle and the charging pile, monitors the connection status, and controls the start and stop of charging; the vehicle controller monitors the charging guide line signal. Vehicle location information is obtained through the vehicle's Global Positioning System (GPS), and the vehicle identification number (VIN) is obtained through the vehicle controller. The vehicle controller obtains the remaining charge of the power battery through the battery management system. By acquiring the vehicle status information, it is possible to determine whether the vehicle is connected to multiple charging guns and to control the vehicle's charging based on the vehicle status information.
[0027] Step 104: Determine the connection status of each charging port of the vehicle based on the vehicle status information.
[0028] In this step, based on the above description, the vehicle status information includes charging guide line signals. The connection status of each charging port and its corresponding charging gun can be determined based on the charging guide line information. In this embodiment, two charging ports are used as an example: a first charging port and a second charging port. The first charging port corresponds to AC charging mode, and the second charging port corresponds to DC charging mode. By observing changes in the charging guide line signals, the connection status of each charging port and the charging gun can be determined, and the vehicle's charging can be controlled based on the connection status.
[0029] Step 106: Determine the number of charging ports that are successfully connected.
[0030] In this step, two charging ports are used as an example. The charging ports include a first charging port and a second charging port. The first charging port is connected to the charging gun corresponding to AC charging mode (hereinafter referred to as the AC charging gun), and the second charging port is connected to the charging gun corresponding to DC charging mode (hereinafter referred to as the DC charging gun). The connection status of each charging port can be determined based on the charging guidance signal of each port. For example, the charging guidance signal includes a charging connection confirmation signal and a control guidance signal. When the charging connection confirmation signal is within a preset threshold range and the control guidance signal is less than or equal to the preset threshold, the connection status of the charging port is considered successful. This method is used to determine the connection status of each charging port. When the charging connection confirmation signal is within the preset threshold range, it only indicates that the charging gun has been inserted into the charging port, but the connection is not successful and charging cannot proceed. The connection between the charging gun and the charging port can only be confirmed as successful after the control guidance signal is less than or equal to the preset threshold. Since the control guidance signal value will be infinitely large when the charging gun and the charging port are not connected, and will transmit a signal based on a fixed value when the charging gun and the charging port are successfully connected, the connection status of each charging port can be accurately determined.
[0031] Step 108: In response to the number being greater than or equal to two, determine the target charging mode of the vehicle based on the vehicle status information.
[0032] In this step, based on the example above, when the first charging port is successfully connected to the AC charging gun and the second charging port is successfully connected to the DC charging gun, it indicates that both the DC and AC charging guns of the vehicle have been successfully connected. To address the issue in existing technologies where the vehicle is prohibited from charging after both charging guns are inserted, this step allows the vehicle to select one of the two inserted charging guns for charging. That is, based on the vehicle's status information, the target charging mode is determined, and the vehicle charging is controlled according to this target charging mode.
[0033] Step 110: Charge the vehicle according to the target charging mode.
[0034] In this step, the target charging mode is the optimal charging mode determined based on the vehicle status information. In other words, the target charging mode is determined by combining the vehicle status and usage. Therefore, charging the vehicle using the target charging mode provides users with a better user experience.
[0035] In steps 102-110, by acquiring vehicle status information, the connection status of each charging port of the vehicle is determined based on the vehicle status information. When the connection status of each charging port of the vehicle is successful, and the number of successfully connected charging ports is greater than or equal to two, it can be determined that the charging gun corresponding to the AC charging mode and the charging gun corresponding to the DC charging mode are both inserted into the corresponding charging port of the vehicle. In order to avoid the situation where the vehicle is prohibited from charging, it is necessary to determine the optimal charging mode of the vehicle based on the vehicle status information, and use the optimal charging mode as the target charging mode. The vehicle is charged according to the target charging mode. That is, after both guns are inserted into the vehicle, the vehicle selects the optimal charging mode between the AC charging mode and the DC charging mode to charge the vehicle, thereby avoiding the problem of the vehicle being prohibited from charging due to the insertion of both guns and improving the flexibility of vehicle charging.
[0036] In some embodiments, such as Figure 2 As shown, after the vehicle determines the target charging mode, it has only selected the optimal charging mode but has not yet actually participated in the vehicle's charging control. Before the vehicle performs actual charging control, it is necessary to determine whether it is currently charging and to charge the vehicle according to the target charging mode based on the vehicle's charging status. Specifically, charging the vehicle according to the target charging mode includes the following steps: 202. Determine the charging status of the vehicle; 204. In response to the vehicle's charging status being "not charging", control the vehicle to charge according to the target charging mode; 206. In response to the vehicle charging status being charging, determine whether the current charging mode of the vehicle is the target charging mode; 208. In response to the fact that the current charging mode is not the target charging mode, the current charging mode is adjusted to the target charging mode.
[0037] Specifically, the vehicle's charging status can be determined based on the content displayed on the in-vehicle display screen, such as the message "Charging in progress" and the remaining charging time. Alternatively, the vehicle can be remotely monitored via a mobile app. The charging status can also be determined by obtaining the battery management system's charging status indicator from the vehicle controller. This application can use any of the above methods to determine the vehicle's charging status, and no specific limitation is made. When the vehicle's charging status is determined to be "not charging," it means that the charging gun has only been inserted into the vehicle's charging port, but the vehicle is not actually being charged. Since the vehicle selects the optimal charging mode as the target charging mode after multiple charging guns (this application uses DC and AC charging guns as examples) are inserted, when the vehicle is not charging, it needs to be controlled to charge according to the target charging mode. This solves the problem in the prior art where charging is prohibited after two charging guns are inserted. When the vehicle's charging status is "charging in progress," it means that the vehicle is currently charging, i.e., the vehicle is charging according to a certain charging mode. At this point, it is necessary to determine whether the vehicle's current charging mode is the target charging mode, that is, whether the current charging mode is the optimal charging mode. If the current charging mode is not the target charging mode, then the current charging mode is adjusted to the target charging mode, that is, the current charging mode is adjusted to the optimal charging mode, so that the vehicle can be charged in the optimal charging mode, improving the user experience and increasing the flexibility of vehicle charging.
[0038] In some embodiments, the charging cable signal can indicate the connection status between the vehicle's charging port and the charging gun. When determining the connection status between the vehicle's charging port and the charging gun, the connection status is determined based on the charging guide cable signal. Specifically, this includes: the vehicle status information including a charging guide signal corresponding to the charging port; Determining the connection status of each charging port of the vehicle based on the vehicle status information includes: In response to the charging guidance signal corresponding to the charging port satisfying the preset charging gun connection conditions, the connection status of the charging port is determined to be successful. If the charging guidance signal corresponding to the charging port does not meet the preset charging gun connection conditions, the connection status of the charging port is determined to be a connection failure.
[0039] Specifically, for example, the charging port includes an AC charging port and a DC charging port. The charging guidance signal corresponding to the AC charging port includes a first charging connection confirmation signal and a first control guidance signal, and the DC charging port includes a second charging connection confirmation signal and a second control guidance signal. Responding to the charging guide line corresponding to the charging port meeting preset charging gun connection conditions includes: determining that the charging guide line corresponding to the AC charging port meets preset charging gun connection conditions if the first charging connection confirmation signal is within a preset threshold range and the first control guidance signal is less than or equal to a preset threshold; and determining that the charging guide line corresponding to the DC charging port meets preset charging gun connection conditions if the second charging connection confirmation signal is within a preset threshold range and the second control guidance signal is less than or equal to a preset threshold. Wherein, the charging connection confirmation signal is a CC signal, and the control guidance signal is a CP signal. The response to the charging guide line corresponding to the charging port not meeting the preset charging gun connection conditions includes: responding to the first charging connection confirmation signal exceeding a preset threshold range and the first control guidance signal exceeding a preset threshold, determining that the charging guide line corresponding to the AC charging port meets the preset charging gun connection conditions; responding to the second charging connection confirmation signal exceeding a preset threshold range and the second control guidance signal exceeding a preset threshold, determining that the charging guide line corresponding to the DC charging port does not meet the preset charging gun connection conditions. The charging gun's connection to the vehicle's charging port can be accurately determined based on the CC and CP signals. The CC signal function is primarily for physical connection confirmation. By detecting the resistance value between the CC pin and ground, the vehicle control unit can determine whether the charging gun has been physically connected to the vehicle socket. The judgment logic is as follows: when the charging gun is not inserted, the CC circuit is open, and the detected resistance value is infinite or extremely high. When the charging gun is inserted and locked, a specific resistor (such as RC or RD) inside the charging gun is connected to the circuit. The vehicle control unit detects a specific resistance value (for example, according to GB / T 18487.1 standard, different current-level charging guns correspond to different RC values), thus confirming that the physical connection has been established. The function of the CP signal: mainly used for communication and control guidance. It is a PWM (Pulse Width Modulation) signal generated by the power supply equipment (such as the charging pile). The vehicle detects the voltage, frequency, and duty cycle of the CP signal to confirm that the power supply equipment is ready. The preset threshold range used to determine whether the first charging connection confirmation signal is normal is determined according to the current level of the charging gun. Different current-level charging guns correspond to different resistance values. That is, when the first charging connection confirmation signal has a resistance value that conforms to the standard, the first charging connection confirmation signal is considered normal. The preset threshold used to determine whether the control signal is normal is determined according to the PWM signal, that is, the preset threshold can be a square wave of ±12V. AC charging gun insertion judgment process: Step 1 (Physical connection detection): The vehicle control unit continuously monitors the level or resistance value of the CC pin.When the CC pin changes from a high-resistance state to a specific resistance value within the standard range (indicating the charger is inserted correctly), the "AC charger connection pending confirmation" state is triggered. Step 2 (Signal Activation Detection): Based on the valid CC signal connection, the vehicle control unit simultaneously monitors the CP signal line. If a standard PWM signal (such as a ±12V square wave) is detected on the CP line, and its frequency and duty cycle are within the valid range, this indicates that the AC charging station is powered on and ready. Step 3 (Status Confirmation): When both the "CC signal connection valid" and "CP signal valid" conditions are met simultaneously, the vehicle control unit finally determines that "the AC charging gun has been successfully inserted and is ready," then records the event and prepares to start the AC charging process. DC Charging Gun Insertion Judgment Process: Key Difference: The internal structure of the DC charging gun plug is more complex, with multiple auxiliary contacts (such as S+, S-), and communicates via the CAN bus. Its CC detection circuit is different from that of the AC gun. Judgment Logic: The vehicle control unit will detect a different CC resistance value than the AC gun, or confirm the connection through a dedicated DC charging CC detection circuit. More importantly, the "ready" status of DC charging is primarily confirmed through CAN bus communication. Only when the vehicle establishes CAN communication with the DC charging station and receives a "station ready" status message from the station is the DC charging gun finally confirmed as successfully inserted. Therefore, for DC charging, "valid CC signal connection" + "CAN communication established and ready message received" are the necessary and sufficient conditions for determining insertion.
[0040] In some embodiments, when selecting the optimal charging mode, the vehicle needs to consider whether it has an urgent need for use, i.e., whether it meets the emergency charging conditions. If the emergency charging conditions are met and fast charging is required, the DC charging mode will be selected. If the emergency charging conditions are not met, any charging mode can be selected. Specifically, the charging modes include AC charging mode and DC charging mode. Determining the target charging mode of the vehicle based on the vehicle status information includes: Based on the vehicle status information, determine whether the vehicle meets the emergency charging conditions; In response to the vehicle meeting the emergency charging conditions, the target charging mode of the vehicle is determined to be DC charging mode. In response to the vehicle not meeting the emergency charging scenario, the connection order of each charging port with a successful connection status is determined based on the vehicle status information. The charging mode corresponding to the first connected charging port in the connection sequence is taken as the target charging mode.
[0041] Specifically, vehicle status information includes vehicle location information, vehicle identification number (VIN), and remaining battery power. This information is used to determine if the vehicle meets emergency charging conditions. For example, in an emergency charging scenario, the vehicle location information might indicate an emergency vehicle type, and the remaining battery power might be insufficient, requiring emergency charging. If the vehicle meets emergency charging conditions, the target charging mode is determined to be DC charging mode. This means the vehicle is in an emergency charging situation and requires fast charging. Therefore, setting the target charging mode to DC charging improves user experience. If the vehicle does not meet emergency charging conditions, it means emergency charging is not needed, and a first-in-first-out (FIFO) charging strategy can be implemented. This strategy can be understood as controlling the charging mode corresponding to the first charging gun inserted, preventing the use of later inserted charging guns. In other words, based on the vehicle status information, the connection order of each charging port that is successfully connected is determined, and the vehicle charging mode is determined according to the connection order of each charging port. That is, the charging mode corresponding to the first charging port connected in the connection order is taken as the target charging mode. In this way, when the vehicle is not in urgent use, the first-in-first-out charging strategy can be implemented to improve the flexibility of vehicle charging.
[0042] In some embodiments, when determining whether a vehicle meets the emergency charging conditions, the vehicle's current scenario and usage can be considered to determine whether the vehicle has an emergency charging need. Specifically, the vehicle status information includes vehicle location information, vehicle identification number (VIN), and remaining battery power. The step of determining whether the vehicle meets the emergency charging conditions based on the vehicle status information includes: Based on the vehicle location information, the scene information of the vehicle is determined; The vehicle type is determined based on the vehicle identification number; The remaining charging time of the vehicle is determined based on the remaining charge of the power battery. The allowable charging time for the vehicle is determined based on the current time and the preset vehicle usage time. In response to the fact that the vehicle's current scenario information is one of multiple preset scenario information, the vehicle type is a preset vehicle type, or the vehicle's remaining charging time is greater than the vehicle's allowed charging time, it is determined that the vehicle meets the emergency charging conditions.
[0043] Specifically, for example, vehicle location information is obtained through the vehicle's GPS, and the vehicle identification number (VIN) is obtained through the vehicle controller; the vehicle controller obtains the remaining battery power through the battery management system. For example, the aforementioned preset scenario information may include scenarios such as highway service areas or airports, indicating a travel situation. It may also include scenarios where the vehicle is en route. The vehicle type is an operational vehicle, which is a vehicle used to provide transportation services and generate economic benefits through operational activities. For example, operational vehicles include: ride-hailing / taxi vehicles, logistics vehicles, rental cars, public transportation vehicles, and industry-specific vehicles (sanitation vehicles, electric patrol vehicles, emergency rescue vehicles, etc.).
[0044] Determining the vehicle's location scenario based on vehicle location information includes: locating the vehicle's position using GPS location information combined with a map, and then determining the scenario in which that location information is located. Determining the vehicle's scenario based on vehicle location information means that by obtaining the vehicle's GPS location and combining it with map information, the vehicle's location can be determined. For example, if the vehicle is in a highway service area, then determining that the vehicle's scenario is a highway service area scenario, meaning that the vehicle's scenario is one of several preset scenario information, allows us to determine that the vehicle meets the emergency charging conditions and needs emergency charging.
[0045] The vehicle type is determined based on the Vehicle Identification Code (VIC), including: parsing the VIC to obtain the vehicle type from the parsed configuration file, where the VIC is predefined with the vehicle attribute as either operational or non-operational. The vehicle type can also be determined in the following ways: By obtaining data from the in-vehicle system / platform: For ride-hailing and taxi vehicles, their in-vehicle central control system typically has a specific operational platform app installed. The vehicle's CAN bus or gateway can read the "operational status" heartbeat packets or specific signals emitted by this app. By analyzing user accounts and driving behavior: The system communicates with the cloud server to match the currently logged-in user account with "operational accounts" in the database. Analyzing typical driving behavior data, such as excessively long daily mileage, fixed routes (public transport mode), and frequent stops at transportation hubs like airports / train stations, can serve as supplementary judgment criteria. By obtaining the vehicle's VIN code, it can be determined whether the vehicle is an operational vehicle. For example, if the VIN code identifies the vehicle as a delivery vehicle, then the vehicle has an emergency charging need, and the emergency charging conditions are met.
[0046] The remaining charging time of the vehicle is determined based on the remaining charge of the power battery, including: determining the remaining charging time based on the current charging mode and the remaining charge of the power battery. Specifically, in response to the current charging mode being AC charging, a first remaining charging time is determined based on the AC charging mode and the remaining charge of the power battery; in response to the current charging mode being DC charging, a second remaining charging time is determined based on the DC charging mode and the remaining charge of the power battery. Since the remaining charging time varies depending on the charging mode, it can be obtained from the information displayed on the vehicle's screen or through a mobile charging app. Details are not provided here. When the remaining charging time exceeds the vehicle's allowed charging time, it means that the remaining charging time will not be sufficient to fully charge the vehicle by the time the vehicle is to be used. In this case, the vehicle requires emergency charging. Therefore, by assessing the vehicle's condition, emergency charging is performed when it is needed, meeting the user's needs and improving user satisfaction.
[0047] In some embodiments, the connection order of each charging port can be determined based on the timestamp of the access signal of each charging port. Specifically, the vehicle status information includes a charging guidance signal corresponding to the charging port; determining the connection order of each charging port with a successful connection status based on the vehicle status information includes determining the connection order of each charging port based on the timestamp of the charging guidance signal.
[0048] Specifically, for example, the charging guidance signal includes a charging connection confirmation signal and a control guidance signal. The charging connection confirmation signal is a CC signal, and the control guidance signal is a CP signal. The CC signal is established first: the CC circuit is connected first the instant the charging gun is physically inserted and locked, and the vehicle can detect a valid resistance value. At this time, a "CC valid timestamp T_cc" is generated for this gun. The CP signal is established later: after the CC connection is established, the power supply equipment (charging pile) starts working and sends a CP PWM signal to the vehicle. When the vehicle detects a compliant CP signal, a "CP valid timestamp T_cp" is generated. Judgment logic: for any inserted charging gun, its T_cc is always earlier than its T_cp. The connection order between different charging guns is absolutely determined by comparing the order of their respective T_cc. Taking the CC signal timestamp as an example, the valid timestamp of the CC signal corresponding to the first inserted charging gun is usually earlier (i.e., less than) the valid timestamp of the CC signal corresponding to the later inserted charging gun. Therefore, when the timestamp of the CC signal of the AC charging port is greater than the timestamp of the CC signal of the DC charging port, the connection order of the AC charging port is determined to be first. When the timestamp of the CC signal at the DC charging port is greater than that at the AC charging port, the DC charging port is determined to be the first in the connection sequence. The timestamp represents the insertion time of the charging port into the charging gun; by determining the specific time the charging port is inserted, the connection sequence can be accurately determined. This ensures the vehicle charges according to the charging mode corresponding to the first charging port into which the charging gun is inserted, improving charging flexibility.
[0049] Exemplarily, there is a signal monitoring module with high-precision timing in the vehicle, and independent signal monitoring channels are set up for the alternating current (AC) charging port and the direct current (DC) charging port. AC channel: Continuously monitor the AC_CC and AC_CP signals. DC channel: Continuously monitor the DC_CC signal and make a collaborative judgment with the DC_CAN communication status. Record using millisecond-level timestamps: There is a high-precision timer built into the vehicle (for example, the clock sourced from the vehicle MCU). When the CC signal of any channel changes from invalid (high impedance) to valid (detecting the standard resistance value), immediately record the current time as T_cc_ac or T_cc_dc. When the CP signal of the AC channel changes from invalid (no PWM) to valid (detecting the standard PWM), record T_cp_ac. When the DC channel establishes CAN communication with the charging pile and receives the first "ready" message, record T_can_dc. Sequential decision logic: After the system collects the T_cc of both channels, execute a simple comparison logic: If T_cc_ac < T_cc_dc, it is determined that the AC charging gun is connected before the DC charging gun. If T_cc_dc < T_cc_ac, it is determined that the DC charging gun is connected before the AC charging gun. This judgment result is used as the final basis for the "first come, first served" policy and is written into the memory for subsequent control.
[0050] In some embodiments, after the vehicle charges according to the target charging mode, it can also prompt the user to unplug the charging gun corresponding to the charging port other than the target charging mode, so information can be prompted to the user. Specifically, after charging the vehicle according to the target charging mode, it further includes: generating and displaying a prompt message to close the charging ports corresponding to other charging modes except the target charging mode.
[0051] Specifically, after the vehicle has started charging according to the target charging mode, to avoid affecting the current charging mode, the user can be prompted to unplug the other charging gun. This can be indicated visually via the instrument panel or the in-vehicle central control screen. Example interface content: Main warning area / status bar: Displays a clear yellow exclamation mark or a charging gun cross icon. Central information area: Icon: Displays an animated icon of the main charging gun (e.g., AC gun), with a red "×" on the icon of the secondary charging gun (e.g., DC gun) next to it. Title: "Extra charging gun detected" Body: "The vehicle is charging via the AC charging gun. To ensure charging safety and efficiency, please unplug the DC charging gun." Graphical illustration: A simple diagram shows the vehicle's two charging ports; the AC port in use is displayed in green and labeled "Charging," while the idle DC port is displayed in yellow and labeled "Please unplug." Status prompt: "Current charging status: AC charging - Estimated full charge time: 02:15." Voice prompts can also be used, such as a short, clear "beep" or a specific prompt sound effect emitted through the in-vehicle audio system. The tone should be set to a prompt rather than an alarm to avoid causing user panic. It should typically trigger only once upon the first detection of a second charging gun being inserted, avoiding continuous noise interference. Haptic prompts (which can also be linked to a mobile app) can also be used: if the user is using the vehicle's corresponding mobile app, a notification will be pushed to the app, triggering a short vibration on the phone. App notification content: Title: "Your vehicle is charging"; Content: "An idle DC charging gun has been detected inserted. This will not affect the current AC charging. We recommend you unplug it." To further enhance the experience, this solution also includes intelligent management logic for the prompts: Duration: The full visual prompt interface will be displayed for 30 seconds. After that, if there is no user interaction, it will collapse into a status bar icon, which the user can click at any time to view details. User Interaction: The prompt interface can provide a virtual "OK" button, which the user can click to actively close the main prompt interface. Condition Disappearance: Once the system detects that an idle charging gun has been unplugged, all related prompts (including the status bar icon) will immediately disappear.
[0052] In some embodiments, during vehicle charging, users can switch charging modes via a mobile app. When a user initiates a charging mode via the app, the vehicle charges according to the charging mode initiated by the user. Specifically, in response to receiving the charging mode selected by the user, it is determined whether the target charging mode is the charging mode selected by the user; in response to the target charging mode not being the charging mode selected by the user, the target charging mode is adjusted to the charging mode selected by the user.
[0053] Specifically, when a user selects a charging mode via a mobile app, the vehicle controller receives the selected mode and determines whether it is the target charging mode. If the selected mode is the target mode, the vehicle continues charging, ignoring the selected mode, and may also notify the user that the current charging mode is the selected mode. If the selected mode is not the target mode, the vehicle adjusts its charging mode accordingly, thus improving charging flexibility and enhancing the user experience.
[0054] Scenario Setting: A private car (non-commercial vehicle) is parked in a residential parking garage (home charging station). The user first plugs in the DC charging gun, hoping for a quick charge. Then, remembering that electricity prices are lower at night, the user also plugs in the AC charging gun and manually selects "AC charging mode" via the central control screen. System Interaction and Decision-Making Process: The system intelligently recognizes and records the user's selection. System Behavior: The system detects the insertion of both charging guns. Analysis through the intelligent scene recognition module: The vehicle is located in a residential parking garage (not on a highway / airport), the vehicle type is a private car, and there is no urgent time pressure. Therefore, the system's "target charging mode" follows the "first-come, first-served" principle, prioritizing DC charging. User Behavior: The user actively selects "AC charging mode" on the charging management interface of the central control screen. The system records this operation as the "user-selected charging mode." Conflict Detection and Negotiation Process Initiation: The system executes the judgment logic: Target charging mode (DC) = user-selected charging mode (AC). If the condition is met, the system immediately triggers the "dynamic negotiation process." System Prompt (Multimodal Output): Visual Prompt (Central Control Screen): A non-blocking dialog box pops up on the interface, with the background maintaining the current state. Title: "Charging Mode Selection Conflict"; Body: "The system has detected that you have manually selected 'AC charging'. However, according to the 'first-come, first-served' rule, the system is ready to start 'DC charging'. If you switch to AC charging, the estimated full charge time is: 06:30 tomorrow morning (making full use of off-peak electricity). If you continue DC charging, the estimated full charge time is: 22:45 tonight. Are you sure you want to switch to AC charging?" Buttons: [Confirm Switch] and [Cancel, Use DC Fast Charging] Auditory Prompt: Accompanied by a gentle prompt tone. User Secondary Confirmation and System Permission Check: User Action: The user clicked the [Confirm Switch] button, performing secondary confirmation, indicating a strong intention. System Background Check: Before executing the switch, the system will not act immediately, but will first perform a round of safety and condition checks: Charging Status Check: Checks whether DC charging has been started. If it has not been started, direct switching is allowed. Battery Status Check: Checks whether the battery temperature and SOC are within the acceptable range for both AC and DC charging. Hardware Status Check: Checks whether the AC charging circuit and CP signal are normal and effective. Pattern Execution and Learning: System Execution: The system controls the relevant relays, ignoring the previously inserted DC charging gun and initiating the AC charging process instead. Simultaneously, the interface updates to the AC charging status screen, displaying "Charging AC according to your selection." System Learning: The system records this event ("At home, the user forcibly switches from DC to AC") in the user preference log. In subsequent machine learning, the recommendation weight for AC charging may be appropriately increased in similar future scenarios (at home, at night).Alternative Scenarios and Boundary Condition Handling: Scenario 1: User Selection Rejected by the System: Situation: When selecting a charging mode, the user insists on using a mode that is currently unavailable or unsafe (e.g., when the battery temperature is extremely low, the user forcibly selects a slow AC mode, while the system recommends DC preheating). System Behavior: During the permission check phase, the system will detect that the mode is unavailable. At this time, the system will not perform a switch, but will provide a clear failure reason: "Unable to switch to the charging mode you selected. Reason: The current battery temperature is too low, this mode cannot be started, and the system has started DC charging to preheat the battery." Scenario 2: Mode Switching Request During Charging, with the following situation: The system is performing DC fast charging, and the user plugs in an AC charger and selects AC mode. System Behavior: The system will prompt: "Currently performing DC fast charging, it is impossible to directly switch to AC charging. If you need to switch, please end the current charging session first." This ensures the stability and safety of the charging process, avoiding hot-plugging and violent power fluctuations. The above embodiments achieve a balance between "automation" and "user sovereignty": This mechanism breaks away from the traditional "one-size-fits-all" automation strategy of control systems and creatively introduces the concept of "negotiated automation." The system provides the optimal solution but returns the final decision-making power to the user with full knowledge, greatly enhancing the user's sense of control and satisfaction. A complete "intent-evaluation-execution" technical closed loop is constructed: This solution is not just a simple judgment statement, but a complete technical chain including conflict detection, transparent information prompts, safety redundancy checks, and continuous self-learning. Each link reflects the meticulousness and non-obviousness of the invention. The system's trustworthiness and intelligent experience are enhanced: By explaining the reasons for the system's recommendations (such as efficiency and cost) and providing quantitative comparisons (differences in charging time and electricity costs), the system is no longer a black box but a "charging advisor" for the user. This transparent interaction greatly enhances the user's trust in the intelligent system. A data foundation for personalized services is provided: By recording the user's final choice, the system can build personalized charging preference models for different users (e.g., user A who prioritizes efficiency and user B who prioritizes cost), laying a data foundation for achieving deeper intelligent and personalized services.
[0055] It should be noted that the method in this embodiment can be executed by a single device, such as a computer or server. The method can also be applied in a distributed scenario, where multiple devices cooperate to complete the task. In such a distributed scenario, one of these devices may execute only one or more steps of the method in this embodiment, and the multiple devices will interact with each other to complete the method described.
[0056] It should be noted that the above description describes some embodiments of this application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in a different order than that shown in the above embodiments and still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require a specific or sequential order to achieve the desired result. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0057] Based on the same inventive concept, corresponding to any of the above embodiments, this application also provides a charging control device.
[0058] refer to Figure 3 The charging control device includes: The acquisition module 302 is configured to acquire vehicle status information; The first determining module 304 is configured to determine the connection status of each charging port of the vehicle based on the vehicle status information. The second determining module 306 is configured to determine the number of charging ports whose connection status is successfully connected. The third determining module 308 is configured to determine the target charging mode of the vehicle based on the vehicle status information in response to the number of charging ports whose connection status is determined to be successful being greater than or equal to two. The charging module 310 is configured to charge the vehicle according to the target charging mode.
[0059] In some embodiments, the charging module 310 is further configured to charge the vehicle according to the target charging mode, including: determining the charging state of the vehicle; controlling the vehicle to charge according to the target charging mode in response to the vehicle charging state being not charging; determining whether the current charging mode of the vehicle is the target charging mode in response to the vehicle charging state being charging; and adjusting the current charging mode to the target charging mode in response to the current charging mode not being the target charging mode.
[0060] In some embodiments, the first determining module 304 is further configured such that the vehicle status information includes a charging guidance signal corresponding to the charging port; determining the connection status of each charging port of the vehicle based on the vehicle status information includes: determining the connection status of the charging port as successful in response to the charging guidance signal corresponding to the charging port meeting a preset charging gun connection condition; and determining the connection status of the charging port as failed in response to the charging guidance signal corresponding to the charging port not meeting the preset charging gun connection condition.
[0061] In some embodiments, the third determining module 308 is further configured such that the charging mode includes an AC charging mode and a DC charging mode; determining the target charging mode of the vehicle based on the vehicle status information includes: determining whether the vehicle meets the emergency charging conditions based on the vehicle status information; in response to the vehicle meeting the emergency charging conditions, determining the target charging mode of the vehicle as a DC charging mode; in response to the vehicle not meeting the emergency charging conditions, determining the connection order of each charging port with a successful connection status based on the vehicle status information; and taking the charging mode corresponding to the first connected charging port in the connection order as the target charging mode.
[0062] In some embodiments, the second determining module 304 is further configured such that the vehicle status information includes vehicle location information, vehicle identification code, and remaining battery power; determining whether the vehicle meets the emergency charging conditions based on the vehicle status information includes: determining the scene information of the vehicle based on the vehicle location information; determining the vehicle type based on the vehicle identification code; determining the remaining charging time of the vehicle based on the remaining battery power; determining the allowed charging time of the vehicle based on the current time and a preset vehicle usage time; and determining that the vehicle meets the emergency charging conditions in response to the vehicle's scene information being one of multiple preset scene information, the vehicle type being a preset vehicle type, or the remaining charging time of the vehicle being greater than the allowed charging time of the vehicle.
[0063] In some embodiments, the third determining module 308 is further configured such that the vehicle status information includes a charging guidance signal corresponding to the charging port; the step of determining the connection order of each charging port with a successful connection status based on the vehicle status information includes: determining the connection order of each charging port based on the timestamp of the charging guidance signal.
[0064] In some embodiments, the apparatus further includes a generation module, which is configured to, after charging the vehicle according to the target charging mode, further include: generating and displaying a prompt message indicating that the charging port corresponding to other charging modes besides the target charging mode is closed.
[0065] In some embodiments, the apparatus further includes an adjustment module configured to, in response to receiving a user-selected charging mode, determine whether the target charging mode is the user-selected charging mode; and, in response to the target charging mode not being the user-selected charging mode, adjust the target charging mode to the user-selected charging mode.
[0066] For ease of description, the above devices are described in terms of function, divided into various modules. Of course, in implementing this application, the functions of each module can be implemented in one or more software and / or hardware.
[0067] The apparatus of the above embodiments is used to implement a corresponding charging control method in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0068] Based on the same inventive concept, corresponding to the methods of any of the above embodiments, this application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement a charging control method as described in any of the above embodiments.
[0069] Figure 4 This embodiment illustrates a more specific hardware structure of an electronic device. The device may include a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, memory 1020, input / output interface 1030, and communication interface 1040 are interconnected internally via the bus 1050.
[0070] The processor 1010 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.
[0071] The memory 1020 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program code is stored in the memory 1020 and is called and executed by the processor 1010.
[0072] The input / output interface 1030 is used to connect input / output modules to realize information input and output. Input / output modules can be configured as components within the device (not shown in the figure) or externally connected to the device to provide corresponding functions. Input devices may include keyboards, mice, touchscreens, microphones, various sensors, etc., while output devices may include displays, speakers, vibrators, indicator lights, etc.
[0073] The communication interface 1040 is used to connect a communication module (not shown in the figure) to enable communication between this device and other devices. The communication module can communicate via wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).
[0074] Bus 1050 includes a pathway for transmitting information between various components of the device, such as processor 1010, memory 1020, input / output interface 1030, and communication interface 1040.
[0075] It should be noted that although the above-described device only shows the processor 1010, memory 1020, input / output interface 1030, communication interface 1040, and bus 1050, in specific implementations, the device may also include other components necessary for normal operation. Furthermore, those skilled in the art will understand that the above-described device may only include the components necessary for implementing the embodiments of this specification, and not necessarily all the components shown in the figures.
[0076] The electronic devices described above are used to implement a corresponding charging control method in any of the foregoing embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0077] Based on the same inventive concept, corresponding to the methods of any of the above embodiments, this application also provides a non-transitory computer-readable storage medium that stores computer instructions for causing the computer to execute a charging control method as described in any of the above embodiments.
[0078] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transfer medium that can be used to store information accessible by a computing device.
[0079] The computer instructions stored in the storage medium of the above embodiments are used to cause the computer to execute a charging control method as described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0080] Based on the same inventive concept, corresponding to the electronic devices in any of the above embodiments, this application also provides a vehicle, which includes the above-described electronic devices.
[0081] Specifically, by acquiring vehicle status information, the connection status of each charging port is determined. When the connection status of each charging port is successful, and the number of successfully connected charging ports is greater than or equal to two, it can be determined that the charging guns corresponding to both AC charging mode and DC charging mode are inserted into the corresponding charging ports of the vehicle. To avoid the vehicle being unable to charge, the optimal charging mode of the vehicle needs to be determined based on the vehicle status information. The optimal charging mode is then used as the target charging mode, and the vehicle is charged according to the target charging mode. That is, after both charging guns are inserted into the vehicle, the vehicle selects the optimal charging mode between AC charging mode and DC charging mode to charge the vehicle, thereby avoiding the problem of the vehicle being unable to charge due to the insertion of both charging guns and improving the flexibility of vehicle charging.
[0082] It is understood that before using the technical solutions of the various embodiments in this application, users will be informed of the type, scope of use, and usage scenarios of the personal information involved in an appropriate manner, and user authorization will be obtained.
[0083] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose, based on the prompt message, whether to provide personal information to the software or hardware such as electronic devices, applications, servers, or storage media performing the operations described in this application.
[0084] As an optional but not limited implementation, in response to a user's active request, sending a prompt message to the user can be done via 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 personal information to the electronic device.
[0085] It is understood that the above notification and user authorization process is merely illustrative and does not limit the implementation of this application. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this application.
[0086] Those skilled in the art should understand that the discussion of any of the above embodiments is merely exemplary and is not intended to imply that the scope of this application is limited to these examples; under the concept of this application, the technical features of the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations of different aspects of the embodiments of this application as described above, which are not provided in detail for the sake of brevity.
[0087] Additionally, to simplify the description and discussion, and to avoid obscuring the embodiments of this application, the well-known power / ground connections to integrated circuit (IC) chips and other components may or may not be shown in the provided drawings. Furthermore, the apparatus may be shown in block diagram form to avoid obscuring the embodiments of this application, and this also takes into account the fact that the details of the implementation of these block diagram apparatuses are highly dependent on the platform on which the embodiments of this application will be implemented (i.e., these details should be fully understood by those skilled in the art). While specific details (e.g., circuits) have been set forth to describe exemplary embodiments of this application, it will be apparent to those skilled in the art that the embodiments of this application can be implemented without these specific details or with variations thereof. Therefore, these descriptions should be considered illustrative rather than restrictive.
[0088] Although this application has been described in conjunction with specific embodiments thereof, many substitutions, modifications, and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may be used with the embodiments discussed.
[0089] Any omissions, modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the embodiments of this application shall be included within the protection scope of this application.
Claims
1. A vehicle charging control method, characterized in that, include: Obtain vehicle status information; Based on the vehicle status information, determine the connection status of each charging port of the vehicle; Determine the number of charging ports that are successfully connected. In response to the number being greater than or equal to two, the target charging mode of the vehicle is determined based on the vehicle status information; The vehicle is charged according to the target charging mode.
2. The method according to claim 1, characterized in that, Charging the vehicle according to the target charging mode includes: Determine the charging status of the vehicle; In response to the vehicle being in a non-charging state, the vehicle is controlled to charge according to the target charging mode; In response to the vehicle charging status being "charging", determine whether the vehicle's current charging mode is the target charging mode; In response to the fact that the current charging mode is not the target charging mode, the current charging mode is adjusted to the target charging mode.
3. The method according to claim 1, characterized in that, The vehicle status information includes a charging guidance signal corresponding to the charging port; Determining the connection status of each charging port of the vehicle based on the vehicle status information includes: In response to the charging guidance signal corresponding to the charging port satisfying the preset charging gun connection conditions, the connection status of the charging port is determined to be successful. If the charging guidance signal corresponding to the charging port does not meet the preset charging gun connection conditions, the connection status of the charging port is determined to be a connection failure.
4. The method according to claim 1, characterized in that, The charging modes include AC charging mode and DC charging mode; Determining the target charging mode of the vehicle based on the vehicle status information includes: Based on the vehicle status information, determine whether the vehicle meets the emergency charging conditions; In response to the vehicle meeting the emergency charging conditions, the target charging mode of the vehicle is determined to be DC charging mode. In response to the vehicle not meeting the emergency charging conditions, the connection sequence of each charging port with a successful connection status is determined based on the vehicle status information. The charging mode corresponding to the first connected charging port in the connection sequence is taken as the target charging mode.
5. The method according to claim 4, characterized in that, The vehicle status information includes vehicle location information, vehicle identification number, and remaining battery power. The step of determining whether the vehicle meets the emergency charging conditions based on the vehicle status information includes: Based on the vehicle location information, the scene information of the vehicle is determined; The vehicle type is determined based on the vehicle identification number; The remaining charging time of the vehicle is determined based on the remaining charge of the power battery. The allowable charging time for the vehicle is determined based on the current time and the preset vehicle usage time. In response to the fact that the vehicle's current scenario information is one of multiple preset scenario information, the vehicle type is a preset vehicle type, or the vehicle's remaining charging time is greater than the vehicle's allowed charging time, it is determined that the vehicle meets the emergency charging conditions.
6. The method according to claim 4, characterized in that, The vehicle status information includes a charging guidance signal corresponding to the charging port; The step of determining the connection order of each charging port with a successful connection status based on the vehicle status information includes: The connection sequence of each charging port is determined based on the timestamp of the charging guidance signal.
7. The method according to claim 1, characterized in that, After charging the vehicle according to the target charging mode, the method further includes: Generate and display a prompt message indicating that the charging port corresponding to any charging mode other than the target charging mode is closed.
8. The method according to claim 1, characterized in that, The method further includes: In response to receiving a user-selected charging mode, determine whether the target charging mode is the user-selected charging mode; In response to the fact that the target charging mode is not the charging mode selected by the user, the target charging mode is adjusted to the charging mode selected by the user.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the method as described in any one of claims 1 to 8.
10. A vehicle, characterized in that, Includes the electronic device as described in claim 9.