Vehicle charging mode control method, device, electronic device and readable storage medium

By setting up electronic locks in new energy vehicles and identifying the type of charging gun, the problem of users being unable to automatically change charging modes is solved, improving the car experience and the flexibility of charging modes.

CN114559845BActive Publication Date: 2024-08-27GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011360920.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-27
Publication Date
2024-08-27
Estimated Expiration
2040-11-27

AI Technical Summary

Technical Problem

When new energy vehicles support both fast charging and slow charging functions, they cannot automatically identify the charging mode. As a result, users cannot change the charging mode when they forget to unplug the charging gun that was connected first, which affects the car experience.

Method used

By setting electronic locks for the first charging port and the second charging port in the vehicle, the connection status is obtained, the charging gun type is identified, and charging mode instructions are generated to control the charging mode, ensuring that the user can change the charging mode as desired.

Benefits of technology

It effectively avoids charging mode errors caused by users forgetting to unplug the charging gun that was connected first, improves user experience and ensures the flexibility and consistency of vehicle charging modes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114559845B
    Figure CN114559845B
Patent Text Reader

Abstract

The present invention provides a vehicle charging mode control method, device, electronic device and readable storage medium. The vehicle includes a first charging port and a second charging port, and the first charging port and the second charging port are respectively provided with electronic locks. The vehicle charging mode control method includes: obtaining the connection status of the first charging port; when the connection status of the first charging port indicates that the first charging port is connected to a first charging gun, controlling the electronic locks of the first charging port and the second charging port to lock, so as to avoid the situation where the user forgets to unplug the previously connected charging gun and causes the first charging gun and the second charging gun to be connected at the same time, so that charging can be performed according to the customer's wishes, improving the customer's car experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle technology, and in particular to a charging mode control method, device, electronic device and readable storage medium. Background Art

[0002] With the increasing development of new energy vehicle technology, vehicle range has attracted more and more attention. As the range of new energy vehicles increases, the capacity of the power battery pack on new energy vehicles also increases, accompanied by the problem of long charging time. Therefore, in order to meet the needs of more customers, new energy vehicles have added a DC fast charging function on the basis of the original slow charging function, so as to charge the power battery pack more quickly and meet customer needs.

[0003] In the related technology, the vehicle has both fast charging and slow charging functions. When the slow charging gun and the fast charging gun are connected at the same time, the vehicle cannot automatically recognize each other and can only charge based on the charging gun that was successfully connected first. If the customer wants to change the charging mode and forgets to unplug the charging gun that was connected first, the slow charging gun and the fast charging gun are connected at the same time, the vehicle cannot be charged according to the customer's wishes, thus affecting the user's car experience. Summary of the invention

[0004] An embodiment of the present invention provides a charging mode control method, which aims to avoid the technical problem that a customer forgets to unplug a previously connected charging gun when wanting to change the charging mode, so as to charge according to the customer's wishes and improve the customer's car-using experience.

[0005] In order to solve the above-mentioned technical problems, the present invention is achieved as follows:

[0006] In a first aspect, an embodiment of the present invention provides a vehicle charging mode control method, wherein the vehicle includes a first charging port and a second charging port, and the first charging port and the second charging port are respectively provided with an electronic lock; the vehicle charging mode control method includes:

[0007] Get the connection status of the first charging port;

[0008] When the connection state of the first charging port indicates that the first charging port is connected to a first charging gun.

[0009] Optionally, after the step of controlling the electronic locks of the first charging port and the second charging port to lock when the connection state of the first charging port indicates that the first charging port is connected to a first charging gun, the vehicle charging mode control method further includes:

[0010] When a request to remove the first charging gun is detected, the electronic locks of the first charging port and the second charging port are controlled to be opened.

[0011] Optionally, the vehicle charging mode control method further includes:

[0012] When the connection state of the first charging port indicates that the first charging port is connected to a first charging gun, identifying the first charging gun to determine the charging gun type of the first charging gun;

[0013] Generate a charging mode instruction according to the type of the charging gun;

[0014] The charging mode instruction is sent to the vehicle control unit so that the vehicle control unit performs charging control according to the charging mode instruction.

[0015] Optionally, the step of identifying the first charging gun to determine the charging gun type of the first charging gun includes:

[0016] Detecting the resistance value of the first charging gun;

[0017] The charging gun type of the first charging gun is determined according to the resistance value of the first charging gun.

[0018] Optionally, the charging gun type is a fast charging gun or a slow charging gun, and the charging mode instruction is a fast charging mode instruction or a slow charging mode instruction;

[0019] The step of generating a charging mode instruction according to the type of the charging gun includes:

[0020] If the charging gun type is a fast charging gun, a fast charging mode instruction is generated;

[0021] If the charging gun type is a slow charging gun, a slow charging mode instruction is generated;

[0022] The step of sending the charging mode instruction to the vehicle control unit so that the vehicle control unit performs charging control according to the charging mode instruction includes:

[0023] The fast charging mode instruction or the slow charging mode instruction is sent to the vehicle control unit, so that the vehicle control unit performs charging control according to the fast charging mode instruction or the slow charging mode instruction.

[0024] In a second aspect, an embodiment of the present invention provides a vehicle charging mode control device, the vehicle charging mode control device comprising:

[0025] An acquisition module, used to acquire the connection status of the first charging port;

[0026] The first control module is configured to control the electronic locks of the first charging port and the second charging port to lock when the connection state of the first charging port indicates that the first charging port is connected to a first charging gun.

[0027] Optionally, after the first control module, the vehicle charging mode control device further includes:

[0028] The second control module is used to control the electronic locks of the first charging port and the second charging port to open when a request to remove the first charging gun is detected.

[0029] Optionally, the vehicle charging mode control device further includes:

[0030] an identification module, configured to identify the first charging gun to determine the charging gun type of the first charging gun when the connection state of the first charging port indicates that the first charging port is connected to the first charging gun;

[0031] A generating module, used for generating a charging mode instruction according to the type of the charging gun;

[0032] The sending module is used to send the charging mode instruction to the vehicle control unit so that the vehicle control unit performs charging control according to the charging mode instruction.

[0033] Optionally, the identification module includes:

[0034] A detection submodule, used to detect the resistance value of the first charging gun;

[0035] The determination submodule is used to determine the charging gun type of the first charging gun according to the resistance value of the first charging gun.

[0036] Optionally, the charging gun type is a fast charging gun or a slow charging gun, and the charging mode instruction is a fast charging mode instruction or a slow charging mode instruction;

[0037] The generation module comprises:

[0038] The first generating submodule is used to generate a fast charging mode instruction if the charging gun type is a fast charging gun;

[0039] A second generating submodule, configured to generate a slow charging mode instruction if the charging gun type is a slow charging gun;

[0040] The sending module comprises:

[0041] The sending submodule is used to send the fast charging mode instruction or the slow charging mode instruction to the vehicle control unit, so that the vehicle control unit performs charging control according to the fast charging mode instruction or the slow charging mode instruction.

[0042] In a third aspect, an embodiment of the present invention further provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the steps of the vehicle charging mode control method described in the first aspect are implemented.

[0043] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the vehicle charging mode control method described in the first aspect are implemented.

[0044] In the present invention, the connection status of the first charging port is first obtained. When the connection status of the first charging port indicates that the first charging port is connected to the first charging gun, the electronic locks of the first charging port and the second charging port are controlled to be locked. Therefore, when the user wants to change the current charging mode, the user can be reminded to unplug the previously connected charging gun, thereby avoiding the situation where the user forgets to unplug the previously connected charging gun and causes the first charging gun and the second charging gun to be connected at the same time. Therefore, charging can be performed according to the customer's wishes, thereby improving the customer's car experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0046] Figure 1 is a flow chart of steps of a vehicle charging mode control method in an embodiment of the present invention;

[0047] Figure 2 is a flowchart of another vehicle charging mode control method in an embodiment of the present invention;

[0048] Figure 3 is a control flow chart of a vehicle charging mode control method in an embodiment of the present invention;

[0049] Figure 4 is a schematic diagram of a vehicle charging mode control device in an embodiment of the present invention;

[0050] Figure 5 It is a structural schematic diagram of an electronic device in an embodiment of the present invention. DETAILED DESCRIPTION

