Charge and discharge control method, electronic device, vehicle, storage medium, and program product

By automatically controlling the protective cover to open the matching charging and discharging interface in electric vehicles based on charging and discharging demand signals, the problem of low intelligence caused by manual operation by users is solved, and compatibility between fast charging and discharging and slow charging and discharging is achieved, improving user experience and safety.

CN123129759APending Publication Date: 2026-11-20BYD CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611329449.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-28
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

The current charging and discharging process of electric vehicles requires manual operation by the user. Especially when the charging and discharging compatibility information of multiple charging port covers is inconsistent, it results in low level of intelligence and poor user experience.

Method used

The protective cover opens automatically via a charging/discharging demand signal, exposing the matching charging/discharging interface and achieving compatibility between fast and slow charging/discharging, thus avoiding manual operation.

Benefits of technology

It improves the convenience and automation of charging and discharging electric vehicles, and enhances their safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123129759A_ABST
    Figure CN123129759A_ABST
Patent Text Reader

Abstract

The application discloses a charging and discharging control method, an electronic device, a vehicle, a storage medium and a program product, and applies to the electric vehicle charging and discharging technical field. The method comprises the following steps: according to a charging and discharging demand signal, a target protective cover in multiple protective covers is controlled to be opened, so as to expose a target charging and discharging interface matched with the charging and discharging demand signal, and the charging and discharging demand signal comprises fast charging and discharging information or slow charging and discharging information; the multiple protective covers correspond to multiple charging and discharging interfaces, and the target charging and discharging interface is one of the multiple charging and discharging interfaces. In this way, the corresponding protective cover can be automatically opened according to the charging and discharging demand signal, manual operation is avoided, the use safety is enhanced, and the charging and discharging convenience and the automation degree of the whole intelligent network connected vehicle are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of electric vehicle charging and discharging technology, specifically relating to a charging and discharging control method, electronic device, vehicle, computer-readable storage medium, and computer program product. Background Technology

[0002] The current charging and discharging process for electric vehicles mainly involves the user manually opening the charging / discharging port cover and connecting the charging / discharging connector to the charging / discharging interface. When the charging / discharging compatibility information of multiple charging port covers is inconsistent, the user still needs to manually determine and open the appropriate cover. This results in a low level of automation and a poor user experience. Summary of the Invention

[0003] This application aims to address at least one of the technical problems existing in the prior art. To this end, this application proposes a charging and discharging control method, electronic device, vehicle, computer-readable storage medium, and computer program product, which automatically opens the corresponding matching protective cover according to the charging and discharging demand signal, thereby avoiding manual operation and enhancing the safety of use, and thus improving the overall charging and discharging convenience and automation of intelligent connected vehicles.

[0004] In a first aspect, this application provides a charge-discharge control method, the charge-discharge control method comprising: Based on the charging and discharging demand signal, the target protective cover among multiple protective covers is controlled to open to expose the target charging and discharging interface that matches the charging and discharging demand signal, which includes fast charging and discharging information or slow charging and discharging information; the multiple protective covers cover multiple charging and discharging interfaces respectively, and the target charging and discharging interface is one of the multiple charging and discharging interfaces.

[0005] Secondly, this application provides an electronic device, which includes a memory and a processor; the memory stores a computer program, and the processor executes the above-described charge-discharge control method by calling the computer program stored in the memory.

[0006] Thirdly, this application provides a vehicle that includes multiple charging and discharging interfaces and the aforementioned electronic device; the multiple charging and discharging interfaces are covered by multiple protective covers.

[0007] Fourthly, this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described charging and discharging control method.

[0008] Fifthly, this application provides a computer program product, which includes computer instructions that, when executed by a processor, implement the above-described charging and discharging control method.

[0009] The charging and discharging control method, electronic device, vehicle, computer-readable storage medium, and computer program product provided in this application control the opening of a target protective cover among multiple protective covers according to a charging and discharging demand signal, so as to expose a target charging and discharging interface that matches the charging and discharging demand signal. The charging and discharging demand signal includes fast charging and discharging information or slow charging and discharging information. The multiple protective covers cover multiple charging and discharging interfaces respectively, and the target charging and discharging interface is one of the multiple charging and discharging interfaces.

[0010] In this way, the corresponding protective cover is automatically opened according to the charging and discharging demand signal, so that the vehicle can automatically adapt to two different charging and discharging methods, achieving compatibility with fast charging and discharging modes and slow charging and discharging modes. At the same time, it can avoid manual operation to enhance the safety of use, thereby improving the overall charging and discharging convenience and automation of intelligent connected vehicles.

[0011] Additional aspects and advantages of embodiments of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of embodiments of this application. Attached Figure Description

[0012] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. Wherein: Figure 1 This is an application scenario diagram of the charge and discharge control method provided in some embodiments of this application; Figure 2 These are schematic diagrams of the vehicle structure in application scenarios provided by certain embodiments of this application; Figure 3 This is a first flowchart illustrating the charge / discharge control method provided in certain embodiments of this application; Figure 4 This is a second flowchart illustrating the charge / discharge control method provided in certain embodiments of this application; Figure 5 This is a third flowchart illustrating the charge / discharge control method provided in certain embodiments of this application; Figure 6 This is a schematic diagram of the charging interaction between a vehicle with a robotic arm and a charging pile in a charging and discharging control method provided in some embodiments of this application. Figure 7This is a schematic diagram of the charging interaction between a vehicle and a charging pile with a robotic arm, provided by certain embodiments of the charging and discharging control method of this application. Figure 8 This is a schematic diagram of the charging interaction between a vehicle and a mobile charging robot in a charging and discharging control method provided in some embodiments of this application; Figure 9 This is a schematic diagram of the structure of a charge / discharge control device provided in some embodiments of this application; Figure 10 This is a schematic diagram of the structure of an electronic device provided in some embodiments of this application; Figure 11 This is a schematic diagram of the vehicle structure provided in some embodiments of this application.

[0013] Figure 1 and Figure 2 Explanation of reference numerals in the attached figures: 100 vehicles, 10 vehicle-mounted terminals, 20 batteries; First charging / discharging interface 31, second charging / discharging interface 32; First protective cover 41, second protective cover 42, charge / discharge protection outer cover 43, charging compartment 44; First drive motor 51, second drive motor 52, third drive motor 53, robotic arm 60; The target charging and discharging terminal 110, the charging and discharging connection device 111, the mobile terminal 120, and the cloud 130 are included. Detailed Implementation

[0014] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0015] In the description of this application, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, features defined as "first" or "second" may explicitly or implicitly include one or more features. In the description of this application, "multiple" means two or more, unless otherwise explicitly specified.

