CN116152991A - Charging pile cost settlement method, charging pile controller and charging pile system - Google Patents

Charging pile cost settlement method, charging pile controller and charging pile system Download PDF

Info

Publication number
CN116152991A
CN116152991A CN202310179880.2A CN202310179880A CN116152991A CN 116152991 A CN116152991 A CN 116152991A CN 202310179880 A CN202310179880 A CN 202310179880A CN 116152991 A CN116152991 A CN 116152991A
Authority
CN
China
Prior art keywords
settlement
bill
controller
charging
charging pile
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.)
Withdrawn
Application number
CN202310179880.2A
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.)
Ainuowei Suzhou New Energy Technology Co ltd
Original Assignee
Ainuowei Suzhou New 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 Ainuowei Suzhou New Energy Technology Co ltd filed Critical Ainuowei Suzhou New Energy Technology Co ltd
Priority to CN202310179880.2A priority Critical patent/CN116152991A/en
Publication of CN116152991A publication Critical patent/CN116152991A/en
Withdrawn 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
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/14Payment architectures specially adapted for billing systems
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/70Energy storage systems for electromobility, e.g. batteries

Abstract

The application provides a charge pile cost settlement method, a charge pile controller and a charge pile system. The method comprises the following steps: the controller acquires a bill from the T-BOX and calculates settlement fees under the condition that the charging pile is abnormal; the controller sends the bill information and the settlement expense to the settlement terminal, so that the settlement terminal sends the bill information and the settlement expense to the bank background system for settlement, and the settlement terminal receives a settlement result and a result code which are sent after the settlement of the bank background system is completed; and the controller receives the settlement result and the result code sent by the settlement terminal. In the scheme, the controller can store the bill and the bill information, can store the bill and the bill information into the T-BOX, and can acquire the bill from the T-BOX for settlement under the condition that the charging pile is abnormal.

Description

