Charging port cover control method, device, vehicle and storage medium

By detecting the status of the charging port cover and generating a control request, calling the charging port cover control module software interface and activating enhanced services, it solves the problem that the existing technology is not designed based on SOA architecture, and realizes multi-scenario applicability and efficient control of the charging port cover. Improved user experience and development efficiency.

CN115946782BActive Publication Date: 2024-09-06CHONGQING CHANGAN TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202211603447.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-13
Publication Date
2024-09-06
Estimated Expiration
2042-12-13

AI Technical Summary

Technical Problem

The existing technology is not designed based on SOA architecture, and the charging port cover control method is suitable for a single scenario, resulting in a long development cycle and unable to meet the needs of intelligence.

Method used

By detecting the actual status of the charging port cover, generating a control request and calling the charging port cover control module software interface, transmitting the request parameters, activating the enhanced service and performing range verification, controlling the drive motor to retract or open the charging port cover, a unified software interface is designed. To support multiple scene calls.

Benefits of technology

It realizes charging port cover control based on SOA architecture, improves the quality and stability of application layer control software, shortens the development cycle, provides real-time feedback and functions applicable to multiple scenarios, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115946782B
    Figure CN115946782B
Patent Text Reader

Abstract

The present application relates to a control method, device, vehicle and storage medium for a charging port cover, wherein the method includes: detecting the actual state of the charging port cover; generating a charging port cover control request according to the actual state, and calling the charging port cover control module software interface based on the charging port cover control request to transmit the corresponding request parameters; after activating the charging port cover enhanced service based on the request parameters, performing a range check on the request parameters, and transmitting the request parameters to the enhanced service periodic main control function within a preset allowable range to control the drive motor to retract or open the charging port cover. The present application can be based on the SOA architecture, and by designing the closing control software interface of the charging port cover, the charging port cover control module software interface parses and arbitrates the received control instructions, thereby providing a unified software interface for different scenarios, improving the quality and stability of the charging port cover application layer control software, shortening the development cycle, and providing real-time feedback information to effectively improve the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of vehicle charging control, and in particular to a control method, device, vehicle and storage medium for a charging port cover. Background Art

[0002] As an important opening and closing component of new energy vehicles, the opening and closing control of the charging cover is very important. At present, as intelligence has become the focus of attention, the application function scenarios of the charging cover are also increasing. In addition to the conventional manual unlocking, many functions to enhance the user experience have been added, such as automatic retraction during driving, automatic retraction during timing, and opening and closing controlled by radio frequency keys. In terms of software implementation, the industry currently uses a single signal to define the software interface of the charging cover control module. At present, software-defined cars have become an industry consensus, and the software architecture has begun to be designed for SOA (Service Oriented Architecture). Based on the SOA architecture, calls are made between application service levels.

[0003] At present, the relevant technology can send control instructions to control the opening of the vehicle's charging port cover after identifying the radio frequency signal and vehicle information; in addition, the relevant technology can also determine whether to close the charging port cover based on whether a charging gun is plugged into the charging port. The charging port cover is closed only when there is no charging gun plugged into the charging port, which solves the problem of the charging port cover automatically closing when the charging gun is not unplugged.

[0004] However, the relevant technologies are not designed based on the SOA architecture, and the control methods are applicable to only a single scenario and have a long development cycle, which needs to be urgently resolved. Summary of the invention

[0005] The present application provides a control method, device, vehicle and storage medium for a charging port cover to solve the problems that the related technology is not designed based on the SOA architecture, the control method has a single applicable scenario and a long development cycle.

[0006] The first aspect of the present application provides a method for controlling a charging port cover, comprising the following steps: detecting an actual state of the charging port cover; generating a charging port cover control request according to the actual state, and calling a charging port cover control module software interface based on the charging port cover control request to transmit corresponding request parameters; and after activating a charging port cover enhanced service based on the request parameters, performing a range check on the request parameters, transmitting the request parameters to an enhanced service periodic main control function within a preset allowable range, and controlling a drive motor to retract or open the charging port cover.

[0007] According to the above-mentioned technical means, the embodiment of the present application can be based on the SOA architecture, by designing the closing control software interface of the charging port cover, and the charging port cover control module software interface parses and arbitrates the received control instructions, so as to provide a unified software interface for different scenarios, improve the quality and stability of the charging port cover application layer control software, shorten the development cycle, and at the same time provide real-time feedback information to effectively improve the user experience.