[0016] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "installation," "connection," and "joint" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection. They can refer to a mechanical connection or an electrical connection. They can refer to a direct connection or an indirect connection through an intermediate medium, and they can refer to the internal communication between two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances.

[0017] Please see Figure 1 and Figure 2 , Figure 1 This is an application scenario diagram of the charge / discharge control method provided in some embodiments of this application. Figure 2 This is a schematic diagram of the vehicle structure in an application scenario provided by certain embodiments of this application. The application scenario provided by this application includes a vehicle 100 and a target charging / discharging terminal 110. The vehicle 100 includes an on-board terminal 10, a battery 20, multiple charging / discharging interfaces, and multiple protective covers. The multiple protective covers cover the multiple charging / discharging interfaces. Taking an example where the charging / discharging interfaces include a first charging / discharging interface 31 and a second charging / discharging interface 32, and the multiple protective covers include a first protective cover 41 and a second protective cover 42, the charging / discharging control method provided by this application can be executed by the on-board terminal 10.

[0018] The vehicle-mounted terminal 10 is an intelligent device that provides navigation, communication, and safety services through hardware and software collaboration. The vehicle-mounted terminal 10 connects to the battery 20 to obtain specific parameters of the battery 20, thereby determining whether the vehicle 100 is currently low on power. The vehicle-mounted terminal 10 can also communicate with external devices (such as charging piles, mobile terminals, and the cloud) to achieve real-time interaction of information inside and outside the vehicle. The vehicle-mounted terminal 10 may be equipped with a display screen to provide a graphical user interface. The vehicle-mounted terminal 10 can generate corresponding control commands in response to user touch operations on the graphical user interface to control the operating conditions of other components in the vehicle 100. The vehicle-mounted terminal 10 includes a Mobile Data Center (MDC), which serves as an intelligent driving computing platform and can analyze and process the data acquired by the vehicle-mounted terminal 10.

[0019] The battery 20 is a device for storing and releasing electrical energy. The battery 20 provides power for the normal operation of the vehicle 100. Optionally, the battery 20 includes a Battery Management System (BMS), which is directly / communicatingly connected to the vehicle terminal 10. The BMS can monitor parameters such as the total voltage, current, state of charge (SOC), and temperature of the battery 20 in real time, protecting the battery 20 during the charging and discharging process to prevent overcharging, over-discharging, short circuits, high temperatures, and other problems, ensuring the safety of the battery 20. The BMS is also used to transmit the collected battery parameters to the vehicle terminal 10, enabling the vehicle terminal 10 to determine whether to charge or discharge, and to adopt fast or slow charging / discharging methods based on the battery parameters.

[0020] Optionally, the battery 20 may include, but is not limited to, ternary lithium batteries, lithium iron phosphate batteries, lead-acid batteries, lithium titanate batteries, etc., and the embodiments of this application do not limit this.

[0021] The first charging / discharging interface 31 and the second charging / discharging interface 32 are components that connect the external target charging / discharging terminal 110 (charging / discharging connection device 111) to the battery 20, and are used to transmit electrical energy. The first charging / discharging interface 31 and the second charging / discharging interface 32 have different physical forms and are adapted to different charging / discharging powers. Optionally, the charging / discharging power adapted to the first charging / discharging interface 31 is greater than that adapted to the second charging / discharging interface 32. For example, the first charging / discharging interface 31 is adapted to the charging / discharging connection device 111 for external DC fast charging and discharging, and the second charging / discharging interface 32 is adapted to the charging / discharging connection device 111 for external AC slow charging and discharging. In this way, the vehicle 100 can be compatible with both fast charging / discharging mode and slow charging / discharging mode. The charging / discharging connection device 111 may include, but is not limited to, a charging gun.

[0022] The first protective cover 41 is positioned relative to the first charging / discharging interface 31, and the second protective cover 42 is positioned relative to the second charging / discharging interface 32. The first and second protective covers 41 and 42 respectively provide physical protection for their respective charging / discharging interfaces to prevent dust, rainwater, and other foreign objects from entering and damaging the interfaces, and to prevent the interfaces from contacting live components, thus reducing the risk of electric shock. The first protective cover 41 is configured to open or close under the control of the vehicle terminal 10 to cover or expose the first charging / discharging interface 31; the second protective cover 42 is configured to open or close under the control of the vehicle terminal 10 to cover or expose the second charging / discharging interface 32.

[0023] Optionally, both the first protective cover 41 and the second protective cover 42 adopt a fan-shaped structure design. Taking the first protective cover 41 as an example, the body of the first protective cover 41 is fan-shaped and rotates around the internal central axis, thereby covering or exposing the first charging and discharging interface 31.

[0024] Optionally, please refer to Figure 2 The vehicle 100 also includes a charging / discharging protection cover 43 and a charging compartment 44, which together form a receiving space. A first protective cover 41, a second protective cover 42, a first charging / discharging interface 31, and a second charging / discharging interface 32 are all disposed within the receiving space. The charging / discharging protection cover 43 is configured to open or close under the control of the vehicle terminal 10 to cover or expose the first protective cover 41 and the second protective cover 42.

[0025] Optionally, vehicle 100 may include a vision acquisition device, such as a parking camera in a vehicle 100 with Automated Valet Parking (AVP) functionality. The vision acquisition device (such as a parking camera) can acquire images of the charging / discharging connection device 111 configured with the target charging / discharging terminal 110 and transmit them to the vehicle terminal 10, so that the vehicle terminal 10 can analyze the acquired images to determine the appropriate charging / discharging interface.

[0026] Optionally, please refer to Figure 2 The vehicle 100 includes a robotic arm 60, which is connected to the battery 20 to receive power from the battery 20. The robotic arm 60 can be positioned near the charge / discharge protection cover 43 to automatically grasp the charge / discharge connection device 111 of the target charge / discharge terminal 110 under the control of the vehicle terminal 10, and connect or disconnect the grasped charge / discharge connection device 111 from the corresponding charge / discharge interface. The robotic arm 60 may also have a built-in camera to capture images of the charge / discharge connection device 111 configured on the target charge / discharge terminal 110 and transmit them to the vehicle terminal 10 for analysis.

[0027] Optionally, the vehicle 100 also includes a drive motor, which is connected to the battery 20 and the vehicle terminal 10 respectively. The drive motor receives power from the battery 20 and control commands from the vehicle terminal 10 to drive the first protective cover 41, the second protective cover 42, and / or the charge / discharge protection cover 43 to open or close. Optionally, the drive motor may include, but is not limited to, a DC brushed motor, a DC brushless motor, a stepper motor, a micro servo motor, a hybrid stepper motor, etc., and this application embodiment does not limit this.

