CN113570783A - Charging and billing method and related equipment - Google Patents

Charging and billing method and related equipment Download PDF

Info

Publication number
CN113570783A
CN113570783A CN202110890003.7A CN202110890003A CN113570783A CN 113570783 A CN113570783 A CN 113570783A CN 202110890003 A CN202110890003 A CN 202110890003A CN 113570783 A CN113570783 A CN 113570783A
Authority
CN
China
Prior art keywords
charging
period
amount
total
electric quantity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110890003.7A
Other languages
Chinese (zh)
Inventor
胡国甲
王亮
李嘉
王昊明
王昊月
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Towatt Energy Technology Co ltd
Original Assignee
Towatt Energy Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Towatt Energy Technology Co ltd filed Critical Towatt Energy Technology Co ltd
Priority to CN202110890003.7A priority Critical patent/CN113570783A/en
Publication of CN113570783A publication Critical patent/CN113570783A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F15/00Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity
    • G07F15/003Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity for electricity
    • G07F15/005Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity for electricity dispensed for the electrical charging of vehicles
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F15/00Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity
    • G07F15/08Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity with means for varying the tariff or changing the price
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F15/00Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity
    • G07F15/12Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity in which metering is on a time basis

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The application provides a charging and billing method and related equipment, wherein the method comprises the following steps: receiving total electric quantity required by single charging of a vehicle, a starting electric quantity percentage corresponding to each charging period in a plurality of charging periods and an ending electric quantity percentage sent by a target charging pile; calculating a first total charging amount according to the total electric quantity required by the single charging of the vehicle, the starting electric quantity percentage and the ending electric quantity percentage corresponding to each charging time period and the electricity price corresponding to each charging time period; acquiring a second total charging amount generated by a preset charging system; calculating a first absolute value of a difference between the first total charge amount and the second total charge amount; and sending a first warning message to a target terminal bound with the target charging pile under the condition that the first absolute value is greater than or equal to a preset threshold value. Therefore, the situation of charging deviation when the charging device breaks down can be avoided, and the accuracy of charging is ensured.

Description