[0008] Optionally, in one embodiment of the present application, the request parameters include motor control command parameters, charging cover motor control priority, and a system service identifier for automatic retraction of the charging cover during driving.

[0009] According to the above technical means, the embodiment of the present application effectively ensures the reasonable and efficient control of the charging port cover by setting appropriate request parameters, thereby improving the quality of the charging port cover application layer control software.

[0010] Optionally, in one embodiment of the present application, before controlling the drive motor to retract or open the charging port cover, it also includes: performing priority arbitration based on the charging port cover motor control priority, and determining an execution action according to the arbitration result.

[0011] According to the above technical means, the embodiment of the present application can perform corresponding actions according to the priority order of the charging port cover motor control, thereby effectively improving the stability of the charging port cover application layer control software module, while having real-time feedback information, improving the user experience.

[0012] Optionally, in one embodiment of the present application, the retraction priority of the charging port cover motor control priority is greater than the opening priority of the charging port cover motor control priority.

[0013] According to the above-mentioned technical means, the embodiment of the present application can realize asynchronous and synchronous calls of multiple scenarios by determining the priority order of the retraction and opening operations controlled by the charging port cover motor, making the multi-scenario service calls more reasonable and orderly, and improving the scenario universality and software quality.

[0014] Optionally, in one embodiment of the present application, generating a charging port cover control request based on the actual state includes: generating a charging port cover retraction request when it is detected that the actual state is an open state and the actual speed of the vehicle is greater than a preset speed; generating a charging port cover opening request when it is detected that the actual state is a closed state.

[0015] According to the above technical means, the embodiment of the present application generates a corresponding control request according to the actual state of the charging port cover, thereby providing a reliable basis and guidance for the subsequent control of the charging port cover.

[0016] A second aspect of the present application provides a control device for a charging port cover, comprising: a detection module for detecting an actual state of the charging port cover; a transmission module for generating a charging port cover control request according to the actual state, and calling a charging port cover control module software interface based on the charging port cover control request to transmit corresponding request parameters; and a control module for, after activating a charging port cover enhanced service based on the request parameters, performing a range check on the request parameters, transmitting the request parameters to an enhanced service periodic main control function within a preset allowable range, and controlling a drive motor to retract or open the charging port cover.

[0017] Optionally, in one embodiment of the present application, the request parameters include motor control command parameters, charging cover motor control priority, and a system service identifier for automatic retraction of the charging cover during driving.

[0018] Optionally, in one embodiment of the present application, it also includes: an arbitration module, which is used to perform priority arbitration based on the charging port cover motor control priority before controlling the drive motor to retract or open the charging port cover, and determine the execution action according to the arbitration result.

[0019] Optionally, in one embodiment of the present application, the retraction priority of the charging port cover motor control priority is greater than the opening priority of the charging port cover motor control priority.

[0020] Optionally, in one embodiment of the present application, the transmission module includes: a first generation unit, used to generate a charging port cover retraction request when it is detected that the actual state is an open state and the actual speed of the vehicle is greater than a preset speed; a second generation unit, used to generate a charging port cover opening request when it is detected that the actual state is a closed state.

[0021] A third aspect of the present application provides a vehicle, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method for controlling the charging port cover as described in the above embodiment.

[0022] A fourth aspect of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, which, when executed by a processor, implements the above-mentioned charging port cover control method.

[0023] Therefore, the embodiments of the present application have the following beneficial effects:

[0024] (1) The embodiments of the present application can be based on the SOA architecture. By designing a charging port cover closing control software interface, the charging port cover control module software interface parses and arbitrates the received control instructions, thereby providing a unified software interface for different scenarios, improving the quality and stability of the charging port cover application layer control software, shortening the development cycle, and providing real-time feedback information to effectively improve the user experience.

[0025] (2) The embodiment of the present application effectively ensures the reasonable and efficient control of the charging port cover by setting appropriate request parameters, thereby improving the quality of the charging port cover application layer control software.

[0026] (3) The embodiment of the present application can execute corresponding actions according to the priority order of the charging port cover motor control, thereby effectively improving the stability of the charging port cover application layer control software module, and at the same time providing real-time feedback information, thereby improving the user experience.

[0027] (4) The embodiment of the present application determines the priority order of the retracting and opening operations of the charging port cover motor control, thereby realizing asynchronous and synchronous calls of multiple scenarios, making the multi-scenario service calls more reasonable and orderly, and improving the scenario universality and software quality.

[0028] (5) The embodiment of the present application generates a corresponding control request according to the actual state of the charging port cover, thereby providing a reliable basis and guidance for the subsequent control of the charging port cover.