[0028] Optionally, please refer to Figure 2 The drive motors include a first drive motor 51, a second drive motor 52, and a third drive motor 53. The first drive motor 51 is used to drive the first protective cover 41 to open or close, the second drive motor 52 is used to drive the second protective cover 42 to open or close, and the third drive motor 53 is used to drive the charge and discharge protection outer cover 43 to open or close.

[0029] Please see Figure 1The target charging / discharging terminal 110 is used to provide electrical energy to the vehicle 100. The target charging / discharging terminal 110 includes a charging / discharging connection device 111. The target charging / discharging terminal 110 can convert grid power or stored electrical energy into a form suitable for charging and discharging the battery 20 of the vehicle 100, and transmits the electrical energy through the charging / discharging connection device 111 to charge and discharge the battery 20 in the vehicle 100. The target charging / discharging terminal 110 can also be used to interact with the vehicle 100 regarding charging / discharging protocols, charging / discharging status, and control commands, thereby ensuring the safety of the entire charging / discharging process.

[0030] Optionally, the target charging and discharging terminal 110 may include, but is not limited to: DC charging pile, AC charging pile, AC / DC integrated charging pile, mobile charging and discharging robot, etc., and this application embodiment does not limit it.

[0031] Optionally, the target charging / discharging terminal 110 (such as a DC charging pile, AC charging pile, etc.) may include multiple charging / discharging connection devices 111, such as fast charging / discharging connection devices and slow charging / discharging connection devices, to adapt to different charging / discharging needs of the vehicle 100. The target charging / discharging terminal 110 may also be equipped with a robotic arm 60 to automatically grasp the charging / discharging connection device 111 when the vehicle 100 needs to charge or discharge, and automatically align it with the charging / discharging interface of the vehicle 100 to complete the connection and disconnection operations.

[0032] Optionally, please refer to Figure 1 Application scenarios may also include mobile terminal 120 and / or cloud 130. Mobile terminal 120, cloud 130, vehicle terminal 10, and target charging / discharging terminal 110 communicate and interact with each other. Mobile terminal 120 can serve as the interaction point between the user and vehicle 100; the user can generate corresponding commands through touch or voice interaction on mobile terminal 120 to control vehicle 100 to start or stop charging / discharging. Cloud 130 can serve as a data and command relay platform.

[0033] Optionally, the mobile terminal 120 may include, but is not limited to, smartphones (such as Android phones, iOS phones, etc.), tablets, laptops, desktop computers, portable personal computers, intelligent voice interaction devices, etc.; the cloud 130 may be a server or a parking system. The server may be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms. This application embodiment does not limit this.

[0034] Based on the above description of the relevant scenarios, this application provides a charging and discharging control method, which will be described in detail below. Please refer to... Figure 3 The charging and discharging control method provided in this application embodiment is implemented by step 011, which is described in detail below.

[0035] Step 011: Based on the charging and discharging demand signal, control the target protective cover among the multiple protective covers to open, so as to expose the target charging and discharging interface that matches the charging and discharging demand signal. The multiple protective covers cover multiple charging and discharging interfaces respectively, and the target charging and discharging interface is one of the multiple charging and discharging interfaces.

[0036] The charge / discharge demand signal is used to trigger the vehicle to start the charge / discharge process. The charge / discharge demand signal includes fast charge / discharge information or slow charge / discharge information. Optionally, when the target charge / discharge terminal includes multiple charge / discharge connection devices, the charge / discharge demand signal is used to assist in selecting the corresponding charge / discharge connection device for charging / discharging.

[0037] Taking multiple protective covers, including a first protective cover and a second protective cover, and multiple charging and discharging interfaces, including a first charging and discharging interface and a second charging and discharging interface, as an example, the first protective cover covers the first charging and discharging interface, and the second protective cover covers the second charging and discharging interface.

[0038] Specifically, when the vehicle needs to charge or discharge, the corresponding drive motor is controlled to open the first or second protective cover, thereby exposing the target charging or discharging interface that matches the charging or discharging demand signal. In this way, the matching protective cover is automatically opened according to the charging or discharging demand signal, allowing the vehicle to automatically adapt to two different charging and discharging methods, achieving compatibility with both fast and slow charging and discharging. This also avoids manual operation, enhancing safety and improving the overall convenience and intelligence of charging and discharging for intelligent connected vehicles.

[0039] In one alternative embodiment, the charge / discharge demand signal is generated based on the remaining battery power or in response to a received charge / discharge command, which is generated based on touch or voice interaction of the terminal; and / or, the charge / discharge demand signal is determined according to the interface type of the charge / discharge connection device to be connected, and the target charge / discharge interface matches the interface type.

[0040] The remaining battery capacity refers to the percentage of electrical energy remaining in the battery relative to its total capacity, which can be expressed as the State of Charge (SOC). Charge and discharge commands indicate that the vehicle needs to be charged or discharged.

[0041] It is understandable that when a user is inside the vehicle, they can interact with the in-vehicle terminal's display screen via touch and / or via voice to generate charging / discharging commands. When a user is outside the vehicle, they can interact with a mobile terminal (such as a smartphone) via touch or voice to generate corresponding commands and transmit them to the in-vehicle terminal, which in turn generates the corresponding charging / discharging demand signal.

[0042] For example, when the remaining battery power is below a first preset power threshold (e.g., 20%), a charging / discharging demand signal is actively generated to initiate the vehicle's charging process. When the battery still has some remaining power, the user can determine whether charging is needed based on subsequent usage needs, thereby determining whether to interact with the in-vehicle terminal or mobile terminal to generate charging / discharging commands, and further determining whether to generate a charging / discharging demand signal to initiate the charging / discharging process.

[0043] In this way, the charging and discharging process can be triggered actively when the battery is low, and the charging and discharging process can also be triggered in response to user interaction, which can improve the convenience and intelligence of charging and discharging, thereby improving the user experience.

[0044] It is understood that the interface types of the charging and discharging connection device include interface types adapted to the first charging and discharging interface and interface types adapted to the second charging and discharging interface. The charging and discharging power adapted to the first charging and discharging interface is greater than that adapted to the second charging and discharging interface. For example, the charging and discharging connection device adapted to the first charging and discharging interface is a 9-port high-power DC fast charging and discharging charging gun, while the charging and discharging connection device adapted to the second charging and discharging interface is a 7-port low-power AC slow charging and discharging charging gun.

[0045] In one optional embodiment, the interface type of the charging / discharging connection device to be connected is determined according to the following steps: Acquire images of the charging / discharging connection device to be connected; Based on the image of the charging / discharging connection device to be connected, identify the interface type of the charging / discharging connection device to be connected.

