Charging port indicator light control method, vehicle, equipment and medium

By setting multiple instruction sets in the charging port indicator control module and jumping control instructions according to event priority, the problem of confusing the charging port indicator switching logic is solved, and switching efficiency and compatibility are improved.

CN118876853AActive Publication Date: 2024-11-01CHINA FAW CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411077941.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-07
Publication Date
2024-11-01
Estimated Expiration
2044-08-07

AI Technical Summary

Technical Problem

The switching logic of the charging port indicator light is confused, resulting in switching errors and low switching efficiency.

Method used

A multiple instruction set is set in the control module of the charging port indicator. Each instruction set contains at least one control instruction for the charging port indicator. The target event trigger condition is selected according to the priority of the event trigger condition, and the jump instruction set and The control command controls the operation of the charging port indicator in a way that is highest priority.

Benefits of technology

It solves the problem of confusing switching logic, avoids switching errors, improves switching efficiency, and enhances the compatibility and versatility of the control method of the charging port indicator.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118876853A_ABST
    Figure CN118876853A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a charging port indicator light control method, a vehicle, equipment and a medium. The method comprises the following steps: selecting a target event triggering condition according to the priority of event triggering conditions in response to the detected event triggering conditions; when the target event triggering condition corresponds to the first event triggering condition, jumping from the first instruction set to a second instruction set, and outputting a control instruction with the highest priority in the second instruction set; when the target event triggering condition corresponds to a second event triggering condition, skipping from the first control instruction to a second control instruction, and outputting the second control instruction; when the target event triggering condition corresponds to a third event triggering condition, skipping from a third control instruction of the first instruction set to a fourth control instruction of the second instruction set, and outputting the fourth control instruction; the problem of switching logic confusion is solved, switching errors are avoided, and switching efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle control, and in particular to a control method, vehicle, equipment and medium for a charging port indicator light. Background Art

[0002] Electric vehicles need to provide feedback to the driver on the current charge and discharge status during the charge and discharge process of the power battery. To this end, a corresponding prompt device is provided on the outside of the cockpit. The prompt device reflects the current charge and discharge status through the charging port indicator light, and reflects different charge and discharge status through different colors of the charging port indicator light. Different charge and discharge status will appear during the charge and discharge process of the power battery, and the charging port indicator light needs to switch to different colors to reflect the charge and discharge status. However, the switching control of the charging port indicator light has the problem of confusing switching logic, which easily leads to switching errors and low switching efficiency. Summary of the invention

[0003] The present application provides a control method, vehicle, device and medium for a charging port indicator light, which solves the problem of confusing switching logic.

[0004] In an embodiment of the first aspect of the present application, the present application provides a method for controlling a charging port indicator light, which is applied to a control module of the charging port indicator light, wherein the control module is provided with a plurality of instruction sets, each of which includes at least one control instruction of the charging port indicator light; the method includes:

[0005] In response to detecting at least one event triggering condition, selecting a target event triggering condition from at least one of the event triggering conditions according to a priority of the event triggering condition;

[0006] When the target event trigger condition corresponds to the first event trigger condition, jumping from the first instruction set to the second instruction set according to the first event trigger condition, outputting the control instruction with the highest priority in the second instruction set as the target control instruction, and the first instruction set and the second instruction set are different instruction sets;

[0007] When the target event trigger condition corresponds to a second event trigger condition, jumping from the first control instruction to the second control instruction according to the second event trigger condition, outputting the second control instruction as the target control instruction, the first control instruction and the second control instruction being different control instructions of the same instruction set;

[0008] When the target event trigger condition corresponds to a third event trigger condition, jump from the third control instruction of the first instruction set to the fourth control instruction of the second instruction set according to the third event trigger condition, and output the fourth control instruction as the target control instruction;

[0009] Execute the target control instruction to control the operation of the charging port indicator light.

[0010] According to certain embodiments of the first aspect of the present application, the instruction set is provided with a first priority identifier; and the method further comprises:

[0011] In response to receiving the wake-up instruction of the control module, a target instruction set is selected from the instruction set according to the first priority identifier, and the control instructions in the target instruction set are output as target control instructions.

[0012] According to certain embodiments of the first aspect of the present application, only one instruction set of the control module is provided with the first priority identifier.