Charging and billing method and related equipment
Technical Field
The present application relates to the field of charging technologies, and in particular, to a charging and billing method and a related device.
Background
The electric automobile is an automobile driven by wheels by taking a vehicle-mounted power supply as power and can be a pure electric automobile or a plug-in hybrid electric automobile. Compared with the traditional automobile, the automobile has less influence on the environment, so that the automobile is widely applied. The charging pile is a device for supplementing electric energy for the electric automobile. When electric automobile need charge, can insert electric automobile with the rifle that charges of filling electric pile, can charge this moment.
In the prior art, when charging is carried out on the electric automobile by using the charging pile, charging is carried out according to the charging amount. When the charging device breaks down, charging deviation can be caused, and accuracy is reduced.
Disclosure of Invention
The application provides a charging and billing method and related equipment, and aims to solve the problems that in the prior art, when a charging pile is used for charging an electric automobile, charging and billing are deviated due to faults of a billing device, and accuracy is reduced.
In a first aspect, the present invention provides a charging and billing method, including:
receiving total electric quantity required by single charging of a vehicle, a starting electric quantity percentage corresponding to each charging period in a plurality of charging periods and an ending electric quantity percentage sent by a target charging pile;
calculating a first total charging amount according to the total electric quantity required by the vehicle in single charging, the starting electric quantity percentage and the ending electric quantity percentage corresponding to each charging time period and the electricity price corresponding to each charging time period;
acquiring a second total charging amount generated by a preset charging system;
calculating a first absolute value of a difference between the first total amount of charge and the second total amount of charge;
and sending a first warning message to a target terminal bound with the target charging pile under the condition that the first absolute value is greater than or equal to a preset threshold value.
Optionally, the calculating a first total charging amount according to the total electric quantity required by the single charging of the vehicle, the percentage of the starting electric quantity corresponding to each charging period, the percentage of the ending electric quantity, and the electricity price corresponding to each charging period includes:
calculating a first charging amount corresponding to each charging time period according to the total electric quantity required by the vehicle for single charging, the starting electric quantity percentage and the ending electric quantity percentage corresponding to each charging time period and the electricity price corresponding to each charging time period;
and determining the sum of the first charging amount corresponding to each charging period in the plurality of charging periods as the first total charging amount.
Optionally, the calculating a first charging amount corresponding to each charging period according to the total electric quantity required by the vehicle for single charging, the percentage of the starting electric quantity corresponding to each charging period, the percentage of the ending electric quantity, and the electricity price corresponding to each charging period includes:
calculating a first charging amount corresponding to each charging period by the following formula:
A1=T×(E-S)×M
wherein, a1 is a first charging amount corresponding to each charging period, T is a total electric quantity required by the vehicle for single charging, S is a starting electric quantity percentage corresponding to each charging period, E is an ending electric quantity percentage corresponding to each charging period, and M is an electricity price corresponding to each charging period.
Optionally, the method further includes:
receiving a starting ammeter reading value and an ending ammeter reading value which are sent by the target charging pile and correspond to each charging time interval in the plurality of charging time intervals;
calculating a third total charging amount according to the initial electric meter reading value and the end electric meter reading value corresponding to each charging time interval and the electricity price corresponding to each charging time interval;
calculating a second absolute value of the difference between the third total amount of charge and the second total amount of charge;
and sending a second warning message to the target terminal bound with the target charging pile under the condition that the second absolute value is greater than or equal to the preset threshold value.
Optionally, the calculating a third total charging amount according to the starting meter reading value and the ending meter reading value corresponding to each charging period and the electricity price corresponding to each charging period includes:
calculating a second charging amount corresponding to each charging time period according to the starting electric meter reading value and the ending electric meter reading value corresponding to each charging time period and the electricity price corresponding to each charging time period;
and determining the sum of the second charging amount corresponding to each charging period in the plurality of charging periods as the third charging total amount.
Optionally, the calculating a second charging amount corresponding to each charging period according to the starting meter reading value and the ending meter reading value corresponding to each charging period and the electricity price corresponding to each charging period includes:
under the condition that the difference value between the end electric meter reading value and the start electric meter reading value corresponding to each charging period is larger than zero, calculating a second charging amount corresponding to each charging period by the following formula:
A2=(R2-R1)×M
wherein, a2 is the second charging amount corresponding to each charging period, R2 is the end meter reading value corresponding to each charging period, R1 is the start meter reading value corresponding to each charging period, and M is the electricity price corresponding to each charging period.
Optionally, the calculating a second charging amount corresponding to each charging period according to the starting meter reading value and the ending meter reading value corresponding to each charging period and the electricity price corresponding to each charging period includes:
under the condition that the difference value between the end electric meter reading value and the start electric meter reading value corresponding to each charging period is less than zero, calculating a second charging amount corresponding to each charging period by the following formula:
A2=(RMAX-R1+R2)×M
wherein A2 is the second time corresponding to each charging periodTwo charging amounts, R2 is the end meter reading value corresponding to each charging period, R1 is the start meter reading value corresponding to each charging period, RMAXAnd M is the electricity price corresponding to each charging period.
In a second aspect, the present invention further provides a server, including:
the receiving module is used for receiving the total electric quantity required by single charging of the vehicle, the starting electric quantity percentage corresponding to each charging period in a plurality of charging periods and the ending electric quantity percentage sent by the target charging pile;
the first calculation module is used for calculating a first total charging amount according to the total electric quantity required by the vehicle in single charging, the starting electric quantity percentage and the ending electric quantity percentage corresponding to each charging time period and the electricity price corresponding to each charging time period;
the acquisition module is used for acquiring a second total charging amount generated by a preset charging system;
the second calculation module is used for calculating a first absolute value of a difference value between the first total charging amount and the second total charging amount;
and the sending module is used for sending a first warning message to a target terminal bound with the target charging pile under the condition that the first absolute value is greater than or equal to a preset threshold value.
In a third aspect, the present invention further provides an electronic device, which includes a memory and a processor, where the processor is configured to implement the steps of the charging and billing method according to the first aspect when executing the computer program stored in the memory.
In a fourth aspect, the present invention also provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the charge billing method of the first aspect.
According to the technical scheme, the charging and billing method and the related equipment provided by the embodiment of the invention receive the total electric quantity required by single charging of the vehicle, the starting electric quantity percentage corresponding to each charging period in a plurality of charging periods and the ending electric quantity percentage sent by the target charging pile; calculating a first total charging amount according to the total electric quantity required by the vehicle in single charging, the starting electric quantity percentage and the ending electric quantity percentage corresponding to each charging time period and the electricity price corresponding to each charging time period; acquiring a second total charging amount generated by a preset charging system; calculating a first absolute value of a difference between the first total amount of charge and the second total amount of charge; and sending a first warning message to a target terminal bound with the target charging pile under the condition that the first absolute value is greater than or equal to a preset threshold value. In this way, the first total charging amount and the second total charging amount can be calculated in two ways, and when the first absolute value of the difference value between the first total charging amount and the second total charging amount is greater than or equal to the preset threshold value, the first warning message can be sent to the target terminal bound with the target charging pile. The charging device avoids the charging deviation when the charging device breaks down, and ensures the accuracy of charging.
Drawings
In order to more clearly explain the technical solution of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious to those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a charging method according to the present invention;
FIG. 2 is a block diagram of a server according to the present invention;
FIG. 3 is a schematic diagram of an embodiment of an electronic device provided in the present invention;
fig. 4 is a schematic diagram of an embodiment of a computer-readable storage medium provided in the present invention.
Detailed Description
Reference will now be made in detail to embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following examples do not represent all embodiments consistent with the present application. But merely as exemplifications of systems and methods consistent with certain aspects of the application, as recited in the claims.
Referring to fig. 1, fig. 1 is a flowchart of a charging method provided in the present invention. As shown in fig. 1, the method comprises the following steps:
step 101, receiving total electric quantity required by single charging of a vehicle, a starting electric quantity percentage corresponding to each charging time interval in a plurality of charging time intervals and an ending electric quantity percentage sent by a target charging pile.
In step 101, the server may receive a total amount of electricity required for a single charging of the vehicle, a starting amount of electricity percentage corresponding to each charging period in a plurality of charging periods, and an ending amount of electricity percentage, which are sent by the target charging pile. It should be noted that the total electric quantity required by the vehicle for one-time charging, the starting electric quantity percentage corresponding to each charging period in the plurality of charging periods, and the ending electric quantity percentage are sent to the target charging pile by the battery of the charging vehicle, and then sent to the server by the target charging pile.
Assume that at the end of charging, the charging process contains a total of 3 charging periods. And the percentage of the initial electric quantity corresponding to the first charging period is 20%, the percentage of the end electric quantity is 30%, the first charging period is 9: 00-10: 00; the second charging period corresponds to a starting percentage of electricity of 30% and an ending percentage of electricity of 50%, the second charging period is 10: 00-12: 00; the third charging period corresponds to a starting percentage of electricity of 50% and an ending percentage of electricity of 80%, the third charging period is 12: 00-15: 00. suppose that the electricity rates for the various time periods of the day are: 7: 00-10: 00, electricity price M1; 10: 00-12: 00, electricity price M2; 12: 00-17: 00, electricity price M3; 17: 00-21: 00, electricity price M4; 21: 00-24: 00, electricity price M5; 0: 00-7: 00 and the electricity price is M6.
And 102, calculating a first total charging amount according to the total electric quantity required by the single charging of the vehicle, the starting electric quantity percentage and the ending electric quantity percentage corresponding to each charging time interval and the electricity price corresponding to each charging time interval.
In step 102, the server may calculate a first total charging amount according to the total electric quantity required by a single charging of the vehicle, the starting electric quantity percentage corresponding to each charging period, the ending electric quantity percentage, and the electricity price corresponding to each charging period.
Optionally, the calculating a first total charging amount according to the total electric quantity required by the single charging of the vehicle, the percentage of the starting electric quantity corresponding to each charging period, the percentage of the ending electric quantity, and the electricity price corresponding to each charging period includes:
calculating a first charging amount corresponding to each charging time period according to the total electric quantity required by the vehicle for single charging, the starting electric quantity percentage and the ending electric quantity percentage corresponding to each charging time period and the electricity price corresponding to each charging time period;
and determining the sum of the first charging amount corresponding to each charging period in the plurality of charging periods as the first total charging amount.
Further, the server may calculate the first charging amount corresponding to each charging period according to the total electric quantity required by the single charging of the vehicle, the starting electric quantity percentage corresponding to each charging period, the ending electric quantity percentage, and the electricity price corresponding to each charging period. The server may further determine that a sum of the first charging amounts corresponding to each of the plurality of charging periods is the first total charging amount.
Optionally, the calculating a first charging amount corresponding to each charging period according to the total electric quantity required by the vehicle for single charging, the percentage of the starting electric quantity corresponding to each charging period, the percentage of the ending electric quantity, and the electricity price corresponding to each charging period includes:
calculating a first charging amount corresponding to each charging period by the following formula:
A1=T×(E-S)×M
wherein, a1 is a first charging amount corresponding to each charging period, T is a total electric quantity required by the vehicle for single charging, S is a starting electric quantity percentage corresponding to each charging period, E is an ending electric quantity percentage corresponding to each charging period, and M is an electricity price corresponding to each charging period.
Further, the server may calculate the first charging amount corresponding to each charging period by the following equation:
A1=T×(E-S)×M
wherein, a1 is a first charging amount corresponding to each charging period, T is a total electric quantity required by the vehicle for single charging, S is a starting electric quantity percentage corresponding to each charging period, E is an ending electric quantity percentage corresponding to each charging period, and M is a price of electricity corresponding to each charging period.
For example, for the first charging period 9: 00-10: 00, the charging period falls within the range of 7: 00-10: 00, so the price of electricity corresponding to the first charging period is M1, the first charging period corresponds to 20% of the initial electric quantity and 30% of the end electric quantity. Therefore, the first charging amount a1 ═ T × (30% -20%) × M1 corresponds to the first charging period.
For the second charging period of 10: 00-12: 00, the charging period falls within the range of 10: 00-12: 00, so that the price of electricity corresponding to the second charging period is M2, the percentage of the initial electric quantity and the percentage of the ending electric quantity corresponding to the second charging period are 30% and 50%. Therefore, the second charging period corresponds to the first charging amount a1 ═ T × (50% -30%) × M2.
For the third charging period of 12: 00-15: 00, the charging period falls within the range of 12: 00-17: 00, so that the price of electricity corresponding to the third charging period is M3, and the percentage of the initial electric quantity and the percentage of the final electric quantity corresponding to the third charging period are 50% and 80%. Therefore, the third charging period corresponds to the first charging amount a1 ═ T × (80% -50%) × M3. The first total charge amount is:
T×(30%-20%)×M1+T×(50%-30%)×M2+T×(80%-50%)×M3
and step 103, acquiring a second total charging amount generated by the preset charging system.
In step 103, the server may obtain a second total charging amount generated by an internal preset charging system.
And 104, calculating a first absolute value of the difference value between the first total charging amount and the second total charging amount.
In step 104, the server may calculate a first absolute value of a difference between the first total amount of charge and the second total amount of charge.
And 105, sending a first warning message to a target terminal bound with the target charging pile under the condition that the first absolute value is greater than or equal to a preset threshold value.
In step 105, in the case that the first absolute value is greater than or equal to the preset threshold, the server may send a first warning message to the target terminal bound to the target charging pile. Therefore, after the operator sees the first warning message, the operator can timely overhaul the target charging pile; after seeing the first warning message, the background developer can check whether a preset charging system in the server is abnormal or not in time.
Optionally, the method further includes:
receiving a starting ammeter reading value and an ending ammeter reading value which are sent by the target charging pile and correspond to each charging time interval in the plurality of charging time intervals;
calculating a third total charging amount according to the initial electric meter reading value and the end electric meter reading value corresponding to each charging time interval and the electricity price corresponding to each charging time interval;
calculating a second absolute value of the difference between the third total amount of charge and the second total amount of charge;
and sending a second warning message to the target terminal bound with the target charging pile under the condition that the second absolute value is greater than or equal to the preset threshold value.
Furthermore, the target charging pile can also comprise an electric meter. The server can receive the starting ammeter reading value and the ending ammeter reading value corresponding to each charging time interval in the plurality of charging time intervals sent by the target charging pile. Then, the user can use the device to perform the operation,
the server may calculate the third total charge amount according to the start meter reading value, the end meter reading value, and the electricity price corresponding to each charging period. Next, the server may calculate a second absolute value of a difference between the third total charging amount and a second total charging amount generated by a preset billing system inside the server. Finally, the server may send a second warning message to the target terminal bound to the target charging pile when the second absolute value is greater than or equal to the preset threshold. Thus, after the operator sees the second warning message, the operator can timely overhaul the target charging pile; after seeing the second warning message, the background developer can check whether the preset charging system in the server is abnormal or not in time.
Optionally, the calculating a third total charging amount according to the starting meter reading value and the ending meter reading value corresponding to each charging period and the electricity price corresponding to each charging period includes:
calculating a second charging amount corresponding to each charging time period according to the starting electric meter reading value and the ending electric meter reading value corresponding to each charging time period and the electricity price corresponding to each charging time period;
and determining the sum of the second charging amount corresponding to each charging period in the plurality of charging periods as the third charging total amount.
Further, the server may calculate a second charging amount corresponding to each charging period according to the start meter reading value, the end meter reading value corresponding to each charging period, and the electricity price corresponding to each charging period, and the server may determine that the sum of the second charging amounts corresponding to each charging period in the plurality of charging periods is a third charging total amount.
Optionally, the calculating a second charging amount corresponding to each charging period according to the starting meter reading value and the ending meter reading value corresponding to each charging period and the electricity price corresponding to each charging period includes:
under the condition that the difference value between the end electric meter reading value and the start electric meter reading value corresponding to each charging period is larger than zero, calculating a second charging amount corresponding to each charging period by the following formula:
A2=(R2-R1)×M
wherein, a2 is the second charging amount corresponding to each charging period, R2 is the end meter reading value corresponding to each charging period, R1 is the start meter reading value corresponding to each charging period, and M is the electricity price corresponding to each charging period.
Further, in a case that a difference between the end meter reading value and the start meter reading value corresponding to each charging period is greater than zero, the server may calculate a second charging amount corresponding to each charging period by the following formula:
A2=(R2-R1)×M
wherein, a2 is the second charging amount corresponding to each charging period, R2 is the end meter reading value corresponding to each charging period, R1 is the start meter reading value corresponding to each charging period, and M is the price of electricity corresponding to each charging period.
For example, assume that the first charging period corresponds to a start meter reading of 10 degrees and an end meter reading of 15 degrees; for the first charging period 9: 00-10: 00, the charging period falls within the range of 7: 00-10: 00, so that the price of electricity corresponding to the first charging period is M1. Therefore, the second charging amount a2 corresponding to the first charging period is (15-10) × M1.
Assuming that the initial meter reading value corresponding to the second charging period is 15 degrees and the end meter reading value is 25 degrees; for the second charging period of 10: 00-12: 00, the charging period falls within the range of 10: 00-12: 00, so that the price of electricity corresponding to the second charging period is M2. Therefore, the second charging amount a2 corresponding to the second charging period is (25-15) × M2.
Assuming that the initial meter reading value corresponding to the third charging period is 25 degrees and the end meter reading value is 40 degrees; for the third charging period of 12: 00-15: 00, the charging period falls within the range of 12: 00-17: 00, so that the price of electricity corresponding to the third charging period is M3. Therefore, the second charging amount a2 corresponding to the third charging period is (40-25) × M3. The third total charge amount may be:
(15-10)×M1+(25-15)×M2+(40-25)×M3
optionally, the calculating a second charging amount corresponding to each charging period according to the starting meter reading value and the ending meter reading value corresponding to each charging period and the electricity price corresponding to each charging period includes:
under the condition that the difference value between the end electric meter reading value and the start electric meter reading value corresponding to each charging period is less than zero, calculating a second charging amount corresponding to each charging period by the following formula:
A2=(RMAX-R1+R2)×M
wherein A2 is the second charging amount corresponding to each charging period, R2 is the end meter reading value corresponding to each charging period, R1 is the start meter reading value corresponding to each charging period, RMAXAnd M is the electricity price corresponding to each charging period.
Further, in the case that the difference between the end meter reading value and the start meter reading value corresponding to each charging period is less than zero, the server may calculate the second charging amount corresponding to each charging period by the following formula:
A2=(RMAX-R1+R2)×M
wherein A2 is the second charging amount corresponding to each charging period, R2 is the end meter reading value corresponding to each charging period, R1 is the start meter reading value corresponding to each charging period, RMAXFor the maximum value of the reading of the electric meter, M is the price of electricity corresponding to each charging period.
For example, assume a maximum value of meter reading RMAXIs 9999 degrees. The starting electric meter reading value and the ending electric meter reading value corresponding to the first charging time interval are 9991 degrees and 9996 degrees respectively; for the first charging period 9: 00-10: 00, the charging period falls within the range of 7: 00-10: 00, so that the price of electricity corresponding to the first charging period is M1. Therefore, the second charging amount corresponding to the first charging period:
A2=(9996-9991)×M1
assuming that the starting electric meter reading value corresponding to the second charging period is 9996 degrees and the ending electric meter reading value is 7 degrees; for the second charging period of 10: 00-12: 00, the charging period falls within the range of 10: 00-12: 00, so that the price of electricity corresponding to the second charging period is M2. Therefore, the second charging amount a2 corresponding to the second charging period is (9999-.
Assuming that the initial meter reading value corresponding to the third charging period is 7 degrees and the end meter reading value is 22 degrees; for the third charging period of 12: 00-15: 00, the charging period falls within the range of 12: 00-17: 00, so that the price of electricity corresponding to the third charging period is M3. Therefore, the second charging amount a2 corresponding to the third charging period is (, 22-7) × M3. The third total charge amount may be:
(9996-9991)×M1+(9999-9996+7)×M2+(22-7)×M3
it should be noted that, in the prior art, when the charging pile is used to charge the electric vehicle, the charging is performed according to the amount of charging. When the charging device breaks down, charging deviation can be caused, and accuracy is reduced.
In the application, the first total charging amount and the second total charging amount may be calculated in two ways, and when a first absolute value of a difference value between the first total charging amount and the second total charging amount is greater than or equal to a preset threshold, a first warning message may be sent to the target terminal bound to the target charging pile. The charging device avoids the charging deviation when the charging device breaks down, and ensures the accuracy of charging.
According to the technical scheme, the charging and billing method provided by the embodiment of the invention receives the total electric quantity required by single charging of the vehicle, the starting electric quantity percentage corresponding to each charging period in a plurality of charging periods and the ending electric quantity percentage sent by the target charging pile; calculating a first total charging amount according to the total electric quantity required by the vehicle in single charging, the starting electric quantity percentage and the ending electric quantity percentage corresponding to each charging time period and the electricity price corresponding to each charging time period; acquiring a second total charging amount generated by a preset charging system; calculating a first absolute value of a difference between the first total amount of charge and the second total amount of charge; and sending a first warning message to a target terminal bound with the target charging pile under the condition that the first absolute value is greater than or equal to a preset threshold value. In this way, the first total charging amount and the second total charging amount can be calculated in two ways, and when the first absolute value of the difference value between the first total charging amount and the second total charging amount is greater than or equal to the preset threshold value, the first warning message can be sent to the target terminal bound with the target charging pile. The charging device avoids the charging deviation when the charging device breaks down, and ensures the accuracy of charging.
Referring to fig. 2, fig. 2 is a block diagram of a server according to the present invention. As shown in fig. 2, the server 200 includes a receiving module 201, a first calculating module 202, an obtaining module 203, a second calculating module 204, and a sending module 205, wherein:
the receiving module 201 is configured to receive total electric quantity required by single charging of a vehicle, a starting electric quantity percentage corresponding to each charging period in a plurality of charging periods, and an ending electric quantity percentage, which are sent by a target charging pile;
a first calculating module 202, configured to calculate a first total charging amount according to the total electric quantity required by the vehicle for single charging, the percentage of the starting electric quantity corresponding to each charging period, the percentage of the ending electric quantity, and the electricity price corresponding to each charging period;
the obtaining module 203 is configured to obtain a second total charging amount generated by a preset charging system;
a second calculating module 204, configured to calculate a first absolute value of a difference between the first total charging amount and the second total charging amount;
a sending module 205, configured to send a first warning message to a target terminal bound to the target charging pile when the first absolute value is greater than or equal to a preset threshold.
The server 200 can implement each process implemented by the server in the method embodiment of fig. 1, and is not described here again to avoid repetition. And the server 200 may respectively calculate the first total charging amount and the second total charging amount in two ways, and may send a first warning message to the target terminal bound to the target charging pile when a first absolute value of a difference between the first total charging amount and the second total charging amount is greater than or equal to a preset threshold. The charging device avoids the charging deviation when the charging device breaks down, and ensures the accuracy of charging.
Referring to fig. 3, fig. 3 is a schematic view of an embodiment of an electronic device according to an embodiment of the present disclosure.
As shown in fig. 3, an electronic device 300 according to an embodiment of the present application includes a memory 310, a processor 320, and a computer program 311 stored in the memory 310 and executable on the processor 320, where the processor 320 executes the computer program 311 to implement the following steps:
receiving total electric quantity required by single charging of a vehicle, a starting electric quantity percentage corresponding to each charging period in a plurality of charging periods and an ending electric quantity percentage sent by a target charging pile;
calculating a first total charging amount according to the total electric quantity required by the vehicle in single charging, the starting electric quantity percentage and the ending electric quantity percentage corresponding to each charging time period and the electricity price corresponding to each charging time period;
acquiring a second total charging amount generated by a preset charging system;
calculating a first absolute value of a difference between the first total amount of charge and the second total amount of charge;
and sending a first warning message to a target terminal bound with the target charging pile under the condition that the first absolute value is greater than or equal to a preset threshold value.
In a specific implementation, when the processor 320 executes the computer program 311, any of the embodiments corresponding to fig. 1 may be implemented.
Since the electronic device described in this embodiment is a device used for implementing one of the servers in this embodiment, based on the method described in this embodiment, a person skilled in the art can understand the specific implementation manner of the electronic device of this embodiment and various variations thereof, so that how to implement the method in this embodiment by the electronic device is not described in detail herein, and as long as the person skilled in the art implements the device used for implementing the method in this embodiment, the device is within the scope of the present application.
Referring to fig. 4, fig. 4 is a schematic diagram illustrating an embodiment of a computer-readable storage medium according to the present application.
As shown in fig. 4, the present embodiment provides a computer-readable storage medium 400, on which a computer program 411 is stored, the computer program 411 implementing the following steps when executed by a processor:
receiving total electric quantity required by single charging of a vehicle, a starting electric quantity percentage corresponding to each charging period in a plurality of charging periods and an ending electric quantity percentage sent by a target charging pile;
calculating a first total charging amount according to the total electric quantity required by the vehicle in single charging, the starting electric quantity percentage and the ending electric quantity percentage corresponding to each charging time period and the electricity price corresponding to each charging time period;
acquiring a second total charging amount generated by a preset charging system;
calculating a first absolute value of a difference between the first total amount of charge and the second total amount of charge;
and sending a first warning message to a target terminal bound with the target charging pile under the condition that the first absolute value is greater than or equal to a preset threshold value.
In a specific implementation, the computer program 411 may implement any of the embodiments corresponding to fig. 1 when executed by a processor.
It should be noted that, in the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to relevant descriptions of other embodiments for parts that are not described in detail in a certain embodiment.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
An embodiment of the present application further provides a computer program product, where the computer program product includes computer software instructions, and when the computer software instructions are run on a processing device, the processing device is caused to execute a flow in the charging and billing method in the embodiment corresponding to fig. 1.
The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can store or a data storage device, such as a server, a data center, etc., that is integrated with one or more available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (10)

1. A charging and billing method is characterized by comprising the following steps:
receiving total electric quantity required by single charging of a vehicle, a starting electric quantity percentage corresponding to each charging period in a plurality of charging periods and an ending electric quantity percentage sent by a target charging pile;
calculating a first total charging amount according to the total electric quantity required by the vehicle in single charging, the starting electric quantity percentage and the ending electric quantity percentage corresponding to each charging time period and the electricity price corresponding to each charging time period;
acquiring a second total charging amount generated by a preset charging system;
calculating a first absolute value of a difference between the first total amount of charge and the second total amount of charge;
and sending a first warning message to a target terminal bound with the target charging pile under the condition that the first absolute value is greater than or equal to a preset threshold value.
2. The method of claim 1, wherein calculating a first total charge amount based on the total amount of power required for a single charge of the vehicle, the percentage of the starting amount of power corresponding to each charging period, the percentage of the ending amount of power, and the price of electricity corresponding to each charging period comprises:
calculating a first charging amount corresponding to each charging time period according to the total electric quantity required by the vehicle for single charging, the starting electric quantity percentage and the ending electric quantity percentage corresponding to each charging time period and the electricity price corresponding to each charging time period;
and determining the sum of the first charging amount corresponding to each charging period in the plurality of charging periods as the first total charging amount.
3. The method of claim 2, wherein calculating the first charge amount for each charging period according to the total amount of electricity required for a single charge of the vehicle, the percentage of the starting amount of electricity for each charging period, the percentage of the ending amount of electricity, and the electricity price for each charging period comprises:
calculating a first charging amount corresponding to each charging period by the following formula:
A1=T×(E-S)×M
wherein, a1 is a first charging amount corresponding to each charging period, T is a total electric quantity required by the vehicle for single charging, S is a starting electric quantity percentage corresponding to each charging period, E is an ending electric quantity percentage corresponding to each charging period, and M is an electricity price corresponding to each charging period.
4. The method of claim 1, wherein the method further comprises:
receiving a starting ammeter reading value and an ending ammeter reading value which are sent by the target charging pile and correspond to each charging time interval in the plurality of charging time intervals;
calculating a third total charging amount according to the initial electric meter reading value and the end electric meter reading value corresponding to each charging time interval and the electricity price corresponding to each charging time interval;
calculating a second absolute value of the difference between the third total amount of charge and the second total amount of charge;
and sending a second warning message to the target terminal bound with the target charging pile under the condition that the second absolute value is greater than or equal to the preset threshold value.
5. The method of claim 4, wherein calculating a third total amount of charging based on the starting meter reading value, the ending meter reading value, and the electricity price for each charging period comprises:
calculating a second charging amount corresponding to each charging time period according to the starting electric meter reading value and the ending electric meter reading value corresponding to each charging time period and the electricity price corresponding to each charging time period;
and determining the sum of the second charging amount corresponding to each charging period in the plurality of charging periods as the third charging total amount.
6. The method of claim 5, wherein said calculating a second charging amount for each charging period based on the starting meter reading value, the ending meter reading value for each charging period and the electricity price for each charging period comprises:
under the condition that the difference value between the end electric meter reading value and the start electric meter reading value corresponding to each charging period is larger than zero, calculating a second charging amount corresponding to each charging period by the following formula:
A2=(R2-R1)×M
wherein, a2 is the second charging amount corresponding to each charging period, R2 is the end meter reading value corresponding to each charging period, R1 is the start meter reading value corresponding to each charging period, and M is the electricity price corresponding to each charging period.
7. The method of claim 5, wherein said calculating a second charging amount for each charging period based on the starting meter reading value, the ending meter reading value for each charging period and the electricity price for each charging period comprises:
under the condition that the difference value between the end electric meter reading value and the start electric meter reading value corresponding to each charging period is less than zero, calculating a second charging amount corresponding to each charging period by the following formula:
A2=(RMAX-R1+R2)×M
wherein A2 is the second charging amount corresponding to each charging period, R2 is the end meter reading value corresponding to each charging period, R1 is the start meter reading value corresponding to each charging period, RMAXAnd M is the electricity price corresponding to each charging period.
8. A server, comprising:
the receiving module is used for receiving the total electric quantity required by single charging of the vehicle, the starting electric quantity percentage corresponding to each charging period in a plurality of charging periods and the ending electric quantity percentage sent by the target charging pile;
the first calculation module is used for calculating a first total charging amount according to the total electric quantity required by the vehicle in single charging, the starting electric quantity percentage and the ending electric quantity percentage corresponding to each charging time period and the electricity price corresponding to each charging time period;
the acquisition module is used for acquiring a second total charging amount generated by a preset charging system;
the second calculation module is used for calculating a first absolute value of a difference value between the first total charging amount and the second total charging amount;
and the sending module is used for sending a first warning message to a target terminal bound with the target charging pile under the condition that the first absolute value is greater than or equal to a preset threshold value.
9. An electronic device comprising a memory, a processor, wherein the processor is configured to implement the steps of the charge billing method of any of claims 1 to 7 when executing a computer program stored in the memory.
10. A computer-readable storage medium having stored thereon a computer program, characterized in that: the computer program, when being executed by a processor, realizes the steps of the charge billing method according to any one of claims 1 to 7.
CN202110890003.7A 2021-08-04 2021-08-04 Charging and billing method and related equipment Pending CN113570783A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110890003.7A CN113570783A (en) 2021-08-04 2021-08-04 Charging and billing method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110890003.7A CN113570783A (en) 2021-08-04 2021-08-04 Charging and billing method and related equipment

Publications (1)

Publication Number Publication Date
CN113570783A true CN113570783A (en) 2021-10-29

Family

ID=78170302

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110890003.7A Pending CN113570783A (en) 2021-08-04 2021-08-04 Charging and billing method and related equipment

Country Status (1)

Country Link
CN (1) CN113570783A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015041300A (en) * 2013-08-22 2015-03-02 Jx日鉱日石エネルギー株式会社 Electric vehicle charging accounting method and electric vehicle charging accounting system
CN104539427A (en) * 2014-12-27 2015-04-22 中国西电电气股份有限公司 Wireless charging electricity energy measuring method based on identity verification
CN105044418A (en) * 2015-08-09 2015-11-11 安徽普为智能科技有限责任公司 DC charging pile charging metering method
CN208351614U (en) * 2018-07-23 2019-01-08 泸州能源投资有限公司 A kind of charging heap Charging Detail Record unit based on CAN communication
CN109685993A (en) * 2018-12-26 2019-04-26 浙江大有实业有限公司杭州科技发展分公司 A kind of financial management method of charging pile electricity consumption
JP6616915B1 (en) * 2019-02-20 2019-12-04 東京瓦斯株式会社 Vehicle charge management system and program
CN111243186A (en) * 2020-01-14 2020-06-05 重庆国翰能源发展有限公司 Dual charging system and method for charging pile
CN111815858A (en) * 2019-04-12 2020-10-23 百度在线网络技术(北京)有限公司 Charging network control method, device, equipment and storage medium based on block chain
CN113183812A (en) * 2021-05-08 2021-07-30 阳光电源股份有限公司 Method and device for determining charging electric quantity and electronic equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015041300A (en) * 2013-08-22 2015-03-02 Jx日鉱日石エネルギー株式会社 Electric vehicle charging accounting method and electric vehicle charging accounting system
CN104539427A (en) * 2014-12-27 2015-04-22 中国西电电气股份有限公司 Wireless charging electricity energy measuring method based on identity verification
CN105044418A (en) * 2015-08-09 2015-11-11 安徽普为智能科技有限责任公司 DC charging pile charging metering method
CN208351614U (en) * 2018-07-23 2019-01-08 泸州能源投资有限公司 A kind of charging heap Charging Detail Record unit based on CAN communication
CN109685993A (en) * 2018-12-26 2019-04-26 浙江大有实业有限公司杭州科技发展分公司 A kind of financial management method of charging pile electricity consumption
JP6616915B1 (en) * 2019-02-20 2019-12-04 東京瓦斯株式会社 Vehicle charge management system and program
CN111815858A (en) * 2019-04-12 2020-10-23 百度在线网络技术(北京)有限公司 Charging network control method, device, equipment and storage medium based on block chain
CN111243186A (en) * 2020-01-14 2020-06-05 重庆国翰能源发展有限公司 Dual charging system and method for charging pile
CN113183812A (en) * 2021-05-08 2021-07-30 阳光电源股份有限公司 Method and device for determining charging electric quantity and electronic equipment

Similar Documents

Publication Publication Date Title
CN111060831B (en) Method and device for detecting abnormality of electric vehicle battery, intelligent device and storage medium
CN111025159B (en) Method and device for detecting abnormality of electric vehicle battery, intelligent device and storage medium
CN107886424B (en) Settlement data processing method and device, computer equipment and storage medium
CN107624211B (en) Charging method and device
CN113511098A (en) Charging method of electric automobile and related equipment
CN111211585A (en) Charging equipment distribution method and terminal equipment
CN113386609A (en) Charging pile maintenance method and related equipment
CN115185794A (en) Analysis method and device of service call chain and electronic equipment
CN111060832A (en) Electric vehicle battery aging identification method and device, terminal equipment and storage medium
CN113570783A (en) Charging and billing method and related equipment
CN111784425B (en) Order number generation method, exception handling method and device
CN112365279A (en) Method and device for processing battery pack charging quantity data and computer equipment
CN111186333B (en) Electric vehicle charging identification method and device, terminal equipment and storage medium
CN113447880B (en) Fault diagnosis method and device for electric energy meter and terminal equipment
CN112598529B (en) Data processing method and device, computer readable storage medium and electronic equipment
CN110704198A (en) Data operation method, device, storage medium and processor
CN113315642B (en) Resource metering processing method and device and cloud service system
CN111055725B (en) Electric vehicle battery aging identification method and device, terminal equipment and storage medium
CN114418147A (en) Method and device for processing abnormity of main charging module, terminal and storage medium
CN112435402A (en) Charging and billing device
CN113609189A (en) Fault monitoring method of charging pile and related equipment
CN109149707A (en) A kind of charging method, split type terminal and computer storage medium
CN114220222B (en) Offline prepaid electric quantity recharging method and system
CN113554895B (en) Charging license plate number recommendation method and related equipment
CN109634627A (en) Method based on OpenStack platform management FPGA device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20211029

RJ01 Rejection of invention patent application after publication