[0051] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0052] At present, the phenomenon of energy shortage is becoming increasingly obvious, and the voices of countries around the world for the development of new energy are getting stronger and stronger. my country has vigorously supported the development of the new energy vehicle industry through various policies. For new energy vehicles, their unique charging function is becoming more and more popular. With the increasing development of new energy vehicle technology, the vehicle range is also becoming more and more popular. With the increase in the range of new energy vehicles, the capacity of the power battery pack on new energy vehicles has also increased, accompanied by the problem of long charging time. Therefore, in order to meet the needs of more customers, new energy vehicles have added a DC fast charging function on the basis of the original slow charging function, so as to charge the power battery pack more quickly and meet the needs of customers.

[0053] In the related art, for a plug-in charging vehicle with both fast charging and slow charging functions, when the vehicle is connected to only one charging gun, the vehicle is charged in the current charging mode, that is, slow charging is performed when a slow charging gun is connected, and fast charging is performed when a fast charging gun is connected;

[0054] When a slow charging gun and a fast charging gun are connected at the same time, the vehicle cannot automatically identify them and can only charge based on the charging gun that is successfully connected first, that is: if the slow charging gun is connected first and then the fast charging gun, it will charge in slow charging mode; if the fast charging gun is connected first and then the slow charging gun, it will charge in slow charging mode.

[0055] If the customer wants to change the charging mode and forgets to unplug the charging gun that was connected first, the vehicle cannot be charged according to the customer's wishes, which may easily cause customer complaints (for example: the customer first connects the slow charging gun and then connects the fast charging gun to charge in the fast charging mode, but forgets to disconnect the slow charging gun, so the vehicle will continue to charge in the slow charging mode), resulting in after-sales problems.

[0056] To overcome the above problems, the present application proposes a charging mode control method, which aims to avoid the technical problem that the customer forgets to unplug the previously connected charging gun when he wants to change the charging mode, so as to charge according to the customer's wishes and improve the customer's car experience.

[0057] refer to Figure 1 , Figure 1 is a flow chart of the steps of a vehicle charging mode control method in an embodiment of the present invention. Figure 1As shown, the vehicle includes a first charging port and a second charging port, the first charging port and the second charging port are respectively provided with an electronic lock, and the method includes:

[0058] Step S101: Acquire the connection status of the first charging port;

[0059] Step S102: When the connection state of the first charging port indicates that the first charging port is connected to a first charging gun, electronic locks of the first charging port and the second charging port are controlled to be locked.

[0060] In this embodiment, the vehicle includes two charging ports, one fast charging port and one slow charging port. At the same time, in order to facilitate vehicle charging, a fast charging gun is configured for the fast charging port, and a slow charging gun is configured for the slow charging port. The first charging gun here can be a fast charging gun or a slow charging gun. When the first charging gun is a fast charging gun, the first charging port is a fast charging port, the second charging gun is a slow charging gun, and the second charging port is a slow charging port; when the first charging gun is a slow charging gun, the first charging port is a slow charging port, the second charging gun is a fast charging gun, and the second charging port is a fast charging port.

[0061] When the connection status of the first charging port indicates that the first charging port is connected to the first charging gun, the electronic locks of the first charging port and the second charging port are controlled to be locked. The first charging port is the charging port that is first connected to the charging gun, and the first charging gun is the charging gun that is first connected to the charging port, that is, the charging port can be monitored in real time. If one of the charging ports is connected to a charging gun, then the charging port is the first charging port, and the charging gun is the first charging gun. At this time, the electronic locks of the first charging port and the second charging port are controlled to be locked, so that the first charging gun of the first charging port cannot be unplugged, and the second charging gun cannot be inserted into the second charging port.

[0062] In a feasible implementation manner, after the step of controlling the electronic locks of the first charging port and the second charging port to lock when the connection state of the first charging port indicates that the first charging port is connected to a first charging gun, the vehicle charging mode control method further includes:

[0063] When a request to remove the first charging gun is detected, the electronic locks of the first charging port and the second charging port are controlled to be opened.

[0064] In this embodiment, when the user wants to change the charging mode, the second charging gun must be inserted into the second charging port. At this time, since the first charging gun is connected to the first charging port, the electronic locks of the first charging port and the second charging port are locked. At this time, the second charging gun cannot be inserted into the second charging port, thereby reminding the user to unplug the first charging gun from the first charging port to unlock the second charging port.