[0013] According to certain embodiments of the first aspect of the present application, the control instruction is provided with a second priority identifier; and outputting the control instruction in the target instruction set as the target control instruction comprises:

[0014] A target control instruction is selected from the control instructions in the target instruction set according to the second priority identifier.

[0015] According to certain embodiments of the first aspect of the present application, only one control instruction in the same instruction set is provided with the second priority identifier.

[0016] According to certain embodiments of the first aspect of the present application, the event trigger condition is provided with a third priority identifier; and the step of selecting a target event trigger condition from at least one of the event trigger conditions according to the priority of the event trigger condition comprises:

[0017] Determining the priority of the event triggering condition according to the third priority identifier of the event triggering condition;

[0018] Sorting the event triggering conditions according to their priorities to obtain a sequence;

[0019] An event trigger condition with the highest priority is selected from the sequence as the target event trigger condition.

[0020] According to certain embodiments of the first aspect of the present application, when the charging port is an integrated charging port; the control method includes:

[0021] Obtain control instructions for the charging port indicator light corresponding to AC charging and control instructions for the charging port indicator light corresponding to DC charging;

[0022] Determine the charging type;

[0023] When the charging type is AC charging, executing a control instruction of the charging port indicator light corresponding to AC charging;

[0024] When the charging type is DC charging, a control instruction of the charging port indicator light corresponding to DC charging is executed.

[0025] According to an embodiment of the second aspect of the present application, the present application provides a vehicle provided with a charging port and a charging port indicator light, wherein the vehicle controls the operation of the charging port indicator light according to the control method of the charging port indicator light as described in the embodiment of the first aspect of the present application.

[0026] An embodiment of the third aspect of the present application provides an electronic device, comprising a memory, a processor, a program stored on the memory and executable on the processor, and a data bus for realizing connection and communication between the processor and the memory, wherein the program, when executed by the processor, realizes the method for controlling the charging port indicator light as described in the embodiment of the first aspect of the present application.

[0027] An embodiment of the fourth aspect of the present application provides a computer-readable storage medium, which stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the method for controlling the charging port indicator light as described in the embodiment of the first aspect of the present application.

[0028] The present application has the following beneficial effects: by configuring a plurality of instruction sets in the control module of the charging port indicator light, each instruction set is configured with at least one control instruction of the charging port indicator light; in response to detecting at least one event trigger condition, a target event trigger condition is selected from the at least one event trigger condition according to the priority of the event trigger condition; when the target event trigger condition corresponds to the first event trigger condition, the first instruction set is jumped to the second instruction set according to the first event trigger condition, and the control instruction with the highest priority in the second instruction set is output as the target control instruction, and the first instruction set and the second instruction set are different instruction sets; when the target event trigger condition corresponds to the second event trigger condition, the first control instruction is jumped to the second control instruction according to the second event trigger condition, and the second control instruction is output as the target control instruction, and the first control instruction and the second control instruction are different control instructions of the same instruction set; when the target event trigger condition corresponds to the third event trigger condition, the third control instruction of the first instruction set is jumped to the fourth control instruction of the second instruction set according to the third event trigger condition, and the fourth control instruction is output as the target control instruction; the target control instruction is executed to control the operation of the charging port indicator light; the problem of switching logic confusion is solved, switching errors are avoided and switching efficiency is improved, and the compatibility and versatility of the control method of the charging port indicator light are improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 is a step diagram of a method for controlling a charging port indicator light of a non-integrated charging port provided in an embodiment of the present application;

[0030] Figure 2 It is a sub-step diagram of step S110 provided in an embodiment of the present application;

[0031] Figure 3 is a step diagram of determining the target control instruction steps to be executed when waking up the control module provided by an embodiment of the present application;

[0032] Figure 4 It is a sub-step diagram of outputting the control instruction in the target instruction set as the target control instruction in step S210 provided by the embodiment of the present application;

[0033] Figure 5 is a step diagram of a method for controlling a charging port indicator light of an integrated charging port provided in an embodiment of the present application;

[0034] Figure 6 is a control logic diagram of a control module of an AC charging indicator light provided in an embodiment of the present application;

[0035] Figure 7 is a control logic diagram of a control module of a DC charging indicator light provided in an embodiment of the present application;

[0036] Figure 8 It is a structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0037] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0038] It should be noted that, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first", "second", etc. in the specification, claims or the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0039] The embodiments of the present application are further described below in conjunction with the accompanying drawings.

