Charging pile cost calculation method and system

By obtaining the status information of the charging pile at multiple time nodes, data mapping and billing identification matching, and using the fitting curve to calculate the charging cost, the problems of complex billing calculation and high error rate in the prior art are solved, and more efficient and accurate fee settlement is achieved.

CN119672858APending Publication Date: 2025-03-21JIANG XI AN JI CHU NENG YOU XIAN GONG SI
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411835348.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-13
Publication Date
2025-03-21

AI Technical Summary

Technical Problem

In the prior art, charging pile providers need to perform segmented calculations based on the billing rules of multiple time nodes, resulting in large amounts of data, slow fee settlement, and even billing errors, affecting the user experience.

Method used

By obtaining the state information of the charging pile at multiple time nodes, including power data, these data are mapped into a preset processing interface, automatically match the billing identifier, and determine the area of ​​the enclosed area by fitting the feature curve and the minimum feature connection to calculate the charging cost.

Benefits of technology

It simplifies the billing calculation process, reduces the amount of background data calculation, reduces the possibility of billing errors, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119672858A_ABST
    Figure CN119672858A_ABST
Patent Text Reader

Abstract

The invention discloses a charging pile cost calculation method and system, and the method comprises the steps: obtaining a plurality of pieces of state information, including power data corresponding to each time node, sequentially fed back by a charging pile at a plurality of time nodes; mapping the power data to a preset processing interface, and automatically matching a charging identifier corresponding to each time node; connecting the plurality of charging identifiers to obtain a series broken line; outputting a characteristic curve connecting a first key charging identifier corresponding to the first time node and a second key charging identifier corresponding to the second time node; carrying out minimum length connection on the first key charging identifier and the second key charging identifier to obtain a minimum characteristic connection line; and determining an enclosed area according to the characteristic curve and the minimum characteristic connecting line, and calculating the area of the enclosed area to determine the charging cost. The problem that in the prior art, due to the fact that the amount of cost calculation data is large, cost settlement is slow, even charging errors occur, and user experience is poor is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of charging billing, and in particular to a charging pile fee calculation method and system. Background Art

[0002] With the rapid development of new energy technologies and the popularization of energy replenishment facilities, new energy vehicles are becoming more and more popular among consumers.

[0003] Among them, new energy vehicles mainly use electricity as a driving energy source, and the vehicle's range can be increased by charging. At present, the main charging methods are mainly through public charging piles, home charging piles and portable charging devices. Among them, public charging piles require users to use specific charging apps or scan codes for charging and fee settlement. However, there are many brands of public charging piles, and although the billing methods are similar, they mainly include billing based on time, charging amount and charging power.

[0004] Currently, combined billing is usually used, such as the combined calculation of time and charging amount, and the combined calculation of time and charging power. Although this billing method is fairer to users and charging pile providers, it is relatively complicated. Charging pile providers need to perform segmented calculations according to the duration, charging amount or charging power corresponding to multiple time nodes based on the billing rules. The amount of data is large, resulting in slow fee settlement and even billing errors, resulting in a poor user experience. Summary of the invention

[0005] In view of the deficiencies in the prior art, the purpose of the present invention is to provide a charging pile fee calculation method and system, aiming to solve the problem in the prior art that charging pile providers need to perform segmented calculations according to the duration, charging amount or charging power corresponding to multiple time nodes according to billing rules, and the amount of data is large, resulting in slow fee settlement and even billing errors, resulting in a poor user experience.

[0006] A first aspect of the present invention is to provide a charging pile fee calculation method for calculating the fee of using a charging pile for an electric vehicle, the method comprising:

[0007] Acquire multiple state information fed back sequentially by the charging pile at multiple time nodes, wherein the state information includes power data of the charging pile supplying power to the electric vehicle corresponding to each time node;

[0008] Mapping power data corresponding to multiple time nodes to a preset processing interface, and automatically matching the billing identifier corresponding to each time node according to the power data;

[0009] In the processing interface, multiple billing identifiers are connected to obtain a series of polylines that sequentially connect the multiple billing identifiers;