[0046] Specifically, images of the charging / discharging connection device to be connected to the target charging / discharging terminal can be acquired by controlling visual acquisition devices (such as parking cameras, cameras built into robotic arms, cameras near the charging / discharging protection cover, etc.). Then, one or more images of the charging / discharging connection device to be connected are analyzed (e.g., through precise analysis using preset deep learning object detection algorithms) to identify the interface type of the charging / discharging connection device to be connected. Multiple images of the charging / discharging connection device to be connected can be used for cross-validation to improve the accuracy of identification.

[0047] Optionally, the interface type of the charging / discharging connection device to be connected can be obtained by communicating with the target charging / discharging terminal. It can also communicate with the cloud and transmit the vehicle's location information or relevant information of the target charging / discharging terminal (such as the serial number) to the cloud. The cloud determines the target charging / discharging terminal to be used based on the vehicle's location information, determines the interface type of the charging / discharging connection device of the target charging / discharging terminal, and feeds it back to the vehicle terminal.

[0048] In one alternative embodiment, please refer to Figure 4 Before step 011, the charge-discharge control method also includes step 012, which is described in detail below.

[0049] Step 012: In response to the charge / discharge demand signal, control the opening of the charge / discharge protection cover to expose multiple protection covers.

[0050] Specifically, when no charging / discharging demand signal is received, the charging / discharging protection cover remains closed to cover multiple protective covers, preventing dust, rainwater, and other debris from entering the containment space formed by the charging / discharging protection cover and the charging compartment. This provides physical and insulation protection for the multiple protective covers. Upon receiving a charging / discharging demand signal, the corresponding drive motor controls the charging / discharging protection cover to open, exposing the multiple protective covers in the containment space and providing the necessary conditions for subsequently opening the target protective cover. Thus, automatically opening the charging / discharging protection cover based on the charging / discharging demand signal improves automation and enhances the user experience.

[0051] In one alternative embodiment, please continue to refer to Figure 4 The charging and discharging control method also includes steps 013 and 014, which are explained in detail below.

[0052] Step 013: In response to the end of charging / discharging signal, control the target protective cover to close.

[0053] Step 014: With the target protective cover closed, control the charge / discharge protection outer cover to close, so as to cover multiple protective covers.

[0054] The charge / discharge end signal is used to trigger the vehicle to end the charge / discharge process. It is generated based on the remaining battery capacity or in response to a received charge / discharge end command. The charge / discharge end command can be generated based on touch or voice interaction from an in-vehicle terminal or mobile terminal. The specific generation method of the charge / discharge end command is similar to that of the charge / discharge command, and will not be elaborated here to avoid repetition.

[0055] For example, when the remaining battery charge is higher than a second preset charge threshold (e.g., 99% or 100%), a charging end signal is actively generated to stop the charging process and avoid the risk of overcharging. If the battery is not fully charged or the remaining charge is lower than the second preset charge threshold, the user can decide whether to stop charging based on their needs (e.g., to save time). If charging is stopped, the user interacts with the in-vehicle terminal or mobile terminal to generate a charging end command, which in turn generates a charging end signal to terminate the charging process.

[0056] Specifically, upon receiving a signal indicating the end of charging / discharging, the system automatically closes the previously opened target protective cover, ensuring the target charging / discharging interface is promptly sealed after the process, preventing dust, moisture, and other foreign objects from entering and damaging it. After the target protective cover is fully closed, the system also closes the charging / discharging protective outer cover to cover both the first and second protective covers, further protecting them from foreign objects. This enhances the safety and intelligence of the vehicle's charging / discharging process.

[0057] Optionally, the charging and discharging protection cover can be locked after it is closed. This prevents the cover from accidentally popping open while the vehicle is in motion, ensuring waterproof and dustproof performance and improving driving safety and protection reliability.

[0058] In one alternative embodiment, please continue to refer to Figure 4 In applications where vehicles include robotic arms, after step 011 is completed, the charging and discharging control method further includes steps 015 and / or 016, which are explained in detail below.

[0059] Step 015: Control the robotic arm to connect the charging / discharging connection device to the target charging / discharging interface; Step 016: In response to the end-of-charge / discharge signal, control the robotic arm to disconnect the charging / discharge connection device corresponding to the target charging / discharge interface; Specifically, after opening the target protective cover to expose the target charging / discharging interface based on the charging / discharging demand signal, a robotic arm precisely connects the charging / discharging connection device to the target interface for battery charging / discharging. This eliminates the need for manual intervention, preventing wear or damage to the target charging / discharging interface due to improper human operation, thus improving charging / discharging convenience and ensuring user safety. When it is determined that the vehicle needs to stop charging / discharging, in response to the charging / discharging end signal, the robotic arm precisely disconnects the charging / discharging connection device corresponding to the target charging / discharging interface. This enhances the overall automation and safety of the charging / discharging process.

[0060] Optionally, after the charging / discharging connection device is disconnected from the target charging / discharging interface, the target protective cover corresponding to the target charging / discharging interface is closed. By promptly closing the target protective cover to prevent foreign objects from entering the target charging / discharging interface, the risk of electric shock to the user can be reduced.

[0061] Optionally, the target charging and discharging terminal may also include a robotic arm, which can connect the charging and discharging connection device to the target charging and discharging interface and disconnect the charging and discharging connection device corresponding to the target charging and discharging interface.

[0062] Please see Figure 6 Taking a vehicle-mounted robotic arm and a target charging / discharging terminal as an example, and a charging pile consisting of a charging gun (i.e., a charging / discharging connection device) as an example, the specific charging interaction process between the vehicle and the charging pile includes: First, a charging / discharging demand signal is generated based on the battery's remaining power or user interaction. Then, it is determined whether the charging station is within the robotic arm's automatic grasping range to ensure the robotic arm can grasp the corresponding charging gun. If the charging station is not within the robotic arm's automatic grasping range, the vehicle can be moved using its autonomous valet parking function to bring the charging station within the robotic arm's automatic grasping range. Once it is determined that the distance between the robotic arm and the charging station is within the robotic arm's automatic grasping range, the third drive motor is controlled to open the charging / discharging protection cover, and the robotic arm is then controlled to grasp the charging gun.

[0063] Then, the robotic arm or vehicle's vision acquisition device identifies the charging gun's interface type and controls the corresponding drive motor to open the target protective cover to expose the target charging / discharging interface. Simultaneously, the robotic arm grasps the charging gun and moves it near the target charging / discharging interface. If both the target protective cover and the charging gun are not simultaneously open, a preset time (e.g., 1 second, 2 seconds) is waited for further confirmation. After ensuring the target protective cover is open and the charging gun is near the target charging / discharging interface, the charging gun is connected to the target charging / discharging interface to begin charging.