[0040] The embodiment of the present application provides a method for controlling a charging port indicator light. The method for controlling a charging port indicator light is applied to a control module of the charging port indicator light, and the control module is provided with multiple instruction sets, each instruction set including at least one control instruction of the charging port indicator light.

[0041] Reference Figure 1When the charging port is a non-integrated charging port, the method for controlling the charging port indicator light includes the following steps:

[0042] Step S110, in response to detecting at least one event triggering condition, selecting a target event triggering condition from the at least one event triggering condition according to the priority of the event triggering condition;

[0043] Step S120, when the target event trigger condition corresponds to the first event trigger condition, jump from the first instruction set to the second instruction set according to the first event trigger condition, and output the control instruction with the highest priority in the second instruction set as the target control instruction;

[0044] Step S130, when the target event trigger condition corresponds to the second event trigger condition, jump from the first control instruction to the second control instruction according to the second event trigger condition, and output the second control instruction as the target control instruction;

[0045] Step S140, when the target event trigger condition corresponds to the third event trigger condition, jump from the third control instruction of the first instruction set to the fourth control instruction of the second instruction set according to the third event trigger condition, and output the fourth control instruction as the target control instruction;

[0046] Step S150, executing the target control instruction to control the operation of the charging port indicator light.

[0047] Reference Figure 2 In step S110 of some embodiments, the event trigger condition is provided with a third priority identifier; selecting a target event trigger condition from at least one event trigger condition according to the priority of the event trigger condition comprises the following steps:

[0048] Step S111, determining the priority of the event triggering condition according to the third priority identifier of the event triggering condition;

[0049] Step S112, sorting the event triggering conditions according to their priorities to obtain a sequence;

[0050] Step S113: Select the event trigger condition with the highest priority from the sequence as the target event trigger condition.

[0051] Exemplarily, multiple event trigger conditions are detected, and the multiple event trigger conditions include event trigger condition A, event trigger condition E, event trigger condition F and event trigger condition G. The third priority identifier corresponding to event trigger condition A is 1, the third priority identifier corresponding to event trigger condition E is 2, the third priority identifier corresponding to event trigger condition F is 3, and the third priority identifier corresponding to event trigger condition G is 4. The smaller the number of the third priority identifier, the higher the priority. The priority of the event trigger condition is determined according to the third priority identifier of the event trigger condition. Event trigger condition A corresponds to a priority of 1, event trigger condition E corresponds to a priority of 2, event trigger condition F corresponds to a priority of 3, and event trigger condition G corresponds to a priority of 4; the event trigger conditions are sorted according to the priority of the event trigger conditions to obtain a sequence, and the event trigger condition with the highest priority is selected from the sequence as the target event trigger condition, and event trigger condition A is selected as the target event trigger condition.

[0052] In step S120 of some embodiments, when the target event trigger condition corresponds to the first event trigger condition, the first instruction set is jumped to the second instruction set according to the first event trigger condition, and the control instruction with the highest priority in the second instruction set is output as the target control instruction. The first instruction set and the second instruction set are different instruction sets.

[0053] Exemplarily, the target event trigger condition corresponds to the first event trigger condition, and the first event trigger condition is used to instruct the control module to jump the execution target from the first instruction set to the second instruction set, and the first instruction set and the second instruction set are different instruction sets; for example, the target event trigger condition instructs the control module to jump the execution target from instruction set B to instruction set A, and outputs the control instruction with the highest priority in the second instruction set as the target control instruction.

[0054] When the second instruction set contains multiple control instructions, the control instruction with the highest priority is selected from the control instructions in the second instruction set as the target control instruction through the second priority identifier configured by the control instruction. On the one hand, each control instruction in the instruction set is provided with a second priority identifier; for example, instruction set A contains 3 control instructions, namely control instruction a, control instruction b and control instruction c. Control instruction a is provided with a second priority identifier 1, control instruction b is provided with a second priority identifier 2, and control instruction c is provided with a second priority identifier 3; since the smaller the number of the second priority identifier, the higher the priority, the control instruction with the highest priority is selected from the control instructions according to the second priority identifier as the target control instruction, that is, control instruction a is selected as the target control instruction. Output control instruction a. On the other hand, only one control instruction in the same instruction set is provided with a second priority identifier. For example, instruction set A contains 3 control instructions, namely control instruction a, control instruction b and control instruction c, and only control instruction a is provided with a second priority identifier symbol, select the control instruction a, control instruction b and control instruction c with the second priority mark The control instruction a of the symbol is used as the target instruction set. Output the control instruction a.