[0010] Fitting the series of broken lines, and outputting a characteristic curve connecting a first key charging identifier corresponding to a first time node and a second key charging identifier corresponding to a second time node;

[0011] Connecting the first key billing identifier and the second key billing identifier with a minimum length to obtain a minimum characteristic connection;

[0012] An enclosed area is determined according to the characteristic curve and the minimum characteristic line, the area of ​​the enclosed area is calculated, and a condition comparison is performed according to the size of the area of ​​the area to determine the charging fee.

[0013] According to one aspect of the above technical solution, the power data corresponding to the multiple time nodes are mapped to a preset processing interface, and the step of automatically matching the billing identifier corresponding to each time node according to the power data includes:

[0014] According to the power data corresponding to each time node, determine the power value recorded corresponding to each power data;

[0015] Determine the horizontal mapping coordinates and the vertical mapping coordinates according to the order of the time nodes and the magnitude of the power values, and map the power data to a preset processing interface based on the horizontal mapping coordinates and the vertical mapping coordinates;

[0016] In the processing interface, according to the power data corresponding to each of the time nodes, the billing identifier corresponding to the power data is automatically matched according to the longitudinal mapping coordinates.

[0017] According to one aspect of the above technical solution, in the processing interface, according to the power data corresponding to each of the time nodes, the step of automatically matching the billing identifier corresponding to the power data according to the longitudinal mapping coordinates includes:

[0018] In the processing interface, according to the power data corresponding to each time node, the billing identifier corresponding to the power data is automatically matched according to the longitudinal mapping coordinates corresponding to the power value;

[0019] The charging identifier is determined by querying the rate recorded in the charging policy data.

[0020] According to one aspect of the above technical solution, the step of fitting the series of broken lines and outputting a characteristic curve connecting the first key billing identifier corresponding to the first time node and the second key billing identifier corresponding to the second time node includes:

[0021] In the processing interface, the series of lines between the charging identifiers corresponding to any adjacent time nodes are smoothed according to the slope to obtain multiple smooth curves;

[0022] Fitting the plurality of smooth curves according to the average curvature to obtain a characteristic curve connecting the first key charging identifier corresponding to the first time node and the second key charging identifier corresponding to the second time node;

[0023] The first time node is the time node when the charging pile current starts to be output, and the second time node is the time node when the charging pile current stops being output.

[0024] According to one aspect of the above technical solution, in the processing interface, the step of smoothing the series of lines between the charging identifiers corresponding to any adjacent time nodes according to the slope to obtain multiple smooth curves includes:

[0025] In the processing interface, identifying the longitudinal mapping coordinates of the billing identifiers corresponding to any adjacent time nodes;

[0026] Calculate the slope of the series line between the horizontally adjacent billing logos according to the longitudinal mapping coordinates of the horizontally adjacent billing logos, and determine the rising and falling trend of the series line between the adjacent billing logos;

[0027] According to the rising and falling trends of the series of lines, the series of lines between the laterally adjacent charging marks are smoothed with the same trend to obtain a plurality of smooth curves connected between any laterally adjacent charging marks.

[0028] According to one aspect of the above technical solution, the steps of determining an enclosed area according to the characteristic curve and the minimum characteristic line, calculating the area of ​​the enclosed area, and performing condition comparison according to the size of the area of ​​the area to determine the charging fee include:

[0029] Determining an enclosed area between the characteristic curve and the minimum characteristic line according to the characteristic curve and the minimum characteristic line;

[0030] Calculate the area of ​​the enclosed region according to the horizontal mapping coordinates and the vertical mapping coordinates of the first key charging identifier and the second key charging identifier, and the curvature of the characteristic curve;

[0031] According to the size of the area of ​​the enclosed area, conditions are compared to determine the charging fee.

[0032] According to one aspect of the above technical solution, the step of comparing conditions to determine the charging fee according to the size of the area of ​​the enclosed area includes:

[0033] Look up a table based on the area of ​​the enclosed area, and automatically match the charging rules corresponding to the area of ​​the area;