[0029] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0031] Figure 1 A flowchart of a method for controlling a charging port cover according to an embodiment of the present application;

[0032] Figure 2 A logic diagram of an external interface of a charging port cover provided for one embodiment of the present application;

[0033] Figure 3 This is an exemplary diagram of a control device for a charging port cover according to an embodiment of the present application;

[0034] Figure 4 A schematic diagram of the structure of a vehicle provided in an embodiment of the present application.

[0035] Among them, 10 is a control device of the charging port cover, 100 is a detection module, 200 is a transmission module, 300 is a control module, 401 is a memory, 402 is a processor, and 403 is a communication interface. DETAILED DESCRIPTION

[0036] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0037] The following describes the control method, device, vehicle and storage medium of the charging cover of the embodiment of the present application with reference to the accompanying drawings. In view of the problems mentioned in the above background technology, the present application provides a control method of the charging cover, in which the actual state of the charging cover is detected; a charging cover control request is generated according to the actual state, and the charging cover control module software interface is called based on the charging cover control request to transmit the corresponding request parameters; after the charging cover enhanced service is activated based on the request parameters, the request parameters are range checked, and the request parameters are transmitted to the enhanced service periodic main control function within the preset allowable range to control the drive motor to retract or open the charging cover. The present application can be based on the SOA architecture, and by designing the closing control software interface of the charging cover, the charging cover control module software interface parses and arbitrates the received control instructions, so as to provide a unified software interface for different scenarios, improve the quality and stability of the charging cover application layer control software, shorten the development cycle, and also provide real-time feedback information to effectively improve the user experience. Therefore, the problems that the related technology is not designed based on the SOA architecture, the control method is applicable to a single scenario, and the development cycle is long are solved.

[0038] Specifically, Figure 1 A flowchart of a method for controlling a charging port cover provided in an embodiment of the present application.

[0039] like Figure 1 As shown, the control method of the charging port cover includes the following steps:

[0040] In step S101 , the actual state of the charging port cover is detected.

[0041] It should be noted that in the embodiment of the present application, when the device is normal, after the device is powered on, the system service enters the Idle state, and then the state of the charging port cover can be detected, thereby providing a basis for implementing the corresponding control operations of the subsequent charging port cover.

[0042] In step S102, a charging port cover control request is generated according to the actual state, and a charging port cover control module software interface is called based on the charging port cover control request to transmit corresponding request parameters.

[0043] After detecting the actual state of the charging port cover, the embodiment of the present application can further generate a corresponding control request according to the actual opening and closing state, and call the software interface in the form of a function in the charging port cover control module, such as Figure 2 As shown in the figure, the function name is M, which can support internal calls and external remote calls through a specific communication protocol. The function includes a set of common input and output parameters to achieve the transmission of corresponding request parameters, etc.

[0044] Optionally, in one embodiment of the present application, a charging port cover control request is generated according to the actual state, including: when the actual state is detected to be an open state and the actual speed of the vehicle is greater than a preset speed, a charging port cover retraction request is generated; when the actual state is detected to be a closed state, a charging port cover opening request is generated.

[0045] It should be noted that, in the embodiment of the present application, when it is detected that the charging port cover is in an open state and the vehicle is traveling at a speed greater than a certain threshold, such as 3 km / h, the system service software module of the charging port cover module will judge the request as the charging port cover retraction, and call the charging port cover control module software interface to perform corresponding operations;

[0046] As another possible situation, when the device is normal and all system services enter the Idle state after power-on, when the charging port cover is in the closed state, the embodiment of the present application can generate a charging port cover opening request, and the user can open the charging port cover by controlling the motor, and request to activate the charging port cover enhanced service and pass the control parameters by calling the charging port cover control module software interface.

[0047] Therefore, the embodiment of the present application generates a corresponding control request according to the actual state of the charging port cover, thereby providing a reliable basis and guidance for the subsequent control of the charging port cover.

[0048] Optionally, in one embodiment of the present application, the request parameters include motor control command parameters, charging cover motor control priority, and a system service identifier for automatic retraction of the charging cover during driving.

[0049] In the embodiment of the present application, the request parameters include the motor control command parameter Motctrl, the charging port cover motor control priority ChrgCbnCtrlSub, and the system service ID (Identification) of the automatic retraction of the charging port cover during driving.