[0064] After confirming that the charging gun has started charging the vehicle's battery, the robotic arm is controlled to reset to avoid collisions caused by its space occupation. A charge / discharge end signal is generated when the battery's remaining charge indicates a full charge or when the user requests to stop charging, confirming the end of charging. The robotic arm is then moved to the vicinity of the target charge / discharge port. Next, the robotic arm grasps the charging gun, removes it from the target charge / discharge port, and places it back into the initial position of the charging station, before resetting. After confirming that the charging gun has completely exited the target charge / discharge port, the corresponding drive motor is controlled to close the target protective cover. Once the target protective cover is closed, a third drive motor is controlled to close the charge / discharge protective outer cover.

[0065] Optionally, in applications where the target charging / discharging terminal is a charging pile (AC / DC integrated charging pile) including two charging guns (such as a fast charging gun and a slow charging gun), a charging / discharging demand signal is generated based on the remaining battery power or user interaction. The generated charging / discharging demand signal may include information on the type of charging / discharging required (such as fast charging / discharging or slow charging / discharging). Then, during the process of the vehicle's robotic arm grasping the charging gun, the robotic arm is controlled to grasp the charging gun (fast charging gun or slow charging gun) corresponding to the charging / discharging demand signal to accurately meet the vehicle's charging / discharging needs.

[0066] In one alternative embodiment, please refer to Figure 5 Step 015 includes: Step 0151: When the distance between the vehicle and the target charging / discharging terminal is less than a preset distance threshold, control the robotic arm to connect the charging / discharging connection device to the target charging / discharging interface. The target charging / discharging terminal refers to the charging / discharging terminal (such as a charging pile) that will charge and discharge the vehicle. Both the target charging / discharging terminal and / or the vehicle can be equipped with a robotic arm and a communication module, and the target charging / discharging terminal can communicate and interact with the vehicle. The preset distance threshold is a value set based on the movable distance of the robotic arm of the target charging / discharging terminal and / or the vehicle.

[0067] Specifically, after identifying the target charging / discharging terminal, the vehicle is parked near it, ensuring the distance between the vehicle and the terminal is less than a preset distance threshold. This guarantees that the target charging / discharging terminal and / or the vehicle's robotic arm can connect the charging / discharging connection device to the vehicle's target charging / discharging interface. Since the vehicle can communicate with the target charging / discharging terminal or the cloud to identify the interface type of the charging / discharging connection device to be connected, the corresponding charging / discharging requirements can then be determined.

[0068] Optionally, the charge / discharge control method further includes: Upon receiving a charge / discharge end signal, a charge / discharge cut-off signal is generated and transmitted to the target charge / discharge terminal to control the robotic arm to disconnect the charge / discharge connection device corresponding to the target charge / discharge interface. After the charging and discharging connection device is disconnected from the target charging and discharging interface, the target protective cover corresponding to the target charging and discharging interface is closed. The target protective cover is either the first protective cover or the second protective cover.

[0069] After determining that the vehicle needs to stop charging and discharging, a charging / discharging cutoff signal is generated based on the charging / discharging end signal and transmitted to the target charging / discharging terminal. The robotic arm is then controlled to precisely disconnect the charging / discharging connection device corresponding to the target charging / discharging interface. The target protective cover is then promptly closed to prevent foreign objects from entering the target charging / discharging interface, reducing the risk of electric shock. After confirming that the target protective cover is completely closed, the robotic arm closes the charging / discharging protective outer cover to protect the first and second protective covers from external foreign objects (such as moisture and dust). This improves the overall automation level and safety of the charging / discharging process.

[0070] Please see Figure 7 Taking the target charging and discharging terminal as a target charging pile (such as an AC / DC integrated charging pile) including two charging guns (i.e., charging and discharging connection devices), and the target charging pile including a robotic arm, as an example of an application scenario where a vehicle is charging, the specific charging interaction process between the vehicle and the target charging pile includes four stages.

[0071] First, the initial charging call and preparation process begins. A charging / discharging demand signal is generated based on the battery's remaining charge or user interaction. This signal may include information about the type of charging required (e.g., fast charging, slow charging). Then, a charging / discharging signal and the vehicle's location information are generated based on the demand signal and transmitted to the cloud. The cloud assigns a target charging station, determines the charging gun to be connected, and sends the target charging station's location to the vehicle. The vehicle then parks at the designated location to ensure the distance between the vehicle and the target charging station is less than a preset distance threshold.

[0072] Then, the second stage of the charging identification and activation process begins. The target charging station can scan and identify the vehicle using a configured visual sensor (such as a camera) or other data acquisition device, determine that the distance between itself and the vehicle is less than a preset distance threshold, and then send a command via wireless communication to cause the vehicle to open the charging and discharging protection cover and the target protection cover. After the vehicle controls the drive motor to open the charging and discharging protection cover and the target protection cover, it sends a signal back to the target charging station indicating that both the charging and discharging protection cover and the target protection cover are open.

[0073] Next, the third stage of the charging docking process begins. The target charging station's vision system precisely locates the target charging / discharging interface, then the robotic arm is controlled to accurately connect the corresponding charging gun into the target charging / discharging interface. The robotic arm is then controlled to return to its initial position on the target charging station. Once the charging gun and the target charging / discharging interface are fully connected, charging of the battery begins.

[0074] Finally, the fourth stage of the charging completion and reset process takes place. The vehicle generates a charge / discharge completion signal based on the remaining battery power or user demand, and then generates a charge / discharge cutoff signal based on this signal, transmitting it to the target charging station. The target charging station, based on the charge / discharge cutoff signal, drives a robotic arm to retract the charging gun from the target charging / discharging interface. After confirming the charging gun has completely retracted, the target charging station generates a corresponding command and sends it to the vehicle, causing the vehicle to automatically close the target protective cover and the charge / discharge protection cover sequentially. The vehicle locks the charge / discharge protection cover after closing it. Then, the vehicle and / or the target charging station report to the cloud that the charging task is complete, awaiting the next vehicle to be charged / discharged.

[0075] In one alternative embodiment, please refer to Figure 5 The charging and discharging control method also includes step 017, which is explained in detail below.

[0076] Step 017: If the target charging / discharging terminal is a mobile device, control the target charging / discharging terminal to move within a preset distance range of the vehicle; The mobile device refers to a device that stores electrical energy and will charge and discharge the vehicle. The mobile device may be equipped with a robotic arm and a communication module, and can communicate and interact with the vehicle through the communication module. The preset distance range is a value set based on the movable target charging / discharging terminal and / or the vehicle's robotic arm.

[0077] Specifically, after the vehicle is parked, its location information is transmitted to the mobile device, causing the mobile device to automatically move within a preset distance range of the vehicle. This ensures that the robotic arm can connect the charging / discharging connection device to the vehicle's target charging / discharging interface. Because the vehicle can communicate with the mobile device or the cloud to identify the interface type of the charging / discharging connection device to be connected, it can then determine the charging / discharging requirement signal.