[0034] According to the charging rules, the charging fee for the electric vehicle using the charging pile between the first time node and the second time node is calculated, and the billing detail data is output accordingly.

[0035] The second aspect of the present invention is to provide a charging pile fee calculation system, which is applied to the method described in the above technical solution to calculate the fee of using a charging pile for an electric vehicle, and the system includes:

[0036] An information acquisition module, used to acquire a plurality of state information fed back sequentially by the charging pile at a plurality of time nodes, wherein the state information includes power data of the charging pile supplying power to the electric vehicle corresponding to each time node;

[0037] An identification matching module, used to map the power data corresponding to the multiple time nodes to a preset processing interface, and automatically match the billing identification corresponding to each time node according to the power data;

[0038] A first connection module, in the processing interface, connects a plurality of billing identifiers to obtain a series of polylines that sequentially connect the plurality of billing identifiers;

[0039] A line fitting module, used for fitting the series of broken lines, and outputting a characteristic curve connecting a first key billing identifier corresponding to a first time node and a second key billing identifier corresponding to a second time node;

[0040] A second connection module, used for connecting the first key billing identifier and the second key billing identifier with a minimum length to obtain a minimum characteristic connection;

[0041] The cost calculation module is used to determine the enclosed area according to the characteristic curve and the minimum characteristic line, calculate the area of ​​the enclosed area, and compare conditions according to the size of the area to determine the charging cost.

[0042] The third aspect of the present invention is to provide an electronic device, comprising a memory, a processor, and a computer program stored in the memory and capable of running on the processor, wherein the processor implements the method described in the above technical solution when executing the computer program.

[0043] A fourth aspect of the present invention is to provide a computer-readable storage medium having a computer program stored thereon, which implements the method described in the above technical solution when executed by a processor.

[0044] Compared with the prior art, the charging pile fee calculation method and system shown in the present invention have the following beneficial effects:

[0045] The present invention obtains multiple state information fed back sequentially by a charging pile at multiple time nodes, the state information includes power data of the charging pile corresponding to each time node supplying power to an electric vehicle, maps the power data corresponding to the multiple time nodes to a preset processing interface, automatically matches the billing identifier corresponding to each time node according to the power data, connects the multiple billing identifiers in the processing interface to obtain a series of broken lines connecting the multiple billing identifiers in sequence, fits the series of broken lines, outputs a characteristic curve connecting a first key billing identifier corresponding to a first time node and a second key billing identifier corresponding to a second time node, connects the first key billing identifier and the second key billing identifier by a minimum length to obtain a minimum characteristic connection line, determines an enclosed area according to the characteristic curve and the minimum characteristic connection line, calculates the area of ​​the enclosed area, and compares conditions according to the size of the area to determine the charging fee. The present invention can obtain corresponding power data based on the change of the charging time node, then performs graphic construction and area calculation, characterizes the charging fee based on the area size, combines the advantages of the combined billing method, reduces the amount of data calculation in the background, and the calculation process is not prone to errors, which can provide users with a better use experience. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0047] Figure 1 It is a flowchart of a charging pile fee calculation method according to an embodiment of the present invention;

[0048] Figure 2 It is a structural block diagram of a charging pile fee calculation system in one embodiment of the present invention. DETAILED DESCRIPTION

[0049] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the accompanying drawings. Several embodiments of the present invention are shown in the accompanying drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present invention more thorough and comprehensive.

[0050] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more related listed items.

[0051] Embodiment 1

[0052] See also Figure 1 The first embodiment of the present invention provides a charging pile fee calculation method for calculating the fee of using a charging pile for an electric vehicle, the method comprising steps S10 to S60:

[0053] Step S10, obtaining a plurality of status information fed back sequentially by the charging pile at a plurality of time nodes, wherein the status information includes power data of the charging pile supplying power to the electric vehicle corresponding to each time node.