[0050] Among them, the motor control command MotCtrl parameter includes four definitions, namely no request, unlock, lock and stop movement, and the motor movement is controlled by passing the motor control command parameters; the charging cover control command priority ChrgCbnCtrlSub is defined as an integer in the range of 0-65535; the request information RequestInfo, wherein the request information RequestInfo includes the request ID and session ID of the service call issued by the requester, and the service requested to be called has an exclusive ID, such as the system service ID of the automatic retraction of the charging cover during driving or the system service ID of the switch control unlocking, so as to distinguish the currently executing calling service, and the parameters passed through the charging cover control module software interface to request the activation of the charging cover enhanced service.

[0051] Therefore, the embodiments of the present application effectively ensure reasonable and efficient control of the charging port cover by setting appropriate request parameters, thereby improving the quality of the charging port cover application layer control software.

[0052] In step S103, after the charging port cover enhanced service is activated based on the request parameters, the request parameters are range-checked, and the request parameters are transmitted to the enhanced service periodic main control function within the preset allowable range to control the drive motor to retract or open the charging port cover.

[0053] After activating the charging port cover enhanced service according to the requested parameters, further, the embodiment of the present application can perform a range check on the incoming parameters, pass the parameters to the enhanced service periodic main control function within the allowable range, and control the drive motor to perform corresponding retracting or opening operations of the charging port cover, thereby improving the quality of the software and shortening the software development cycle.

[0054] Optionally, in one embodiment of the present application, before controlling the drive motor to retract or open the charging port cover, it also includes: performing priority arbitration based on the charging port cover motor control priority, and determining an execution action according to the arbitration result.

[0055] It should be noted that, in the embodiment of the present application, the output parameter is the service response information ResponseInfo, including the request ID for calling the service issued by the requester, the session ID for calling the service issued by the requester, and the general service request response status RtnCd_General.

[0056] The request ID in the output parameter is the ID with the highest priority currently being executed. The service request response status RtnCd_General provides feedback to the caller on the execution status of the current command, including successful execution, high priority busy first, current mode not supported, response timeout, overheat protection, parameter out of range, etc.

[0057] The external software interface of the charging port cover can be called by multiple scene services. When different scenes are called at the same time, priority arbitration comparison is performed first, and the service with higher priority is executed according to the arbitration result.

[0058] Therefore, the embodiments of the present application can perform corresponding actions according to the priority order of the charging port cover motor control, thereby effectively improving the stability of the charging port cover application layer control software module, while having real-time feedback information, improving the user experience.

[0059] Optionally, in one embodiment of the present application, the retraction priority of the charging port cover motor control priority is greater than the opening priority of the charging port cover motor control priority.

[0060] It should be noted that before controlling the drive motor to retract or open the charging port cover, the embodiments of the present application can define different priorities according to different scenarios, and the retraction priority of the charging port cover motor control priority is greater than the opening priority of the charging port cover motor control priority.

[0061] Therefore, the embodiments of the present application can realize asynchronous and synchronous calls of multiple scenarios by determining the priority order of the retraction and opening operations controlled by the charging port cover motor, making the multi-scenario service calls more reasonable and orderly, and improving the scenario universality and software quality.

[0062] The following application introduces a functional scenario of realizing automatic retraction of a vehicle by using a control method of a charging port cover through a specific embodiment, and the process is as follows:

[0063] 1. After power-on, this service enters the Idle state. When the charging port cover is open, when the vehicle is started, and when the driving speed is greater than 3 km / h, the system service software module of the charging port cover module will determine that the request is to retract the charging port cover;

[0064] 2. Call the charging port cover control module software interface and transmit the corresponding request parameters. For example, the motor control command parameter Motctrl is 2, which means retracting the charging port cover; the charging port cover motor control priority ChrgCbnCtrlSub is assigned to 4, and the system service ID of the automatic retraction of the charging port cover during driving is transmitted through the charging port cover control module software interface to request activation of the charging port cover enhanced service;

[0065] 3. The charging cover control module software performs a range check on the input parameters, and passes the parameters to the enhanced service periodic main control function within the allowable range, executes motor control, retracts the charging cover, and notifies that the enhanced service status is Running at this time. The executed system service ID is the ID of automatic retraction during driving. When the service status feedback is Complete, it means that the service execution of automatic retraction of the charging cover during driving is completed.

[0066] Secondly, the present application introduces the functional scenario of switch control unlocking through another specific embodiment, and the specific execution process is as follows:

[0067] 1. When the device is normal, the system services enter the Idle state after power-on. When the charging cover is closed, the user presses the switch that controls the opening and closing of the charging cover;