[0078] Optionally, step 017 includes: transmitting the vehicle's location information to a communication-connected mobile device so that the mobile device moves within a preset distance range of the vehicle; When the target protective cover corresponding to the target charging / discharging interface is opened and the mobile device is within a preset distance range of the vehicle, a charging / discharging signal is generated and transmitted to the mobile device so that the mobile device or the vehicle control robotic arm can connect the charging / discharging connection device to the target charging / discharging interface. The target protective cover is either the first protective cover or the second protective cover. Upon receiving a charge / discharge end signal, a charge / discharge cut-off signal is generated and transmitted to the mobile device, so that the robotic arm can disconnect the charge / discharge connection device corresponding to the target charge / discharge interface. After the charging / discharging connection device is disconnected from the target charging / discharging interface, the target protective cover is closed.

[0079] When the target protective cover is opened to expose the target charging / discharging interface, and the mobile device is within a preset distance range of the vehicle, a charging / discharging signal is generated and transmitted to the mobile device. This allows the mobile device or the vehicle's robotic arm to precisely connect the charging / discharging connection device to the target charging / discharging interface for battery charging or discharging. This eliminates the need for manual intervention, preventing wear or damage to the target charging / discharging interface due to improper human operation, thereby improving the convenience of charging / discharging and ensuring user safety.

[0080] After determining that the vehicle needs to stop charging and discharging, a charging / discharging cutoff signal is generated based on the charging / discharging end signal and transmitted to the mobile device. This allows the mobile device or the vehicle's control robotic arm to precisely disconnect the charging / discharging connection device corresponding to the target charging / discharging interface. Then, the target protective cover is promptly closed to prevent foreign objects from entering the target charging / discharging interface, reducing the risk of electric shock. With the target protective cover confirmed closed, the charging / discharging protective outer cover is also closed to prevent moisture, dust, and other foreign objects from contaminating the protective covers. This improves the automation level and safety of the charging / discharging process.

[0081] Please see Figure 8 Taking a mobile charging robot, which includes two charging guns (i.e., charging and discharging connection devices) as the target charging and discharging terminal, and a vehicle charging application scenario as an example, the specific interaction process between the vehicle and the mobile charging robot includes four stages.

[0082] First, the initial charging call and preparation process begins. A charging / discharging demand signal is generated based on the battery's remaining charge or user interaction. This signal may include information about the type of charging required (e.g., fast charging, slow charging). Then, a charging / discharging signal and the vehicle's real-time location are generated based on the demand signal and transmitted to the cloud. The cloud then assigns a corresponding mobile charging robot, identifies the charging gun to be connected, and sends the vehicle's location to the mobile charging robot. The mobile charging robot automatically plans a path based on the vehicle's location and autonomously navigates to the vehicle's preset distance range.

[0083] Then, the process proceeds to the second stage of charging identification and activation, the third stage of charging docking and charging, and the fourth stage of charging completion and reset. The specific processes are similar to the second, third, and fourth stages of the interaction between the vehicle and the target charging station, and will not be described again here to avoid repetition. The difference is that after the vehicle and / or the mobile charging robot reports the completion of the charging task to the cloud, the mobile charging robot returns to its preset standby point to wait for the next vehicle to be charged or discharged.

[0084] In summary, the charging and discharging control method provided in this application is applicable to application scenarios involving vehicles and charging piles, vehicles with robotic arms and charging piles, vehicles with charging piles with robotic arms, and vehicles with mobile charging robots. This allows for compatibility with various charging and discharging scenarios, enabling automatic identification and opening / closing of charging and discharging interfaces, improving the convenience and intelligence of charging and discharging, and effectively enhancing the user experience.

[0085] All of the above technical solutions can be combined in any way to form optional embodiments of this application, and will not be described in detail here.

[0086] To facilitate better implementation of the charge / discharge control method of this application, this application also provides a charge / discharge control device. Please refer to... Figure 9 , Figure 9 This is a schematic diagram of the structure of a charge / discharge control device provided in certain embodiments of this application. The charge / discharge control device 200 includes: The control module 201 is used to control the target protective cover among multiple protective covers to open according to the charging and discharging demand signal, so as to expose the target charging and discharging interface that matches the charging and discharging demand signal. The charging and discharging demand signal includes fast charging and discharging information or slow charging and discharging information. Multiple protective covers cover multiple charging and discharging interfaces respectively, and the target charging and discharging interface is one of the multiple charging and discharging interfaces.

[0087] Each module or unit in the aforementioned charge / discharge control device can be implemented entirely or partially through software, hardware, or a combination thereof. Each of these units can be embedded in or independent of the processor in the electronic device in hardware form, or stored in the memory of the electronic device in software form, so that the processor can call and execute the corresponding operations of each unit.

[0088] This application also provides an electronic device, including a memory and a processor; the memory stores a computer program, and the processor calls the computer program stored in the memory to implement the various processes of the above-described charging and discharging control method embodiments, and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0089] In one alternative embodiment, please refer to Figure 10 , Figure 10 This is a schematic diagram of the structure of an electronic device provided in certain embodiments of this application. The electronic device 300 includes a processor 301 with one or more processing cores, a memory 302 with one or more computer-readable storage media, and a computer program stored in the memory 302 and executable on the processor. The processor 301 and the memory 302 are electrically connected.

[0090] The processor 301 is the control center of the electronic device 300. It connects various parts of the electronic device 300 through various interfaces and lines. By running or loading software programs and / or modules stored in the memory 302, and calling data stored in the memory 302, it executes various functions of the electronic device 300 and processes data, thereby performing overall processing of the electronic device 300.

[0091] Optional, such as Figure 10 As shown, the electronic device 300 also includes: a display screen 303, a radio frequency circuit 304, an audio circuit 305, an input unit 306, and a power supply 307. The processor 301 is electrically connected to the display screen 303, the radio frequency circuit 304, the audio circuit 305, the input unit 306, and the power supply 307. Those skilled in the art will understand that... Figure 10 The electronic device structure shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0092] The display screen 303 can be used to display a graphical user interface (GUI) and receive operation commands generated by the user interacting with the GUI. The display screen 303 may include a display panel and a touch panel. The display panel can be used to display information input by the user or information provided to the user, as well as various GUIs of the electronic device, which can be composed of graphics, text, icons, video, and any combination thereof. The touch panel can be used to collect touch operations performed by the user on or near it (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near the touch panel) and generate corresponding operation commands.