[0054] In this embodiment, during the process of charging an electric vehicle using a charging pile in a charging station, for example, the charging time of the electric vehicle is 2 hours, then during the charging process, multiple status information sequentially fed back by the charging pile at multiple time nodes are obtained, such as obtaining the first time node for starting charging, the intermediate time nodes when the charging power reaches the highest and the charging power drops significantly, and the second time node when charging is stopped. Multiple status information corresponding to each time node includes power data of the charging pile corresponding to each time node supplying power to the electric vehicle.

[0055] It should be noted here that at different time nodes, the charging power corresponding to the power data will be greatly different. For example, at the middle time node, the charging power is the largest, and in the buffer stage before the second time node, the charging power is the smallest, and then after the second time node, it stops charging and there is no current output.

[0056] That is to say, this embodiment mainly obtains the power data corresponding to each time node, and then charges based on the power data. Compared with the traditional combined billing method, the amount of data is less, and the billing method is simpler and more efficient.

[0057] Step S20, mapping the power data corresponding to the multiple time nodes to a preset processing interface, and automatically matching the billing identifier corresponding to each time node according to the power data.

[0058] In this embodiment, the power data corresponding to the multiple time nodes are mapped to a preset processing interface, and the step of automatically matching the billing identifier corresponding to each time node according to the power data includes:

[0059] According to the power data corresponding to each time node, determine the power value recorded corresponding to each power data;

[0060] Determine the horizontal mapping coordinates and the vertical mapping coordinates according to the order of the time nodes and the magnitude of the power values, and map the power data to a preset processing interface based on the horizontal mapping coordinates and the vertical mapping coordinates;

[0061] In the processing interface, according to the power data corresponding to each of the time nodes, the billing identifier corresponding to the power data is automatically matched according to the longitudinal mapping coordinates.

[0062] Among them, in the processing interface, according to the power data corresponding to each of the time nodes, the step of automatically matching the billing identifier corresponding to the power data according to the longitudinal mapping coordinates includes:

[0063] In the processing interface, according to the power data corresponding to each time node, the billing identifier corresponding to the power data is automatically matched according to the longitudinal mapping coordinates corresponding to the power value;

[0064] The charging identifier is determined by querying the rate recorded in the charging policy data.

[0065] In this embodiment, after obtaining the power data corresponding to multiple time nodes, the power data corresponding to the multiple time nodes will first be mapped to the processing interface pre-set in the server. Specifically, the power value recorded in the power data is determined, and then the horizontal mapping coordinates and vertical mapping coordinates required for mapping the power data to the processing interface are determined according to the sequence of the time nodes and the size of the power values. Then, according to the coordinate values ​​of the horizontal mapping coordinates and the vertical mapping coordinates, the corresponding power data is mapped to the processing interface, which is equivalent to coordinate mapping the power value corresponding to each time node to obtain the coordinates of the billing identifier, so that the billing rate corresponding to the current charging power can be determined according to the coordinates corresponding to the billing identifier.

[0066] Specifically, in this processing interface, according to the power data corresponding to each time node, according to the vertical mapping coordinates corresponding to the recorded power value, the billing mark corresponding to the power data is automatically matched, and the billing rate corresponding to the current charging power is determined based on the vertical mapping coordinates of the billing mark. It is easy to understand that the larger the coordinate value of the vertical mapping coordinate, the higher the billing rate, and vice versa.

[0067] Step S30: In the processing interface, multiple billing identifiers are connected to obtain a series of broken lines that sequentially connect the multiple billing identifiers.

[0068] In this embodiment, after mapping multiple power data to determine multiple billing identifiers, in the processing interface, the multiple billing identifiers are connected, specifically, adjacent billing identifiers are connected with the minimum distance to obtain a series broken line connecting the multiple billing identifiers in sequence.

[0069] For example, there are 6 time nodes, that is, there are billing identifiers corresponding to the 6 time nodes. By connecting the 6 billing identifiers in series, a series polyline connecting the billing identifiers corresponding to all the time nodes can be obtained.

[0070] Step S40, fitting the series of broken lines, and outputting a characteristic curve connecting the first key charging identifier corresponding to the first time node and the second key charging identifier corresponding to the second time node.