[0055] In step S130 of some embodiments, when the target event trigger condition corresponds to the second event trigger condition, the first control instruction is jumped to the second control instruction according to the second event trigger condition, and the second control instruction is output as the target control instruction. The first control instruction and the second control instruction are different control instructions of the same instruction set.

[0056] Exemplarily, the target event trigger condition corresponds to the second event trigger condition, and the second event trigger condition is used to instruct the control module to jump the execution target from the first control instruction to the second control instruction, and the first control instruction and the second control instruction are different control instructions of the same instruction set. For example, the target event trigger condition instructs the control module to jump the execution target from control instruction a of instruction set A to control instruction b of instruction set A, and output control instruction b of instruction set A as the target control instruction.

[0057] In step S140 of some embodiments, when the target event trigger condition corresponds to the third event trigger condition, the control instruction of the first instruction set is jumped to the fourth control instruction of the second instruction set according to the third event trigger condition, and the fourth control instruction is output as the target control instruction.

[0058] Exemplarily, the target event trigger condition corresponds to the third event trigger condition, and the third event trigger condition is used to instruct the control module to jump the execution target from the third control instruction of the first instruction set to the fourth control instruction of the second instruction set. For example, the target time trigger condition instructs the control module to jump the execution target from the control instruction a of the instruction set A to the control instruction d of the instruction set B, and output the control instruction d of the instruction set B as the target control instruction.

[0059] In step S150 of some embodiments, the target control instruction is executed to control the operation of the charging port indicator light.

[0060] In an embodiment, when the target control instruction is an instruction to instruct the charging port indicator light to display white, the charging port indicator light displaying white indicates that the charging port is open, and the control module executes the target control instruction to control the charging port indicator light to display white.

[0061] Reference Figure 3 When waking up the control module, the target control instruction to be executed is determined by the following steps to avoid abnormal display of the charging port indicator light during the wake-up phase of the control module. The instruction set is provided with a first priority mark; the control method of the charging port indicator light includes the following steps:

[0062] Step S210 , in response to receiving a wake-up instruction from the control module, selecting a target instruction set from the instruction set according to the first priority identifier, and outputting a control instruction in the target instruction set as a target control instruction.

[0063] In some embodiments, each instruction set of the control module is provided with a first priority identifier; for example, instruction set A is provided with a first priority identifier 1, instruction set B is provided with a first priority identifier 2, and instruction set C is provided with a first priority identifier 3; since the smaller the number of the first priority identifier, the higher the priority, the instruction set with the highest priority is selected from the instruction set as the target instruction set according to the first priority identifier, that is, instruction set A is selected as the target instruction set. The control instructions in the target instruction set are output as the target control instructions, that is, the control instructions in instruction set A are output as the target control instructions.

[0064] In some embodiments, only one instruction set of the control module is set with a first priority flag. For example, among instruction set A, instruction set B, and instruction set C, only instruction set A is set with a first priority flag. Symbol, select the instruction set A, instruction set B and instruction set C with the first priority mark The instruction set A of the symbol is used as the target instruction set. The control instructions in the target instruction set are output as the target control instructions, that is, the control instructions in the instruction set A are output as the target control instructions.

[0065] Reference Figure 4In some embodiments, when waking up the control module, a target instruction set is selected from the instruction set according to the first priority identifier. When the target instruction set contains multiple control instructions, the target control instruction is selected from the control instructions in the target instruction set according to the second priority identifier configured by the control instruction. Outputting the control instructions in the target instruction set as the target control instruction in step S210 includes the following steps: Step S211, selecting the target control instruction from the control instructions in the target instruction set according to the second priority identifier.

[0066] In some embodiments, each control instruction of the instruction set is provided with a second priority identifier; for example, instruction set A contains three control instructions, namely control instruction a, control instruction b and control instruction c. Control instruction a is provided with a second priority identifier 1, control instruction b is provided with a second priority identifier 2, and control instruction c is provided with a second priority identifier 3; since the smaller the number of the second priority identifier, the higher the priority, the control instruction with the highest priority is selected from the control instructions according to the second priority identifier as the target control instruction, that is, control instruction a is selected as the target control instruction. Output control instruction a.