[0093] Optionally, the touch panel may include two parts: a touch detection device and a touch controller. The touch detection device detects the user's touch location and the signal generated by the touch operation, transmitting the signal to the touch controller. The touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends it to the processor 301. It can also receive and execute commands from the processor 301. The touch panel may cover the display panel. When the touch panel detects a touch operation on or near it, it transmits the information to the processor 301 to determine the type of touch event. Subsequently, the processor 301 provides corresponding visual output on the display panel based on the type of touch event. In this embodiment, the touch panel and the display panel can be integrated into the display screen 303 to achieve input and output functions. However, in some embodiments, the touch panel and the display screen 303 can be implemented as two independent components to achieve input and output functions. That is, the display screen 303 can also be used as part of the input unit 306 to achieve input functions.

[0094] The radio frequency circuit 304 can be used to transmit and receive radio frequency signals to establish wireless communication with network devices or other electronic devices, and to transmit and receive signals with network devices or other electronic devices.

[0095] Audio circuitry 305 can be used to provide an audio interface between a user and an electronic device via a speaker and a microphone. Audio circuitry 305 converts received audio data into electrical signals, transmits them to the speaker, and the speaker converts them into sound signals for output. Conversely, the microphone converts collected sound signals into electrical signals, which are then received by audio circuitry 305, converted back into audio data, and output to processor 301 for processing. The processed audio data is then transmitted via radio frequency circuitry 304 to, for example, another electronic device, or output to memory 302 for further processing. Audio circuitry 305 may also include an earphone jack to provide communication between peripheral headphones and electronic devices.

[0096] The input unit 306 can be used to receive input numbers, characters, or object feature information (such as fingerprints, irises, facial information, etc.), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.

[0097] Power supply 307 is used to supply power to the various components of electronic device 300. Optionally, power supply 307 can be logically connected to processor 301 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. Power supply 307 may also include one or more DC or AC power supplies, recharge and discharge systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0098] although Figure 10 As not shown in the diagram, the electronic device 300 may also include a camera, sensor, wireless fidelity module, Bluetooth module, etc., which will not be described in detail here.

[0099] Based on the description of the charging and discharging control method and electronic device above, this application also provides a vehicle, which includes multiple charging and discharging interfaces and the electronic device 300 in any of the above embodiments. The multiple charging and discharging interfaces are covered by multiple protective covers. Optionally, the material of the protective cover may include, but is not limited to: engineering plastics (such as polypropylene, acrylonitrile-butadiene-styrene copolymer, etc.), metal materials (such as aluminum alloy, stainless steel, etc.), composite materials (such as carbon fiber), etc., and this application does not limit this.

[0100] Please see Figure 11 , Figure 11This is a schematic diagram of the structure of a vehicle provided in certain embodiments of this application. The vehicle 400 includes a first protective cover 421, a second protective cover 422, a first charging / discharging interface 411, a second charging / discharging interface 412, and an electronic device 300. The first protective cover 421 covers the first charging / discharging interface 411, and the second protective cover 422 covers the second charging / discharging interface 412. The first protective cover 421 and the second protective cover 422 provide physical protection for the corresponding charging / discharging interfaces to prevent dust, rainwater, and other foreign objects from entering and damaging the charging / discharging interfaces, and to prevent the charging / discharging interfaces from contacting live components, thus reducing the risk of electric shock.

[0101] The first protective cover 421 is configured to open or close under the control of the electronic device 300 to cover or expose the first charging / discharging interface 411; the second protective cover 422 is configured to open or close under the control of the electronic device 300 to cover or expose the second charging / discharging interface 412. Optionally, both the first protective cover 421 and the second protective cover 422 adopt a fan-shaped structure design. Taking the first protective cover 421 as an example, the body of the first protective cover 421 is fan-shaped and rotates around its internal central axis, thereby covering or exposing the first charging / discharging interface 411.

[0102] Optionally, the charging and discharging power adapted to the first charging and discharging interface 411 is greater than that adapted to the second charging and discharging interface 412. The first charging and discharging interface 411 is adapted to an external DC fast charging and discharging connection device, and the second charging and discharging interface 412 is adapted to an external AC slow charging and discharging connection device. In this way, the vehicle 400 can be compatible with both fast charging and discharging modes and slow charging and discharging modes, thereby expanding the applicable scenarios for charging and discharging of the vehicle 400.

[0103] In one alternative embodiment, please continue to refer to Figure 11 The vehicle 400 also includes a charging / discharging protection cover 423 and a charging compartment 424, which together form a receiving space. A first protective cover 421, a second protective cover 422, a first charging / discharging interface 411, and a second charging / discharging interface 412 are all located within this receiving space. The charging / discharging protection cover 423 is configured to open or close under the control of an on-board terminal to cover or expose the first protective cover 421 and the second protective cover 422. Thus, the double-layer protection of the charging / discharging protection cover 423, the first protective cover 421, and the second protective cover 422 effectively enhances the waterproof and dustproof capabilities of the charging / discharging interfaces, prevents accidental triggering, and improves charging / discharging safety and the overall aesthetics of the vehicle.

[0104] In one alternative embodiment, please continue to refer to Figure 11The vehicle 400 also includes a plurality of first drive motors 431, which are used to drive a plurality of protective covers to open or close. For any one first drive motor 431, the first drive motor 431 is connected to the battery and the vehicle terminal, respectively. The first drive motor 431 receives power from the battery and control commands from the electronic device 300 to drive the corresponding protective cover to open or close. The first drive motor 431 may include, but is not limited to, a brushed DC motor, a brushless DC motor, a stepper motor, a micro servo motor, a hybrid stepper motor, etc., and this application embodiment does not limit this.

[0105] Alternatively, please continue reading Figure 11 The vehicle 400 includes two first drive motors 431; one of the first drive motors 431 drives the first protective cover 421 to open or close via a drive structure (such as a rack), and the other first drive motor 431 drives the second protective cover 422 to open or close via a drive structure (such as a rack).

[0106] Thus, the first protective cover 421 and the second protective cover 422 are opened or closed by the two first drive motors 431 respectively. This allows for on-demand opening or closing, avoiding unnecessary linkage, improving system reliability, and ensuring the normal operation of the remaining protective covers even if a single first drive motor 431 fails.

[0107] Optionally, the vehicle 400 includes a vision acquisition device and / or a robotic arm. The vision acquisition device may be a parking camera and / or a camera built into the robotic arm, etc., and is not limited here. The vision acquisition device can be used to acquire images of the charging and discharging connection device, and the robotic arm can be used to automatically grasp the charging and discharging connection device configured on the target charging and discharging terminal when the vehicle 400 needs to charge or discharge, and automatically align it with the charging and discharging interface of the vehicle 400 to complete the plugging and unplugging operation.

[0108] This reduces manual operation, improves the convenience of charging and discharging, reduces the risk of electric shock from direct contact with high-voltage components such as charging and discharging connection devices and charging piles, and is suitable for fully automatic charging and discharging scenarios.