Charging pile cost settlement method, charging pile controller and charging pile system
Technical Field
The application relates to the technical field of charging piles, in particular to a charge pile cost settlement method, a charge pile controller and a charge pile system.
Background
Along with the rapid development of the new energy automobile industry, the development of the charging pile industry is greatly promoted. For commercial charging posts, payment systems are indispensable, and the functional definition and design of the payment systems are also different for different manufacturers of charging posts. In some cases, however, in the event of an abnormality in the charging pile, the problem of settlement fees is not considered.
Disclosure of Invention
The main objective of the present application is to provide a charge pile fee settlement method, a charge pile controller and a charge pile system, so as to at least solve the problem that the fee cannot be settled when the charge pile is abnormal in the prior art.
In order to achieve the above object, according to one aspect of the present application, there is provided a charge stake fee settlement method applied to a controller of a charge stake which communicates with a bank backend system, the charge stake further including a settlement terminal and a T-BOX therein, the controller communicating with the settlement terminal and the T-BOX, respectively, the method comprising: the controller obtains a bill from the T-BOX and calculates a settlement fee in the event that the charging pile is abnormal, wherein the bill includes bill information including at least one of: bill number, user identification, charging cost and currency type, wherein the settlement cost is generated by settling the electric charge used in the charging process after the charging is finished; the controller sends the bill information and the settlement expense to the settlement terminal so that the settlement terminal sends the bill information and the settlement expense to the bank background system for settlement, and the settlement terminal receives a settlement result and a result code sent after the settlement of the bank background system is completed, wherein the settlement result and the result code are in one-to-one correspondence, the settlement result refers to a result of whether the settlement is successful or not, and the result code is used for uniquely identifying the settlement result; and the controller receives the settlement result and the result code sent by the settlement terminal.
Optionally, the charging pile further includes a dc electric meter, the controller is in communication with the dc electric meter, the dc electric meter is configured to record an electric quantity in a charging process, and before the controller obtains a bill from the T-BOX and calculates a settlement fee in a case that the charging pile is abnormal, the method further includes: the controller determines whether the charging pile starts an overcharge process, wherein the charge process is a process of discharging the vehicle by the charging pile; the controller determines settlement failure under the condition that the charging pile does not start the charging flow; the controller obtains charging data from the direct current electric meter and sends the charging data to the T-BOX under the condition that the charging pile is started and the charging flow is finished, so that the T-BOX generates the bill, wherein the charging data comprises first electric quantity and second electric quantity, the first electric quantity is the electric quantity recorded by the direct current electric meter at the charging starting time, and the second electric quantity is the electric quantity recorded by the direct current electric meter at the charging ending time.
Optionally, before the controller obtains a bill from the T-BOX and calculates a settlement fee in the case that the charging pile is abnormal, the method further includes: the controller determines whether the charging pile meets a first preset condition, wherein the first preset condition comprises at least one of the following: the charging pile is abnormal, the charging pile is faulty, a door of the charging pile is in an open state, the charging pile is restarted, and the last settlement process of the charging pile fails; and the controller determines that the charging pile is abnormal under the condition that the charging pile accords with the first preset condition.
Optionally, after the controller obtains a bill from the T-BOX and calculates a settlement fee in the case that the charging pile is abnormal, the method further includes: the controller determining the number of the bills stored by the T-BOX; the controller determines that the bill is not settled in the T-BOX under the condition that the number of the bill is 0, and sends a reconciliation instruction to the settlement terminal so that the settlement terminal reconciles historical bills based on the reconciliation instruction; the controller determines that the settlement terminal is checked out under the condition that the check-out reply information sent by the settlement terminal is received, wherein the check-out reply information is generated after the settlement terminal is checked out; the controller determines that the bill is not settled in the T-BOX if the number of the bill is not 0, and sends the bill information of the bill to the settlement terminal.
Optionally, after the controller receives the settlement result and the result code sent by the settlement terminal, the method further includes: the controller determines whether the settlement fee meets a second preset condition, wherein the second preset condition comprises at least one of the following: the settlement expense is greater than the pre-deduction expense, and the settlement expense is less than 0; the controller sends the settlement expense and the bill information to the bank background system under the condition that the result code representation is successful and the settlement expense does not meet the second preset condition, so that the bank background system updates the account amount of the user account based on the bill information and the settlement expense; and the controller determines that the settlement of the settlement terminal fails and determines the failure reason under the condition that the representation of the result code fails.
Optionally, the controller determines that the settlement of the settlement terminal fails and determines a failure cause if the result code representation fails, including: the controller determines whether communication with the settlement terminal is abnormal; the controller determines that the failure cause is abnormal in the charging pile system under the condition of abnormal communication with the settlement terminal, and terminates the settlement process, stores the bill as an abnormal bill to the T-BOX, and sends an idle instruction to the settlement terminal so that the settlement terminal terminates settlement based on the idle instruction; and under the condition that communication with the settlement terminal is not abnormal, the controller determines that the failure source is abnormal bill, and sends a deleting instruction to the T-BOX so that the T-BOX deletes the abnormal bill based on the deleting instruction.
Optionally, the charging pile further comprises a payment device, and the method further comprises: the controller updates the state of the payment device to an unavailable state before sending the bill information and the settlement expense to the settlement terminal, wherein the payment device prohibits card swiping or code scanning under the condition that the state of the payment device is the unavailable state; the controller updates the state of the payment device to an available state after the settlement fees and the bill information are sent to the bank background system, wherein the payment device allows card swiping or code scanning in the case that the state of the payment device is the available state.
According to another aspect of the present application, there is provided a method for settling a charge stake, the method being applied to a settlement terminal of a charge stake, the charge stake further including a controller, the controller being in communication with the settlement terminal, the settlement terminal being in communication with a banking backend system, the method comprising: the settlement terminal receives the bill information and the settlement fees sent by the controller, wherein the bill information comprises at least one of the following components: bill number, user identification, charging cost and currency type, wherein the settlement cost is generated by settling the electric charge used in the charging process after the charging is finished; the settlement terminal sends the bill information and the settlement expense to the bank background system for settlement; the settlement terminal receives a settlement result and a result code which are sent after the settlement of the bank background system is completed, wherein the settlement result corresponds to the result code one by one, the settlement result is a result of whether the settlement is successful or not, and the result code is used for uniquely marking the settlement result; and the settlement terminal sends the settlement result and the result code to the controller.
According to still another aspect of the present application, there is provided a controller of a charging stake, the charging stake is in communication with a banking background system, the charging stake further includes a settlement terminal and a T-BOX, the controller is in communication with the settlement terminal and the T-BOX, respectively, the controller includes: an acquisition unit configured to acquire a bill from the T-BOX and calculate a settlement fee in the event that the charging pile is abnormal, wherein the bill includes bill information including at least one of: bill number, user identification, charging cost and currency type, wherein the settlement cost is generated by settling the electric charge used in the charging process after the charging is finished; the first sending unit is used for sending the bill information and the settlement expense to the settlement terminal so that the settlement terminal sends the bill information and the settlement expense to the bank background system for settlement, and the settlement terminal receives a settlement result and a result code sent after the settlement of the bank background system is completed, wherein the settlement result corresponds to the result code one by one, the settlement result is a result of whether the settlement is successful or not, and the result code is used for uniquely identifying the settlement result; and the first receiving unit is used for receiving the settlement result and the result code sent by the settlement terminal.
According to still another aspect of the present application, there is provided a charging pile system including: the charging pile is communicated with the server, the charging pile comprises a controller, a settlement terminal and a T-BOX, the controller is used for executing any charge settlement method of the charging pile, and the settlement terminal is used for executing the charge settlement method of the charging pile.
By the technical scheme, the controller can store the bill and the bill information, can store the bill and the bill information into the T-BOX, and can acquire the bill from the T-BOX to settle accounts under the condition that the charging pile is abnormal.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute an undue limitation to the application. In the drawings:
fig. 1 is a flow chart illustrating a method for billing a charge pile according to an embodiment of the present application;
FIG. 2 shows a schematic structural view of the charging pile of the present application;
FIG. 3 shows a timing diagram of a charge stake fee settlement process;
FIG. 4 shows a schematic flow of payment and refund;
FIG. 5 (a) shows a first part of a timing diagram of an automatic on settlement process;
FIG. 5 (b) shows a second part of a timing diagram of an automatic on settlement process;
FIG. 5 (c) shows a third part of a timing diagram of an automatic on settlement process;
FIG. 6 shows a timing diagram of an actively triggered settlement process;
FIG. 7 is a flow chart illustrating another method of charge settlement for a charging stake;
FIG. 8 shows a block diagram of a controller for a charging stake according to an embodiment of the present application;
fig. 9 shows a block diagram of a settlement terminal of a charging pile according to an embodiment of the present application.
Wherein the above figures include the following reference numerals:
10. a controller; 11. a bank background system; 12. a settlement terminal; 13. T-BOX; 14. a direct current ammeter; 15. a switch; 16. and a server.
Detailed Description
It should be noted that, in the case of no conflict, the embodiments and features in the embodiments may be combined with each other. The present application will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
In order to make the present application solution better understood by those skilled in the art, the following description will be made in detail and with reference to the accompanying drawings in the embodiments of the present application, it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate in order to describe the embodiments of the present application described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In the charging pile application of the objective, the design of the prepayment system is not in a minority, which means that the design flow of settlement and refund is indispensable, however, in some schemes, only the flow design of the charging pile (or the payment system) in normal use is involved, the payment and refund flow design of the charging pile after network abnormality or emergency power down is not considered, for example, the problems of abnormal settlement and refund of the whole pile when the settlement background server, the charging pile is offline or the network fluctuation are not considered, and the settlement and refund of the prepayment become very complex once the network fluctuation or abnormal downtime occurs.
As described in the background art, in the prior art, in the case of an abnormal charging pile, the problem of settlement cost is not considered, and in order to solve the problem that the cost cannot be settled when the charging pile is abnormal, embodiments of the present application provide a charge pile cost settlement method, a charge pile controller, and a charge pile system.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
In this embodiment, a charge settlement method of a charge stake is provided, which is applied to a controller of the charge stake, which communicates with a bank backend system, and which further includes a settlement terminal and a T-BOX, and which communicates with the settlement terminal and the T-BOX, respectively, it should be noted that the steps shown in the flowchart of the drawings may be executed in a computer system such as a set of computer executable instructions, and that although a logical order is shown in the flowchart, in some cases the steps shown or described may be executed in an order different from that herein.
Fig. 1 is a flow chart illustrating a method for settling a charge pile according to an embodiment of the present application. As shown in fig. 1, the method comprises the steps of:
in step S201, the controller obtains a bill from the T-BOX and calculates a settlement fee in the case that the charging pile is abnormal, wherein the bill includes bill information including at least one of: bill number, user identification, charging cost and currency type, wherein the settlement cost is generated by settling the electric charge used in the charging process after the charging is finished;
specifically, in the case that the charging pile is not abnormal, the controller transmits settlement information to the settlement terminal and receives a settlement result and a result code transmitted by the settlement terminal, wherein the controller transmits the settlement information to the settlement terminal so that the settlement terminal requests the bank background system to perform settlement, so that the bank background system transmits the settlement result and the result code to the settlement terminal after completion of settlement, so that the settlement terminal transmits the settlement result and the result code to the controller, and the settlement information can be generated by electric quantity taken from an electric meter of the charging pile.
In particular, the billing information may also include a pre-paid amount, an electricity rate price, charging data, a billing additional discount/tax rate, and the like.
Specifically, the controller may send the bill to the T-BOX for storage, may store the bill in order, or store the bill according to the generation time of the bill, or store the bill according to the user identifier, or store the bill according to the number of the charging gun, and the specific storage mode is not limited.
Step S202, the controller sends the bill information and the settlement expense to the settlement terminal so that the settlement terminal sends the bill information and the settlement expense to the bank background system for settlement, and the settlement terminal receives a settlement result and a result code sent after the settlement of the bank background system is completed, wherein the settlement result corresponds to the result code one by one, the settlement result refers to whether the settlement is successful or not, and the result code is used for uniquely identifying the settlement result;
specifically, in the scheme, a settlement process can be designed in the controller, settlement can be performed when the current charging pile is determined to meet the settlement condition, the specific settlement condition can be defined according to the number of bills stored in the T-BOX, the settlement process can be defined according to the running time of the charging pile, the settlement process can be manually and automatically started, and the settlement sequence can be performed according to the order of acquiring the bills.
Above-mentioned ground, can be to the real-time order settlement that stores in T-BOX, can also be to the historical bill settlement that stores in T-BOX, so not only realized the settlement function to real-time order, can also realize the settlement function to the historical bill, and then provided convenience for the operator of charging stake.
And step S203, the controller receives the settlement result and the result code sent by the settlement terminal.
Specifically, the controller can also detect whether the current bill is finished, or the user swipes the card twice to finish the bill, or the remote server issues a power failure instruction to finish the bill. And when the charged bill is finished, a settlement request can be sent to the settlement terminal, the settlement request requests a bank background system to carry out settlement after receiving the message sent by the controller, a settlement result and a result code are returned to the controller after the settlement is finished, and the controller determines whether the current bill is finished or not based on the settlement result and the result code.
Through this embodiment, the controller can store bill and bill information, can store to T-BOX in, and the controller can obtain the bill and settle accounts in the T-BOX under the circumstances that fills electric pile is unusual, and this scheme has designed the settlement process under the circumstances that fills electric pile is unusual, and then has solved the unable problem of settlement expense when filling electric pile is unusual.
According to the scheme, the abnormal bill charged by the pre-payment mode is effectively stored and processed, and other payment modes or the same payment mode are not influenced to start new charging business. Friendly design is carried out on the angle of an operator, and the operator can timely, actively and conveniently process abnormal orders after solving the abnormal problems.
Specifically, the scheme of the application can be not limited to the charging pile with double guns, but also can be a charging pile with single gun or N guns. The energy storage type charging pile is not limited, and the energy storage type charging pile is applicable to products with similar system configurations, and the main controller and the plurality of slave controllers are designed according to the same design scheme of the energy storage type charging pile. And the system is also not limited to a charging pile payment system, and is applicable to payment systems of other similar system architectures. The method is suitable for a system of firstly authenticating and then inserting the gun for discharging, and is also suitable for a system of firstly inserting the gun and then authenticating.
As shown in fig. 2, the structure of the charging pile in this embodiment is shown, where the charging pile includes a controller 10 (Energy Management System, energy management system, abbreviated as EMS, which is a controller in this application), the charging pile communicates with a bank background system 11, a settlement Terminal 12 (PT), a T-BOX13, a DC meter 14 (DC-meter), a switch 15, the controller 10 communicates with the settlement Terminal 12, the DC meter 14 and the T-BOX13 through the switch 15, the T-BOX13 communicates with a server 16 (Customer Information Management System, a server of a customer information management system, abbreviated as CIMS), and the T-BOX13 communicates with the bank background system 11.
The controller is communicated with the switch through the Ethernet, the controller is communicated with the settlement terminal through the switch Ethernet, the controller is communicated with the direct-current ammeter through the switch Ethernet, the controller is communicated with the T-BOX through the switch Ethernet, the protocol of communication between the T-BOX and the server can be OCPP protocol, the T-BOX comprises a 4G communication module, and the T-BOX can be communicated with a bank background system through the 4G communication module.
The functions of the above components are as follows:
EMS: the charging pile is mainly responsible for management of a charging flow and control logic of the whole charging pile;
DC-meter: the data statistics and management of the charge quantity are responsible;
T-BOX: the charging pile is responsible for authentication of a charging flow and uploading of charging information, and interaction between the charging pile and a server and interaction between the charging pile and a bank background system are provided;
CIMS: the management of the charging pile by an operator is mainly provided;
PT: the charging card reading, settlement and checking functions are responsible for charging authentication;
the switch: is a bridge that provides information interaction for the coordination of communications between the controller and the various components.
The present invention is applicable to various situations, for example, a situation of first inserting a gun and then authenticating for charging, or a situation of first authenticating and then inserting a gun for charging, so that an abnormal bill can be divided into a pre-deduction order in which deduction is completed without entering a discharging process and refund is failed, and a pre-deduction order in which deduction is completed with entering a charging process but refund is failed. The controller determines whether the charging pile opens an overcharge process, wherein the charge process is a process of discharging the vehicle by the charging pile; the controller determines that settlement fails under the condition that the charging pile is not started up in the charging process; and under the condition that the charging pile is started and the charging flow is over, the controller acquires charging data from the direct current electric meter and sends the charging data to the T-BOX so that the T-BOX generates the bill, wherein the charging data comprises first electric quantity and second electric quantity, the first electric quantity is the electric quantity recorded by the direct current electric meter at the beginning of charging, and the second electric quantity is the electric quantity recorded by the direct current electric meter at the ending of charging.
In the scheme, whether the charging pile starts the overcharge process can be determined firstly, if the charging pile does not start the overcharge process, the charge cannot be generated, then a relatively accurate settlement result cannot be obtained by sending a bill to a settlement terminal, and because the charging pile does not start the overcharge process, even if settlement is carried out, the settlement charge can be 0, therefore, the settlement failure can be directly not settled, if the charging pile starts the overcharge process, the charge can be generated, then related charge data is acquired from the direct current ammeter, and the bill is generated through the T-BOX so as to carry out settlement later, so that the settlement process can be further simplified according to whether the charging pile starts the overcharge process.
Specifically, the billing information and the charging data may be sent to the T-BOX for storage, where the T-BOX may store the order in a queue, although other forms may be used.
Specifically, as shown in fig. 3, in the charge pile fee settlement process, in the case that the charge pile is not abnormal, the EMS sends a pre-deduction (pre-deduction amount) to the PT, the PT performs pre-deduction, and returns a pre-deduction completion message to the EMS;
in the case that the charging pile is abnormal and the overcharge flow is not started, the EMS sends information (including the residual amount, the bill number, the currency type and the like) of the refund (i.e. settlement) to the PT, the PT returns information of failure of refund (unavailability of the remote station) to the EMS, the EMS stores the refund bill to the T-BOX, the storage instruction can be MsgOx1A, the sent bill information comprises the residual amount, the bill number, the currency type, the public key, OCMF data (Charging data record by DC-meter, second electric quantity) and the expanded bill information, and the T-BOX stores the bill information (stores the residual amount, the bill number, the currency type, the OCMF data, the public key and the expanded bill information);
Under the condition that the charging pile starts an overcharge flow, the EMS sends an instruction for starting a transaction to the DC-meter when the charging starts, the DC-meter returns current ammeter data to the EMS, the EMS sends charging start data to the T-BOX for storage, the EMS sends an instruction for stopping the charging to the DC-meter when the charging ends, the DC-meter returns Legel data (Charging data record by DC-meter which is encrypted, first electric quantity) and OCMF data to the EMS, the EMS sends the Legel data and the OCMF data to the T-BOX,
the T-BOX sends a request for stopping transaction to the CIMS, the CIMS returns information for accepting the stopping transaction to the T-BOX, the EMS sends request expansion bill information (comprising charging amount, bill number and the like) to the T-BOX, the T-BOX transmits data comprising charging amount, bill number and the like to the CIMS, the CIMS sends expansion bill information (comprising discount, tax rate, payee, address, product type and the like) to the T-BOX, the T-BOX transmits the data to the EMS, the transmission instruction is 0x21, the transmitted data is the expansion bill information,
the EMS sends a settlement instruction (including refund amount, bill number, currency type, public key, OCMF data, expanded bill information) to the PT, the PT performs settlement, if settlement fails, the PT sends a message of settlement failure (unavailability of remote station) to the EMS, the EMS stores the unremoved bill to-TBOX, the storage instruction may be MsgOx1A, the sent bill information includes remaining amount, bill number, currency type, public key, OCMF data, expanded bill information, and T-BOX performs bill information storage (stores remaining amount, bill number, currency type, OCMF data, public key, expanded bill information).
In the implementation process, before the controller obtains a bill from the T-BOX and calculates a settlement fee under the condition that the charging pile is abnormal, the method further includes the following steps: the controller determines whether the charging pile meets a first preset condition, wherein the first preset condition comprises at least one of the following: the charging pile is abnormal, the charging pile is faulty, the door of the charging pile is in an open state, the charging pile is restarted, and the last settlement process of the charging pile fails; and the controller determines that the charging pile is abnormal under the condition that the charging pile meets the first preset condition.
In the scheme, the controller can determine whether the charging pile is abnormal or not, can judge whether the charging pile is in accordance with the first preset condition at present or not, can use the non-abnormal settlement flow of the charging pile if the charging pile is non-abnormal, and can accurately determine whether the current state of the charging pile is abnormal or not by using the settlement flow of the charging pile if the charging pile is abnormal, so that settlement can be started more efficiently.
Specifically, the first preset condition is not limited to the above case, and a person skilled in the art may set an appropriate first preset condition according to the actual situation.
In order to more effectively and accurately determine whether to start the settlement process, after the controller obtains a bill from the T-BOX and calculates the settlement fee in the case that the charging pile is abnormal, the method further includes the steps of: the controller determining the number of the bills stored in the T-BOX; the controller determining that there is no outstanding bill in the T-BOX and transmitting a reconciliation instruction to the settlement terminal so that the settlement terminal reconciles historical bills based on the reconciliation instruction, in a case where the number of the bills is 0; the controller determines that the settlement terminal is finished in the case of receiving the settlement reply information sent by the settlement terminal, wherein the settlement reply information is generated after the settlement terminal is finished in the case of receiving the settlement reply information; and the controller determines that the bill which is not settled exists in the T-BOX and sends the bill information of the bill to the settlement terminal when the number of the bill is not 0.
In this scheme, whether to open the settlement process can be determined according to the number of bills stored in the T-BOX, if the number of bills stored in the T-BOX is 0, it indicates that the bills stored in the T-BOX are all settled, or the bills stored in the T-BOX are not yet opened, at this time, the settlement terminal can be directly used for checking the settlement, so as to ensure the accuracy of the settlement related data, and if the number of bills stored in the T-BOX is not 0, it indicates that there are bills not yet settled in the T-BOX, then the bill information of the bills can be sent to the settlement terminal to open the settlement process, so that more efficient and accurate opening of the settlement process can be ensured.
Specifically, the settlement terminal can be controlled to restart once every 24 hours, after the settlement terminal is restarted, the EMS determines whether the charging pile meets a first preset condition, and sends a historical outstanding bill request to the T-BOX under the condition that the charging pile meets the first preset condition, the EMS determines whether to start the settlement process according to the historical outstanding bill quantity fed back by the T-BOX, if the bill quantity is greater than or equal to a quantity threshold, the EMS can start the settlement process, if the bill quantity is less than the quantity threshold, the EMS can temporarily not start the settlement process, the quantity threshold can be 5, 10, 50 and the like, and any other feasible threshold can be adopted.
In one embodiment of the present application, after the controller receives the settlement result and the result code sent by the settlement terminal, the method further includes the following steps: the controller determines whether the settlement fee meets a second preset condition, wherein the second preset condition comprises at least one of the following: the settlement expense is larger than the pre-deduction expense, and the settlement expense is smaller than 0; the controller sends the settlement expense and the billing information to the bank background system when the result code is successfully represented and the settlement expense does not meet the second preset condition, so that the bank background system updates the account amount of the user account based on the billing information and the settlement expense; and the controller determines that the settlement of the settlement terminal fails and determines the failure reason under the condition that the representation of the result code fails.
In the scheme, under the condition that the result code representation sent by the settlement terminal is successful, the settlement terminal can be determined to be successfully completed, whether the settlement expense meets a second preset condition or not is also determined, if the settlement expense meets the second preset condition, settlement failure is also caused, if the settlement expense does not meet the second preset condition, settlement is successful, refund processing (namely, updating the account amount of a user account) can be carried out by the bank background system, and under the condition that the result code representation sent by the settlement terminal is failed, the settlement failure can be directly determined, and subsequent processing can be carried out by determining the reason of the settlement failure, so that the verification of the result code sent by the settlement terminal can be ensured, and further more efficient refund can be ensured.
Specifically, the inventor analysis through the scheme finds that in the case of abnormal charging piles, the main reasons that the bill is abnormal and the fee refund cannot be carried out include the following four cases: 1) The whole pile stops externally charging due to faults in the charging process, and the order is ended; 2) The whole pile is restarted or powered down due to the failure in the charging process, and the order is ended; 3) The settlement process causes settlement failure due to network problems; 4) The meter communication failure cannot obtain billing data.
The scheme respectively carries out the refund treatment on the four conditions:
for withdrawal of 1): after receiving the charging stopping request, the EMS requests Legel data and OCMF data from the direct-current ammeter, and calculates charging cost and refund cost according to the OCMF data and the prepayment; after the fee calculation is completed, the EMS sends the refund amount to the PT to request refund; after receiving the refund request, the PT is connected with the CIMS and releases the prepayment such as refund amount to the payment account; after the refund is finished, the PT returns the bill information of the transaction, and the EMS sends the bill information to the T-BOX after receiving the bill information;
refund for 2): and the refund cannot be carried out when the EMS scrutinizes, and the refund of the scene is triggered by the T-BOX after the next whole pile restarting. When the system is restarted, the T-BOX detects that a bill which is not finished exists currently, and at the moment, the T-BOX sends a refund request to the EMSEMS, and requests the direct current ammeter to acquire the electricity utilization information of the current charge after receiving the refund request, and calculates the amount of the refund; the EMS sends the amount to the PT to request for refund; the PT receives the refund request, then connects with CIMS, releases the prepayment such as refund amount to the payment account, returns the bill information of the refund to the EMS after refund is completed, and is forwarded to the T-BOX by the EMS; the T-BOX marks the bill of the transaction as a finished state after receiving the bill information;
Refund for 3): after the EMS detects that the refund fails, triggering the storage flow of the abnormal bill and completing the refund process of the scene through the settlement flow of the abnormal bill;
for withdrawal of 4): according to the related regulation requirements, when the information of the direct current ammeter cannot be acquired, the user is not charged, so that the EMS requests PT full refund in the scene.
The specific payment and refund flow is shown in fig. 4, and the following descriptions respectively apply:
and (3) payment: the charging gun of the charging pile is started, the charging pile is communicated with a user terminal, the user terminal is communicated with a controller of the charging pile, a user pays a pre-deduction on the user terminal, the charging pile receives the pre-deduction and sends the pre-deduction to a server, the server returns receiving information to the controller, the controller returns the pre-deduction to the user terminal, the user account on the user terminal updates the amount, and the user charges by using the charging gun;
refund fee: the charging gun of the charging pile is closed, the charging pile is communicated with a user terminal, the user terminal is communicated with a controller of the charging pile, a user determines to finish charging on the user terminal, the user terminal sends information to the controller, the controller sends the information of finishing charging to a server, the server returns receiving information to the controller, the controller sends settlement fees to the user terminal, the user account on the user terminal updates the amount, and the user finishes charging.
In some embodiments, the controller determines that the settlement of the settlement terminal fails and determines a failure cause when the result code representation fails, which may be achieved by: the controller determines whether communication with the settlement terminal is abnormal; the controller determines that the failure cause is abnormal in the charging pile system and terminates a settlement process when communication with the settlement terminal is abnormal, stores the bill as an abnormal bill to the T-BOX, and sends an idle command to the settlement terminal so that the settlement terminal terminates settlement based on the idle command; and the controller determines that the failure cause is abnormal bill when the communication with the settlement terminal is not abnormal, and sends a deleting instruction to the T-BOX so that the T-BOX deletes the abnormal bill based on the deleting instruction.
In the scheme, the reasons for the settlement failure are divided into two types, one is settlement failure caused by the system abnormality of the charging pile, the other is settlement failure caused by the bill abnormality, under the condition that the charging pile system is abnormal, the settlement process can be terminated, so that resource waste caused by the follow-up settlement process still fails can be avoided, under the condition that the bill is abnormal, abnormal bills are deleted, settlement is continuously carried out on the next bill, the reason for the settlement failure can be ensured to be more accurately determined, different treatments are carried out according to different reasons, and the settlement efficiency is improved.
If the payment device of the charging post receives a new bill again during the settlement process, the settlement process and the deduction of the new bill may be synchronous, which may result in invalidation of the settlement process or inaccurate settlement, and in some embodiments, the charging post further comprises the payment device, and the method further comprises the following steps: the controller updates the state of the payment device to an unavailable state before transmitting the bill information and the settlement expense to the settlement terminal, wherein the payment device prohibits card swiping or code scanning when the state of the payment device is the unavailable state; the controller updates the state of the payment device to an available state after the settlement fees and the billing information are transmitted to the banking backend system, wherein the payment device allows a card to be swiped or a code to be scanned in the case that the state of the payment device is the available state.
In the scheme, before bill information and settlement fees are sent to a settlement terminal for settlement, the state of the payment equipment is updated to be in an unavailable state, so that if a user does not have a way to swipe a card or sweep a code when charging is finished, a new order cannot be generated, the settlement process is preferentially processed, the state of the payment equipment is updated to be in an available state only after the back-end system of a bank is finished, the user can continue to use the charging pile for charging, the settlement process can be preferentially processed, and the phenomenon that the amount of a user account appears and deviation of the settlement process is avoided due to synchronous process of settlement and new bills is avoided.
Specifically, the triggering modes of the settlement flow in the scheme are divided into automatic triggering and active triggering, and the following are respectively introduced:
as shown in fig. 5 (a), 5 (b) and 5 (c), the automatic start settlement process is that the EMS sends a status acquisition instruction to the PT (the instruction is 0501), after the status acquisition is completed, the PT sends a restart time T1 (the restart time of the current settlement terminal) to the EMS, the EMS performs time storage processing, the EMS stores T1, and the PT restarts when the running time reaches T1,
the EMS sends a registration instruction to the PT (the instruction is 0600, the registration instruction refers to a settlement result and a result code) after the PT registration is completed, the EMS acquires a new time T2 (the next restarting time), the EMS stores the next restarting time T2 after the completion of the acquisition, the EMS acquires the time T2, the time is compared with the previous time T1,
at T1-! In the case of =t2, the EMS will check the flag position 1, the EMS will return the historical bill to the fee flag position 1, the EMS will request the historical outstanding bill form from the T-BOX, the request instruction may be msg_ox1b (the EMS will outstanding bill form request flag position 1), the T-BOX will send outstanding historical bill form to the EMS, the instruction sent may be MsgOx1C, the EMS determines outstanding bill form, in the case that outstanding bill form is 0, the outstanding bill form request flag position 0,
Under the condition that no account bill is not checked and the account checking flag bit=1, the EMS sends an account checking instruction to the PT, the instruction can be 0650, the PT performs account checking based on the account checking instruction and replies information to the EMS after the account checking is completed, the EMS acquires the state of the settlement terminal every 30S in the PT standby state, the PT feeds back the state to the EMS, the EMS clears the account checking flag bit to 0, clears the historical bill settlement flag bit to 0,
in the case of an outstanding bill, determining whether a charging process is in progress, in the case of no charging process, the EMS stores a current payment method, and prohibits HMI payment method (i.e., updates the state of the payment device to an unavailable state), the EMS transmits a termination bill transmission flag position 0, the EMS transmits a history bill request to the T-BOX, the request instruction may be msgnox 1B (the EMS transmits an outstanding bill request flag position 1), the T-BOX transmits history bill information (including bill number, remaining amount, OCMF data, public key, currency type, extension information) to the EMS, the transmitted instruction may be msgnx 1C, the EMS performs parameter identification processing, identifies the history bill information, and transmits the history bill information to the PT, the transmitted instruction is a settlement instruction 0623,
in case of successful refund (i.e. successful settlement of the settlement terminal), the PT sends an instruction 060f (including billing information) to the EMS, which sends billing information (including gun number, fee, bill number, billing content) to the T-BOX, which may be MsgOx1D, which forwards the billing information to the background to the CIMS, which determines the total number of outstanding bills, and sends an Idle instruction Idle to the PT, which enters an Idle (Idle) state, which returns to the EMS information that the entering of Idle state is successful,
The EMS continues to send information requesting the bill to the T-BOX, the request instruction may be MsgOx1B (the EMS will not settle the bill request flag location 1), the T-BOX sends historical bill information (including bill number, remaining amount, OCMF data, public key, currency type, extension information) to the EMS, the sent instruction may be MsgOx1C, the EMS sends the historical bill information to the PT, the sent instruction is a settlement instruction 0623, the EMS sends a statement instruction to the PT when the outstanding bill is 0, the instruction may be 0650, the PT performs statement based on the statement instruction and replies information to the EMS after the statement is completed, the EMS resumes the payment mode (settling the payment mode currently stored, i.e. the state of the payment device is updated to the available state), the EMS clears the statement flag, the EMS clears the historical bill settlement flag, the PT sends an Idle instruction Idle0501 to the PT, the PT enters the Idle (Idle 0501) state, the PT returns information entering 040f (entering Idle state is successful),
in the case of failure of refund (i.e., settlement failure of the settlement terminal), the PT transmits a refund failure instruction to the EMS, which may be 061e, the EMS judges a failure code,
under the condition that the fault code is equal to A3 or the fault related to the refund (communication abnormality), the EMS stops refunding and resumes the payment mode (settles the payment mode currently stored), the EMS clears the reconciliation flag bit, clears the historical bill settlement flag bit, the EMS continues to send information requesting the bill to the T-BOX, the request instruction can be MsgOx1B (the EMS requests the flag to be 1) and the EMS sends a storage instruction to the T-BOX, the storage instruction can be MsgOx1A, the T-BOX stores bill information, the EMS sends an Idle instruction Idle0501 to the PT, the PT enters an Idle (Idle 0501) state, the PT returns information entering 040f (successful entering the Idle state) to the EMS,
In case the fault code is equal to B5 or the bill related fault (bill abnormality), the EMS determines that the bill number is not counted, the EMS continues to send the bill settlement request to the T-BOX, the request instruction may be MsgOx1B (the EMS will delete the bill request flag position 1, the EMS will not count the bill request flag position 1), the T-BOX deletes the bill (abnormal bill) from the plurality of bills according to the bill number, the T-BOX sends the historical bill information (including the cost, the bill number, the remaining amount, the OCMF data, the public key, the currency type, the expansion information) to the EMS, the sent instruction may be MsgOx1C, the EMS sends the historical bill information to the PT, the sent instruction is the settlement instruction 0623, the EMS sends the statement instruction to the PT when the bill is not counted 0, the instruction may be 0650, the PT checks the statement based on the statement instruction, and after the statement is completed, sets the payment mode (payment mode of current storage is settled), clears the statement flag bit 0, sends the statement flag bit clear 0, the statement information to the PT 1 to the PT (PT 1) enters the Idle state, the Idle state is entered (PT 1),
under the condition of charging process, after the transaction settlement is completed, the EMS enters into a processing flow of no charging process (so after the transaction is finished),
In the case of t1=t2, the EMS transmits an Idle command Idle0501 to the PT, and the PT enters an Idle (Idle 0501) state, and the PT returns a message to the EMS to enter 040f (success of entering the Idle state).
The actively triggered settlement flow is shown in fig. 6, the operator clicks the settlement button, the CIMS receives the click operation, the CIMS sends the OCPP refund request to the T-BOX, the T-BOX sends the refund request to the EMS, the EMS judges the refund condition,
in case that the settlement terminal (which may also be called a payment terminal) is idle or no transaction, the EMS stores a current payment method (a payment method currently supported), and prohibits the HMI payment method, the EMS transmits a history bill settlement request flag position 1, the EMS transmits a 0x1B instruction (non-refund bill request flag position 1) to the T-BOX, the T-BOX confirms to the CIMS whether or not a refund can be made, in case that it is confirmed that a refund can be made, the T-BOX transmits a confirmation instruction to the EMS, which may be 0x1C (non-settlement bill total number), the EMS transmits the non-refund bill request flag position 0,
in the absence of an unreliated bill, the EMS sets a payment method (settles the currently stored payment method), the EMS settles the historical bill settlement flag location 0,
in the case of an unremoved bill, the EMS sends a bill request message to the T-BOX, the request message may be Msg_Ox1B (the EMS requests the bill request flag to be at position 1), the T-BOX sends historical bill information (including bill number, cost, OCMF data, public key, currency type, and extension message) to the EMS, the sent message may be Msg_Ox1C, the EMS obtains parameters (bill number, cost, OCMF data, public key, currency type, and extension message), the EMS sends 0623 a settlement message to the PT, the sent message contains the bill number, cost, OCMF data, public key, currency type, and extension message,
In case that the settlement terminal is busy or there is a transaction, the EMS transmits an msg_ox1b instruction (the EMS transmits the bill request flag position 0) to the T-BOX, which returns information that the refund condition is not satisfied to the CIMS.
In this embodiment, another method for settling a charge running on a charging pile is provided, which is applied to a settlement terminal of the charging pile, and the charging pile further includes a controller, which communicates with the settlement terminal, and which communicates with a banking backend system, it should be noted that the steps illustrated in the flowchart of the drawing may be performed in a computer system such as a set of computer executable instructions, and that although a logical sequence is illustrated in the flowchart, in some cases, the steps illustrated or described may be performed in a sequence different from that herein.
Fig. 7 is a flowchart of a charge pile fee settlement method according to an embodiment of the present application. As shown in fig. 7, the method includes the steps of:
step S301, the settlement terminal receives the bill information and settlement fees sent by the controller, wherein the bill information comprises at least one of the following: bill number, user identification, charging cost and currency type, wherein the settlement cost is generated by settling the electric charge used in the charging process after the charging is finished;
Step S302, the settlement terminal sends the bill information and the settlement expense to the bank background system for settlement;
step S303, the settlement terminal receives a settlement result and a result code which are sent after the settlement of the bank background system is completed, wherein the settlement result corresponds to the result code one by one, the settlement result is a result of whether the settlement is successful or not, and the result code is used for uniquely identifying the settlement result;
specifically, the specific process of determining the settlement fees corresponding to the bill includes: obtaining a prepayment, wherein the prepayment refers to the charge of updating the account amount of the user account in advance before charging starts; acquiring an electric quantity difference value and an electric charge, wherein the electric quantity difference value refers to an absolute value of a difference value between the first electric quantity and the second electric quantity, and the electric charge refers to electricity consumption; obtaining the product of the electric quantity difference and the electric charge to obtain the actual charge; and obtaining the difference between the pre-deduction cost and the actual cost to obtain the settlement cost.
And step S304, the settlement terminal sends the settlement result and the result code to the controller.
Through the embodiment, under the condition that the charging pile is abnormal, the settlement terminal can receive the bill information and the settlement expense sent by the controller, and sends the bill information and the settlement expense to the bank background system to request settlement, and then the settlement result can be sent to the controller.
The embodiment of the application also provides a controller of the charging pile, and it should be noted that the controller of the charging pile of the embodiment of the application can be used for executing the charge settlement method for the charging pile provided by the embodiment of the application. The device is used for realizing the above embodiments and preferred embodiments, and is not described in detail. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
The controller of the charging pile provided by the embodiment of the application is introduced below, the charging pile is communicated with a bank background system, the charging pile further comprises a settlement terminal and a T-BOX, and the controller is respectively communicated with the settlement terminal and the T-BOX.
Fig. 8 is a block diagram of a controller of a charging pile according to an embodiment of the present application. As shown in fig. 8, the controller includes:
an acquiring unit 100 for acquiring a bill from the T-BOX and calculating a settlement fee in case that the charging pile is abnormal, wherein the bill includes bill information including at least one of: bill number, user identification, charging cost and currency type, wherein the settlement cost is generated by settling the electric charge used in the charging process after the charging is finished;
A first transmitting unit 200, configured to transmit the bill information and the settlement fee to the settlement terminal, so that the settlement terminal transmits the bill information and the settlement fee to the bank background system for settlement, so that the settlement terminal receives a settlement result and a result code transmitted after the settlement of the bank background system is completed, where the settlement result and the result code are in one-to-one correspondence, and the settlement result refers to a result of whether the settlement is successful or not, and the result code is used for uniquely identifying the settlement result;
the first receiving unit 300 is configured to receive the settlement result and the result code sent by the settlement terminal.
Through this embodiment, the controller can store bill and bill information, can store to T-BOX in, and the controller can obtain the bill and settle accounts in the T-BOX under the circumstances that fills electric pile is unusual, and this scheme has designed the settlement process under the circumstances that fills electric pile is unusual, and then has solved the unable problem of settlement expense when filling electric pile is unusual.
The method comprises the steps that a plurality of scenes are suitable for charging after gun insertion, or the scenes of charging after authentication are suitable for gun insertion, so that abnormal bills can be divided into pre-charging orders which do not enter a discharging process and fail in charging after charging is completed, and pre-charging orders which enter the charging process but fail in charging after charging is completed, in the specific implementation process, the charging pile further comprises a direct current ammeter, the controller is communicated with the direct current ammeter, the direct current ammeter is used for recording electric quantity in the charging process, the controller further comprises a first determining unit, a second determining unit and a first processing unit, and the first determining unit is used for determining whether the charging pile is started up or not before acquiring bills from the T-BOX and calculating settlement fees under the condition that the charging pile is abnormal, wherein the charging process refers to the discharging process of the charging pile on a vehicle; the second determining unit is used for determining settlement failure under the condition that the charging pile is not started in the charging process; the first processing unit is configured to obtain charging data from the dc electric meter and send the charging data to the T-BOX when the charging pile is turned on and the charging process is performed, so that the T-BOX generates the bill, where the charging data includes a first electric quantity and a second electric quantity, the first electric quantity is an electric quantity recorded by the dc electric meter at a charging start time, and the second electric quantity is an electric quantity recorded by the dc electric meter at a charging end time.
In the scheme, whether the charging pile starts the overcharge process can be determined firstly, if the charging pile does not start the overcharge process, the charge cannot be generated, then a relatively accurate settlement result cannot be obtained by sending a bill to a settlement terminal, and because the charging pile does not start the overcharge process, even if settlement is carried out, the settlement charge can be 0, therefore, the settlement failure can be directly not settled, if the charging pile starts the overcharge process, the charge can be generated, then related charge data is acquired from the direct current ammeter, and the bill is generated through the T-BOX so as to carry out settlement later, so that the settlement process can be further simplified according to whether the charging pile starts the overcharge process.
In the scheme of the application, settlement is performed under the condition that the charging pile is abnormal, so that whether the charging pile is in an abnormal state is required to be determined in advance, and in a specific implementation process, the controller further comprises a third determining unit and a fourth determining unit, wherein the third determining unit is used for determining whether the charging pile meets a first preset condition before acquiring a bill from the T-BOX and calculating settlement cost under the condition that the charging pile is abnormal, and the first preset condition comprises at least one of the following: the charging pile is abnormal, the charging pile is faulty, the door of the charging pile is in an open state, the charging pile is restarted, and the last settlement process of the charging pile fails; the fourth determining unit is configured to determine that the charging pile is abnormal if the charging pile meets the first preset condition.
In the scheme, the controller can determine whether the charging pile is abnormal or not, can judge whether the charging pile is in accordance with the first preset condition at present or not, can use the non-abnormal settlement flow of the charging pile if the charging pile is non-abnormal, and can accurately determine whether the current state of the charging pile is abnormal or not by using the settlement flow of the charging pile if the charging pile is abnormal, so that settlement can be started more efficiently.
In order to more efficiently and accurately determine whether to start the settlement process, the controller further comprises a fifth determining unit, a second processing unit, a sixth determining unit and a third processing unit, wherein the fifth determining unit is used for determining the quantity of the bills stored by the T-BOX after acquiring the bills from the T-BOX and calculating the settlement expense under the condition that the charging pile is abnormal; the second processing unit is configured to determine that there is no outstanding bill in the T-BOX when the number of the bills is 0, and send a reconciliation instruction to the settlement terminal, so that the settlement terminal reconciles the historical bill based on the reconciliation instruction; the sixth determining unit is configured to determine that the accounting terminal is finished when receiving accounting reply information sent by the accounting terminal, where the accounting reply information is generated after the accounting terminal is finished; and the third processing unit is used for determining that the bill which is not settled exists in the T-BOX and sending the bill information of the bill to the settlement terminal when the number of the bill is not 0.
In this scheme, whether to open the settlement process can be determined according to the number of bills stored in the T-BOX, if the number of bills stored in the T-BOX is 0, it indicates that the bills stored in the T-BOX are all settled, or the bills stored in the T-BOX are not yet opened, at this time, the settlement terminal can be directly used for checking the settlement, so as to ensure the accuracy of the settlement related data, and if the number of bills stored in the T-BOX is not 0, it indicates that there are bills not yet settled in the T-BOX, then the bill information of the bills can be sent to the settlement terminal to open the settlement process, so that more efficient and accurate opening of the settlement process can be ensured.
In one embodiment of the present application, the controller includes a seventh determining unit, a fourth processing unit, and an eighth determining unit, where the seventh determining unit is configured to determine, after receiving the settlement result and the result code sent by the settlement terminal, whether the settlement expense meets a second preset condition, where the second preset condition includes at least one of: the settlement expense is larger than the pre-deduction expense, and the settlement expense is smaller than 0; the fourth processing unit is configured to send the settlement expense and the billing information to the bank backend system when the result code is successfully characterized and the settlement expense does not meet the second preset condition, so that the bank backend system updates the account amount of the user account based on the billing information and the settlement expense; and the eighth determining unit is used for determining that the settlement of the settlement terminal fails and determining the failure reason under the condition that the representation of the result code fails.
In the scheme, under the condition that the result code representation sent by the settlement terminal is successful, the settlement terminal can be determined to be successfully completed, whether the settlement expense meets a second preset condition or not is also determined, if the settlement expense meets the second preset condition, settlement failure is also caused, if the settlement expense does not meet the second preset condition, settlement is successful, refund processing (namely, updating the account amount of a user account) can be carried out by the bank background system, and under the condition that the result code representation sent by the settlement terminal is failed, the settlement failure can be directly determined, and subsequent processing can be carried out by determining the reason of the settlement failure, so that the verification of the result code sent by the settlement terminal can be ensured, and further more efficient refund can be ensured.
In some embodiments, the eighth determining unit includes a determining module, a first processing module, and a second processing module, where the determining module is configured to determine whether communication with the settlement terminal is abnormal; the first processing module is used for determining that the failure cause is abnormal in the charging pile system and terminating a settlement process under the condition of abnormal communication with the settlement terminal, storing the bill as an abnormal bill into the T-BOX, and sending an idle command to the settlement terminal so that the settlement terminal terminates settlement based on the idle command; and the second processing module is used for determining that the failure cause is abnormal bill under the condition that communication with the settlement terminal is not abnormal, and sending a deleting instruction to the T-BOX so that the T-BOX deletes the abnormal bill based on the deleting instruction.
In the scheme, the reasons for the settlement failure are divided into two types, one is settlement failure caused by the system abnormality of the charging pile, the other is settlement failure caused by the bill abnormality, under the condition that the charging pile system is abnormal, the settlement process can be terminated, so that resource waste caused by the follow-up settlement process still fails can be avoided, under the condition that the bill is abnormal, abnormal bills are deleted, settlement is continuously carried out on the next bill, the reason for the settlement failure can be ensured to be more accurately determined, different treatments are carried out according to different reasons, and the settlement efficiency is improved.
If the payment device of the charging pile receives a new bill again during the settlement process, the settlement process and the deduction of the new bill may be synchronously performed, which may cause invalidation of the settlement process or inaccurate settlement, and in some embodiments, the charging pile further comprises a payment device, the controller further comprises a first updating unit and a second updating unit, the first updating unit is used for updating the state of the payment device to be in an unavailable state before the bill information and the settlement cost are sent to the settlement terminal, wherein the payment device prohibits card swiping or code scanning in the case that the state of the payment device is in the unavailable state; the second updating unit is configured to update a status of the payment device to an available status after the settlement expense and the billing information are sent to the banking background system, where the payment device allows a card to be swiped or a code to be scanned when the status of the payment device is the available status.
In the scheme, before bill information and settlement fees are sent to a settlement terminal for settlement, the state of the payment equipment is updated to be in an unavailable state, so that if a user does not have a way to swipe a card or sweep a code when charging is finished, a new order cannot be generated, the settlement process is preferentially processed, the state of the payment equipment is updated to be in an available state only after the back-end system of a bank is finished, the user can continue to use the charging pile for charging, the settlement process can be preferentially processed, and the phenomenon that the amount of a user account appears and deviation of the settlement process is avoided due to synchronous process of settlement and new bills is avoided.
The embodiment of the application also provides a settlement terminal of the charging pile, and it should be noted that the settlement terminal of the charging pile of the application embodiment can be used for executing another charge settlement method for the charging pile provided by the application embodiment. The device is used for realizing the above embodiments and preferred embodiments, and is not described in detail. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
The following describes a settlement terminal of a charging pile provided in the embodiment of the present application, where the charging pile further includes a controller, the controller communicates with the settlement terminal, and the settlement terminal communicates with a bank background system.
Fig. 9 is a block diagram of a settlement terminal of a charging pile according to an embodiment of the present application. As shown in fig. 9, the settlement terminal includes:
a second receiving unit 1000, configured to receive billing information and settlement fees sent by the controller, where the billing information includes at least one of the following: bill number, user identification, charging cost and currency type, wherein the settlement cost is generated by settling the electric charge used in the charging process after the charging is finished;
a second transmitting unit 2000 for transmitting the bill information and the settlement fee to the bank background system for settlement;
a third receiving unit 3000, configured to receive a settlement result and a result code, which are sent after the settlement of the banking background system is completed, where the settlement result and the result code are in one-to-one correspondence, the settlement result is a result of whether the settlement is successful, and the result code is used to uniquely identify the settlement result;
And a third transmitting unit 4000 for transmitting the settlement result and the result code to the controller.
Through the embodiment, under the condition that the charging pile is abnormal, the settlement terminal can receive the bill information and the settlement expense sent by the controller, and sends the bill information and the settlement expense to the bank background system to request settlement, and then the settlement result can be sent to the controller.
The controller of the charging pile comprises a processor and a memory, wherein the acquisition unit, the first transmitting unit, the first receiving unit and the like are all stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions. The modules are all located in the same processor; alternatively, the above modules may be located in different processors in any combination.
The processor includes a kernel, and the kernel fetches the corresponding program unit from the memory. The kernel can be provided with one or more than one kernel, and the problem that the cost cannot be settled when the charging pile is abnormal in the prior art is solved by adjusting kernel parameters.
The memory may include volatile memory, random Access Memory (RAM), and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM), among other forms in computer readable media, the memory including at least one memory chip.
The embodiment of the invention provides a computer readable storage medium, which comprises a stored program, wherein the program is controlled to control equipment where the computer readable storage medium is located to execute the charge pile charge settlement method.
The embodiment of the invention provides a processor, which is used for running a program, wherein the program runs to execute the charge pile cost settlement method.
The embodiment of the invention provides equipment, which comprises a processor, a memory and a program stored in the memory and capable of running on the processor, wherein the processor executes the charge pile charge settlement method.
The device herein may be a server, PC, PAD, cell phone, etc.
The present application also provides a computer program product adapted to perform a charge settlement method initialized with at least the above-mentioned charging stake when executed on a data processing device.
The utility model also provides a fill electric pile system, this system include fill electric pile and server, above-mentioned fill electric pile and above-mentioned server communication, including controller, settlement terminal and T-BOX in the above-mentioned fill electric pile, above-mentioned controller is used for carrying out the expense settlement method of arbitrary above-mentioned fill electric pile, and above-mentioned settlement terminal is used for carrying out the expense settlement method of above-mentioned fill electric pile.
In the system, due to the fact that the method comprises any one of the above methods, the controller can store the bill and bill information and can store the bill and bill information into the T-BOX, and the controller can acquire the bill from the T-BOX to settle accounts under the condition that the charging pile is abnormal.
It will be appreciated by those skilled in the art that the modules or steps of the invention described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may be implemented in program code executable by computing devices, so that they may be stored in a storage device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than that shown or described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
It will be appreciated by those skilled in the art that 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 flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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 processor, 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.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, etc., such as Read Only Memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises an element.
From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:
1) According to the charge pile cost settlement method, the controller can store the bill and bill information and can store the bill information into the T-BOX, the controller can acquire the bill from the T-BOX to settle accounts under the condition that the charge pile is abnormal, and the settlement process under the condition that the charge pile is abnormal is designed according to the scheme, so that the problem that the cost cannot be settled when the charge pile is abnormal is solved.
2) According to the charge pile cost settlement method, under the condition that the charge pile is abnormal, the settlement terminal can receive the bill information and the settlement cost sent by the controller, and sends the bill information and the settlement cost to the bank background system to request settlement, and then the settlement result can be sent to the controller.
3) The controller of the charging pile can store the bill and bill information, can store the bill and bill information into the T-BOX, and can acquire the bill from the T-BOX to settle accounts under the condition that the charging pile is abnormal.
4) According to the charging pile system, due to the fact that the charging pile system comprises any one of the method, the controller can store the bill and bill information and can store the bill and bill information into the T-BOX, the controller can obtain the bill from the T-BOX to settle accounts under the condition that the charging pile is abnormal, and the settlement process under the condition that the charging pile is abnormal is designed, so that the problem that the cost cannot be settled under the condition that the charging pile is abnormal is solved.
The foregoing description is only of the preferred embodiments of the present application and is not intended to limit the same, but rather, various modifications and variations may be made by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.