[0071] In this embodiment, the step of fitting the series of broken lines and outputting a characteristic curve connecting the first key charging identifier corresponding to the first time node and the second key charging identifier corresponding to the second time node includes:

[0072] In the processing interface, the series of lines between the charging identifiers corresponding to any adjacent time nodes are smoothed according to the slope to obtain multiple smooth curves;

[0073] Fitting the plurality of smooth curves according to the average curvature to obtain a characteristic curve connecting the first key charging identifier corresponding to the first time node and the second key charging identifier corresponding to the second time node;

[0074] The first time node is the time node when the charging pile current starts to be output, and the second time node is the time node when the charging pile current stops being output.

[0075] Among them, in the processing interface, the step of smoothing the series of lines between the charging identifiers corresponding to any adjacent time nodes according to the slope to obtain multiple smooth curves includes:

[0076] In the processing interface, identifying the longitudinal mapping coordinates of the billing identifiers corresponding to any adjacent time nodes;

[0077] Calculate the slope of the series line between the horizontally adjacent billing logos according to the longitudinal mapping coordinates of the horizontally adjacent billing logos, and determine the rising and falling trend of the series line between the adjacent billing logos;

[0078] According to the rising and falling trends of the series of lines, the series of lines between the laterally adjacent charging marks are smoothed with the same trend to obtain a plurality of smooth curves connected between any laterally adjacent charging marks.

[0079] In this embodiment, after connecting multiple billing identifiers to obtain a connected broken line, the connected broken line needs to be fitted. Specifically, the connecting line between the billing identifiers corresponding to adjacent time nodes is smoothed according to the rising and falling trends of its slopes. For example, when the connecting line from the previous billing identifier to the next billing identifier is on an upward trend, the connecting line is extended and smoothed, that is, stretched upward for smoothing. When the connecting line from the previous billing identifier to the next billing identifier is on a downward trend, the connecting line is contracted and smoothed, that is, stretched downward for smoothing. In this way, multiple smooth curves between adjacent billing identifiers can be obtained. Finally, the multiple smooth curves are fitted, specifically, the fitting is performed according to the average curvature of the multiple smooth curves, so that the multiple smooth curves constitute a coherent characteristic curve, and the characteristic curve is required to be connected to the first key billing identifier corresponding to the first time node and the second key billing identifier corresponding to the second time node.

[0080] Step S50: Connect the first key charging identifier and the second key charging identifier with a minimum length to obtain a minimum characteristic connection.

[0081] In this embodiment, after fitting a plurality of serial lines between adjacent charging identifiers to form a characteristic curve, a minimum length line is further connected between the first key charging identifier and the second key charging identifier to obtain a minimum characteristic curve.

[0082] Step S60, determining an enclosed area according to the characteristic curve and the minimum characteristic line, calculating the area of ​​the enclosed area, and performing condition comparison according to the size of the area of ​​the area to determine the charging fee.

[0083] In this embodiment, the steps of determining an enclosed area according to the characteristic curve and the minimum characteristic line, calculating the area of ​​the enclosed area, and performing condition comparison according to the size of the area to determine the charging fee include:

[0084] Determining an enclosed area between the characteristic curve and the minimum characteristic line according to the characteristic curve and the minimum characteristic line;

[0085] Calculate the area of ​​the enclosed region according to the horizontal mapping coordinates and the vertical mapping coordinates of the first key charging identifier and the second key charging identifier, and the curvature of the characteristic curve;

[0086] According to the size of the area of ​​the enclosed area, conditions are compared to determine the charging fee.

[0087] The step of comparing conditions to determine the charging fee according to the size of the area of ​​the enclosed area includes:

[0088] Look up a table based on the area of ​​the enclosed area, and automatically match the charging rules corresponding to the area of ​​the area;

[0089] According to the charging rules, the charging fee for the electric vehicle using the charging pile between the first time node and the second time node is calculated, and the billing detail data is output accordingly.

