Disclosure of Invention
Based on this, it is necessary to provide a charging pile output power control method, a charging pile, a computer readable storage medium and a computer program product, aiming at the technical problem that the current charging pile has only a single power charging function and has low adaptability to a local power grid.
In a first aspect, the present application provides a method for controlling output power of a charging pile. The method comprises the following steps:
receiving a plurality of power control files which are sent by a server and are associated with a target charging pile; the power control files are generated by the server according to the charging demand information of the area where the target charging pile is located, and each power control file is configured with output power limit information and initial priority;
Determining a plurality of candidate power control files associated with a target time period from the power control files according to the output power limit information; the target time period is any effective time period;
determining a target power control file executed in the target time period from the plurality of candidate power control files according to the output power limit information and the initial priority of each candidate power control file;
and determining the output power of the target charging pile in the target time period based on the output power limit information contained in the target power control file.
In one embodiment, each power control file further contains a charging gun identifier of the limited charging gun; the method further comprises the steps of:
determining the control type corresponding to each candidate power control file according to at least one condition in the output power limit information and the charging gun identifier;
and determining a target power control file executed in the target time period from the plurality of candidate power control files according to the output power limit information of each candidate power control file, the initial priority and the control type.
In one embodiment, the output power limitation information includes a limitation power and a limitation time, and the control type includes: maximum power control type, cyclic control type, and temporary control type;
the determining the control type corresponding to each candidate power control file according to at least one condition of the output power limitation information and the charging gun identifier comprises the following steps:
when the charging gun identifiers contained in the candidate power control file are identifiers for representing all charging guns of the target charging pile, determining that the control type of the candidate power control file is the maximum power control type;
when the limiting time contained in the candidate power control file has periodicity, determining that the control type of the candidate power control file is a cyclic control type;
and when the limiting power and limiting time contained in the candidate power control file have the temporary property, determining that the control type of the candidate power control file is a temporary control type.
In one embodiment, the determining, according to the output power limitation information of each candidate power control file, the initial priority and the control type, a target power control file executed in the target time period from the plurality of candidate power control files includes:
Classifying each candidate power control file according to the control type to obtain a plurality of candidate file sets;
for each candidate file set, selecting a candidate power control file with the highest initial priority from the candidate file set according to the initial priority of each candidate power control file in the candidate file set;
and determining the target power control file from the candidate power control files with the highest initial priority corresponding to each candidate file set according to the control type and the output power control information.
In one embodiment, the determining, according to the control type and the output power control information, the target power control file from the candidate power control file with the highest initial priority corresponding to each candidate file set includes:
and determining the target power control file from the candidate power control files with the highest initial priority corresponding to each candidate file set according to the condition that the priority of the power control file with the temporary control type is higher than that of the power control file with the cyclic control type and the priority of the power control file with the smaller limiting power within the same limiting time is higher.
In one embodiment, each power control file further has a corresponding control type, and after receiving the plurality of power control files associated with the target charging pile sent by the server, the method further includes:
inquiring the control type and initial priority of the current power control file corresponding to the target charging pile;
and if a second power control file with the same control type and initial priority as those of a first power control file in the received plurality of power control files exists in the current power control file, replacing the second power control file by the first power control file.
In one embodiment, the output power limit information includes a limit time including an effective time and an expiration time of the power control file; the method further comprises the steps of:
acquiring the limit time of the current power control file corresponding to the target charging pile;
and deleting the failed power control file when detecting that the failed power control file exists in the current power control file according to the effective time and the termination time in the limiting time.
In a second aspect, the present application further provides a charging pile output power control device. The device comprises:
The file receiving module is used for receiving a plurality of power control files which are sent by the server and are associated with the target charging pile; the power control files are generated by the server according to the charging demand information of the area where the target charging pile is located, and each power control file is configured with output power limit information and initial priority;
the first screening module is used for determining a plurality of candidate power control files associated with a target time period from the power control files according to the output power limit information; the target time period is any effective time period;
the second screening module is used for determining a target power control file executed in the target time period from the plurality of candidate power control files according to the output power limit information and the initial priority of each candidate power control file;
and the power determining module is used for determining the output power of the target charging pile in the target time period based on the output power limit information contained in the target power control file.
In a third aspect, the present application further provides a charging pile. The charging pile comprises a memory and a processor, wherein the memory stores a computer program, and the processor realizes the following steps when executing the computer program:
Receiving a plurality of power control files which are sent by a server and are associated with a target charging pile; the power control files are generated by the server according to the charging demand information of the area where the target charging pile is located, and each power control file is configured with output power limit information and initial priority;
determining a plurality of candidate power control files associated with a target time period from the power control files according to the output power limit information; the target time period is any effective time period;
determining a target power control file executed in the target time period from the plurality of candidate power control files according to the output power limit information and the initial priority of each candidate power control file;
and determining the output power of the target charging pile in the target time period based on the output power limit information contained in the target power control file.
In a fourth aspect, the present application also provides a computer-readable storage medium. The computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
receiving a plurality of power control files which are sent by a server and are associated with a target charging pile; the power control files are generated by the server according to the charging demand information of the area where the target charging pile is located, and each power control file is configured with output power limit information and initial priority;
Determining a plurality of candidate power control files associated with a target time period from the power control files according to the output power limit information; the target time period is any effective time period;
determining a target power control file executed in the target time period from the plurality of candidate power control files according to the output power limit information and the initial priority of each candidate power control file;
and determining the output power of the target charging pile in the target time period based on the output power limit information contained in the target power control file.
In a fifth aspect, the present application also provides a computer program product. The computer program product comprises a computer program which, when executed by a processor, implements the steps of:
receiving a plurality of power control files which are sent by a server and are associated with a target charging pile; the power control files are generated by the server according to the charging demand information of the area where the target charging pile is located, and each power control file is configured with output power limit information and initial priority;
determining a plurality of candidate power control files associated with a target time period from the power control files according to the output power limit information; the target time period is any effective time period;
Determining a target power control file executed in the target time period from the plurality of candidate power control files according to the output power limit information and the initial priority of each candidate power control file;
and determining the output power of the target charging pile in the target time period based on the output power limit information contained in the target power control file.
According to the charging pile output power control method, the charging pile, the storage medium and the computer program product, the server generates a plurality of power control files according to the charging demand information of each area, and configures output power limit information and initial priority for each power control file, so that each charging pile can issue each power control file associated with the charging pile, each charging pile can screen candidate power control files in any effective time period from the power control files associated with the charging pile, and the target power control file executed in the target time period is determined from each candidate power control file based on the output power limit information and the initial priority; and determining the output power of the target charging pile in the target time period based on the output power limit information contained in the target power control file. The method for generating a plurality of power control files by the server and sending the power control files to each charging pile is used for controlling the charging power of any charging pile in any time period in different areas, so that the technical problem that the existing charging pile only has a single power charging function and has low suitability with a local power grid is solved.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the present application described herein may be implemented in sequences other than those illustrated or otherwise described herein.
The charging pile output power control method provided by the embodiment of the application can be applied to an application environment shown in fig. 1. Wherein the charging pile 102 communicates with the server 104 through a network. The data storage system may store power control files for a plurality of regional different charging piles. The data storage system may be integrated on the server 104 or may be located on a cloud or other network server. The charging pile 102 comprises a charging main control unit and a power supply module, the server 104 transmits a power control file corresponding to the charging pile 102 to the charging main control unit of the charging pile 102 through a network, the charging main control unit calculates limited transmission power according to a preset rule, and then the purpose of limiting output power is achieved by controlling the output current of the power supply module. The server 104 may be implemented as a stand-alone server or a server cluster including a plurality of servers.
In one embodiment, as shown in fig. 2, a method for controlling output power of a charging pile is provided, and the charging main control unit of the charging pile 102 in fig. 1 is taken as an example for describing the method, which includes the following steps:
step S210, receiving a plurality of power control files which are sent by a server and are associated with a target charging pile; the power control files are generated by the server according to the charging demand information of the area where the target charging pile is located, and each power control file is configured with output power limit information and initial priority.
The output power limitation information may include a limitation time and a limitation power, among others.
The target charging pile can be any charging pile in any area.
Where the initial priority indicates the priority of the power control file under the control type.
Referring to fig. 3, a schematic diagram of a power control file model is shown in an embodiment, where a power control file may have a plurality of limiting parameter tables to form a linked list, so as to satisfy the limitation of implementing different powers in multiple periods during a control time. Wherein the start time and the duration define the valid period of a limiting parameter table, and the time related to the specification of the application needs to use UTC time, and the time representation uses ISO 8601 date and time representation. The limiting power defines the charging power value that needs to be limited to the charging pile in the effective period.
In a specific implementation, the server may generate a power control file of the charging pile of each area in advance according to the charging requirement information of each area, store the power control file in the data storage system, when the target charging pile of a certain area needs to perform charging power control, send a power control request to the server, respond to the power control request, query a plurality of power control files associated with the target charging pile from the data storage system, and send the power control files to the target charging pile, specifically, to the charging main control unit of the target charging pile, so that the target charging pile may obtain the corresponding plurality of power control files.
Step S220, determining a plurality of candidate power control files associated with the target time period from the power control files according to the output power limit information; the target time period is any valid time period.
In a specific implementation, different power control files have different limiting information, and in particular, different limiting power and limiting time can be provided, that is, the effective time of each power control file is different, so for any effective target time period, a plurality of candidate power control files associated with the target time period need to be determined from the power control files according to the limiting time of each power control file, and thus, the target power control file for controlling the output power of the target charging pile in the target time period is determined from the candidate power control files.
In step S230, a target power control file executed in the target time period is determined from the plurality of candidate power control files according to the output power limit information and the initial priority of each candidate power control file.
In a specific implementation, different power control files may have different control types, and in addition to the output power limitation information and the initial priority, the control types may also affect the determination result of the target power control file. Therefore, before determining the target power control file, the control type corresponding to each candidate power control file needs to be determined, and the target power control file executed in the target time period is determined from each candidate power control file by combining the output power limit information, the initial priority and the control type of each candidate power control file.
Step S240, determining the output power of the target charging pile in the target time period based on the output power limitation information included in the target power control file.
In a specific implementation, only one target power control file in the same time interval is needed, when the time of the target time interval is long, multiple time intervals may need to be divided, and multiple determined target power control files may exist. When only one target power control file corresponding to the target time period exists, the output power of the target charging pile in the target time period can be controlled within the range of the limited power in the target power control file.
In the charging pile output power control method, the server generates a plurality of power control files according to the charging demand information of each area, and configures output power limit information and initial priority for each power control file, so that each power control file associated with each charging pile can be issued to each charging pile, each charging pile can screen candidate power control files in any effective time period from the power control files associated with each charging pile, and the target power control file executed in the target time period is determined from each candidate power control file based on the output power limit information and the initial priority; and determining the output power of the target charging pile in the target time period based on the output power limit information contained in the target power control file. The method for generating a plurality of power control files by the server and sending the files to each charging pile realizes the charging power control of any charging pile in any time period in different areas, and all piles of the whole charging station can be controlled at one time in a file mode, and can be traced back, so that the charging power control method is convenient for recording and tracing; by means of multi-file stacking, the power limiting requirements of any period in most practical operations can be conveniently met.
In an exemplary embodiment, each power control file also contains a charging gun identification of the restricted charging gun; the determining of the target power control file in step S230 further includes:
step S231, determining the control type corresponding to each candidate power control file according to at least one condition of the output power limit information and the charging gun identifier;
step S232, determining a target power control file executed in the target time period from the plurality of candidate power control files according to the output power limit information, the initial priority and the control type of each candidate power control file.
Wherein each power control file must use the charging gun identification to explicitly specify which gun of the charging stake is to be power limited. For example, the number is used to represent the charging gun identifier, 0 is set to represent the charging pile body, i.e. all charging guns corresponding to the charging pile, and [1 … N ] respectively represents the charging gun number of the specific connection of the charging pile.
Specifically, since the output power limit information includes the limit time and the limit power, the determination of the target power control file further includes: and determining a control type corresponding to each candidate power control file according to at least one condition of the limiting time, the limiting power and the charging gun identifier, and determining a target power control file executed in a target time period from a plurality of candidate power control files according to the output power limiting information, the initial priority and the control type of each candidate power control file.
In this embodiment, considering the influence of the control type on the determination of the output power of the charging pile, the control type of each candidate power control file is determined according to at least one condition of the output power limit information and the charging gun identifier, and then the target power control file is determined by combining the control type, the output power limit information and the initial priority, so that the matching degree between the determined target power control file and the actual charging requirement can be improved.
In an exemplary embodiment, the present application defines three control types, including: the maximum power control type, the cyclic control type and the temporary control type are defined as follows:
1. maximum power control type: in a load balancing scenario, the charging stake should have one or more maximum power control files to limit the charging power of all of the charging guns of the entire charging stake, and the output power of all of the guns of the entire charging stake should not exceed the limit power value in the limit parameter for a time specified by the one limit parameter. Specific power limit values and points in time are defined in a list of limiting parameters.
2. Type of loop control: in the load balancing scenario, the charging pile is allowed to use a cyclic control type file, which indicates that the charging pile needs to perform power control periodically, and the period can be days, weeks or months. In the period, the charging main control unit can automatically calculate the power limit value of the current time point to control the output power. Specific power limit values and points in time are defined in a list of limiting parameters.
3. Temporary control type: in the load balancing scenario, the charging pile is allowed to use a temporary control type file, which indicates that the charging pile needs to temporarily limit power, and the charging master control unit needs to automatically delete the temporary control file beyond the time point described in the limit parameter. And the temporary control file enjoys a higher priority than the cyclic control file in the rule of file stacking, i.e., if the temporary control file overrides the cyclic control file within the same period of time. Specific power limit values and limit times are defined in a list of limit parameters.
In the step S231, the control types corresponding to the candidate power control files are determined according to at least one condition of the output power limitation information and the charging gun identifier, which may be implemented specifically by the following steps:
in step S231a, when the charging gun identifiers included in the candidate power control file are identifiers of all charging guns characterizing the target charging pile, the control type of the candidate power control file is determined to be the maximum power control type.
For example, let 0 denote the charging pile body, i.e. all charging guns corresponding to the charging pile, [1 … N ] denote the charging gun numbers of the specific connection of the charging pile, respectively, and when the charging gun identifier included in the candidate power control file is 0, the control type of the candidate power control file can be determined to be the maximum power control type.
In step S231b, when the constraint time contained in the candidate power control file has periodicity, it is determined that the control type of the candidate power control file is a loop control type.
Specifically, the cycle control type period may be days, weeks, months, or the like. For example, if the limiting time of one candidate power control file is 8 to 21 points per day, or monday per week, the control type of the candidate power control file may be determined as a loop control type.
In step S231c, when the limited power and the limited time contained in the candidate power control file have temporary properties, it is determined that the control type of the candidate power control file is a temporary control type.
By way of example, setting at day 5, month 1, and day 5, month 2 of 2023 temporarily limits the power of the charging stake to 60kW.
In this embodiment, since the charging requirements of the power grid are various, the present embodiment defines a plurality of different control types to distinguish different charging requirements, so as to facilitate the subsequent control of the charging power according to the control types.
Referring to fig. 4, the present application further defines a stacking rule of the multi-file stacking model:
in an embodiment, power control files of the same plurality of different control types are allowed to have the same plurality of priorities at the same time. In general, different power control files should contain different limiting parameters, including different schedules and different limiting powers.
In one embodiment, there should be at least one maximum power control file to limit the charging power of all the charging guns of the entire charging stake.
In one embodiment, to avoid collisions, one charging gun does not allow multiple power control files of the same priority and control type to exist. If the charging main control unit receives the power control files with the same priority and control type issued by the server, the charging main control unit should replace the existing power control files.
In one embodiment, at any point in time, the charging master should traverse all power control files. Among all the power control files under the same control type, the control file which is valid at that point in time and has the highest priority should be selected, resulting in a comprehensive limited power table of that control type. The table obtains the final time by calculating the minimum value of each time interval, which need not be a fixed length. And the charging main control unit selects the minimum limiting power value according to the three integrated limiting power tables, and then transmits the limiting power value to the power supply module.
In one embodiment, to implement the dequeue mode, the temporary control file enjoys a higher priority than the cycle control file in the rules of the file stack, i.e., if the temporary control file overrides the cycle control file during the same period of time.
In an exemplary embodiment, as shown in fig. 5, the step S232 may be implemented by determining, from a plurality of candidate power control files, a target power control file executed in a target time period according to output power limitation information, initial priority, and control type of each candidate power control file, and specifically by:
step S510, classifying each candidate power control file according to the control type to obtain a plurality of candidate file sets;
step S520, selecting a candidate power control file with the highest initial priority from the candidate file sets according to the initial priority of each candidate power control file in the candidate file sets for each candidate file set;
step S530, determining a target power control file from the candidate power control files with the highest initial priority corresponding to each candidate file set according to the control type and the output power control information.
In particular, the present application relates to the multi-file stacking rule shown in fig. 4, so each power control file requires an initial priority to be limited. And a high initial priority value enjoys a relatively high priority. In any effective time period, the charging main control unit can determine the power control file with the highest initial priority in the power control files of each control type, then determine the target power control file from the power control files with the highest initial priority selected under each control type according to the rule of multi-file stacking, and calculate the output power executed by the target time period.
In this embodiment, the method of determining the target power control file layer by layer may improve the determination efficiency of the target power control file by selecting the power control file with the highest initial priority from the candidate file set corresponding to each type, and then determining the target power control file from the power control file with the highest initial priority selected under each control type.
Further, in an exemplary embodiment, the step S330 determines, according to the control type and the output power control information, a target power control file from the candidate power control files with the highest initial priority corresponding to each candidate file set, including: and determining the target power control file from the candidate power control files with the highest initial priority corresponding to each candidate file set according to the condition that the priority of the power control file with the temporary control type is higher than that of the power control file with the cyclic control type and the priority of the power control file with the smaller limiting power within the same limiting time is higher under the non-temporary control type.
In this embodiment, the temporary control file corresponding to the temporary control type is set to have a higher priority than the cyclic control file corresponding to the cyclic control type in the rule of file stacking, that is, if the temporary control file overturns the cyclic control file in the same time period, the queue inserting mode is implemented. And for the case of a plurality of power control files with limited power in the same limiting time, the priority of the power control file with smaller limited power can be set to be higher, so that the determined target power control file can meet the requirements of all the power control files.
In an exemplary embodiment, each power control file further has a corresponding control type, and after receiving the plurality of power control files associated with the target charging pile and sent by the server in step S210, the method further includes:
step S211, inquiring the control type and initial priority of the current power control file corresponding to the target charging pile;
in step S212, if there is a second power control file in the current power control file, the second power control file is replaced with the first power control file if the second power control file has the same control type and initial priority as those of the first power control file in the received plurality of power control files.
The current power control file may be understood as a power control file associated with the target charging pile, which is currently stored by the charging master control unit of the target charging pile.
In this embodiment, after receiving a plurality of power control files associated with a target charging pile sent by a server, a charging master control unit of the charging pile queries a control type and an initial priority of a current power control file corresponding to the target charging pile, and when a second power control file with the same control type and initial priority as those of a first power control file in the received plurality of power control files exists in the current power control file, replaces the second power control file with the first power control file to ensure uniqueness of the power control file with each initial priority under each control type in each charging pile, so as to avoid file collision.
In an exemplary embodiment, the output power limit information includes a limit time including an effective time and a termination time of the power control file; the method further comprises the steps of: acquiring the limit time of a current power control file corresponding to a target charging pile; and deleting the failed power control file when detecting that the failed power control file exists in the current power control file according to the effective time and the termination time in the limiting time.
In this embodiment, each power control file needs to declare an effective time and a termination time to determine an effective time of the power control file, and when detecting that any one of the power control files currently stored by the charging master control unit of the target charging pile exceeds the effective time, that is, fails, the charging master control unit automatically deletes the power control file, so as to reduce occupation of the storage space of the charging pile.
In one embodiment, to facilitate understanding of embodiments of the present application by those skilled in the art, the following description will be made with reference to specific examples of the drawings. The power of the charging pile is limited according to a local power grid by a certain charging station, and the requirements are as follows:
a) Since the charging station is just started to build the station, the applied power is insufficient, the output power of each charging pile needs to be limited to 100kW between 2022-03-01 and 2022-03-28, and then the charging pile can be recovered to 120kW from 2022, 3 and 28 days for 5 years.
b) In 2022, in order to respond to the requirements of peak shaving and valley shaving of the power grid, the charging power of each charging pile needs to be limited to 100kW from 8 to 21 in the evening, and is restored to 120kW from 21 to 8 in the morning in the evening.
c) After the summer, in order to reduce the load of the power grid, the power needs to be limited between 2022-06-01 and 2022-09-01, and the charging power of each charging pile needs to be limited to 80kW from 8 per day to 21 per night in the period, and the charging power needs to be limited to 100kW from 21 per night to 8 per morning in the next day.
d) Because of grid regulation, the charging power of each charging post needs to be temporarily limited to 60kW at 2022-05-01 to 2022-05-02.
In order to meet the above requirements, the output power control method provided by the application can be used for meeting the requirements.
Referring to table 1, in order to meet the above requirement a, a maximum power control file may be issued to achieve limiting the output power of the charging stake to 100kW within 2022-03-01 to 2022-03-28, followed by limiting the output power of the charging stake to 120kW, the file expiration date being 2027-3-28.
Referring to table 2, in order to meet the above requirement b, a circulation control file (priority of 0) may be issued, which may be implemented to limit the charging power of each pile to 100kW from 8 a day to 21 a night in 2022, and to restore to 120kW from 21 a day to 8 a day in the next morning.
Referring to table 3, in order to meet the above requirement c, a loop control file (priority 1) may be issued. This file has a higher priority at 2022-06-01 to 2022-09-01 than the power control files in table 2. Therefore, according to the file stacking rule specified in the application, the file replaces the power control file in table 2 in the time period, so that the power control file can realize 8 points per day to 21 points per night, the charging power of each charging pile is limited to 80kW, and the charging power is limited to 100kW from 21 points per day to 8 points in the morning of the next day.
Referring to table 4, in order to meet the d requirement described above, a temporary control file may be issued. According to the file stacking rule specified in the application, all the circulating control files are overturned in the life time by the temporary control files. 2022-05-01 to 2022-05-02 may be implemented to temporarily limit each pile to 60kW.
According to the multi-file stacked charging pile power remote intelligent regulation and control method, charging power limitation can be achieved in any period and in periodic circulation through the server, and temporary charging power regulation and control can be achieved in a 'queue' mode. All piles of the whole charging station can be controlled at one time in a file mode, and backtracking can be achieved, so that recording and searching are facilitated. By means of multi-file stacking, the power limiting requirements of any period in most practical operations can be conveniently met.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time but may be performed at different times, and the order of the execution of the steps or stages is not necessarily sequential, but may be performed in turn or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a charging pile output power control device for realizing the charging pile output power control method. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitation in the embodiments of the output power control device for one or more charging piles provided below may be referred to the limitation of the output power control method for the charging pile hereinabove, and will not be repeated here.
In one embodiment, as shown in fig. 6, there is provided a charging pile output power control device, including:
a file receiving module 610, configured to receive a plurality of power control files associated with a target charging pile sent by a server; the power control files are generated by the server according to the charging demand information of the area where the target charging pile is located, and each power control file is configured with output power limit information and initial priority;
a first filtering module 620, configured to determine, from the power control files, a plurality of candidate power control files associated with the target time period according to the output power limitation information; the target time period is any effective time period;
a second filtering module 630, configured to determine, from the plurality of candidate power control files, a target power control file executed in a target time period according to the output power limit information and the initial priority of each candidate power control file;
the power determination module 640 determines the output power of the target charging pile in the target time period based on the output power limitation information contained in the target power control file.
In one embodiment, each power control file also contains a charging gun identification of the restricted charging gun; the second screening module 630 further includes:
The type determining submodule is used for determining the control type corresponding to each candidate power control file according to at least one condition in the output power limiting information and the charging gun identifier;
and the file determining submodule is used for determining a target power control file executed in a target time period from a plurality of candidate power control files according to the output power limit information, the initial priority and the control type of each candidate power control file.
In one embodiment, the output power limitation information includes a limitation power and a limitation time, and the control type includes: maximum power control type, cyclic control type, and temporary control type; the type determining submodule is further used for determining that the control type of the candidate power control file is the maximum power control type when the charging gun identifiers contained in the candidate power control file are identifiers of all charging guns representing the target charging pile; when the limiting time contained in the candidate power control file has periodicity, determining that the control type of the candidate power control file is a cyclic control type; when the limit power and the limit time contained in the candidate power control file have the temporary property, determining that the control type of the candidate power control file is the temporary control type.
In one embodiment, the file determining submodule is further configured to classify each candidate power control file according to a control type to obtain a plurality of candidate file sets; for each candidate file set, selecting a candidate power control file with the highest initial priority from the candidate file set according to the initial priority of each candidate power control file in the candidate file set; and determining a target power control file from the candidate power control files with the highest initial priority corresponding to each candidate file set according to the control type and the output power control information.
In one embodiment, the file determining submodule is further configured to determine the target power control file from the candidate power control files with the highest initial priority corresponding to each candidate file set according to the condition that the priority of the power control file with the temporary control type is higher than that of the power control file with the cyclic control type and the priority of the power control file with the smaller limiting power within the same limiting time is higher.
In one embodiment, each power control file further has a corresponding control type, and the device further includes a replacement module, configured to query the control type and the initial priority of the current power control file corresponding to the target charging pile; if a second power control file with the same control type and initial priority as those of a first power control file in the received plurality of power control files exists in the current power control file, the second power control file is replaced by the first power control file.
In one embodiment, the limit time includes an effective time and an expiration time of the power control file; the device further comprises a deleting module, a determining module and a determining module, wherein the deleting module is used for acquiring the limiting time of the current power control file corresponding to the target charging pile; and deleting the failed power control file when detecting that the failed power control file exists in the current power control file according to the effective time and the termination time in the limiting time.
The modules in the charging pile output power control device can be all or partially realized by software, hardware and a combination thereof. The modules can be embedded in the processor in the charging pile in a hardware form or independent of the processor in the charging pile, and can also be stored in the memory in the charging pile in a software form, so that the processor can call and execute the operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 7. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer equipment is used for storing data in the control process of the output power of the charging pile. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program when executed by a processor implements a method of controlling output power of a charging pile.
It will be appreciated by those skilled in the art that the structure shown in fig. 7 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, there is also provided a charging pile including a memory and a processor, the memory storing a computer program, the processor implementing the steps of the method embodiments described above when executing the computer program.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when executed by a processor, carries out the steps of the method embodiments described above.
In an embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the steps of the method embodiments described above.
It should be noted that, the user information (including, but not limited to, user equipment information, user personal information, etc.) and the data (including, but not limited to, data for analysis, stored data, presented data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party, and the collection, use and processing of the related data are required to comply with the related laws and regulations and standards of the related countries and regions.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the various embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as Static Random access memory (Static Random access memory AccessMemory, SRAM) or dynamic Random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the various embodiments provided herein may include at least one of relational databases and non-relational databases. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic units, quantum computing-based data processing logic units, etc., without being limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples only represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the present application. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application shall be subject to the appended claims.