Claims (10)

1. A method for settling charge of a charging pile, the method being applied to a controller of the charging pile, the charging pile being in communication with a bank backend system, the charging pile further comprising a settlement terminal and a T-BOX, the controller being in communication with the settlement terminal and the T-BOX, respectively, the method comprising:
the controller obtains a bill from the T-BOX and calculates a settlement fee in the event that the charging pile is abnormal, wherein the bill includes bill information including at least one of: bill number, user identification, charging cost and currency type, wherein the settlement cost is generated by settling the electric charge used in the charging process after the charging is finished;
The controller sends the bill information and the settlement expense to the settlement terminal so that the settlement terminal sends the bill information and the settlement expense to the bank background system for settlement, and the settlement terminal receives a settlement result and a result code sent after the settlement of the bank background system is completed, wherein the settlement result and the result code are in one-to-one correspondence, the settlement result refers to a result of whether the settlement is successful or not, and the result code is used for uniquely identifying the settlement result;
and the controller receives the settlement result and the result code sent by the settlement terminal.
2. The method of claim 1, wherein the charging stake further comprises a dc power meter, the controller in communication with the dc power meter, the dc power meter configured to record power during charging, the method further comprising, prior to the controller obtaining a bill from the T-BOX and calculating a settlement charge in the event of an anomaly in the charging stake:
the controller determines whether the charging pile starts an overcharge process, wherein the charge process is a process of discharging the vehicle by the charging pile;
The controller determines settlement failure under the condition that the charging pile does not start the charging flow;
the controller obtains charging data from the direct current electric meter and sends the charging data to the T-BOX under the condition that the charging pile is started and the charging flow is finished, so that the T-BOX generates the bill, wherein the charging data comprises first electric quantity and second electric quantity, the first electric quantity is the electric quantity recorded by the direct current electric meter at the charging starting time, and the second electric quantity is the electric quantity recorded by the direct current electric meter at the charging ending time.
3. The method according to claim 1, wherein, in the case where the controller is abnormal in the charging pile, before acquiring a bill from the T-BOX and calculating a settlement fee, the method further comprises:
the controller determines whether the charging pile meets a first preset condition, wherein the first preset condition comprises at least one of the following: the charging pile is abnormal, the charging pile is faulty, a door of the charging pile is in an open state, the charging pile is restarted, and the last settlement process of the charging pile fails;
and the controller determines that the charging pile is abnormal under the condition that the charging pile accords with the first preset condition.
4. The method according to claim 1, wherein after the controller obtains a bill from the T-BOX and calculates a settlement fee in the case where the charging pile is abnormal, the method further comprises:
the controller determining the number of the bills stored by the T-BOX;
the controller determines that the bill is not settled in the T-BOX under the condition that the number of the bill is 0, and sends a reconciliation instruction to the settlement terminal so that the settlement terminal reconciles historical bills based on the reconciliation instruction;
the controller determines that the settlement terminal is checked out under the condition that the check-out reply information sent by the settlement terminal is received, wherein the check-out reply information is generated after the settlement terminal is checked out;
the controller determines that the bill is not settled in the T-BOX if the number of the bill is not 0, and sends the bill information of the bill to the settlement terminal.
5. The method according to claim 1, wherein after the controller receives the settlement result and the result code transmitted by the settlement terminal, the method further comprises:
The controller determines whether the settlement fee meets a second preset condition, wherein the second preset condition comprises at least one of the following: the settlement expense is greater than the pre-deduction expense, and the settlement expense is less than 0;
the controller sends the settlement expense and the bill information to the bank background system under the condition that the result code representation is successful and the settlement expense does not meet the second preset condition, so that the bank background system updates the account amount of the user account based on the bill information and the settlement expense;
and the controller determines that the settlement of the settlement terminal fails and determines the failure reason under the condition that the representation of the result code fails.
6. The method according to claim 5, wherein the controller determines that the settlement terminal fails to settle if the result code representation fails, and determines a failure cause, comprising:
the controller determines whether communication with the settlement terminal is abnormal;
the controller determines that the failure cause is abnormal in the charging pile system under the condition of abnormal communication with the settlement terminal, and terminates the settlement process, stores the bill as an abnormal bill to the T-BOX, and sends an idle instruction to the settlement terminal so that the settlement terminal terminates settlement based on the idle instruction;
And under the condition that communication with the settlement terminal is not abnormal, the controller determines that the failure source is abnormal bill, and sends a deleting instruction to the T-BOX so that the T-BOX deletes the abnormal bill based on the deleting instruction.
7. The method of claim 5, wherein the charging stake further comprises a payment device, the method further comprising:
the controller updates the state of the payment device to an unavailable state before sending the bill information and the settlement expense to the settlement terminal, wherein the payment device prohibits card swiping or code scanning under the condition that the state of the payment device is the unavailable state;
the controller updates the state of the payment device to an available state after the settlement fees and the bill information are sent to the bank background system, wherein the payment device allows card swiping or code scanning in the case that the state of the payment device is the available state.
8. A method for settling charge of a charge stake, the method being applied to a settlement terminal of a charge stake, the charge stake further comprising a controller, the controller in communication with the settlement terminal, the settlement terminal in communication with a banking backend system, the method comprising:
The settlement terminal receives the bill information and the settlement fees sent by the controller, wherein the bill information comprises at least one of the following components: bill number, user identification, charging cost and currency type, wherein the settlement cost is generated by settling the electric charge used in the charging process after the charging is finished;
the settlement terminal sends the bill information and the settlement expense to the bank background system for settlement;
the settlement terminal receives a settlement result and a result code which are sent after the settlement of the bank background system is completed, wherein the settlement result corresponds to the result code one by one, the settlement result is a result of whether the settlement is successful or not, and the result code is used for uniquely marking the settlement result;
and the settlement terminal sends the settlement result and the result code to the controller.
9. A controller of a charging stake, wherein the charging stake communicates with a bank background system, the charging stake further comprises a settlement terminal and a T-BOX, the controller communicates with the settlement terminal and the T-BOX respectively, the controller comprises:
an acquisition unit configured to acquire a bill from the T-BOX and calculate a settlement fee in the event that the charging pile is abnormal, wherein the bill includes bill information including at least one of: bill number, user identification, charging cost and currency type, wherein the settlement cost is generated by settling the electric charge used in the charging process after the charging is finished;
The first sending unit is used for sending the bill information and the settlement expense to the settlement terminal so that the settlement terminal sends the bill information and the settlement expense to the bank background system for settlement, and the settlement terminal receives a settlement result and a result code sent after the settlement of the bank background system is completed, wherein the settlement result corresponds to the result code one by one, the settlement result is a result of whether the settlement is successful or not, and the result code is used for uniquely identifying the settlement result;
and the first receiving unit is used for receiving the settlement result and the result code sent by the settlement terminal.
10. A charging pile system, comprising: a charging pile and a server, the charging pile and the server are in communication, the charging pile comprises a controller, a settlement terminal and a T-BOX, the controller is used for executing the charge pile charge settlement method according to any one of claims 1 to 7, and the settlement terminal is used for executing the charge pile charge settlement method according to claim 8.
CN202310179880.2A 2023-02-28 2023-02-28 Charging pile cost settlement method, charging pile controller and charging pile system Withdrawn CN116152991A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310179880.2A CN116152991A (en) 2023-02-28 2023-02-28 Charging pile cost settlement method, charging pile controller and charging pile system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310179880.2A CN116152991A (en) 2023-02-28 2023-02-28 Charging pile cost settlement method, charging pile controller and charging pile system