[0090] In this embodiment, after fitting the characteristic curve connected to the first characteristic billing identifier and the second characteristic billing identifier, and constructing the minimum characteristic line with the minimum distance from the first characteristic billing identifier and the second characteristic billing identifier, in the processing interface, an enclosed area is formed between the characteristic curve and the minimum characteristic line, and the charging cost of the electric vehicle using a charging pile is determined by calculating the size of the area of ​​the enclosed area.

[0091] Specifically, by clarifying the horizontal mapping coordinates and the vertical mapping coordinates of the first key billing identifier and the second key billing identifier, and identifying the curvature of the characteristic curve, the area of ​​the enclosed area can be quickly calculated, and then the calculated area is used to look up a table in the preset billing rule database to automatically match the billing rule corresponding to the area or area range. Finally, based on the billing rule, the charging fee for the electric vehicle using the charging pile between the first time node and the second time node is calculated.

[0092] For example, if the time interval between the first time node and the second time node is 2 hours, the horizontal coordinate difference between the first key billing identifier corresponding to the first time node and the second key billing identifier corresponding to the second time node is 2 units; if the time interval between the first time node and the second time node is 6 hours, the horizontal coordinate difference between the first key billing identifier corresponding to the first time node and the second key billing identifier corresponding to the second time node is 6 units; it is easy to understand that when the charging power fluctuation trends are similar, the area of ​​the enclosed area constructed after charging for 6 hours is larger, and the cost is also higher.

[0093] When the charging time is equal, the greater the charging power, the greater the curvature of its characteristic curve, the larger the enclosed area between the characteristic area and the minimum characteristic line, and the higher the charging cost; otherwise, the lower the charging cost.

[0094] In summary, in this embodiment, the corresponding power data can be obtained based on the changes in the charging time nodes, and then the graph is constructed, which combines the advantages of the combined billing method, reduces the amount of data calculation, is less prone to errors, and can provide users with a better user experience.

[0095] Compared with the prior art, the charging pile fee calculation method shown in this embodiment has the following beneficial effects:

[0096] The method shown in this embodiment obtains multiple state information fed back sequentially by the charging pile at multiple time nodes, the state information includes power data of the charging pile corresponding to each time node supplying power to the electric vehicle, maps the power data corresponding to the multiple time nodes to a preset processing interface, automatically matches the billing identifier corresponding to each time node according to the power data, connects the multiple billing identifiers in the processing interface to obtain a series of broken lines connecting the multiple billing identifiers in sequence, fits the series of broken lines, outputs a characteristic curve connecting the first key billing identifier corresponding to the first time node and the second key billing identifier corresponding to the second time node, connects the first key billing identifier and the second key billing identifier with the minimum length to obtain a minimum characteristic connection line, determines an enclosed area according to the characteristic curve and the minimum characteristic connection line, calculates the area of ​​the enclosed area, and compares the conditions according to the size of the area to determine the charging fee. The method shown in this embodiment can obtain the corresponding power data based on the change of the charging time node, and then performs graphic construction and area calculation, and characterizes the charging fee based on the area size, which combines the advantages of the combined billing method, reduces the amount of data calculation in the background, and the calculation process is not prone to errors, which can provide users with a better user experience.

[0097] Embodiment 2

[0098] See also Figure 2 The second embodiment of the present invention provides a charging pile fee calculation system, which is applied to the method described in the above embodiment to calculate the fee of using a charging pile for an electric vehicle. The system includes: an information acquisition module 10, an identification matching module 20, a first connection module 30, a connection fitting module 40, a second connection module 50, and a fee calculation module 60.

[0099] The information acquisition module 10 is used to acquire a plurality of state information fed back sequentially by the charging pile at a plurality of time nodes, wherein the state information includes power data of the charging pile supplying power to the electric vehicle corresponding to each time node;

[0100] The identification matching module 20 is used to map the power data corresponding to the multiple time nodes to a preset processing interface, and automatically match the billing identification corresponding to each time node according to the power data;

[0101] A first connection module 30, in the processing interface, connects a plurality of billing identifiers to obtain a series of polylines that sequentially connect the plurality of billing identifiers;

