Vehicle charging equipment control method and device, electronic equipment and storage medium
By detecting the communication status of the charging gun in the vehicle charging equipment, charging sequencing and optimization of charging time are realized, which solves the problem that charging equipment in the existing technology cannot meet the charging needs of multiple vehicles, and improves charging efficiency and cost-effectiveness.
Patent Information
- Application Number
- CN202411254308.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-09
- Publication Date
- 2024-10-25
AI Technical Summary
Existing vehicle charging equipment usually only has one charging gun, which cannot meet the increasingly strong charging demand, and multiple charging guns may cause problems such as excessive power when charging at the same time.
By detecting the communication status of the charging guns, the charging sequence of the charging guns is realized, ensuring that the charging guns are charged in the preset order, and the charging time and cost are optimized according to the vehicle's needs and electricity price range.
It achieves fast and effective charging sequencing, improves charging efficiency and cost-effectiveness, and ensures the smoothness and economy of the charging process.
Smart Images

Figure CN118833100A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of vehicle charging control, and in particular to a control method, device, electronic device and storage medium for vehicle charging equipment. Background Art
[0002] With the continuous improvement of science and technology, the global demand for sustainable energy solutions is increasing. Among them, new energy vehicles, as a key technology, are gradually replacing traditional fuel vehicles and gaining wide market recognition. New energy vehicles need to charge the battery pack through charging equipment such as charging piles to ensure the endurance of new energy vehicles.
[0003] At present, vehicle charging equipment usually only has one charging gun, which cannot meet the increasingly strong charging demand. Even if multiple charging guns are set to charge the vehicle at the same time, it often causes a series of problems such as excessive power of the charging equipment. Summary of the invention
[0004] In view of the above problems, the present application provides a control method, device, electronic device and storage medium for a vehicle charging device. By detecting the communication status of the charging gun, the charging sequence of the charging gun can be quickly and effectively realized, thereby achieving a good sequencing charging effect.
[0005] A first aspect of the present application provides a control method for a vehicle charging device, which is applied to the vehicle charging device, wherein the vehicle charging device includes multiple charging guns, and the method includes: when it is detected that a first charging gun is connected to a first vehicle, a first communication state between the first charging gun and the first vehicle is obtained; if the first communication state is a preset normal communication state, the charging sequence of the first charging gun is set to the first charging sequence, and the first charging gun is controlled to charge the first vehicle; if it is detected that a second charging gun is connected to a second vehicle during the charging process of the first charging gun, a second communication state between the second charging gun and the second vehicle is obtained; if the second communication state is the preset normal communication state, the charging sequence of the second charging gun is set to the second charging sequence; when it is detected that the first charging gun has completed charging the first vehicle, the charging sequence of the second charging gun is updated to the first charging sequence, and the second charging gun is controlled to charge the second vehicle.
[0006] In some specific embodiments, if the first communication state is a preset normal communication state, the charging order of the first charging gun is set to the first charging order, and after the step of controlling the first charging gun to charge the first vehicle, it includes: obtaining the required charging amount of the first vehicle and the charging power of the first charging gun, and obtaining the charging time of the first charging gun based on the required charging amount and the charging power; displaying and / or sending the charging time to the first vehicle.
[0007] In some specific embodiments, after the steps of obtaining the required charging amount of the first vehicle and the charging power of the first charging gun, and obtaining the charging time of the first charging gun based on the required charging amount and the charging power, the following steps are included: according to the charging start time and charging time of the first charging gun, obtaining the electricity price range in which the charging time period of the first charging gun is located, and the sub-charging time corresponding to the electricity price range; wherein the electricity price range includes at least a first electricity price range and a second electricity price range with different electricity prices; based on the electricity price range and the sub-charging time, obtaining the electricity charge corresponding to the charging time period of the first vehicle.
[0008] In some specific embodiments, if the first communication state is a preset normal communication state, then after the step of setting the charging order of the first charging gun to the first charging order, it includes: obtaining the electricity price range involved in the future time period, and receiving the charging mode sent by the first vehicle; wherein the electricity price range includes at least a first electricity price range and a second electricity price range with different electricity prices, and the charging mode includes a fast charging mode and a low-cost charging mode; if the charging mode is the fast charging mode, then at the current moment, the step of controlling the first charging gun to charge the first vehicle is executed; if the charging mode is the low-cost charging mode, then the charging start time is set according to the electricity price range involved in the future time period to minimize the charging cost, and at the charging start time, the step of controlling the first charging gun to charge the first vehicle is executed.
[0009] In some specific embodiments, the step of setting the charging start time according to the electricity price range involved in the future time period to minimize the charging cost includes: obtaining the time periods in different electricity price ranges within a day starting from the current time, and taking the time period in the electricity price range with the lowest electricity price as the target charging time period; when the time between the current time and the start time of the target charging time period is less than the preset time period, taking the start time of the target charging time period as the charging start time.
[0010] In some specific embodiments, if it is detected that the second charging gun is connected to the second vehicle during the charging process of the first charging gun, then after the step of obtaining the second communication status between the second charging gun and the second vehicle, it includes: if the second communication status is a preset abnormal communication status, the charging order of the second charging gun is not set; a reminder message of the connection abnormality is generated, and the reminder message is displayed and / or sent to the second vehicle.
[0011] In some specific embodiments, if the second communication state is a preset normal communication state, then after the step of setting the charging order of the second charging gun to the second charging order, it includes: if it is detected that the third charging gun is connected to the third vehicle during the charging process of the first charging gun, then the third communication state between the third charging gun and the third vehicle is obtained; if the third communication state is the preset normal communication state, then the charging order of the third charging gun is set to the third charging order; when it is detected that the first charging gun has completed charging the first vehicle, the charging order of the second charging gun is updated to the first charging order, and the charging order of the third charging gun is updated to the second charging order.
[0012] The second aspect of the present application provides a control device for a vehicle charging device, including an acquisition module for detecting that a first charging gun is connected to a first vehicle, and then acquiring a first communication state between the first charging gun and the first vehicle; if a second charging gun is detected to be connected to a second vehicle during the charging process of the first charging gun, then acquiring a second communication state between the second charging gun and the second vehicle; a setting module for setting the charging sequence of the first charging gun to the first charging sequence if the first communication state is a preset normal communication state; if it is detected that the first charging gun has completed charging the first vehicle, then updating the charging sequence of the second charging gun to the first charging sequence; and a control module for controlling the first charging gun to charge the first vehicle, and for controlling the second charging gun to charge the second vehicle.
[0013] A third aspect of the present application provides an electronic device, comprising: a processor; and a memory for storing a computer program, wherein when the computer program is executed by the processor, any of the above-mentioned control methods for a vehicle charging device is implemented.
[0014] A fourth aspect of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, a control method for a vehicle charging device as described above is implemented.
[0015] The present application has at least the following beneficial technical effects: Based on the control method, device, electronic device and storage medium of the vehicle charging device provided by the present application, including: when the first charging gun is detected to be connected to the first vehicle, the first communication state between the first charging gun and the first vehicle is obtained; if the first communication state is a preset normal communication state, the charging sequence of the first charging gun is set to the first charging sequence, and the first charging gun is controlled to charge the first vehicle; if the second charging gun is detected to be connected to the second vehicle during the charging process of the first charging gun, the second communication state between the second charging gun and the second vehicle is obtained; if the second communication state is a preset normal communication state, the charging sequence of the second charging gun is set to the second charging sequence; when it is detected that the first charging gun has completed charging the first vehicle, the charging sequence of the second charging gun is updated to the first charging sequence, and the second charging gun is controlled to charge the second vehicle. Therefore, by detecting the communication state of the charging gun, the charging sequence of the charging gun can be quickly and effectively realized, thereby achieving a good sequencing charging effect.
[0016] The above description is only an overview of the technical solution of the embodiment of the present application. In order to more clearly understand the technical means of the embodiment of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiment of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The accompanying drawings are only used to illustrate the embodiments and are not to be considered as limiting the present application. In addition, the same reference symbols are used to represent the same components throughout the accompanying drawings. In the accompanying drawings:
[0018] Figure 1 It is a flow chart of an embodiment of a control method of a vehicle charging device provided by the present application;
[0019] Figure 2 is a flow chart of another embodiment of a method for controlling a vehicle charging device provided by the present application;
[0020] Figure 3 is a flow chart of another embodiment of a method for controlling a vehicle charging device provided by the present application;
[0021] Figure 4 is a flow chart of another embodiment of a method for controlling a vehicle charging device provided by the present application;
[0022] Figure 5 is a flow chart of another embodiment of a method for controlling a vehicle charging device provided by the present application;
[0023] Figure 6 is a flow chart of another embodiment of a method for controlling a vehicle charging device provided by the present application;
[0024] Figure 7 is a flow chart of another embodiment of a method for controlling a vehicle charging device provided by the present application;
[0025] Figure 8 is a structural block diagram of an embodiment of a control device for a vehicle charging device provided by the present application;
[0026] Fig. 9 It is a schematic diagram of the structural framework of an embodiment of the electronic device provided by the present application;
[0027] Fig.10 It is a schematic diagram of the structural framework of an embodiment of the computer-readable storage medium provided by the present application. DETAILED DESCRIPTION
[0028] The exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments described herein. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application.
[0029] If there are descriptions involving "first", "second", etc. in the embodiments of the present application, the descriptions of "first", "second", etc. are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features limited to "first" and "second" may explicitly or implicitly include at least one of the features. In addition, if the meaning of "and / or" appearing in the full text is to include three parallel schemes, taking "A and / or B" as an example, it includes scheme A, or scheme B, or a scheme that satisfies both A and B. In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on the ability of ordinary technicians in this field to implement. When the combination of technical solutions is contradictory or cannot be implemented, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection required by this application.
[0030] In a first aspect, the present application provides a control method for a vehicle charging device, which is applied to a vehicle charging device, wherein the vehicle charging device includes a plurality of charging guns. The vehicle charging device may be a charging pile, or other device provided with a charging gun, such as an external device connected to the charging pile, without specific limitation.
[0031] Figure 1 It is a flow chart of an embodiment of a method for controlling a vehicle charging device provided in the present application.
[0032] In the following embodiments, unless otherwise specified, the execution subject may be the vehicle charging device. Figure 1 , the method comprises the following steps:
[0033] S101: When it is detected that a first charging gun is connected to a first vehicle, a first communication state between the first charging gun and the first vehicle is obtained.
[0034] It should be understood that when the first charging gun is inserted into the charging port of the first vehicle, the vehicle charging device can detect that the first charging gun has achieved a physical charging connection with the first vehicle.
[0035] When the first charging gun and the first vehicle are physically connected to each other, it does not mean that the first charging gun can directly charge the first vehicle. This step further detects the first communication state between the first charging gun and the first vehicle to further determine whether the first charging gun is in an available state.
[0036] S102: If the first communication state is a preset normal communication state, setting the charging sequence of the first charging gun to the first charging sequence, and controlling the first charging gun to charge the first vehicle.
[0037] Among them, the preset normal communication state is pre-set, and when the first communication state is the preset normal communication state, it means that the first charging gun can achieve a good charging effect, that is, the first charging gun is currently in an available state.
[0038] When the first communication state of the first charging gun is the preset normal communication state, that is, the first charging gun is in an available state, the charging sequence of the first charging gun is set to the first charging sequence. It should be understood that only after the charging sequence of the charging gun is set, the charging gun with the set charging sequence can be used for charging in the subsequent process, and charging is performed in sequence according to the charging sequence.
[0039] In some specific application scenarios, the code of the first charging gun is set to G1, so the code information G 1_x =1, the code information indicates that the charging sequence of the first charging gun is the first charging sequence. 1_x =1 is stored so that G can be detected in the subsequent control process 1_x =1, the first charging gun can be directly controlled to charge.
[0040] S103: If it is detected that the second charging gun is connected to the second vehicle during the charging process of the first charging gun, a second communication state between the second charging gun and the second vehicle is obtained.
[0041] During the process of the first charging gun charging the first vehicle, if the second charging gun is connected to the second vehicle, that is, the second charging gun and the second vehicle establish a physical charging connection, then the communication state between the second charging gun and the second vehicle is further obtained, that is, the second communication state is obtained.
[0042] S104: If the second communication state is the preset normal communication state, setting the charging sequence of the second charging gun to the second charging sequence.
[0043] When the second communication state is the preset normal communication state, it means that the second charging gun can charge the second vehicle well. At this time, we need to set the charging sequence of the second charging gun, so that the second vehicle can be charged by the second charging gun in the subsequent control process and charged according to the charging sequence.
[0044] It should be understood that since the second charging gun is charged after the first charging gun, the charging order of the second charging gun is set to the second charging order. Among them, the order in which the charging guns are controlled to charge is the charging order corresponding to the charging guns, and at the current moment, only the charging guns corresponding to the first charging order will be controlled to charge.
[0045] In some application scenarios, the code of the second charging gun is set to G2, so the code information G 2_x =2, the code information indicates that the charging sequence of the second charging gun is the second charging sequence, and the code information G 2_x =2 storage, that is, by default, the second charging gun is controlled to charge after the first charging gun is fully charged.
[0046] S105: When it is detected that the first charging gun has completed charging the first vehicle, the charging sequence of the second charging gun is updated to the first charging sequence, and the second charging gun is controlled to charge the second vehicle.
[0047] After the first charging gun has finished charging the first vehicle, the charging device is idle and the charging gun can be controlled to continue charging the vehicle. At this time, the second charging gun is inserted only after the first charging gun, and we can control the second charging gun to charge the second vehicle.
[0048] In combination with the above, the vehicle charging device controls the charging of the charging gun according to the charging sequence corresponding to the charging gun. Therefore, in this step, before controlling the second charging gun to charge the second vehicle, we set the charging sequence of the second charging gun to the first charging sequence, so that the vehicle charging device controls the second charging gun whose charging sequence at the current moment is the first charging sequence to charge.
[0049] In combination with the above content, in some application scenarios, the code information G 2_x =2 Updated to G 2_x=1, that is, the second charging sequence of the second charging gun is updated to the first charging sequence. After the first charging gun completes charging the first vehicle, upon detecting G 2_x =1, the second charging gun is directly controlled to charge directly.
[0050] In summary, when multiple charging guns of a charging device are connected to a vehicle to be charged, by detecting the communication status of the charging guns, the charging sequence of the charging guns can be quickly and effectively realized, thereby achieving a good sequenced charging effect.
[0051] Figure 2 FIG. 1 is a flow chart of another embodiment of the control method of the vehicle charging device provided by the present application. Figure 2 In some specific embodiments, if the first communication state is a preset normal communication state, then after the step of setting the charging sequence of the first charging gun to the first charging sequence and controlling the first charging gun to charge the first vehicle, that is, after the above step S102, the method includes:
[0052] S201: Obtain a required charging amount of a first vehicle and a charging power of a first charging gun, and obtain a charging time of the first charging gun based on the required charging amount and the charging power.
[0053] After the first vehicle is successfully connected to the first charging gun, the required charging amount of the first vehicle can be obtained through the first charging gun. At this time, the vehicle side can input relevant charging requirements through the user, or the vehicle side can automatically generate relevant charging requirements, and then the required charging amount of the first vehicle can be obtained through the relevant charging requirements.
[0054] The charging power of the first charging gun is preset, which can be a fixed charging power or a charging power adjusted according to the actual charging situation, and is not specifically limited here. After the first charging gun is connected to the first vehicle, the charging power for charging the first vehicle, that is, the charging power of the first charging gun, can be obtained.
[0055] After obtaining the required charging amount and charging power, the charging time of the first charging gun for the first vehicle can be directly obtained based on the existing formula. Of course, this charging time is a predicted charging time, but in general, the actual charging time of the first charging gun for the first vehicle is the predicted charging time.
[0056] S202: Displaying and / or sending the charging time to the first vehicle.
[0057] Charging time is important information for users, so this step will display the charging time.
[0058] Among them, the vehicle charging device can be provided with a display screen, so that the charging time can be displayed on the charging device. Since the first charging gun is connected to the first vehicle at this time, the first charging gun and the first vehicle can also communicate at this time, so the vehicle charging device can send the charging time to the first vehicle. After receiving the charging time, the first vehicle can directly display it on the display screen of the first vehicle, and can further send the charging time to the user's mobile communication terminal.
[0059] Based on this embodiment, the charging time is acquired and can be displayed to the user, so that the user can fully understand the charging process.
[0060] Figure 3 FIG. 1 is a flow chart of another embodiment of the control method of the vehicle charging device provided by the present application. Figure 3 In some specific embodiments, after the step of obtaining the required charging amount of the first vehicle and the charging power of the first charging gun, and obtaining the charging time of the first charging gun based on the required charging amount and the charging power, that is, after the above step S201, the method includes:
[0061] S301: According to the charging start time and charging duration of the first charging gun, obtain the electricity price range in which the charging period of the first charging gun is located, and the sub-charging duration corresponding to the electricity price range; wherein the electricity price range includes at least a first electricity price range and a second electricity price range with different electricity prices.
[0062] It should be understood that the charging end time of the first charging gun can be obtained through the charging start time and charging duration of the first charging gun. Different time periods may correspond to different electricity prices in a day. For example, in a day, there may be a peak electricity price range with the highest electricity price, there may also be a flat electricity price range with average electricity price, and there may also be a valley electricity price range with the lowest electricity price. At this time, the first electricity price range and the second electricity price range can be any two electricity price ranges, without specific limitation.
[0063] After obtaining the charging end time, you can understand the electricity price range spanned by the charging period of the first charging gun, as well as the charging time in the corresponding electricity price range, that is, the sub-charging time. For example, the charging time of the first charging gun is one hour. During the one-hour charging process, it will span 20 minutes corresponding to the first electricity price range and 40 minutes corresponding to the second electricity price range. The sub-charging time corresponding to the first electricity price range is 20 minutes, and the sub-charging time corresponding to the second electricity price range is 40 minutes.
[0064] S302: Based on the electricity price range and the sub-charging duration, obtain the electricity fee corresponding to the first vehicle in the charging period.
[0065] It should be understood that the entire charging time of the first charging gun is composed of at least one sub-charging time. Therefore, after obtaining the sub-charging time, the electricity fee corresponding to the sub-charging time can be calculated based on the corresponding electricity price range, and the electricity fee corresponding to the entire charging process is the sum of all the sub-charging times.
[0066] Combined with the above example, if the entire charging process only involves the first electricity price range and the second electricity price range, and the sub-charging time corresponding to the first electricity price range is 20 minutes, the sub-charging time corresponding to the second electricity price range is 40 minutes, and the electricity price corresponding to the first electricity price range is a yuan / minute, and the electricity price corresponding to the second electricity price range is b yuan / minute. Then, at this time, the electricity fee corresponding to the first electricity price range is 20a, and the sub-charging time corresponding to the second electricity price range is 40b, then the electricity fee corresponding to the first vehicle during the charging period is 20a+40b.
[0067] After the electricity fee is obtained, the electricity fee may also be displayed on the vehicle charging device, and the electricity fee may be displayed in the first vehicle and on the user terminal.
[0068] Based on this embodiment, the electricity cost required for the first vehicle in this charging process can be obtained according to the charging time and the corresponding electricity price range, which is convenient for users to understand the charging cost.
[0069] Figure 4 FIG. 1 is a flow chart of another embodiment of the control method of the vehicle charging device provided by the present application. Figure 4 In some specific embodiments, if the first communication state is a preset normal communication state, after the step of setting the charging sequence of the first charging gun to the first charging sequence, the method further includes:
[0070] S401: Obtain the electricity price range involved in the future period, and receive the charging mode sent by the first vehicle; wherein the electricity price range includes at least a first electricity price range and a second electricity price range with different electricity prices, and the charging mode includes a fast charging mode and a low-cost charging mode.
[0071] In this embodiment, after the charging sequence of the first charging gun is set to the first charging sequence, the first charging gun will not be immediately controlled to charge, but further judgment will be performed to determine the time to start charging.
[0072] In this step, the electricity price range spanned by the future period is obtained, and the starting time of the future period may be after the charging sequence of the first charging gun is set to the first charging sequence. Combined with the above content, it can be seen that there may be multiple electricity price ranges corresponding to the future period, for example, it may span the first electricity price range and the second electricity price range.
[0073] The charging mode of the vehicle can be pre-set, the fast charging mode focuses on charging the vehicle as quickly as possible, and the low-cost charging mode focuses on lower electricity costs after the vehicle is charged. After the first charging gun is connected to the first vehicle, the user can select the charging mode of the vehicle on the vehicle, and the first vehicle can send the charging mode to the vehicle charging device.
[0074] S402: If the charging mode is the fast charging mode, then at the current moment, a step of controlling the first charging gun to charge the first vehicle is executed.
[0075] When the charging mode is the fast charging mode, it means that the user needs to complete the charging as soon as possible. At this time, the step of controlling the first charging gun to charge the first vehicle is executed at the current moment, so that the first vehicle can enter the charging state immediately, thereby shortening the charging process and achieving the effect of rapid charging completion.
[0076] S403: If the charging mode is the low-cost charging mode, the charging start time is set according to the electricity price range involved in the future time period to minimize the charging cost, and the step of controlling the first charging gun to charge the first vehicle is executed at the charging start time.
[0077] When the charging mode is the low-cost charging mode, it means that the user is not in a hurry to complete the charging. At this time, the charging start time can be set according to the charging cost to achieve the lowest cost.
[0078] Figure 5 FIG. 1 is a flow chart of another embodiment of the control method of the vehicle charging device provided by the present application. Figure 5 In some specific embodiments, the step of setting the charging start time according to the electricity price range involved in the future time period so as to minimize the charging cost includes:
[0079] S501: Obtain the time periods of different electricity price ranges within a day starting from the current time, and use the time period of the electricity price range with the lowest electricity price as the target charging time period.
[0080] It should be understood that the electricity price range generally cycles on a daily basis. If today's electricity price involves three electricity price ranges, tomorrow's electricity price range will generally also involve three electricity price ranges, and the corresponding time periods are generally the same.
[0081] After obtaining the time periods of different electricity price ranges in a day, the time period with the lowest electricity price range can be directly obtained and used as the target charging time period. At this time, when charging in the target charging time period, the electricity cost will be the lowest.
[0082] S502: When the time between the current time and the start time of the target charging period is less than a preset time, the start time of the target charging period is used as the charging start time.
[0083] Although the user is not in a hurry to charge, in order to ensure that the user does not wait too long, it can be further determined whether the time between the current moment and the start time of the target charging period is less than the preset time. The preset time can be set in advance, for example, to two hours, and the preset time can be adjusted according to actual needs. If the time between the current moment and the start time of the target charging period is less than the preset time, it means that the target charging period will be reached in a short time. At this time, the user does not have to wait too long and can charge within the target charging period, that is, the start time of the target charging period is used as the charging start time.
[0084] Figure 6 FIG. 1 is a flow chart of another embodiment of the control method of the vehicle charging device provided by the present application. Figure 6 In some specific embodiments, if it is detected that the second charging gun is connected to the second vehicle during the charging process of the first charging gun, after the step of obtaining the second communication state between the second charging gun and the second vehicle, that is, after the above step S102, the method includes:
[0085] S601: If the second communication state is a preset abnormal communication state, the charging sequence of the second charging gun is not set.
[0086] If the second communication state is the preset abnormal communication state, it means that although the second charging gun is physically connected to the vehicle, it cannot achieve a good communication effect, and it cannot be guaranteed that the second charging gun has a good charging effect on the second vehicle. Combined with the above content, especially when communication is required between the vehicle and the vehicle charging device, it cannot be guaranteed that the above control steps are performed well.
[0087] At this time, since the second charging gun cannot charge the second vehicle well, the second charging gun will not be controlled to charge the second vehicle in the subsequent control process, and the charging sequence of the second charging gun will not be set at this time.
[0088] S602: Generate a reminder message of abnormal connection, and display and / or send the reminder message to the second vehicle.
[0089] This step further generates a reminder message of abnormal connection and displays it on the vehicle charging device and / or the vehicle, so that the user knows that the second vehicle cannot be charged through the second charging gun.
[0090] Figure 7 FIG. 1 is a flow chart of another embodiment of the control method of the vehicle charging device provided by the present application. Figure 7 In some specific embodiments, if the second communication state is the preset normal communication state, after the step of setting the charging sequence of the second charging gun to the second charging sequence, that is, after the above step S104, the method includes:
[0091] S701: If it is detected that the third charging gun is connected to the third vehicle during the charging process of the first charging gun, a third communication state between the third charging gun and the third vehicle is obtained.
[0092] When the first charging gun is charging the first vehicle, if it is detected that the third charging gun is connected to the third vehicle, the third communication state between the third charging gun and the third vehicle will also be detected to understand whether the third charging gun can have a good charging effect on the third vehicle.
[0093] S702: If the third communication state is the preset normal communication state, setting the charging sequence of the third charging gun to the third charging sequence.
[0094] When the third communication state is the preset normal communication state, the third charging gun can charge the third vehicle well. At this time, we set the charging sequence of the third charging gun to the third charging sequence.
[0095] S703: When it is detected that the first charging gun has completed charging the first vehicle, the charging sequence of the second charging gun is updated to the first charging sequence, and the charging sequence of the third charging gun is updated to the second charging sequence.
[0096] If the first charging gun completes charging the first vehicle, in addition to updating the charging order of the second charging gun, we also need to update the charging order of the third charging gun, so that the charging order of the third charging gun follows closely behind the second charging gun, and at this time, even if there are charging guns that continue to be connected to other vehicles, it will not affect the charging of the third charging gun after the second charging gun.
[0097] A second aspect of the present application provides a control device 20 for a vehicle charging device, Figure 8 It is a structural block diagram of an embodiment of the control device 20 of the vehicle charging equipment provided in the present application.
[0098] Combination Figure 8 , the control device 20 of the vehicle charging equipment includes an acquisition module 21, a setting module 22 and a control module 23. Among them, the acquisition module 21 is used to detect that the first charging gun is connected to the first vehicle, and then obtain the first communication state between the first charging gun and the first vehicle; if the second charging gun is detected to be connected to the second vehicle during the charging process of the first charging gun, then obtain the second communication state between the second charging gun and the second vehicle. The setting module 22 is used to: if the first communication state is a preset normal communication state, set the charging sequence of the first charging gun to the first charging sequence; if it is detected that the first charging gun has completed charging the first vehicle, update the charging sequence of the second charging gun to the first charging sequence. The control module 23 is used to control the first charging gun to charge the first vehicle, and to control the second charging gun to charge the second vehicle.
[0099] A third aspect of the present application provides an electronic device, comprising: a processor; and a memory for storing a computer program, wherein when the computer program is executed by the processor, the control method of the vehicle charging device in any of the above embodiments is implemented.
[0100] Fig. 9 It is a schematic diagram of the structural framework of an embodiment of the electronic device 500 provided in the present application.
[0101] In some specific embodiments, the electronic device 500 includes a central processing unit (CPU) 501 and a read-only memory (ROM) 502, wherein the CPU 501 is a processor and the ROM 502 is a memory. The CPU 501 can perform various appropriate actions and processes according to the program stored in the ROM 502 or the program loaded from the storage part 508 to the random access memory (RAM) 503, such as executing the method in the above embodiment. In the RAM 503, various programs and data required for system operation are also stored. The CPU 501, the ROM 502 and the RAM 503 are connected to each other via a bus 504. The input / output (I / O) interface 505 is also connected to the bus 504.
[0102] The following components are connected to the I / O interface 505: an input section 506 including a keyboard, a mouse, etc.; an output section 507 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the I / O interface 505 as needed. A removable medium 511, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 510 as needed so that a computer program read therefrom is installed into the storage section 508 as needed.
[0103] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 509, and / or installed from a removable medium 511. When the computer program is executed by a central processing unit (CPU) 501, various functions defined in the system of the present application are executed.
[0104] A fourth aspect of the present application provides a computer-readable storage medium 40, Fig.10 It is a schematic diagram of the structural framework of an embodiment of the computer-readable storage medium 40 provided in the present application.
[0105] The computer readable storage medium 40 stores a computer program 41 , and when the computer program 41 is executed by a processor, the control method of the vehicle charging device in any of the above embodiments is implemented.
[0106] It should be noted that the computer-readable medium 40 shown in the embodiment of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it. In the present application, a computer-readable signal medium can include a data signal propagated in a baseband or as a part of a carrier wave, wherein a computer-readable computer program is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate, or transmit programs for use by or in conjunction with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0107] In summary, the control method, device, electronic device and storage medium of the vehicle charging device provided by the present application include: when the first charging gun is detected to be connected to the first vehicle, the first communication state between the first charging gun and the first vehicle is obtained; if the first communication state is a preset normal communication state, the charging sequence of the first charging gun is set to the first charging sequence, and the first charging gun is controlled to charge the first vehicle; if the second charging gun is detected to be connected to the second vehicle during the charging process of the first charging gun, the second communication state between the second charging gun and the second vehicle is obtained; if the second communication state is a preset normal communication state, the charging sequence of the second charging gun is set to the second charging sequence; when it is detected that the first charging gun has completed charging the first vehicle, the charging sequence of the second charging gun is updated to the first charging sequence, and the second charging gun is controlled to charge the second vehicle. Therefore, by detecting the communication state of the charging gun, the charging sequence of the charging gun can be quickly and effectively realized, thereby achieving a good sequencing charging effect.
[0108] The above content is only a preferred exemplary embodiment of the present application and is not intended to limit the implementation scheme of the present application. A person skilled in the art can easily make corresponding changes or modifications based on the main concept and spirit of the present application. Therefore, the scope of protection of the present application shall be based on the scope of protection required by the claims.
Claims
1. A method for controlling a vehicle charging device, It is characterized in that The method is applied to the vehicle charging device, the vehicle charging device includes a plurality of charging guns, and the method includes: When it is detected that the first charging gun is connected to the first vehicle, a first communication state between the first charging gun and the first vehicle is obtained; If the first communication state is a preset normal communication state, setting the charging sequence of the first charging gun to a first charging sequence, and controlling the first charging gun to charge the first vehicle; If it is detected that the second charging gun is connected to the second vehicle during the charging process of the first charging gun, obtaining a second communication state between the second charging gun and the second vehicle; If the second communication state is the preset normal communication state, setting the charging sequence of the second charging gun to the second charging sequence; When it is detected that the first charging gun has completed charging the first vehicle, the charging sequence of the second charging gun is updated to the first charging sequence, and the second charging gun is controlled to charge the second vehicle.
2. The control method of the vehicle charging device according to claim 1, It is characterized in that If the first communication state is a preset normal communication state, then after the step of setting the charging sequence of the first charging gun to the first charging sequence and controlling the first charging gun to charge the first vehicle, the method further includes: Obtaining a required charging amount of the first vehicle and a charging power of the first charging gun, and obtaining a charging time of the first charging gun based on the required charging amount and the charging power; The charging duration is displayed and / or sent to the first vehicle.
3. The control method of the vehicle charging device according to claim 2, It is characterized in that After the steps of obtaining the required charging amount of the first vehicle and the charging power of the first charging gun, and obtaining the charging time of the first charging gun based on the required charging amount and the charging power, the method includes: According to the charging start time of the first charging gun and the charging duration, the electricity price range in which the charging period of the first charging gun is located and the sub-charging duration corresponding to the electricity price range are obtained; wherein the electricity price range includes at least a first electricity price range and a second electricity price range with different electricity prices; Based on the electricity price range and the sub-charging duration, an electricity fee corresponding to the first vehicle in the charging period is obtained.
4. The vehicle charging device control method according to claim 1, It is characterized in that If the first communication state is a preset normal communication state, after the step of setting the charging sequence of the first charging gun to the first charging sequence, the method further includes: Obtaining an electricity price range involved in a future period, and receiving a charging mode sent by the first vehicle; wherein the electricity price range includes at least a first electricity price range and a second electricity price range with different electricity prices, and the charging mode includes a fast charging mode and a low-cost charging mode; If the charging mode is a fast charging mode, then at the current moment, a step of controlling the first charging gun to charge the first vehicle is executed; If the charging mode is a low-cost charging mode, a charging start time is set according to the electricity price range involved in the future time period to minimize the charging cost, and a step of controlling the first charging gun to charge the first vehicle is performed at the charging start time.
5. The vehicle charging device control method according to claim 4, It is characterized in that The step of setting the charging start time according to the electricity price range involved in the future period so as to minimize the charging cost includes: Obtain the time periods of different electricity price intervals within a day from the current moment, and take the time period of the electricity price interval with the lowest electricity price as the target charging time period; When the duration between the current time and the start time of the target charging period is less than the preset time, the start time of the target charging period is used as the charging start time.
6. The control method of the vehicle charging device according to claim 1, It is characterized in that If it is detected that the second charging gun is connected to the second vehicle during the charging process of the first charging gun, after the step of obtaining the second communication state between the second charging gun and the second vehicle, the method includes: If the second communication state is a preset abnormal communication state, the charging sequence of the second charging gun is not set; Generate a reminder message of abnormal connection, and display and / or send the reminder message to the second vehicle.
7. The control method of the vehicle charging device according to claim 1, It is characterized in that If the second communication state is the preset normal communication state, after the step of setting the charging sequence of the second charging gun to the second charging sequence, the method further includes: If it is detected that the third charging gun is connected to the third vehicle during the charging process of the first charging gun, obtaining a third communication state between the third charging gun and the third vehicle; If the third communication state is the preset normal communication state, setting the charging sequence of the third charging gun to the third charging sequence; When it is detected that the first charging gun has completed charging the first vehicle, the charging sequence of the second charging gun is updated to the first charging sequence, and the charging sequence of the third charging gun is updated to the second charging sequence.
8. A control device for a vehicle charging device, It is characterized in that include: an acquisition module, configured to detect that a first charging gun is connected to a first vehicle, and then acquire a first communication state between the first charging gun and the first vehicle; If it is detected that the second charging gun is connected to the second vehicle during the charging process of the first charging gun, obtaining a second communication state between the second charging gun and the second vehicle; A setting module, if the first communication state is a preset normal communication state, sets the charging sequence of the first charging gun to the first charging sequence; if it is detected that the first charging gun has completed charging the first vehicle, updates the charging sequence of the second charging gun to the first charging sequence; A control module is used to control the first charging gun to charge the first vehicle, and is used to control the second charging gun to charge the second vehicle.
9. An electronic device, It is characterized in that include: processor; A memory for storing a computer program, wherein when the computer program is executed by the processor, the control method of the vehicle charging device according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, It is characterized in that The storage medium stores a computer program, and when the computer program is executed by a processor, the control method of the vehicle charging device according to any one of claims 1 to 7 is implemented.
