The control method and device of charging pile
Technical field
The present invention relates to the technical field of charging pile, more particularly, to a kind of control method and device of charging pile.
Background technology
Under the serious overall background of global energy crisis and environmental crisis, electric automobile is as a kind of green of energy-conserving and environment-protective
The vehicles, obtain the Chinese government and actively pushed forward and develop, fill/electrical changing station matches somebody with somebody as important necessary to Development of EV
Infrastructure is covered, there is very important Social benefit and economic benefit.
The disbursement and sattlement mode that current major chargin level director just has has two kinds:Post-paid and pre-payment.Above-mentioned clearing side
The problem of formula can not all evade in the presence of one, i.e. subscriber arrearage problem.Although prepaid billing mode can preferably solve the problem,
It is to still suffer from because the problem of negative value occurs in user account caused by overshoot.Prior art is entered by information exchange platform and electric stake
The communication strategy of row Fixed Time Interval, information exchange platform timing to user account remaining sum or preliminary filling remaining sum with active user
Charging amount compares, and when comparing remaining sum and being less than or equal to amount, reports that Sorry, your ticket has not enough value and stops charging, this plan
It is negative that can slightly cause user account overshoot condition i.e. user account remaining sum to be present, and producing bad credit may.
The content of the invention
In view of this, it is existing to alleviate it is an object of the invention to provide a kind of control method and device of charging pile
Charging pile charging mode in still suffer from because there is the technical problem of negative value in user account caused by overshoot.
In a first aspect, the embodiments of the invention provide a kind of control method of charging pile, including:Obtain current time charging
The charging remaining sum of equipment;In the case where the charging remaining sum is more than preset cost, controlled by charging platform to the charging
The charging process that equipment is charged;In the case where the charging remaining sum is less than or equal to the preset cost, by filling
The charging process that electric stake control is charged to the charging equipment.
Further, the charging process to be charged by charging pile control to the charging equipment includes:From target when
At quarter, the charge capacity of the charging equipment is monitored in real time, the object time receives for the charging pile to be filled to described
At the time of the charging process of electric equipment is controlled;By the charge capacity compared with default electricity, wherein, it is described default
The charge volume that electricity can be bought for the charging remaining sum of the charging equipment;The charge capacity is being compared more than described pre-
If in the case of electricity, stop charging to the charging equipment.
Further, methods described also includes:It is less than or equal to the default electricity comparing the charge capacity
In the case of, the charging operations of charging equipment described in the charging pile active control.
Further, after stopping charging to the charging equipment, methods described also includes:To the chargin level
Platform reports order data, wherein, the order data includes:Since the object time, the charging of the charging equipment
Time, charge capacity and the charging amount of money.
Further, the charging process to be charged by charging platform control to the charging equipment includes:It is described to fill
Level platform sends control instruction to the charging pile, so that the charging pile enters according to the control instruction to the charging equipment
Row charging operations.
Further, obtaining the charging remaining sum of current time charging equipment includes:Obtain charging equipment described in current time
The charging amount of money;Obtain the account balance of the affiliated account of the charging equipment;Based on the account balance and described charge
The amount of money calculates the charging remaining sum.
Second aspect, the embodiment of the present invention also provide a kind of control device of charging pile, including:Acquiring unit, for obtaining
Take the charging remaining sum of current time charging equipment;First control unit, for being more than the feelings of preset cost in the charging remaining sum
Under condition, the charging process to be charged to the charging equipment is controlled by charging platform;Second control unit, for described
In the case that the remaining sum that charges is less than or equal to the preset cost, the charging equipment is charged by charging pile control
Charging process.
Further, second control unit is used for:Since object time, filling for the charging equipment is monitored in real time
Power consumption, the object time are that the charging pile is received at the time of be controlled to the charging process of the charging equipment;
By the charge capacity compared with default electricity, wherein, the default electricity for the charging equipment charging remaining sum institute
The charge volume that can be bought;The charge capacity is being compared more than in the case of the default electricity, is being stopped to the charging
Equipment is charged.
Further, second control unit is used for:The charge capacity is being compared less than or equal to described pre-
If in the case of electricity, the charging operations of charging equipment described in the charging pile active control.
Further, described device also includes:Reporting unit, for controlling the charging pile in second control unit
After stopping is charged to the charging equipment, order data is reported to the charging platform, wherein, in the order data
Including:Since the object time, the charging interval of the charging equipment, charge capacity and charging the amount of money.
In embodiments of the present invention, the charging remaining sum of current time charging equipment is obtained first;Then, it is big in charging remaining sum
In the case of preset cost, the process to be charged to charging equipment is controlled by charging platform;Charging remaining sum be less than or
In the case that person is equal to preset cost, the charging process to be charged to charging equipment is controlled by charging pile.Of the invention real
Apply in example, when the remaining sum that charges is less than certain amount of money, corresponding charging strategy is issued to charging pile, to be filled by charging pile control
The expense of electricity, and charging dwell time is controlled, reduce account and produce the probability of negative, and then alleviate existing charging pile charging
Still suffered from mode because there is the technical problem of negative value in user account caused by overshoot, it is achieved thereby that being born in account
Before value, stop the technique effect being charged to charging equipment in time.
Other features and advantages of the present invention will illustrate in the following description, also, partly become from specification
Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages are in specification, claims
And specifically noted structure is realized and obtained in accompanying drawing.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate
Appended accompanying drawing, is described in detail below.
Brief description of the drawings
, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical scheme of the prior art
The required accompanying drawing used is briefly described in embodiment or description of the prior art, it should be apparent that, in describing below
Accompanying drawing is some embodiments of the present invention, for those of ordinary skill in the art, before creative work is not paid
Put, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of flow chart of the control method of charging pile according to embodiments of the present invention;
Fig. 2 is a kind of flow chart of the control method of alternatively charging pile according to embodiments of the present invention;
Fig. 3 is a kind of schematic diagram of the control device of charging pile according to embodiments of the present invention;
Fig. 4 is a kind of schematic diagram of the control device of alternatively charging pile according to embodiments of the present invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with accompanying drawing to the present invention
Technical scheme be clearly and completely described, it is clear that described embodiment is part of the embodiment of the present invention, rather than
Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creative work premise
Lower obtained every other embodiment, belongs to the scope of protection of the invention.
Embodiment one:
According to embodiments of the present invention, there is provided a kind of embodiment of the control method of charging pile is, it is necessary to illustrate, attached
The step of flow of figure illustrates can perform in the computer system of such as one group computer executable instructions, though also,
So logical order is shown in flow charts, but in some cases, can be with different from shown by order execution herein
Or the step of description.
Fig. 1 is a kind of flow chart of the control method of charging pile according to embodiments of the present invention, as shown in figure 1, this method
Comprise the following steps:
Step S102, obtain the charging remaining sum of current time charging equipment;
In embodiments of the present invention, charging equipment can be electric bicycle, can also be electric automobile;Charging remaining sum be
Remaining sum of the charging equipment in charging process in the account of its owning user, that is to say, that charging remaining sum is dynamic change,
Charging remaining sum changes with the change of charge capacity.
Step S104, in the case where charging remaining sum is more than preset cost, charging equipment is entered by charging platform control
The charging process of row charging;
Step S106, in the case where charging remaining sum is less than or equal to preset cost, by charging pile control to charging
The charging process that equipment is charged.
The charging accounting of electric automobile uses real time billing mode at present, due under Internet of Things pattern, charging pile and charging
Interaction existence time between platform is poor.All it is to have charging platform to control the calculating of expense and deduction under common situations, by
In the presence of the time difference, the result for the failure that occurs deducting fees is may result in, this will bring the damage in expense to charging pile company
Lose, or cause user account to be deducted fees for negative value, reduction users' satisfaction degree.Because charging equipment is in charging process,
It is that the data such as electricity, electric current, voltage are obtained by charging pile, and charging pile can realize storage and calculate order electricity,
Expense and metering data, therefore, can be in chargin level you according to alternating current-direct current charging equipment, and the statistical for overshooting electricity separates out one
Reasonable electricity (that is, the charge volume corresponding to above-mentioned preset cost), when the chargeable amount of remaining cost (that is, above-mentioned charging remaining sum institute
Corresponding charge volume) when being less than or equal to the reasonable electricity, charging control transfers to charging pile processing to complete.
It should be noted that the process described by above-mentioned steps S102 to step S106 can be arranged on chargin level you.
In embodiments of the present invention, the charging remaining sum of current time charging equipment is obtained first;Then, it is big in charging remaining sum
In the case of preset cost, the process to be charged to charging equipment is controlled by charging platform;Charging remaining sum be less than or
In the case that person is equal to preset cost, the charging process to be charged to charging equipment is controlled by charging pile.Of the invention real
Apply in example, when the remaining sum that charges is less than certain amount of money, corresponding charging strategy is issued to charging pile, to be filled by charging pile control
The expense of electricity, and charging dwell time is controlled, reduce account and produce the probability of negative, and then alleviate existing charging pile charging
Still suffered from mode because there is the technical problem of negative value in user account caused by overshoot, it is achieved thereby that being born in account
Before value, stop the technique effect being charged to charging equipment in time.
When user is charged by charging pile to charging equipment, by the real-time charging for obtaining current time charging equipment
Remaining sum, in an optional embodiment, the charging remaining sum for obtaining current time charging equipment comprises the following steps:
Step S1021, obtain the charging amount of money of current time charging equipment;
Step S1022, obtain the account balance of the affiliated account of charging equipment;
Step S1023, charging remaining sum is calculated based on account balance and the amount of money that charged.
Specifically, charging platform will obtain the charge capacity of charging equipment in real time, and then, charge capacity is converted into
Charged the amount of money;Next, account balance in the account of acquisition charging equipment owning user, wherein, account remaining sum is charging
Remaining sum of the equipment when starting charging operations in account;Finally, by calculating account balance between the amount of money that charged
Difference can just calculate charging remaining sum.
After charging remaining sum is calculated, it is possible to by charging remaining sum compared with preset cost, wherein, preset cost
For the rationally default remaining sum gone out beforehand through big data analysis and measurement.
In embodiments of the present invention, using the data before model modification as prototype, and the model of charging equipment, work(are obtained
Rate, electricity is overshooted, overshoot the related data such as duration and overshoot expense, and then by the way that the data are polymerize and be grouped etc. with computing
Obtain the optimal preset cost of respective model equipment.
If comparing charging remaining sum is less than or equal to preset cost, can be controlled by charging pile to charging equipment
The charging process to be charged.
In one embodiment, above-mentioned steps S106, i.e. filled by what charging pile control was charged to charging equipment
Electric process comprises the following steps:
Step S1061, since object time, the charge capacity of charging equipment is monitored in real time, object time is charging pile
Receive at the time of be controlled to the charging process of charging equipment;
Step S1062, by charge capacity compared with default electricity, wherein, preset the charging that electricity is charging equipment
The charge volume that remaining sum can be bought;
Step S1063, in the case where comparing charge capacity and being more than default electricity, stop filling charging equipment
Electricity.
If charging remaining sum is more than zero but is less than or equal to preset cost, by charging pile end control charging equipment charging
Process, now, charging pile still are able to carry out interacting for normal information with charging platform, and are controlled by charging pile and initiate charging stopping
Action.
Specifically, charging pile is after the instruction of charging platform transmission is received, it becomes possible to is controlled and charged based on the instruction
The charging process of equipment, now, charging pile will monitor the charge capacity of charging equipment in real time.Wherein, charging pile mainly passes through prison
The charge parameter such as electric current and voltage is surveyed to realize the monitoring to charge capacity.Now, charging pile is electric by the charging real-time monitored
Amount is compared with default electricity, if compare charge capacity presets electricity more than (that is, exceeding), charging pile stops in time
Only to the charging operations of charging equipment.If charging pile, which real-time monitors charge capacity, is less than or equal to (that is, not less than)
Default electricity, the charging operations of charging pile active control charging equipment, without sending corresponding information to charging platform.Pass through
The operation, the interaction time between charging pile and charging platform is saved, so as to stop accurately and in time charging equipment
Charging operations, prevent the account balance of user from negative value occur.
In embodiments of the present invention, charging pile, can also be to charging platform after stopping charging to charging equipment
Order data is reported, wherein, order data includes:Since object time, the charging interval of charging equipment, charge capacity and
Charge remaining sum.Situation about can not be reported offline in the event of charging pile, off-line indent data can be stored by charging pile, wait to reach the standard grade it
After fill report the part order data.
In an optional embodiment, above-mentioned steps S104, i.e. filled by charging platform control to charging equipment
The charging process of electricity comprises the following steps:
Charging platform sends control instruction to charging pile, so that charging pile charges according to control instruction to charging equipment
Operation.
In the case, the charging process of charging equipment is controlled by charging platform, now, between charging platform and charging pile
Normal information exchange and disbursement and sattlement can be carried out.
To sum up, in the present invention, electricity is overshooted under phase induced current and voltage to direct current and alternating-current charging pile by increase
Analysis, gets optimal least cost value (that is, above-mentioned preset cost), will when the remaining sum that charges is less than optimal least cost value
Corresponding strategy is issued to charging pile end, and the charging expense of charging equipment is controlled by charging pile end, and controls the charging of charging equipment
Dwell time, to reduce the probability that account produces negative.
The to sum up control method for the charging pile that each embodiment provides, for intuitivism apprehension said process, with filling shown in Fig. 2
Illustrated exemplified by the schematic diagram of the control method of electric stake.
In the embodiment of the present invention, first using prepaid billing mode, judge user's current account charging remaining sum whether
More than preset cost, when more than preset cost, using the Active Control Mode of charging platform, it is according to charging by charging platform
It is no complete (for example, user stop, it is vehicle-mounted full of etc.) etc. state carry out complete charge, when in charging process charge remaining sum (that is, user
Difference between account and the amount that charged) when being less than or equal to preset cost, then using the active control of charging pile
Pattern, charging is controlled whether to stop in real time according to charge capacity and charging remaining sum by charging pile, after whole charging flow is completed,
The final order data of charging platform is reported by charging pile.
As shown in Fig. 2 the charging expense charging flow following steps:
Start charging operations of the charging pile to charging equipment;Start charging when, judge user account charging remaining sum whether
More than zero, wherein, if greater than zero and it is more than preset cost, then charging process, charging platform and charging is controlled by charging platform
Stake between can carry out normal information exchange and disbursement and sattlement, if greater than zero but be less than or equal to preset cost, then by
Charging pile end controls the charging process of charging equipment, and charging pile still provides for normal information with charging platform and interacted, now by charging
Charging stopping action being initiated in stake.
In the charging process of terminal device is controlled by charging pile, charging platform notice charging pile starts charging, now, fills
Electric stake will start comparision of quantity of electricity strategy, i.e., by charge capacity with default electricity compared with, wherein, charge capacity for charging pile from
Charge capacity at the time of be controlled to the charging process of charging equipment, real-time monitored is received, default electricity is
The charge volume that the charging remaining sum of charging equipment can be bought.If it is judged that charge capacity is less than or equal to default electricity,
That is, if it is judged that current charge capacity then notifies charging pile to continue as charging equipment charging, directly also not less than default electricity
When being more than default electricity to charge capacity, complete charge process.After completing charging, charging pile can not will not report order data to mend
Fill report with.The situation that electric stake can not report offline such as occurs, off-line data can be stored by electric stake, wait to fill after reaching the standard grade and report the portion
Divided data.Specific implementation process as above, repeats no more here.
Embodiment two:
The embodiment of the present invention additionally provides a kind of control device of charging pile, and the control device of the charging pile is mainly used in holding
The control method for the charging pile that row the above of the embodiment of the present invention is provided, below to charging pile provided in an embodiment of the present invention
Control device do specific introduction.
Fig. 3 is a kind of schematic diagram of the control device of charging pile according to embodiments of the present invention, as shown in figure 3, the charging
The control device of stake mainly includes:Acquiring unit 31, the first control unit 32 and the second control unit 33, wherein:
Acquiring unit 31, for obtaining the charging remaining sum of current time charging equipment;
First control unit 32, in the case of being more than preset cost in charging remaining sum, pass through charging platform control pair
The charging process that charging equipment is charged;
Second control unit 33, in the case of being less than or equal to preset cost in charging remaining sum, pass through charging pile
Control the charging process to be charged to charging equipment.
In embodiments of the present invention, the charging remaining sum of current time charging equipment is obtained first;Then, it is big in charging remaining sum
In the case of preset cost, the process to be charged to charging equipment is controlled by charging platform;Charging remaining sum be less than or
In the case that person is equal to preset cost, the charging process to be charged to charging equipment is controlled by charging pile.Of the invention real
Apply in example, when the remaining sum that charges is less than certain amount of money, corresponding charging strategy is issued to charging pile, to be filled by charging pile control
The expense of electricity, and charging dwell time is controlled, reduce account and produce the probability of negative, and then alleviate existing charging pile charging
Still suffered from mode because there is the technical problem of negative value in user account caused by overshoot, it is achieved thereby that being born in account
Before value, stop the technique effect being charged to charging equipment in time.
Alternatively, the second control unit is used for:Since object time, the charge capacity of charging equipment, mesh are monitored in real time
Timestamp carve for charging pile receive the charging process of charging equipment is controlled at the time of;Charge capacity and default electricity are entered
Row compares, wherein, the charge volume that default electricity can be bought for the charging remaining sum of charging equipment;It is big comparing charge capacity
In the case of default electricity, stop charging to charging equipment.
Alternatively, the second control unit is used for:In the case where comparing charge capacity and being less than or equal to default electricity,
The charging operations of charging pile active control charging equipment.
Alternatively, as shown in figure 4, the device also includes:Reporting unit 41, for controlling charging pile in the second control unit
After stopping is charged to charging equipment, order data is reported to charging platform, wherein, order data includes:From target
Moment, the charging interval of charging equipment, charge capacity and charging remaining sum.
Alternatively, the second control unit is used for:Charging platform sends control instruction to charging pile, so that charging pile is according to control
System instruction carries out charging operations to charging equipment.
Alternatively, acquiring unit is used for:Obtain the charging remaining sum of current time charging equipment;Obtain belonging to charging equipment
The account balance of account;Charging remaining sum is calculated based on account balance and the remaining sum that charged.
In addition, in the description of the embodiment of the present invention, unless otherwise clearly defined and limited, term " installation ", " phase
Even ", " connection " should be interpreted broadly, for example, it may be being fixedly connected or being detachably connected, or be integrally connected;Can
To be mechanical connection or electrical connection;Can be joined directly together, can also be indirectly connected by intermediary, Ke Yishi
The connection of two element internals.For the ordinary skill in the art, with concrete condition above-mentioned term can be understood at this
Concrete meaning in invention.
In the description of the invention, it is necessary to explanation, term " " center ", " on ", " under ", "left", "right", " vertical ",
The orientation or position relationship of the instruction such as " level ", " interior ", " outer " be based on orientation shown in the drawings or position relationship, merely to
Be easy to the description present invention and simplify description, rather than instruction or imply signified device or element must have specific orientation,
With specific azimuth configuration and operation, therefore it is not considered as limiting the invention.In addition, term " first ", " second ",
" the 3rd " is only used for describing purpose, and it is not intended that instruction or hint relative importance.
A kind of computer program product of the control method and device for charging pile that the embodiment of the present invention is provided, including deposit
The computer-readable recording medium of the executable non-volatile program code of processor, the instruction that described program code includes are stored up
Available for the method performed described in previous methods embodiment, specific implementation can be found in embodiment of the method, will not be repeated here.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, can be with
Realize by another way.Device embodiment described above is only schematical, for example, the division of the unit,
Only a kind of division of logic function, can there is other dividing mode when actually realizing, in another example, multiple units or component can
To combine or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or beg for
The mutual coupling of opinion or direct-coupling or communication connection can be by some communication interfaces, device or unit it is indirect
Coupling or communication connection, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can be with
It is stored in the executable non-volatile computer read/write memory medium of a processor.Based on such understanding, the present invention
The part that is substantially contributed in other words to prior art of technical scheme or the part of the technical scheme can be with software
The form of product is embodied, and the computer software product is stored in a storage medium, including some instructions are causing
One computer equipment (can be personal computer, server, or network equipment etc.) performs each embodiment institute of the present invention
State all or part of step of method.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-
Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with
The medium of store program codes.
Finally it should be noted that:Embodiment described above, it is only the embodiment of the present invention, to illustrate the present invention
Technical scheme, rather than its limitations, protection scope of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair
It is bright to be described in detail, it will be understood by those within the art that:Any one skilled in the art
The invention discloses technical scope in, it can still modify to the technical scheme described in previous embodiment or can be light
Change is readily conceivable that, or equivalent substitution is carried out to which part technical characteristic;And these modifications, change or replacement, do not make
The essence of appropriate technical solution departs from the spirit and scope of technical scheme of the embodiment of the present invention, should all cover the protection in the present invention
Within the scope of.Therefore, protection scope of the present invention described should be defined by scope of the claims.