[0067] In some embodiments, only one control instruction in the same instruction set is set with a second priority flag. For example, instruction set A contains three control instructions, namely control instruction a, control instruction b and control instruction c, and only control instruction a is set with a second priority flag. symbol, select the control instruction a, control instruction b and control instruction c with the second priority mark The control instruction a of the symbol is used as the target instruction set. The control instruction a is output. In this embodiment, the second priority identifier is the same as the first priority identifier. Symbol; of course, in other embodiments, the second priority identifier and the first priority identifier can be different identification symbols.

[0068] In some embodiments, event trigger condition A is that the AC charging port cover is open or fully open or closed, event trigger condition! A is that the AC charging port cover is fully closed, event trigger condition B is that the AC charging gun is stably connected or the AC discharge gun is stably connected, event trigger condition C is that the AC charging gun is abnormally connected or the AC discharge gun is abnormally connected, event trigger condition D is that there is no charging gun connected to the AC charging port and no discharge gun connected to the AC charging port, event trigger condition E is AC charging or AC charging heating or charging is completed, event trigger condition F is AC discharging,, event trigger condition! F is not in AC discharging, event trigger condition G is that there is a fault on the vehicle side or there is a fault on the pile side, event trigger condition! G is that there is no fault on the vehicle side or there is no fault on the pile side, event trigger condition H is that the AC charging is artificially interrupted and no fault occurs, event trigger condition I is that the DC charging port cover is open or fully opened or closed, event trigger condition! I means the DC charging port cover is completely closed, event trigger condition J means the DC charging gun is stably connected, event trigger condition K means the DC charging gun is abnormally connected, event trigger condition L means no charging gun is connected to the DC charging port, event trigger condition M means DC charging is in progress or DC charging is heating or charging is completed, event trigger condition N means there is a fault on the vehicle side or on the charging pile side, event trigger condition! N means there is no fault on the vehicle side or on the charging pile side, event trigger condition O means DC charging is interrupted manually and no fault occurs.

[0069] It should be noted that the output target control instruction is determined according to the current instruction set or the current control instruction in combination with the target event triggering condition.

[0070] Reference Figure 6 The control module of the AC charging indicator light is configured with a first instruction set, a second instruction set and a third instruction set. The first instruction set is configured with Symbol. The first instruction set includes the control instruction of turning off the indicator light of the charging port. The indicator light of the charging port turns off, which means the charging port is closed. The second instruction set includes the control instruction of the indicator light of the charging port turns white, the control instruction of the indicator light of the charging port turns blue, and the control instruction of the indicator light of the charging port turns yellow. The indicator light of the charging port turns white, which means the charging port is open, the indicator light of the charging port turns blue, which means the charging / discharging gun is recognized, and the indicator light of the charging port turns yellow, which means an abnormal connection. The control instruction of the indicator light of the charging port turns white is configured with The third instruction set includes control instructions for the charging port indicator light to display red, purple, and green; the charging port indicator light displaying red indicates a fault, the charging port indicator light displaying purple indicates AC discharge, and the charging port indicator light displaying green indicates charging / heating.