[0109] In one alternative embodiment, please continue to refer to Figure 11 The vehicle 400 includes a second drive motor 432 and a gear transmission mechanism 440. The second drive motor 432 is connected to the charge / discharge protection cover 423 via the gear transmission mechanism 440. The second drive motor 432 drives the charge / discharge protection cover 423 to open or close via the gear transmission mechanism 440. Optionally, the second drive motor 432 may include, but is not limited to, a DC brushed motor, a DC brushless motor, a stepper motor, a micro servo motor, a hybrid stepper motor, etc., and is not limited here.

[0110] Optionally, the gear transmission mechanism 440 includes a drive gear and a toothed belt; the drive gear is mounted on the output shaft of the second drive motor 432 and rotates with the output shaft of the second drive motor 432. The drive gear and the toothed belt mesh. When the second drive motor 432 is in operation, the rotation of the output shaft of the second drive motor 432 drives the drive gear to rotate synchronously, and the drive gear then drives the toothed belt to move in a first direction or a second direction, which are opposite to each other, thereby realizing the opening or closing of the charge / discharge protection cover 423.

[0111] This application also provides a computer-readable storage medium for storing a computer program. This computer-readable storage medium can be applied to an electronic device, and the computer program causes the electronic device to execute the corresponding processes in the charge / discharge control method of the embodiments of this application; for brevity, these will not be elaborated further here.

[0112] This application also provides a computer program product including computer instructions stored in a computer-readable storage medium. The processor of an electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the electronic device to perform the corresponding processes in the charge / discharge control method described in the embodiments of this application. For simplicity, further details are omitted here.

[0113] It should be understood that the processor in this application may be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the above method embodiments can be completed by integrated logic circuits in the processor's hardware or by instructions in software form. The processor described above can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly embodied in the execution of a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules can be located in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. The storage medium is located in memory, and the processor reads information from the memory and, in conjunction with its hardware, completes the steps of the above method.

[0114] It is understood that the memory in the embodiments of this application can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDR SDRAM), Enhanced Synchronous DRAM (ESDRAM), Synchlink DRAM (SLDRAM), and Direct Rambus RAM (DR RAM). It should be noted that the memory used in the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0115] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0116] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0117] In the embodiments of this application, the terms "module" or "unit" refer to a computer program or part of a computer program that has a predetermined function and works with other related parts to achieve a predetermined goal, and can be implemented wholly or partially using software, hardware (such as processing circuitry or memory), or a combination thereof. Similarly, a processor (or multiple processors or memory) can be used to implement one or more modules or units. Furthermore, each module or unit can be part of an overall module or unit that includes the functionality of that module or unit.

[0118] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0119] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0120] In addition, the functional units in this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0121] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause an electronic device (which may be a personal computer or a server) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, disks, or optical discs.

[0122] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A charging and discharging control method, characterized in that, include: Based on the charging and discharging demand signal, the target protective cover among multiple protective covers is controlled to open to expose the target charging and discharging interface that matches the charging and discharging demand signal, which includes fast charging and discharging information or slow charging and discharging information; the multiple protective covers cover multiple charging and discharging interfaces respectively, and the target charging and discharging interface is one of the multiple charging and discharging interfaces.

2. The charging and discharging control method according to claim 1, characterized in that, The charging / discharging demand signal is generated based on the remaining battery power or in response to a received charging / discharging command, which is generated based on the terminal's touch interaction or voice interaction. And / or, the charging / discharging demand signal is determined based on the interface type of the charging / discharging connection device to be connected, and the target charging / discharging interface matches the interface type of the charging / discharging connection device to be connected.

3. The charging and discharging control method according to claim 2, characterized in that, The interface type of the charging / discharging connection device to be connected is determined according to the following steps: Acquire images of the charging / discharging connection device to be connected; Based on the image of the charging / discharging connection device to be connected, the interface type of the charging / discharging connection device to be connected is identified.

4. The charging and discharging control method according to claim 1, characterized in that, Before controlling the opening of the target protective cover, the method further includes: In response to a charge / discharge demand signal, the charge / discharge protection cover is opened to expose the plurality of the protection covers; The charging and discharging protective cover and the charging compartment form a receiving space, and multiple protective covers and multiple charging and discharging interfaces are all arranged in the receiving space.

5. The charging and discharging control method according to claim 4, characterized in that, Also includes: In response to a charge / discharge end signal, the target protective cover is controlled to close. With the target protective cover closed, the charge / discharge protection outer cover is controlled to close to cover the plurality of protective covers.

6. The charging and discharging control method according to any one of claims 1-5, characterized in that, Applied to vehicles including robotic arms, the method further includes, after the protective cover of the controlled target is opened: The robotic arm is controlled to connect the charging / discharging connection device to the target charging / discharging interface; And / or, in response to a charge / discharge end signal, control the robotic arm to disconnect the charge / discharge connection device from the corresponding target charge / discharge interface.

7. The charging and discharging control method according to claim 6, characterized in that, The process of controlling the robotic arm to connect the charging / discharging connection device to the target charging / discharging interface includes: If the distance between the vehicle and the target charging / discharging terminal is less than a preset distance threshold, the robotic arm is controlled to connect the charging / discharging connection device to the target charging / discharging interface.

8. The charging and discharging control method according to claim 7, characterized in that, Also includes: If the target charging / discharging terminal is a mobile device, control the target charging / discharging terminal to move to a preset distance range of the vehicle.

9. An electronic device, characterized in that, It includes a memory and a processor; the memory stores a computer program, and the processor executes the charge / discharge control method as described in any one of claims 1-8 by calling the computer program stored in the memory.

10. A vehicle, characterized in that, It includes multiple charging and discharging interfaces and the electronic device as described in claim 9; the multiple charging and discharging interfaces are covered with multiple protective covers.

11. The vehicle according to claim 10, characterized in that, Also includes: A charging / discharging protection cover and a charging compartment, the charging / discharging protection cover and the charging compartment forming a receiving space, and multiple protective covers and multiple charging / discharging interfaces are all arranged in the receiving space; And / or, a plurality of first drive motors, wherein the plurality of first drive motors are used to correspondingly drive the plurality of the protective covers to open or close; And / or, at least one of the plurality of protective covers is fan-shaped, so that the plurality of protective covers can be rotated to open or close.

12. The vehicle according to claim 11, characterized in that, It also includes a second drive motor, which is connected to the charging and discharging protection cover via a gear transmission mechanism.

13. A computer-readable storage medium, characterized in that, The device contains a computer program that, when executed by a processor, implements the charge / discharge control method as described in any one of claims 1-8.

14. A computer program product, characterized in that, It includes computer instructions, which, when executed by a processor, implement the charge / discharge control method as described in any one of claims 1-8.