[0065] When the on-board charging controller detects a request to unplug the first charging gun, it controls the electronic locks of the first charging port and the second charging port to open, so that the first charging gun can be unplugged and the second charging gun can be inserted into the second charging port. A unplug switch may be provided on the first charging gun. When the user presses the unplug switch on the first charging gun, a unplug request may be sent to the on-board charging controller.

[0066] In the embodiment of the present application, when it is detected that the first charging gun is connected to the first charging port, the electronic locks of the first charging port and the second charging port are controlled to be locked. When the user wants to change the charging mode, the second charging gun must be inserted into the second charging port. At this time, since the first charging gun is connected to the first charging port, the electronic locks of the first charging port and the second charging port are locked. At this time, the second charging gun cannot be inserted into the second charging port, so that the user can be reminded to unplug the first charging gun from the first charging port to unlock the second charging port. When the unplug request of the first charging gun is received, the electronic locks of the first charging port and the second charging port are controlled to be opened so that the first charging gun can be unplugged and the second charging gun can be inserted into the second charging port. When the user wants to change the current charging mode, the first charging gun must be unplugged before the electronic lock of the second charging port can be opened, and then the second charging gun can be inserted into the second charging port, so as to avoid the situation where the user forgets to unplug the previously connected charging gun and causes the first charging gun and the second charging gun to be connected at the same time, so that the charging mode can be changed according to the customer's wishes, and the customer's car experience is improved.

[0067] refer to Figure 2 , Figure 2 is a flow chart of another method for controlling a vehicle charging mode in an embodiment of the present invention. Figure 2 As shown, in a feasible implementation manner, when the connection state of the first charging port indicates that the first charging port is connected to the first charging gun, the following steps S201 to S203 may also be performed:

[0068] Step S201: Identify the first charging gun to determine the charging gun type of the first charging gun.

[0069] In this embodiment, when the connection status of the first charging port indicates that the first charging port is connected to the first charging gun, that is, when it is detected that the first charging gun is connected to the first charging port, the first charging gun is identified to determine the charging gun type of the first charging gun, wherein the first charging gun may be a slow charging gun or a fast charging gun.

[0070] Specifically, in a feasible implementation manner, the method for identifying the first charging gun is:

[0071] Detecting the resistance value of the first charging gun;

[0072] The charging gun type of the first charging gun is determined according to the resistance value of the first charging gun.

[0073] In this embodiment, the charging circuit of the first charging port will form a path after the first charging gun is inserted. Different resistance values ​​are set for the slow charging gun and the fast charging gun. In order to improve practicality, the slow charging gun and the fast charging gun both meet the national unified standards. Therefore, for different slow charging guns, the internal resistance values ​​are the same, and for different fast charging guns, the internal resistance values ​​are also the same, that is, the resistance value in the slow charging gun is the slow charging standard value, and the resistance value in the fast charging gun is the fast charging standard value. The resistance values ​​of the fast charging gun and the slow charging gun are prior art and will not be repeated here. By detecting the resistance value of the first charging gun and comparing the resistance value of the first charging gun with the standard resistance value of the fast charging gun, or comparing the resistance value of the first charging gun with the standard resistance value of the slow charging gun, it can be determined whether the charging gun type of the first charging gun is a fast charging gun or a slow charging gun.

[0074] Step S201: Generate a charging mode instruction according to the type of the charging gun.

[0075] In this embodiment, after the charging gun type of the charging gun is determined, a charging mode instruction can be generated according to the obtained charging gun type, so that the vehicle can be charged according to the corresponding charging mode.

[0076] Step S203: Send the charging mode instruction to the vehicle control unit, so that the vehicle control unit performs charging control according to the charging mode instruction.

[0077] In this embodiment, after generating the charging mode instruction, the on-board charging controller sends the generated charging mode instruction to the vehicle control unit, so that after receiving the charging mode instruction, the vehicle control unit responds to the charging mode instruction and performs charging control according to the corresponding charging mode.

[0078] In a feasible implementation manner, step S202 specifically includes:

[0079] If the charging gun type is a fast charging gun, a fast charging mode instruction is generated;

[0080] If the charging gun type is a slow charging gun, a slow charging mode instruction is generated.