[0071] When the target event trigger condition is event trigger condition A, jump from the first instruction set to the second instruction set, and output the second instruction set with The control instruction of the symbol "the charging port indicator light is white". When the target event trigger condition is event trigger condition A, jump from the second instruction set or the third instruction set to the first instruction set, and output the control instruction "the charging port indicator light is off" in the first instruction set. When the target event trigger condition is event trigger condition B, jump from the control instruction "the charging port indicator light is white" or the control instruction "the charging port indicator light is yellow" in the second instruction set to the control instruction "the charging port indicator light is blue" in the second instruction set, and output the control instruction "the charging port indicator light is blue". When the target event trigger condition is event trigger condition C, jump from the control instruction "the charging port indicator light is white" or the control instruction "the charging port indicator light is yellow" in the second instruction set to the control instruction "the charging port indicator light is yellow" in the second instruction set, and output the control instruction "the charging port indicator light is yellow". When the target event trigger condition is event trigger condition D, jump from the control instruction "the charging port indicator light is blue" or the control instruction "the charging port indicator light is yellow" in the second instruction set to the control instruction "the charging port indicator light is white" in the second instruction set, and output the control instruction "the charging port indicator light is white". When the target event trigger condition is event trigger condition E, jump from the second instruction set to the control instruction of the third instruction set "the charging port indicator light turns green", and output the control instruction "the charging port indicator light turns green". When the target event trigger condition is event trigger condition F, jump from the second instruction set to the control instruction of the third instruction set "the charging port indicator light turns purple", and output the control instruction "the charging port indicator light turns purple". When the target event trigger condition is event trigger condition !F, jump from the control instruction of the third instruction set "the charging port indicator light turns purple" to the second instruction set, and output the control instruction with The control instruction "the charging port indicator light displays white" is output with the symbol "The charging port indicator light displays white". When the target event trigger condition is the event trigger condition G, jump from the second instruction set to the control instruction "the charging port indicator light displays red" in the third instruction set, or jump from the control instruction "the charging port indicator light displays purple" in the third instruction set to the control instruction "the charging port indicator light displays red" in the third instruction set, and output the control instruction "the charging port indicator light displays red". When the target event trigger condition is the event trigger condition! G, jump from the control instruction "the charging port indicator light displays red" in the third instruction set to the second instruction set, and output the control instruction "the charging port indicator light displays red" in the second instruction set. The control instruction "charging port indicator light turns white" with the symbol "charging port indicator light turns white". When the target event trigger condition is event trigger condition H, jump from the control instruction "charging port indicator light turns green" in the third instruction set to the control instruction "charging port indicator light turns blue" in the second instruction set, and output the control instruction "charging port indicator light turns blue". When the target event trigger condition is event trigger condition D or C, jump from the third instruction set to the second instruction set, and output the control instruction with the symbol "charging port indicator light turns white" in the second instruction set. The control instruction of the symbol "the charging port indicator light is white". When the target event trigger condition is event trigger condition E and! G, jump from the control instruction of the third instruction set "the charging port indicator light is red" to the control instruction of the third instruction set "the charging port indicator light is green". When the target event trigger condition is event trigger condition F and! G, jump from the control instruction of the third instruction set "the charging port indicator light is red" to the control instruction of the third instruction set "the charging port indicator light is purple".

[0072] Reference Figure 7 The control module of the DC charging indicator light is configured with the fourth instruction set, the fifth instruction set and the sixth instruction set. The fourth instruction set is configured with The fourth instruction set includes the control instruction for turning off the indicator light of the charging port. The indicator light of the charging port turns off, which means the charging port is closed. The fifth instruction set includes the control instruction for the indicator light of the charging port to display white, the control instruction for the indicator light of the charging port to display blue, and the control instruction for the indicator light of the charging port to display yellow. The indicator light of the charging port displays white, which means the charging port is open, the indicator light of the charging port displays blue, which means the charging / discharging gun is identified, and the indicator light of the charging port displays yellow, which means an abnormal connection. The control instruction for the indicator light of the charging port to display white is configured with The third instruction set includes the control instructions for the charging port indicator light to be red and the control instructions for the charging port indicator light to be green; the charging port indicator light being red indicates a fault, and the charging port indicator light being green indicates charging / heating.