[0068] 2. Control the motor to open the charging port cover. By calling the charging port cover control module software interface, request to activate the charging port cover enhanced service and pass the control parameters. Transmit the corresponding request parameters. For example, the motor control command parameter Motctrl is 1, which means to open the charging port cover. The charging port cover motor control priority ChrgCbnCtrlSub is assigned to 4, and the switch control unlocking system service ID;

[0069] 3. After the parameters are verified, they are passed to the enhanced service periodic main control function to execute motor control, open the charging port cover, and notify that the enhanced service status is Running at this time. The executed system service ID is the ID of the switch control unlocking, and the service running status feedback is Running. At this time, the user presses the switch of the charging port cover again. Because the charging port cover is in the open state, it is determined that the demand is to close the charging port cover;

[0070] 4. The system service for closing the charging port cover calls the software interface of the charging port cover control module and passes the control parameters. The motor control command parameter Motctrl is 2, which means closing the charging port cover. The charging port cover motor control priority ChrgCbnCtrlSub is assigned to 4, and the switch control unlocking system service ID;

[0071] 5. The enhanced service performs priority arbitration on new calls and executed calls. The priority of closing is equal to opening. Therefore, the main control function of the enhanced service turns on the interruption, executes the closing operation, and sends the current service status as Interrupted. After receiving the notification, the charging cover opening system service enters the Interrupted state, and then enters the Idle state for one cycle.

[0072] 6. The service of closing the charging cover is executed and enters the Running state. After completion, it enters the Completed state. The whole process of opening the charging cover is not interrupted, and the process of closing the charging cover is successfully executed.

[0073] According to the control method of the charging cover proposed in the embodiment of the present application, the actual state of the charging cover is detected; a charging cover control request is generated according to the actual state, and the charging cover control module software interface is called based on the charging cover control request to transmit the corresponding request parameters; after the charging cover enhanced service is activated based on the request parameters, the request parameters are range-checked, and the request parameters are transmitted to the enhanced service periodic main control function within the preset allowable range to control the drive motor to retract or open the charging cover. The present application can be based on the SOA architecture, and by designing the closing control software interface of the charging cover, the charging cover control module software interface parses and arbitrates the received control instructions, thereby providing a unified software interface for different scenarios, improving the quality and stability of the charging cover application layer control software, shortening the development cycle, and providing real-time feedback information to effectively improve the user experience.

[0074] Next, the control device of the charging port cover proposed in accordance with the embodiment of the present application will be described with reference to the accompanying drawings.

[0075] Figure 3 Schematic diagram of a control device for a charging port cover according to an embodiment of the present application.

[0076] like Figure 3 As shown, the control device 10 of the charging port cover includes: a detection module 100 , a transmission module 200 and a control module 300 .

[0077] The detection module 100 is used to detect the actual status of the charging port cover.

[0078] The transmission module 200 is used to generate a charging port cover control request according to the actual state, and call the charging port cover control module software interface based on the charging port cover control request to transmit corresponding request parameters.

[0079] The control module 300 is used to perform a range check on the request parameters after activating the charging port cover enhanced service based on the request parameters, transmit the request parameters to the enhanced service periodic main control function within a preset allowable range, and control the drive motor to retract or open the charging port cover.

[0080] Optionally, in one embodiment of the present application, the request parameters include motor control command parameters, charging cover motor control priority, and a system service identifier for automatic retraction of the charging cover during driving.

[0081] Optionally, in one embodiment of the present application, the control device 10 of the charging port cover of the embodiment of the present application also includes: an arbitration module, which is used to perform priority arbitration based on the charging port cover motor control priority before controlling the drive motor to retract or open the charging port cover, and determine the execution action according to the arbitration result.

[0082] Optionally, in one embodiment of the present application, the retraction priority of the charging port cover motor control priority is greater than the opening priority of the charging port cover motor control priority.

[0083] Optionally, in one embodiment of the present application, the transmission module 200 includes: a first generation unit and a second generation unit.

[0084] The first generating unit is used to generate a charging port cover retracting request when it is detected that the actual state is an open state and the actual speed of the vehicle is greater than a preset speed.

[0085] The second generating unit is used to generate a charging port cover opening request when it is detected that the actual state is the closed state.

[0086] It should be noted that the above explanation of the embodiment of the control method of the charging port cover is also applicable to the control device of the charging port cover of this embodiment, and will not be repeated here.