[0081] Step S203 specifically includes:

[0082] The fast charging mode instruction or the slow charging mode instruction is sent to the vehicle control unit, so that the vehicle control unit performs charging control according to the fast charging mode instruction or the slow charging mode instruction.

[0083] In this embodiment, if the charging gun type is a fast charging gun, the charging mode is determined to be a fast charging mode, and then the on-board charging controller generates a fast charging mode instruction, and sends the fast charging mode instruction to the vehicle control unit, so that the vehicle control unit responds to the fast charging mode instruction and executes the charging control corresponding to the fast charging mode. If the charging gun type is a slow charging gun, the charging mode is determined to be a slow charging mode, and then the on-board charging controller generates a slow charging mode instruction, and sends the slow charging mode instruction to the vehicle control unit, so that the vehicle control unit responds to the slow charging mode instruction and executes the charging control corresponding to the slow charging mode.

[0084] refer to Figure 3 , Figure 3 is a control flow chart of a vehicle charging mode control method in an embodiment of the present invention. Figure 3 As shown, OBC (On Board Charger) is the on-board charging controller and VCU (Vehicle control Unit) is the vehicle control unit. First, when the on-board charging controller detects that a charging gun is connected, it detects the resistance value of the charging gun, and judges whether the charging gun is a fast charging gun or a slow charging gun according to the resistance value of the charging gun. When the charging gun is a fast charging gun, a fast charging mode instruction is generated, and the fast charging mode instruction is sent to the vehicle control unit so that the vehicle is charged in the fast charging mode, and the electronic locks of the fast charging port and the slow charging port are locked at the same time. When the charging gun is a slow charging gun, a slow charging mode instruction is generated, and the slow charging mode instruction is sent to the vehicle control unit so that the vehicle is charged in the slow charging mode, and the electronic locks of the fast charging port and the slow charging port are locked at the same time. When the driver (ie, the user) unplugs the slow charging gun or the fast charging gun, the on-board charging controller controls the electronic locks of the fast charging port and the slow charging port to open, so that the user can reselect the charging mode as desired.

[0085] Based on the same inventive concept, the present application proposes a vehicle charging mode control device, referring to Figure 4 , Figure 4 is a schematic diagram of a vehicle charging mode control device in an embodiment of the present invention. Figure 4 As shown, the vehicle includes a first charging port and a second charging port, the first charging port and the second charging port are respectively provided with an electronic lock, and the vehicle charging mode control device includes:

[0086] An acquisition module 401 is used to acquire a connection status of a first charging port;

[0087] The first control module 402 is configured to control the electronic locks of the first charging port and the second charging port to lock when the connection state of the first charging port indicates that the first charging port is connected to a first charging gun.

[0088] Optionally, after the first control module, the vehicle charging mode control device further includes:

[0089] The second control module is used to control the electronic locks of the first charging port and the second charging port to open when a request to remove the first charging gun is detected.

[0090] Optionally, the charging mode control device further includes:

[0091] an identification module, configured to identify the first charging gun to determine the charging gun type of the first charging gun when the connection state of the first charging port indicates that the first charging port is connected to the first charging gun;

[0092] A generating module, used for generating a charging mode instruction according to the type of the charging gun;

[0093] The sending module is used to send the charging mode instruction to the vehicle control unit so that the vehicle control unit performs charging control according to the charging mode instruction.

[0094] Optionally, the identification module includes:

[0095] A detection submodule, used to detect the resistance value of the first charging gun;

[0096] The determination submodule is used to determine the charging gun type of the first charging gun according to the resistance value of the first charging gun.

[0097] Optionally, the charging gun type is a fast charging gun or a slow charging gun, and the charging mode instruction is a fast charging mode instruction or a slow charging mode instruction;

[0098] The generation module comprises:

[0099] The first generating submodule is used to generate a fast charging mode instruction if the charging gun type is a fast charging gun;

[0100] A second generating submodule, configured to generate a slow charging mode instruction if the charging gun type is a slow charging gun;

[0101] The sending module comprises:

[0102] The sending submodule is used to send the fast charging mode instruction or the slow charging mode instruction to the vehicle control unit, so that the vehicle control unit performs charging control according to the fast charging mode instruction or the slow charging mode instruction.