[0102] A line fitting module 40 is used to fit the series of broken lines and output a characteristic curve connecting the first key billing identifier corresponding to the first time node and the second key billing identifier corresponding to the second time node;

[0103] A second connection module 50, configured to connect the first key charging identifier and the second key charging identifier with a minimum length to obtain a minimum characteristic connection;

[0104] The cost calculation module 60 is used to determine an enclosed area according to the characteristic curve and the minimum characteristic line, calculate the area of ​​the enclosed area, and perform condition comparison according to the size of the area to determine the charging cost.

[0105] Compared with the prior art, the charging pile fee calculation system shown in this embodiment has the following beneficial effects:

[0106] The system shown in this embodiment obtains multiple state information fed back sequentially by the charging pile at multiple time nodes, the state information includes power data of the charging pile corresponding to each time node supplying power to the electric vehicle, maps the power data corresponding to the multiple time nodes to a preset processing interface, automatically matches the billing identifier corresponding to each time node according to the power data, connects the multiple billing identifiers in the processing interface to obtain a series of broken lines connecting the multiple billing identifiers in sequence, fits the series of broken lines, outputs a characteristic curve connecting the first key billing identifier corresponding to the first time node and the second key billing identifier corresponding to the second time node, connects the first key billing identifier and the second key billing identifier with the minimum length to obtain a minimum characteristic connection line, determines an enclosed area according to the characteristic curve and the minimum characteristic connection line, calculates the area of ​​the enclosed area, and compares the conditions according to the size of the area to determine the charging fee. The method shown in this embodiment can obtain the corresponding power data based on the change of the charging time node, and then performs graphic construction and area calculation, characterizes the charging fee based on the area size, combines the advantages of the combined billing method, reduces the amount of data calculation in the background, and the calculation process is not prone to errors, which can provide users with a better user experience.

[0107] Embodiment 3

[0108] A third embodiment of the present invention provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and capable of running on the processor, wherein the processor implements the method described in the above embodiments when executing the computer program.

[0109] Embodiment 4

[0110] A fourth embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the method described in the above embodiment is implemented.

[0111] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples" or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0112] The above-mentioned embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for those of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.

Claims

1. A charging pile fee calculation method, characterized in that: The method is used to calculate the cost of using a charging pile for an electric vehicle, and includes: Acquire multiple state information fed back sequentially by the charging pile at multiple time nodes, wherein the state information includes power data of the charging pile supplying power to the electric vehicle corresponding to each time node; Mapping power data corresponding to multiple time nodes to a preset processing interface, and automatically matching the billing identifier corresponding to each time node according to the power data; In the processing interface, multiple billing identifiers are connected to obtain a series of polylines that sequentially connect the multiple billing identifiers; Fitting the series of broken lines, and outputting a characteristic curve connecting a first key charging identifier corresponding to a first time node and a second key charging identifier corresponding to a second time node; Connecting the first key billing identifier and the second key billing identifier with a minimum length to obtain a minimum characteristic connection; An enclosed area is determined according to the characteristic curve and the minimum characteristic line, the area of ​​the enclosed area is calculated, and a condition comparison is performed according to the size of the area of ​​the area to determine the charging fee.

2. The charging pile cost calculation method according to claim 1, characterized in that: The step of mapping power data corresponding to a plurality of time nodes to a preset processing interface and automatically matching a billing identifier corresponding to each time node according to the power data comprises: According to the power data corresponding to each time node, determine the power value recorded corresponding to each power data; Determine the horizontal mapping coordinates and the vertical mapping coordinates according to the order of the time nodes and the magnitude of the power values, and map the power data to a preset processing interface based on the horizontal mapping coordinates and the vertical mapping coordinates; In the processing interface, according to the power data corresponding to each of the time nodes, the billing identifier corresponding to the power data is automatically matched according to the longitudinal mapping coordinates.