[0073] When the target event trigger condition is event trigger condition I, jump from the fourth instruction set to the fifth instruction set, and output the fifth instruction set with The control instruction of the symbol "the charging port indicator light is white". When the target event trigger condition is the event trigger condition! I, jump from the fifth instruction set or the sixth instruction set to the fourth instruction set, and output the control instruction "the charging port indicator light is off" in the fourth instruction set. When the target event trigger condition is the event trigger condition J, jump from the control instruction "the charging port indicator light is white" or the control instruction "the charging port indicator light is yellow" in the fifth instruction set to the control instruction "the charging port indicator light is blue" in the fifth instruction set, and output the control instruction "the charging port indicator light is blue". When the target event trigger condition is the event trigger condition K, jump from the control instruction "the charging port indicator light is white" or the control instruction "the charging port indicator light is blue" in the fifth instruction set to the control instruction "the charging port indicator light is yellow" in the fifth instruction set, and output the control instruction "the charging port indicator light is yellow". When the target event trigger condition is the event trigger condition L, jump from the control instruction "the charging port indicator light is blue" or the control instruction "the charging port indicator light is yellow" in the fifth instruction set to the control instruction "the charging port indicator light is white" in the fifth instruction set, and output the control instruction "the charging port indicator light is white". When the target event trigger condition is event trigger condition M, jump from the fifth instruction set to the control instruction "the charging port indicator light displays green" in the sixth instruction set, and output the control instruction "the charging port indicator light displays green" in the sixth instruction set. When the target event trigger condition is event trigger condition N, jump from the fifth instruction set to the control instruction "the charging port indicator light displays red" in the sixth instruction set, and output the control instruction "the charging port indicator light displays red" in the sixth instruction set. When the target event trigger condition is event trigger condition !N, jump from the control instruction "the charging port indicator light displays red" in the sixth instruction set to the fifth instruction set, and output the control instruction "the charging port indicator light displays red" in the fifth instruction set. The control instruction "the charging port indicator light displays white" with the symbol. When the target event trigger condition is event trigger condition G, jump from the control instruction "the charging port indicator light displays green" in the sixth instruction set to the control instruction "the charging port indicator light displays red" in the sixth instruction set, and output the control instruction "the charging port indicator light displays red" in the sixth instruction set. When the target event trigger condition is event trigger condition O, jump from the control instruction "the charging port indicator light displays green" in the sixth instruction set to the control instruction "the charging port indicator light displays blue" in the fifth instruction set, and output the control instruction "the charging port indicator light displays blue" in the fifth instruction set. When the target event trigger condition is event trigger condition L or K, jump from the sixth instruction set to the fifth instruction set, and output the control instruction with the symbol in the fifth instruction set. The control instruction of the symbol "the charging port indicator light is white". When the target event trigger condition is the event trigger condition M and! N, jump from the control instruction "the charging port indicator light is red" in the sixth instruction set to the control instruction "the charging port indicator light is green" in the sixth instruction set, and output the control instruction "the charging port indicator light is green" in the sixth instruction set.

[0074] Reference Figure 5 When the charging port is an integrated charging port, the method for controlling the charging port indicator light includes the following steps:

[0075] Step S310, obtaining a control instruction for a charging port indicator light corresponding to AC charging and a control instruction for a charging port indicator light corresponding to DC charging;

[0076] Step S320, determining the charging type;

[0077] Step S331, when the charging type is AC charging, executing a control instruction of the charging port indicator light corresponding to AC charging;

[0078] Step S332, when the charging type is DC charging, execute the control instruction of the charging port indicator light corresponding to DC charging.

[0079] The integrated charging port is a charging port that integrates the AC charging port and the DC charging port on the vehicle body. It can reduce the number of charging port covers, improve the space utilization of the vehicle, and enhance convenience and safety.

[0080] The control method of the charging port indicator light provided in the embodiment of the present application solves the problem of chaotic switching logic, avoids switching errors and improves switching efficiency, thereby improving the compatibility and versatility of the control method of the charging port indicator light.

[0081] An embodiment of the present application provides a vehicle, wherein the vehicle is provided with a charging port and a charging port indicator light, and the vehicle controls the operation of the charging port indicator light according to the above-mentioned method for controlling the charging port indicator light.

[0082] The present application also provides an electronic device. Figure 8 The electronic device includes a memory 902 and a processor 901. The memory 902 stores a computer program. When the processor 901 executes the computer program, the control method of the charging port indicator light is implemented. The electronic device can be any intelligent terminal including a tablet computer, a car computer, etc.

[0083] The processor 901 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, etc., and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application; the memory 902 can be implemented in the form of a read-only memory (Read Only Memory, ROM), a static storage device, a dynamic storage device, or a random access memory (Random Access Memory, RAM). The memory 902 can store operating systems and other applications. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 902, and the processor 901 is used to call and execute the control method of the charging port indicator light in the embodiments of the present application.

[0084] The input / output interface 903 is used to realize information input and output; the communication interface 904 is used to realize communication interaction between this device and other devices, and communication can be realized through wired methods (such as USB, network cable, etc.) or wireless methods (such as mobile network, WIFI, Bluetooth, etc.); the bus 905 transmits information between the various components of the device (such as the processor 901, the memory 902, the input / output interface 903 and the communication interface 904); wherein the processor 901, the memory 902, the input / output interface 903 and the communication interface 904 realize communication connection with each other within the device through the bus 905.