[0103] refer to Figure 5 , Figure 5 is a schematic diagram of the structure of an electronic device in an embodiment of the present invention, such as Figure 5 As shown, the present application also provides an electronic device, including:

[0104] Processor 51;

[0105] A memory 52 having instructions stored thereon, and a computer program stored on the memory and executable on the processor, wherein when the computer program is executed by the processor 51, the device executes a vehicle charging mode control method.

[0106] The present application also provides a non-temporary computer-readable storage medium, on which a computer program is stored. When the computer program in the storage medium is executed by the processor 51 of the electronic device, the electronic device is enabled to execute the vehicle charging mode control method.

[0107] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0108] It will be appreciated by those skilled in the art that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0109] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0110] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0111] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0112] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.

[0113] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0114] The above is a detailed introduction to a vehicle charging mode control method, device, electronic device and readable storage medium provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as limiting the present invention.

Claims

1. A vehicle charging mode control method, wherein the vehicle comprises a first charging port and a second charging port, wherein the first charging port and the second charging port are respectively provided with an electronic lock; It is characterized in that The vehicle charging mode control method comprises: Get the connection status of the first charging port; When the connection state of the first charging port indicates that the first charging port is connected to a first charging gun, controlling the electronic locks of the first charging port and the second charging port to lock; When a request to remove the first charging gun is detected, the electronic locks of the first charging port and the second charging port are controlled to open; The electronic lock of the second charging port can be opened only after the first charging gun is pulled out.

2. The vehicle charging mode control method according to claim 1, It is characterized in that The vehicle charging mode control method further includes: When the connection state of the first charging port indicates that the first charging port is connected to a first charging gun, identifying the first charging gun to determine the charging gun type of the first charging gun; Generate a charging mode instruction according to the type of the charging gun; The charging mode instruction is sent to the vehicle control unit so that the vehicle control unit performs charging control according to the charging mode instruction.

3. The vehicle charging mode control method according to claim 2, It is characterized in that The step of identifying the first charging gun to determine the charging gun type of the first charging gun includes: Detecting the resistance value of the first charging gun; The charging gun type of the first charging gun is determined according to the resistance value of the first charging gun.

4. The vehicle charging mode control method according to claim 2, It is characterized in that The charging gun type is a fast charging gun or a slow charging gun, and the charging mode instruction is a fast charging mode instruction or a slow charging mode instruction; The step of generating a charging mode instruction according to the type of the charging gun includes: If the charging gun type is a fast charging gun, a fast charging mode instruction is generated; If the charging gun type is a slow charging gun, a slow charging mode instruction is generated; The step of sending the charging mode instruction to the vehicle control unit so that the vehicle control unit performs charging control according to the charging mode instruction includes: The fast charging mode instruction or the slow charging mode instruction is sent to the vehicle control unit, so that the vehicle control unit performs charging control according to the fast charging mode instruction or the slow charging mode instruction.

5. A vehicle charging mode control device, the vehicle comprising a first charging port and a second charging port, the first charging port and the second charging port being respectively provided with an electronic lock; It is characterized in that The vehicle charging mode control device comprises: An acquisition module, used to acquire the connection status of the first charging port; A first control module, configured to control the electronic locks of the first charging port and the second charging port to lock when the connection state of the first charging port indicates that the first charging port is connected to a first charging gun; A second control module, configured to control the electronic locks of the first charging port and the second charging port to open when a request to remove the first charging gun is detected; The electronic lock of the second charging port can be opened only after the first charging gun is pulled out.

6. The vehicle charging mode control device according to claim 5, It is characterized in that The vehicle charging mode control device further includes: an identification module, configured to identify the first charging gun to determine the charging gun type of the first charging gun when the connection state of the first charging port indicates that the first charging port is connected to the first charging gun; A generating module, used for generating a charging mode instruction according to the type of the charging gun; The sending module is used to send the charging mode instruction to the vehicle control unit so that the vehicle control unit performs charging control according to the charging mode instruction.

7. An electronic device, It is characterized in that include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the steps of the vehicle charging mode control method as claimed in any one of claims 1 to 4 are implemented.

8. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the vehicle charging mode control method according to any one of claims 1 to 4 are implemented.