[0087] According to the control device of the charging cover proposed in the embodiment of the present application, the actual state of the charging cover is detected; a charging cover control request is generated according to the actual state, and the charging cover control module software interface is called based on the charging cover control request to transmit the corresponding request parameters; after the charging cover enhanced service is activated based on the request parameters, the request parameters are range-checked, and the request parameters are transmitted to the enhanced service periodic main control function within the preset allowable range to control the drive motor to retract or open the charging cover. The present application can be based on the SOA architecture, and by designing the closing control software interface of the charging cover, the charging cover control module software interface parses and arbitrates the received control instructions, thereby providing a unified software interface for different scenarios, improving the quality and stability of the charging cover application layer control software, shortening the development cycle, and providing real-time feedback information to effectively improve the user experience.

[0088] Figure 4 A schematic diagram of the structure of a vehicle provided in an embodiment of the present application. The vehicle may include:

[0089] Memory 401 , processor 402 , and a computer program stored in the memory 401 and executable on the processor 402 .

[0090] When the processor 402 executes the program, the control method of the charging port cover provided in the above embodiment is implemented.

[0091] Furthermore, the vehicle also includes:

[0092] The communication interface 403 is used for communication between the memory 401 and the processor 402 .

[0093] The memory 401 is used to store computer programs that can be executed on the processor 402 .

[0094] The memory 401 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0095] If the memory 401, the processor 402 and the communication interface 403 are implemented independently, the communication interface 403, the memory 401 and the processor 402 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0096] Optionally, in a specific implementation, if the memory 401, the processor 402 and the communication interface 403 are integrated on a chip, the memory 401, the processor 402 and the communication interface 403 can communicate with each other through an internal interface.

[0097] The processor 402 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.

[0098] An embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the above-mentioned method for controlling the charging port cover.

[0099] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0100] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0101] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or N executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0102] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or N wirings (electronic devices), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways as necessary and then storing it in a computer memory.

[0103] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above embodiment, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. If implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0104] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0105] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0106] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A method for controlling a charging port cover, characterized in that: The following steps are involved: Detect the actual status of the charging port cover; generating a charging port cover control request according to the actual state, and calling a charging port cover control module software interface based on the charging port cover control request to transmit corresponding request parameters; as well as After activating the charging port cover enhanced service based on the request parameter, performing a range check on the request parameter, transmitting the request parameter to the enhanced service periodic main control function within a preset allowable range, and controlling the drive motor to retract or open the charging port cover; The request parameters include motor control command parameters, charging cover motor control priority, and a system service identifier for automatic retraction of the charging cover during driving.

2. The method according to claim 1, characterized in that Before controlling the driving motor to retract or open the charging port cover, the method further includes: Priority arbitration is performed based on the charging port cover motor control priority, and an execution action is determined according to the arbitration result.

3. The method according to claim 1 or 2, characterized in that: The retracting priority of the charging port cover motor control priority is greater than the opening priority of the charging port cover motor control priority.

4. The method according to claim 1, characterized in that: The generating a charging port cover control request according to the actual state includes: When it is detected that the actual state is the open state and the actual speed of the vehicle is greater than a preset speed, generating a charging port cover retracting request; When it is detected that the actual state is the closed state, a charging port cover opening request is generated.

5. A control device for a charging port cover, characterized in that: include: A detection module, used to detect the actual status of the charging port cover; a transmission module, configured to generate a charging port cover control request according to the actual state, and call a charging port cover control module software interface based on the charging port cover control request to transmit corresponding request parameters; as well as a control module, configured to perform a range check on the request parameter after activating the charging port cover enhanced service based on the request parameter, transmit the request parameter to the enhanced service periodic main control function within a preset allowable range, and control the drive motor to retract or open the charging port cover; The request parameters include motor control command parameters, charging cover motor control priority, and a system service identifier for automatic retraction of the charging cover during driving.

6. The device according to claim 5, characterized in that Also includes: The arbitration module is used to perform priority arbitration based on the charging port cover motor control priority before controlling the driving motor to retract or open the charging port cover, and determine an execution action according to the arbitration result.

7. A vehicle, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method for controlling the charging port cover according to any one of claims 1 to 4.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: The program is executed by a processor to implement the control method of the charging port cover as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Charging device and vehicle having plurality of charging interfaces

    CN109649195A

  • Control method and device for vehicle charging cover, vehicle charging cover controller and vehicle

    CN109672737A

  • Control device and method for charging port cover, electronic equipment and storage medium

    CN111824271A

  • Automatic opening and closing control method and device for charging port cover

    CN114016852A

  • Electric charging port cover control method and device, vehicle and readable storage medium

    CN115288561A