[0085] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the control method of the charging port indicator light is implemented.

[0086] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0087] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0088] Those skilled in the art will appreciate that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.

[0089] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0090] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.

[0091] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0092] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0093] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above 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.

[0094] The units described above 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.

[0095] 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.

[0096] If the integrated 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 technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including multiple instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store programs.

[0097] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present invention should be within the scope of the rights of the present invention.

Claims

1. A method for controlling a charging port indicator light, It is characterized in that A control module applied to a charging port indicator light, the control module being provided with a plurality of instruction sets, each of the instruction sets comprising at least one control instruction for a charging port indicator light; the method comprising: In response to detecting at least one event triggering condition, selecting a target event triggering condition from at least one of the event triggering conditions according to a priority of the event triggering condition; When the target event trigger condition corresponds to the first event trigger condition, jumping from the first instruction set to the second instruction set according to the first event trigger condition, outputting the control instruction with the highest priority in the second instruction set as the target control instruction, and the first instruction set and the second instruction set are different instruction sets; When the target event trigger condition corresponds to a second event trigger condition, jumping from the first control instruction to the second control instruction according to the second event trigger condition, outputting the second control instruction as the target control instruction, the first control instruction and the second control instruction being different control instructions of the same instruction set; When the target event trigger condition corresponds to a third event trigger condition, jump from the third control instruction of the first instruction set to the fourth control instruction of the second instruction set according to the third event trigger condition, and output the fourth control instruction as the target control instruction; Execute the target control instruction to control the operation of the charging port indicator light.

2. The method for controlling the charging port indicator light according to claim 1, It is characterized in that The instruction set is provided with a first priority identifier; the method further comprises: In response to receiving the wake-up instruction of the control module, a target instruction set is selected from the instruction set according to the first priority identifier, and the control instructions in the target instruction set are output as target control instructions.

3. The method for controlling the charging port indicator light according to claim 2, It is characterized in that The control module has only one instruction set provided with the first priority identifier.

4. The method for controlling the charging port indicator light according to claim 2, It is characterized in that The control instruction is provided with a second priority identifier; and the outputting the control instruction in the target instruction set as the target control instruction comprises: A target control instruction is selected from the control instructions in the target instruction set according to the second priority identifier.

5. The method for controlling the charging port indicator light according to claim 4, It is characterized in that Only one control instruction in the same instruction set is provided with the second priority identifier.

6. The method for controlling the charging port indicator light according to claim 1, It is characterized in that The event trigger condition is provided with a third priority identifier; and the target event trigger condition is selected from at least one of the event trigger conditions according to the priority of the event trigger condition, comprising: Determining the priority of the event triggering condition according to the third priority identifier of the event triggering condition; Sorting the event triggering conditions according to their priorities to obtain a sequence; An event trigger condition with the highest priority is selected from the sequence as the target event trigger condition.

7. The method for controlling the charging port indicator light according to claim 1, It is characterized in that When the charging port is an integrated charging port; the control method includes: Obtain control instructions for the charging port indicator light corresponding to AC charging and control instructions for the charging port indicator light corresponding to DC charging; Determine the charging type; When the charging type is AC charging, executing a control instruction of the charging port indicator light corresponding to AC charging; When the charging type is DC charging, a control instruction of the charging port indicator light corresponding to DC charging is executed.

8. A vehicle, It is characterized in that A charging port and a charging port indicator light are provided, and the vehicle controls the operation of the charging port indicator light according to the method for controlling the charging port indicator light according to any one of claims 1 to 7.

9. An electronic device, It is characterized in that The electronic device includes a memory, a processor, a program stored in the memory and executable on the processor, and a data bus for realizing connection and communication between the processor and the memory. When the program is executed by the processor, the control method of the charging port indicator light as described in any one of claims 1 to 7 is realized.

10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the method for controlling the charging port indicator light as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Household appliance control method, electronic equipment and computer readable storage medium

    CN111538250A

  • Control method and control device of intelligent equipment and control system

    CN113433869A

  • Curtain control method and device, computer equipment and curtain system

    CN115963755A

  • Control instruction execution method and device, vehicle and storage medium

    CN116819998A

  • Methods and apparatus to manage module run sequences in a process control environment

    US20110071651A1