3. The charging pile cost calculation method according to claim 2, characterized in that: In the processing interface, according to the power data corresponding to each of the time nodes, the step of automatically matching the billing identifier corresponding to the power data according to the longitudinal mapping coordinates includes: In the processing interface, according to the power data corresponding to each time node, the billing identifier corresponding to the power data is automatically matched according to the longitudinal mapping coordinates corresponding to the power value; The charging identifier is determined by querying the rate recorded in the charging policy data.

4. The charging pile cost calculation method according to claim 3, characterized in that: The step of fitting the series of broken lines to output a characteristic curve connecting the first key billing identifier corresponding to the first time node and the second key billing identifier corresponding to the second time node includes: In the processing interface, the series of lines between the charging identifiers corresponding to any adjacent time nodes are smoothed according to the slope to obtain multiple smooth curves; Fitting the plurality of smooth curves according to the average curvature to obtain a characteristic curve connecting the first key charging identifier corresponding to the first time node and the second key charging identifier corresponding to the second time node; The first time node is the time node when the charging pile current starts to be output, and the second time node is the time node when the charging pile current stops being output.

5. The charging pile cost calculation method according to claim 4, characterized in that: In the processing interface, the step of smoothing the series of lines between the charging identifiers corresponding to any adjacent time nodes according to the slope to obtain multiple smooth curves includes: In the processing interface, identifying the longitudinal mapping coordinates of the billing identifiers corresponding to any adjacent time nodes; Calculate the slope of the series line between the horizontally adjacent billing logos according to the longitudinal mapping coordinates of the horizontally adjacent billing logos, and determine the rising and falling trend of the series line between the adjacent billing logos; According to the rising and falling trends of the series of lines, the series of lines between the laterally adjacent charging marks are smoothed with the same trend to obtain a plurality of smooth curves connected between any laterally adjacent charging marks.

6. The charging pile fee calculation method according to any one of claims 1 to 5, characterized in that: The steps of determining an enclosed area according to the characteristic curve and the minimum characteristic line, calculating the area of ​​the enclosed area, and performing condition comparison according to the size of the area of ​​the area to determine the charging fee include: Determining an enclosed area between the characteristic curve and the minimum characteristic line according to the characteristic curve and the minimum characteristic line; Calculate the area of ​​the enclosed region according to the horizontal mapping coordinates and the vertical mapping coordinates of the first key charging identifier and the second key charging identifier, and the curvature of the characteristic curve; According to the size of the area of ​​the enclosed area, conditions are compared to determine the charging fee.

7. The charging pile cost calculation method according to claim 6, characterized in that: The step of comparing conditions according to the size of the enclosed area to determine the charging fee includes: Look up a table based on the area of ​​the enclosed area, and automatically match the charging rules corresponding to the area of ​​the area; According to the charging rules, the charging fee for the electric vehicle using the charging pile between the first time node and the second time node is calculated, and the billing detail data is output accordingly.

8. A charging pile fee calculation system, characterized in that: The method according to any one of claims 1 to 7 is used to calculate the cost of using a charging pile for an electric vehicle, the system comprising: An information acquisition module, used to acquire a plurality of state information fed back sequentially by the charging pile at a plurality of time nodes, wherein the state information includes power data of the charging pile supplying power to the electric vehicle corresponding to each time node; An identification matching module, used to map the power data corresponding to the multiple time nodes to a preset processing interface, and automatically match the billing identification corresponding to each time node according to the power data; A first connection module, in the processing interface, connects a plurality of billing identifiers to obtain a series of polylines that sequentially connect the plurality of billing identifiers; A line fitting module, used for fitting the series of broken lines, and outputting a characteristic curve connecting a first key billing identifier corresponding to a first time node and a second key billing identifier corresponding to a second time node; A second connection module, used for connecting the first key billing identifier and the second key billing identifier with a minimum length to obtain a minimum characteristic connection; The cost calculation module is used to determine the enclosed area according to the characteristic curve and the minimum characteristic line, calculate the area of ​​the enclosed area, and compare conditions according to the size of the area to determine the charging cost.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and capable of being executed on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Charging pile Internet of Things pricing system

    CN114559852A

  • Charging and billing system for electric vehicle

    WO2015147360A1