Control method, device, electronic device and vehicle of electronic lock of charging port cover
By detecting the state of the charging port cover, interlocking control of the AC charging port cover and the DC charging port cover is achieved, which solves the problems of complex charging logic and overcurrent charging in the prior art, and improves charging safety and user experience.
Patent Information
- Application Number
- CN202110937842.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-16
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2041-08-16
AI Technical Summary
In the prior art, the development of charging logic software is difficult, which may lead to the charging of the AC charging gun and the DC charging gun at the same time, causing charging overcurrent and high-voltage safety issues.
By detecting the state of the charging port cover, the interlocking control of the AC charging port cover and the DC charging port cover is achieved, avoiding opening at the same time, and ensuring that charging is only carried out through one charging port.
It reduces the difficulty of software development of charging logic, avoids the risk of charging overcurrent, improves charging safety, and improves user experience.
Smart Images

Figure CN114961452B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of vehicle charging control, and in particular to a control method, device, electronic equipment and vehicle for an electronic lock of a charging port cover. Background Art
[0002] At present, some models have both DC charging and AC charging functions. Generally, charging ports are provided with charging ports covers on both DC charging ports and AC charging ports. Some models also have charging port cover electronic locks. The charging port cover electronic lock is a mechanism for locking the charging port cover. When the charging port cover is closed and the charging port cover electronic lock is locked, the user cannot charge the vehicle by opening the charging port cover. When the charging port cover is closed and the charging port cover electronic lock is open, the user can charge the vehicle by pressing the charging port cover to open the charging port cover. At this time, the vehicle can be charged through the DC charging port or the AC charging port.
[0003] When the AC charging port and the DC charging port are open at the same time, there are cases where users use the DC charging port and the AC charging port to charge at the same time, that is, when the DC charging gun is plugged into the DC charging port for charging, the AC charging gun is also plugged into the AC charging port for charging. In response to this situation, the OEM generally prohibits charging when the AC charging gun and the DC charging gun are plugged into the corresponding charging port at the same time, or allows the charging port that was plugged in first to charge.
[0004] However, the inventors have found that the software development of the above charging logic is difficult, and once there is a problem with the charging logic, the AC charging gun and the DC charging gun may be charged at the same time, causing overcurrent and leading to high-voltage safety problems. Summary of the invention
[0005] The present application provides a control method, device, electronic device and vehicle for an electronic lock of a charging port cover, so as to solve the problem that the software development of charging logic in the prior art is difficult or there may be a problem of charging overcurrent.
[0006] In a first aspect, the present application provides a method for controlling an electronic lock of a charging port cover, comprising:
[0007] When it is detected that the first charging port cover is in an open state and the state of the second charging port cover electronic lock corresponding to the second charging port cover is in a locked state, maintaining the locked state of the second charging port cover electronic lock;
[0008] When it is detected that the first charging port cover is in an open state and the state of the second charging port cover electronic lock corresponding to the second charging port cover is in an open state, driving the second charging port cover electronic lock to a locked state;
[0009] Among them, the first charging port cover is a DC charging port cover, the second charging port cover is an AC charging port cover, and the second charging port cover electronic lock is an AC charging port cover electronic lock; or, the first charging port cover is an AC charging port cover, the second charging port cover is a DC charging port cover, and the second charging port cover electronic lock is a DC charging port cover electronic lock.
[0010] In a possible implementation, when it is detected that the first charging port cover is in an open state and the state of the second charging port cover electronic lock corresponding to the second charging port cover is in a locked state, before maintaining the locked state of the second charging port cover electronic lock, or when it is detected that the first charging port cover is in an open state and the state of the second charging port cover electronic lock corresponding to the second charging port cover is in an open state, before driving the second charging port cover electronic lock to a locked state, the method further includes:
[0011] When an unlocking instruction of the vehicle is detected, the first charging port cover electronic lock and the second charging port cover electronic lock are driven to an open state at the same time.
[0012] In a possible implementation, after the first charging port cover electronic lock and the second charging port cover electronic lock are both in the open state, the method further includes:
[0013] After detecting an unlocking command of the vehicle and before the vehicle is powered off, if both the first charging port cover and the second charging port cover are not opened, the first charging port cover electronic lock and the second charging port cover electronic lock are maintained in an open state until the vehicle is in a dormant state.
[0014] In a possible implementation, when it is detected that the first charging port cover is in an open state and the state of the second charging port cover electronic lock corresponding to the second charging port cover is in an open state, driving the second charging port cover electronic lock to a locked state includes:
[0015] When it is detected that the first charging port cover is in an open state and the state of the second charging port cover electronic lock corresponding to the second charging port cover is in an open state, if the vehicle is in a dormant state, the vehicle is woken up and the second charging port cover electronic lock is driven to a locked state.
[0016] In a possible implementation, after maintaining the locked state of the second charging port cover electronic lock or driving the second charging port cover electronic lock to the locked state, the method further includes:
[0017] When a vehicle charging completion signal is detected and it is detected that the first charging port cover is in a closed state, the second charging port cover electronic lock is driven to an open state, and the first charging port cover electronic lock is maintained in the open state.
[0018] In a possible implementation, the method further includes:
[0019] When a vehicle locking signal is detected, the first charging port cover electronic lock and the second charging port cover electronic lock are driven to a locked state.
[0020] In a second aspect, the present application provides a control device for a charging port cover electronic lock, comprising:
[0021] A first control module, configured to maintain the locked state of the second charging port cover electronic lock when it is detected that the first charging port cover is in an open state and the state of the second charging port cover electronic lock corresponding to the second charging port cover is in a locked state;
[0022] The second control module is further configured to drive the second charging port cover electronic lock to a locked state when it is detected that the first charging port cover is in an open state and the state of the second charging port cover electronic lock corresponding to the second charging port cover is in an open state;
[0023] Among them, the first charging port cover is a DC charging port cover, the second charging port cover is an AC charging port cover, and the second charging port cover electronic lock is an AC charging port cover electronic lock; or, the first charging port cover is an AC charging port cover, the second charging port cover is a DC charging port cover, and the second charging port cover electronic lock is a DC charging port cover electronic lock.
[0024] In a third aspect, the present application 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 processor executes the computer program, the steps of the method for controlling the electronic lock of the charging port cover as described in the first aspect or any possible implementation method of the first aspect are implemented.
[0025] In a fourth aspect, the present application provides a vehicle, comprising the electronic device provided in the third aspect above.
[0026] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the steps of the method for controlling the electronic lock of the charging port cover as described in the first aspect or any possible implementation method of the first aspect.
[0027] The embodiment of the present application provides a control method, device, electronic device and vehicle for the electronic lock of the charging port cover, which realizes the interlocking control of the charging port cover by maintaining the locking state of the electronic lock of the second charging port cover or driving the electronic lock of the second charging port cover to the locking state when the first charging port cover is detected to be in the open state, so as to avoid the risk of charging overcurrent caused by opening the AC charging port cover and the DC charging port cover at the same time, and using the AC charging gun and the DC charging gun to charge the vehicle at the same time. And the interlocking control logic of the charging port cover adopted in the present application has low software development difficulty and is easy to implement. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0029] Figure 1 is a flow chart of the implementation of the control method of the charging port cover electronic lock provided in the embodiment of the present application;
[0030] Figure 2 is a schematic diagram of the structure of a control device for a charging port cover electronic lock provided in an embodiment of the present application;
[0031] Figure 3 It is a schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0032] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0033] In order to make the purpose, technical solutions and advantages of the present application clearer, specific embodiments will be described below in conjunction with the accompanying drawings.
[0034] Figure 1 The following is a flowchart of a control method for a charging port cover electronic lock provided in an embodiment of the present application, as detailed below:
[0035] In view of the problem in the prior art that a user may insert a DC charging gun and an AC charging gun at the same time, in this embodiment, an interlocking logic of the electronic lock of the charging port cover is added to prevent the AC charging port and the DC charging port from being opened at the same time.
[0036] Step 101: when it is detected that the first charging port cover is in an open state and the state of the second charging port cover electronic lock is in a locked state, the locked state of the second charging port cover electronic lock is maintained.
[0037] Here, the first charging port cover is in an open state, indicating that the electronic lock of the first charging port cover is in an open state. It should be noted that the electronic lock of the charging port cover is in an open state, and at this time, the charging port cover can be opened by pressing the charging port cover to charge the vehicle.
[0038] Step 102, when it is detected that the first charging port cover is in an open state and the state of the second charging port cover electronic lock is in an open state, driving the second charging port cover electronic lock to a locked state;
[0039] Among them, the first charging port cover is a DC charging port cover, the second charging port cover is an AC charging port cover, and the second charging port cover electronic lock is an AC charging port cover electronic lock; or, the first charging port cover is an AC charging port cover, the second charging port cover is a DC charging port cover, and the second charging port cover electronic lock is a DC charging port cover electronic lock.
[0040] Optionally, when the first charging port cover and the corresponding first charging port cover electronic lock are both in open state, the user may use the first charging port to charge at this time. In order to prevent the user from using the second charging port to charge at the same time, the state of the second charging port cover electronic lock corresponding to the second charging port cover is detected. When the state of the second charging port cover electronic lock is locked, the locked state of the second charging port cover electronic lock is maintained. When the state of the second charging port cover electronic lock is open, the second charging port cover electronic lock is locked, so that the second charging port cannot be inserted into the charging gun, so that the vehicle avoids the risk of the AC charging port cover and the DC charging port cover being open at the same time and the AC charging gun and the DC charging gun being charged at the same time.
[0041] Optionally, when the first charging port cover electronic lock and the second charging port cover electronic lock are both in open state, the states of the first charging port cover and the second charging port cover are detected; if either of the first charging port cover and the second charging port cover is in open state, the charging port cover electronic lock corresponding to the other charging port cover will be driven to a locked state to avoid the risk that the first charging port cover and the second charging port cover can be opened at the same time and the AC charging gun and the DC charging gun can be charged at the same time.
[0042] In one embodiment, when a vehicle is equipped with a charging port cover electronic lock, the operation of charging the vehicle in the prior art is that the user clicks an icon or button on the HUT to open the corresponding charging port cover electronic lock, and then opens the corresponding charging port cover and inserts the charging gun to charge. The charging process is cumbersome. In this embodiment, the control of the AC charging port cover electronic lock and the DC charging port cover electronic lock is associated with the remote control unlocking button of the vehicle to realize automatic control of the charging port cover electronic lock, as described in detail as follows:
[0043] Before step 101 or before step 102, when an unlocking instruction of the vehicle is detected, the first charging port cover electronic lock and the second charging port cover electronic lock are driven to the open state at the same time, that is, the DC charging port cover electronic lock and the AC charging port cover electronic lock are driven to the open state.
[0044] The unlocking instruction here may be an instruction issued by the user using a key.
[0045] When the vehicle unlocking command is detected, the user may have the need to charge the vehicle, but it cannot be determined whether the user will charge with a DC charging gun or an AC charging gun. Therefore, the DC charging port cover electronic lock and the AC charging port cover electronic lock need to be opened at the same time to meet the different needs of users.
[0046] Before the vehicle is powered off, that is, after the unlocking command of the vehicle is detected, until the vehicle is powered off, if the first charging port cover and the second charging port cover are not opened, that is, the DC charging port cover and the AC charging port cover are not opened, that is to say, the user has not charged the vehicle, then the electronic lock of the first charging port cover and the electronic lock of the second charging port cover are maintained in the open state until the vehicle is in a dormant state, so that the user can charge the vehicle at any time.
[0047] Optionally, when it is detected that the first charging port cover is in an open state and the state of the second charging port cover electronic lock is in an open state, if the vehicle is in a dormant state, the vehicle is awakened and the second charging port cover electronic lock is driven to a locked state.
[0048] Here, the user opens any charging port cover when the vehicle is in sleep mode. Since both the DC charging port cover electronic lock and the AC charging port cover electronic lock are in open state at this time, in order to prevent the user from using the DC charging port and the AC charging port for charging at the same time and to implement interlocking control of the charging port covers, it is necessary to drive the other charging port cover electronic lock to be in locked state, and when the charging port cover is opened in sleep mode, the vehicle is woken up so that the vehicle can respond to the next charging request that the user may issue as soon as possible.
[0049] Optionally, when a vehicle charging completion signal is detected and the first charging port cover is detected to be in a closed state, in order to ensure that the DC charging port and the AC charging port are in an available state, it is necessary to keep the DC charging port cover electronic lock and the AC charging port cover electronic lock open, so the second charging port cover electronic lock is driven to an open state and the first charging port cover electronic lock is kept open.
[0050] When the vehicle locking signal is detected, the first charging port cover electronic lock and the second charging port cover electronic lock are driven to the locked state. Here, after the user locks the vehicle with the key, in order to prevent non-owners from opening the charging port cover and damaging the vehicle, the DC charging port cover electronic lock and the AC charging port cover electronic lock need to be driven to the locked state, so that the DC charging port cover and the AC charging port cover cannot be opened.
[0051] The above-mentioned control method of the electronic lock of the charging port cover realizes the interlocking control of the charging port cover by maintaining the locking state of the electronic lock of the second charging port cover or driving the electronic lock of the second charging port cover to the locking state when detecting that the first charging port cover is in the open state, so as to avoid the risk of charging overcurrent caused by opening the AC charging port cover and the DC charging port cover at the same time, and using the AC charging gun and the DC charging gun to charge the vehicle at the same time. And the interlocking control logic of the charging port cover adopted in this application has low software development difficulty and is easy to implement. In addition, by combining the control of the electronic lock of the charging port cover with the unlocking button of the vehicle key, intelligent control of the electronic lock of the charging port cover is realized, so that the user does not feel the constraint of the charging port cover in normal charging scenarios, thereby improving the user's charging experience.
[0052] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0053] The following is an embodiment of the device of the present application. For details not described in detail, please refer to the corresponding method embodiment described above.
[0054] Figure 2 The structure diagram of the control device of the electronic lock of the charging port cover provided in the embodiment of the present application is shown. For the convenience of explanation, only the part related to the embodiment of the present application is shown, which is described in detail as follows:
[0055] like Figure 2 As shown, the control device 2 of the charging port cover electronic lock includes: a first control module 21 and a second control module 22.
[0056] The first control module 21 is used to maintain the locked state of the second charging port cover electronic lock when it is detected that the first charging port cover is in the open state and the state of the second charging port cover electronic lock corresponding to the second charging port cover is in the locked state;
[0057] The second control module 22 is further configured to drive the second charging port cover electronic lock to a locked state when it is detected that the first charging port cover is in an open state and the state of the second charging port cover electronic lock corresponding to the second charging port cover is in an open state;
[0058] Among them, the first charging port cover is a DC charging port cover, the second charging port cover is an AC charging port cover, and the second charging port cover electronic lock is an AC charging port cover electronic lock; or, the first charging port cover is an AC charging port cover, the second charging port cover is a DC charging port cover, and the second charging port cover electronic lock is a DC charging port cover electronic lock.
[0059] In one embodiment, the second control module 22 is further configured to:
[0060] When an unlocking instruction of the vehicle is detected, the first charging port cover electronic lock and the second charging port cover electronic lock are driven to an open state at the same time.
[0061] After the first charging port cover electronic lock and the second charging port cover electronic lock are both in the open state, the first control module 21 is further used to:
[0062] After detecting an unlocking command of the vehicle and before the vehicle is powered off, if both the first charging port cover and the second charging port cover are not opened, the first charging port cover electronic lock and the second charging port cover electronic lock are maintained in an open state until the vehicle is in a dormant state.
[0063] In one embodiment, when it is detected that the first charging port cover is in an open state and the state of the second charging port cover electronic lock corresponding to the second charging port cover is in an open state, the second control module 22 drives the second charging port cover electronic lock to a locked state, which can be used to:
[0064] When it is detected that the first charging port cover is in an open state and the state of the second charging port cover electronic lock corresponding to the second charging port cover is in an open state, if the vehicle is in a dormant state, the vehicle is woken up and the second charging port cover electronic lock is driven to a locked state.
[0065] In one embodiment, when a vehicle charging completion signal is detected and the first charging port cover is detected to be in a closed state, the second control module 22 is also used to drive the second charging port cover electronic lock to an open state, and the first control module 21 simultaneously maintains the open state of the first charging port cover electronic lock.
[0066] In one embodiment, when a vehicle locking signal is detected, the control module 22 is further configured to drive the first charging port cover electronic lock and the second charging port cover electronic lock to a locked state.
[0067] The control device of the electronic lock of the charging port cover can realize interlocking control of the charging port cover by, when it is detected that the first charging port cover is in the open state, the first control module maintains the locking state of the second charging port cover electronic lock or the second control module drives the second charging port cover electronic lock to the locked state, so as to avoid the risk of charging overcurrent caused by opening the AC charging port cover and the DC charging port cover at the same time, and using the AC charging gun and the DC charging gun to charge the vehicle at the same time. And the interlocking control logic of the charging port cover adopted in this application has low software development difficulty and is easy to implement. In addition, by combining the control of the electronic lock of the charging port cover with the unlocking and locking buttons of the vehicle key, intelligent control of the electronic lock of the charging port cover is realized, so that the user does not feel the constraint of the charging port cover in normal charging scenarios, thereby improving the user's charging experience.
[0068] The present application also provides a computer program product having a program code, which executes the steps of any of the above-mentioned control methods for the electronic lock of the charging port cover when the program code is executed in a corresponding processor, controller, computing device or terminal, such as Figure 1 Steps 101 to 103 shown. It will be appreciated by those skilled in the art that the method and the device proposed in the embodiment of the present application can be implemented in various forms of hardware, software, firmware, a dedicated processor or a combination thereof. The dedicated processor may include an application specific integrated circuit (ASIC), a reduced instruction set computer (RISC) and / or a field programmable gate array (FPGA). The proposed method and device are preferably implemented as a combination of hardware and software. The software is preferably installed on a program storage device as an application. It is typically based on a machine with a computer platform having hardware, such as one or more central processing units (CPUs), random access memories (RAMs) and one or more input / output (I / O) interfaces. An operating system is also typically installed on a computer platform. The various processes and functions described herein may be part of an application, or a part thereof may be executed by an operating system.
[0069] Figure 3 Schematic diagram of an electronic device provided in an embodiment of the present application. Figure 3 As shown, the electronic device 3 of this embodiment includes: a processor 30, a memory 31, and a computer program 32 stored in the memory 31 and executable on the processor 30. When the processor 30 executes the computer program 32, the steps in the above-mentioned control method of the charging port cover electronic lock are implemented, such as Figure 1 Alternatively, when the processor 30 executes the computer program 32, the functions of each module / unit in the above-mentioned device embodiments are implemented, for example Figure 2 Functions of modules / units 21 to 22 are shown.
[0070] Exemplarily, the computer program 32 may be divided into one or more modules / units, one or more modules / units are stored in the memory 31, and are executed by the processor 30 to complete / implement the solution provided by the present application. One or more modules / units may be a series of computer program instruction segments that can complete specific functions, and the instruction segments are used to describe the execution process of the computer program 32 in the electronic device 3. For example, the computer program 32 may be divided into Figure 2 Modules / units 21 to 22 are shown.
[0071] The electronic device 3 may include, but is not limited to, a processor 30 and a memory 31. Those skilled in the art will appreciate that Figure 3 It is only an example of the electronic device 3 and does not constitute a limitation of the electronic device 3. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic device may also include input and output devices, network access devices, buses, etc.
[0072] The processor 30 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0073] The memory 31 may be an internal storage unit of the electronic device 3, such as a hard disk or memory of the electronic device 3. The memory 31 may also be an external storage device of the electronic device 3, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 3. Further, the memory 31 may also include both an internal storage unit and an external storage device of the electronic device 3. The memory 31 is used to store the computer program and other programs and data required by the electronic device. The memory 31 may also be used to temporarily store data that has been output or is to be output.
[0074] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0075] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0076] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example 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 performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0077] In the embodiments provided in the present application, it should be understood that the disclosed devices / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0078] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0079] An embodiment of the present application also provides a vehicle, comprising the electronic device provided by the above embodiment, and having the beneficial effects brought by the above electronic device.
[0080] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0081] If the integrated module / unit is implemented in the form of 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 present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the control method embodiments of each charging port cover electronic lock can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device that can carry the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practices in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practices, computer-readable media does not include electrical carrier signals and telecommunication signals.
[0082] In addition, the embodiments shown in the drawings of the present application or the features of the various embodiments mentioned in this specification are not necessarily understood as independent embodiments. Instead, each feature described in one example of an embodiment can be combined with one or more other desired features from other embodiments to produce other embodiments not described in words or with reference to the drawings.
[0083] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A control method for an electronic lock of a charging port cover, It is characterized in that include: When it is detected that the first charging port cover is in an open state and the state of the second charging port cover electronic lock corresponding to the second charging port cover is in a locked state, maintaining the locked state of the second charging port cover electronic lock; When it is detected that the first charging port cover is in an open state and the state of the second charging port cover electronic lock corresponding to the second charging port cover is in an open state, driving the second charging port cover electronic lock to a locked state; Wherein, the first charging port cover is a DC charging port cover, the second charging port cover is an AC charging port cover, and the second charging port cover electronic lock is an AC charging port cover electronic lock; or, the first charging port cover is an AC charging port cover, the second charging port cover is a DC charging port cover, and the second charging port cover electronic lock is a DC charging port cover electronic lock; When it is detected that the first charging port cover is in an open state and the state of the second charging port cover electronic lock corresponding to the second charging port cover is in a locked state, before maintaining the locked state of the second charging port cover electronic lock, or when it is detected that the first charging port cover is in an open state and the state of the second charging port cover electronic lock corresponding to the second charging port cover is in an open state, before driving the second charging port cover electronic lock to a locked state, the method further includes: When an unlocking command of the vehicle is detected, the first charging port cover electronic lock and the second charging port cover electronic lock are driven to an open state at the same time; the unlocking command is a command issued by the user through the key; After detecting an unlocking command of the vehicle and before the vehicle is powered off, if both the first charging port cover and the second charging port cover are not opened, maintaining the first charging port cover electronic lock and the second charging port cover electronic lock in an open state until the vehicle is in a dormant state; After maintaining the locked state of the second charging port cover electronic lock or driving the second charging port cover electronic lock to the locked state, the method further includes: When a vehicle charging completion signal is detected and it is detected that the first charging port cover is in a closed state, the second charging port cover electronic lock is driven to an open state, and the first charging port cover electronic lock is maintained in the open state.
2. The control method of the charging port cover electronic lock according to claim 1, It is characterized in that When it is detected that the first charging port cover is in an open state and the state of the second charging port cover electronic lock corresponding to the second charging port cover is in an open state, driving the second charging port cover electronic lock to a locked state includes: When it is detected that the first charging port cover is in an open state and the state of the second charging port cover electronic lock corresponding to the second charging port cover is in an open state, if the vehicle is in a dormant state, the vehicle is woken up and the second charging port cover electronic lock is driven to a locked state.
3. The control method of the charging port cover electronic lock according to any one of claims 1-2, It is characterized in that Also includes: When a vehicle locking signal is detected, the first charging port cover electronic lock and the second charging port cover electronic lock are driven to a locked state.
4. A control device for the electronic lock of the charging port cover, It is characterized in that include: A first control module, configured to maintain the locked state of the second charging port cover electronic lock when it is detected that the first charging port cover is in an open state and the state of the second charging port cover electronic lock corresponding to the second charging port cover is in a locked state; The second control module is further configured to drive the second charging port cover electronic lock to a locked state when it is detected that the first charging port cover is in an open state and the state of the second charging port cover electronic lock corresponding to the second charging port cover is in an open state; Wherein, the first charging port cover is a DC charging port cover, the second charging port cover is an AC charging port cover, and the second charging port cover electronic lock is an AC charging port cover electronic lock; or, the first charging port cover is an AC charging port cover, the second charging port cover is a DC charging port cover, and the second charging port cover electronic lock is a DC charging port cover electronic lock; When it is detected that the first charging port cover is in an open state and the state of the second charging port cover electronic lock corresponding to the second charging port cover is in a locked state, before maintaining the locked state of the second charging port cover electronic lock, or when it is detected that the first charging port cover is in an open state and the state of the second charging port cover electronic lock corresponding to the second charging port cover is in an open state, before driving the second charging port cover electronic lock to a locked state, the method further includes: When an unlocking command of the vehicle is detected, the first charging port cover electronic lock and the second charging port cover electronic lock are driven to an open state at the same time; After detecting an unlocking command of the vehicle and before the vehicle is powered off, if both the first charging port cover and the second charging port cover are not opened, maintaining the first charging port cover electronic lock and the second charging port cover electronic lock in an open state until the vehicle is in a dormant state; After maintaining the locked state of the second charging port cover electronic lock or driving the second charging port cover electronic lock to the locked state, the method further includes: When a vehicle charging completion signal is detected and it is detected that the first charging port cover is in a closed state, the second charging port cover electronic lock is driven to an open state, and the first charging port cover electronic lock is maintained in the open state.
5. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the steps of the method for controlling the electronic lock of the charging port cover as described in any one of claims 1 to 3 are implemented.
6. A vehicle, It is characterized in that The electronic device comprising the electronic device described in claim 5 above.
7. A computer-readable storage medium storing a computer program, It is characterized in that When the computer program is executed by a processor, the steps of the method for controlling the electronic lock of the charging port cover as described in any one of claims 1 to 3 are implemented.