Publications (1)

Publication Number Publication Date
CN116152991A true CN116152991A (en) 2023-05-23

Family

ID=86354251

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310179880.2A Withdrawn CN116152991A (en) 2023-02-28 2023-02-28 Charging pile cost settlement method, charging pile controller and charging pile system

Country Status (1)

Country Link
CN (1) CN116152991A (en)

Similar Documents

Publication Publication Date Title
US20100161479A1 (en) Systems and methods for prepaid electric metering for vehicles
CN110782588B (en) Information prompting method, server and readable storage medium
CN110774930B (en) New energy vehicle charging management method and system
CN111582856A (en) Processing method and processing system for power swapping cost of cloud and power swapping station
CN112215701B (en) Method and device for flexibly managing funds among multiple accounts
CN107351713A (en) The control method and device of charging pile
CN108520563A (en) Stop fee payment method, server and storage medium
CN106096954B (en) Non-networking data processing device, non-networking data interaction system and method
CN103903128A (en) Online charging public telephone system and method
CN109816371A (en) Fee payment method, device, equipment and storage medium are filled based on VIN code generation
CN116152991A (en) Charging pile cost settlement method, charging pile controller and charging pile system
CN110197368A (en) A kind of cloud resource processing method, device and storage medium
CN117162844A (en) Non-inductive charging payment method, device, equipment and storage medium for vehicle
CN111311124A (en) Charging service method, charging service device, storage medium and server
TWI790733B (en) Charging method, gateway device, charging service device, platform, system and medium
CN114987234A (en) Control method, control device and control system for remote charging of charging pile
KR101262987B1 (en) Smart distribution control unit for remote meter and reading method using the same
CN114066469A (en) Order combination method, equipment and medium
CN115099801A (en) Payment information processing method and device based on public cloud
CN113470196B (en) Parking information processing method, storage medium and electronic device
CN112309049A (en) Energy supplementing control method, device, medium and system of energy supplementing facility
CN108229942B (en) Recharging method, device and system for electronic wallet
CN116664121A (en) Mobile payment processing method for charging pile
CN116778638B (en) Charging pile charging method, charging pile charging device, charging pile charging equipment, storage medium and charging pile system
CN116934316A (en) Charging service system for real-time accounting and real-time accounting method for charging bill

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20230523

WW01 Invention patent application withdrawn after publication