CN113352927B - Offline charging method, device, system and storage medium - Google Patents

Offline charging method, device, system and storage medium Download PDF

Info

Publication number
CN113352927B
CN113352927B CN202110616809.7A CN202110616809A CN113352927B CN 113352927 B CN113352927 B CN 113352927B CN 202110616809 A CN202110616809 A CN 202110616809A CN 113352927 B CN113352927 B CN 113352927B
Authority
CN
China
Prior art keywords
charging
moment
offline
pile
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.)
Active
Application number
CN202110616809.7A
Other languages
Chinese (zh)
Other versions
CN113352927A (en
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.)
Zhengzhou Ikeawell Software Technology Co ltd
Original Assignee
Zhengzhou Ikeawell Software 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 Zhengzhou Ikeawell Software Technology Co ltd filed Critical Zhengzhou Ikeawell Software Technology Co ltd
Priority to CN202110616809.7A priority Critical patent/CN113352927B/en
Publication of CN113352927A publication Critical patent/CN113352927A/en
Application granted granted Critical
Publication of CN113352927B publication Critical patent/CN113352927B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60LPROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
    • B60L53/00Methods of charging batteries, specially adapted for electric vehicles; Charging stations or on-board charging equipment therefor; Exchange of energy storage elements in electric vehicles
    • B60L53/60Monitoring or controlling charging stations
    • B60L53/66Data transfer between charging stations and vehicles
    • B60L53/665Methods related to measuring, billing or payment
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60LPROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
    • B60L53/00Methods of charging batteries, specially adapted for electric vehicles; Charging stations or on-board charging equipment therefor; Exchange of energy storage elements in electric vehicles
    • B60L53/30Constructional details of charging stations
    • B60L53/31Charging columns specially adapted for electric vehicles
    • 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
    • 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/7072Electromobility specific charging systems or methods for batteries, ultracapacitors, supercapacitors or double-layer capacitors
    • 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
    • Y02T90/00Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02T90/10Technologies relating to charging of electric vehicles
    • Y02T90/12Electric charging stations
    • 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
    • Y02T90/00Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02T90/10Technologies relating to charging of electric vehicles
    • Y02T90/16Information or communication technologies improving the operation of electric vehicles
    • 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
    • Y02T90/00Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02T90/10Technologies relating to charging of electric vehicles
    • Y02T90/16Information or communication technologies improving the operation of electric vehicles
    • Y02T90/167Systems integrating technologies related to power network operation and communication or information technologies for supporting the interoperability of electric or hybrid vehicles, i.e. smartgrids as interface for battery charging of electric vehicles [EV] or hybrid vehicles [HEV]
    • 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
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S30/00Systems supporting specific end-user applications in the sector of transportation
    • Y04S30/10Systems supporting the interoperability of electric or hybrid vehicles
    • Y04S30/12Remote or cooperative charging

Abstract

The charging pile periodically sends charging data to a charging server, the charging server determines whether the charging pile is in an offline state or an online state according to whether the charging pile receives the charging data sent by the charging pile or not in a set time, and if the offline time of the charging pile is greater than or equal to a time period T, the charging server determines that the charging pile is not charged in the offline time period, and the cost is zero; if the offline time of the charging pile is smaller than the time period T, the charging server confirms that the charging pile charges in the offline time period and charges normally. The charging server is only provided with an online charging mode and does not relate to an offline charging mode, so that the pressure of frequent mutual switching between the offline charging mode and the online charging mode does not exist, the calculation mode is simple, and the benefits of charging pile manufacturers and the benefits of users can be balanced.

Description

Offline charging method, device, system and storage medium
Technical Field
The application belongs to the technical field of electric vehicle charging, and particularly relates to an offline charging method, device, system and storage medium.
Background
With the increasing development of new energy electric vehicles, charging piles matched with new energy electric vehicles are also popularized gradually. In the charging process, the network between the charging pile and the platform fluctuates, and the charging pile cannot normally interact with the platform. If the charging pile is in the offline state for a long time, the electric vehicle may be in the charging state or may not be in the charging state in the period corresponding to the offline state, so that the charging cost of the offline period cannot be reasonably calculated.
In order to solve the problem that the charging pile is offline, in the prior art, a charging server calculates offline charging cost according to offline charging data, and obtains the online charging cost according to the online charging data. Specific: receiving online charging data of current charging equipment sent by a charging pile according to a preset period; monitoring the communication connection state of the charging server and the charging pile in real time; when the communication connection between the charging server and the charging pile is disconnected, starting a preset offline charging flow to calculate the charging cost of the current charging equipment, wherein the method comprises the following steps: when the charging server and the charging pile are in communication connection again, receiving offline charging data sent by the charging pile, wherein the offline charging data comprises charging data of the charging equipment in the time when the charging pile is disconnected with the charging server recorded by the charging pile; acquiring the electric loss of the charging server in the communication connection disconnection time of the charging pile; and calculating according to the online charging data, the offline charging data and the electric loss to obtain offline charging cost.
However, this charging method has the following drawbacks:
(1) The electric loss of the charging server in the communication connection disconnection time of the charging pile is difficult to obtain;
(2) Under the condition that network communication is quite unstable, namely the processes of offline, online, offline and online … … occur frequently, the system can continuously cut a cost calculation mode, the running load of the system is increased, and the phenomenon of abnormal charging occurs.
Disclosure of Invention
In view of the foregoing, the present application provides an offline charging method, device, system and storage medium.
In a first aspect, an embodiment of the present application provides an offline charging method, including the following steps:
if the charging server determines that the charging pile is in an offline state at the first moment, an offline mark for indicating that the charging pile is in the offline state at the first moment is recorded in a charging record table;
if the charging server determines that the charging pile is changed from the offline state to the online state at the second moment, judging whether the time difference between the second moment and the first moment is smaller than a time period T1 or not;
if the time difference between the second moment and the first moment is smaller than the time period T1, the charging server eliminates the offline mark recorded by the charging record table at the first moment;
if the time difference between the second time and the first time is greater than or equal to the time period T1, the charging server records a zero-charge mark used for indicating that the charging cost of the charging pile in the time period T1 is zero in the charging record table, generates an intermediate charging bill settled at the second time according to the charging record table, and generates a new charging record table starting at the second time.
In some embodiments, the method further comprises the steps of:
the charging pile sends charging data to the charging server at regular time;
if the charging server receives charging data sent by the charging pile in a set time, determining that the charging pile is in an on-line state;
if the charging server does not receive the charging data sent by the charging pile within the set time, determining that the charging pile is in an offline state.
In some embodiments, the charging record table is generated by a billing server when the charging stake initiates charging.
In some embodiments, the method further comprises the steps of:
the charging pile starts to charge from the starting moment;
the charging server generates a charging record table;
if the charging server determines that the charging pile is in an online state at the starting moment, the charging server generates a charging record table from the starting moment;
if the charging server determines that the charging pile is in an offline state at the starting moment and determines that the offline charging pile is in an online state at the third moment, the charging server generates a charging record table from the third moment.
In some embodiments, if the charging server determines that the charging pile is in the offline state at the first time, after recording an offline flag in the charging record table, the charging server further includes the following steps:
and the charging server sends the information that the charging pile is in an offline state to the client.
In some embodiments, the method further comprises the steps of:
the charging pile terminates charging at the termination moment;
the charging server generates a charging termination bill;
if the charging server determines that the charging pile is in an online state at the termination moment, the charging server generates a termination charging bill settled at the termination moment;
if the charging server determines that the charging pile is in an offline state at the termination moment, the charging server generates a termination charging bill settled at the offline marking moment.
In some embodiments, the termination time includes any one or more of: the time for payment, the time for balance and the longest charging time.
In some embodiments, the server sends a charging instruction to the mobile terminal according to the unique identifier of the charging pile, and the mobile terminal receives the charging instruction and sends the charging instruction to the charging pile through bluetooth communication.
In some embodiments, an offline charging device is provided, including:
the data receiving module is used for receiving charging time data sent by the charging pile;
the judging module is used for judging whether the charging pile is in an off-line state or an on-line state;
the timing module is used for setting a time period T1 and calculating the offline time length of the charging pile;
the charging module is used for generating a charging record table and a charging bill according to the charging record table, setting an offline mark when the charging pile is offline, and marking the offline time period as a zero-cost time period by the charging record table when the offline time of the charging pile is greater than or equal to the time period T1; and when the offline time length of the charging pile is smaller than the time period T1, the charging record table cancels the offline marking, and the offline time period is marked as a normal charging time period.
In some embodiments, an offline charging system is provided, including a charging pile and a charging server, where the charging server determines in real time whether the charging pile is online, and the charging server sets a time period T1, and when the offline time of the charging pile is greater than or equal to the time period T1, a charging record table generated by the charging server marks the offline time period as a zero-cost time period; and when the offline time length of the charging pile is smaller than the time period T1, the charging record table cancels the offline marking, and the offline time period is marked as a normal charging time period.
In some embodiments, a computer readable storage medium is provided, having stored thereon a computer program which, when executed by a processor, performs the steps of offline charging as described above.
According to the method provided by the application, charging piles send charging data to a charging server at regular time, the charging server determines whether the charging piles are in an offline state or an online state according to whether the charging piles receive the charging data sent by the charging piles or not in a set time, and if the charging server determines that the charging piles are in the offline state at the first time, an offline mark for indicating that the charging piles are in the offline state at the first time is recorded in a charging record table; the charging server determines that the charging pile is changed from an offline state to an online state at a second moment, and if the time difference between the second moment and the first moment is smaller than a time period T1, the charging server eliminates an offline mark recorded by a charging record table at the first moment and charges normally; if the time difference between the second time and the first time is greater than or equal to the time period T1, the charging server records a zero-charge mark used for indicating that the charging cost of the charging pile in the time period T1 is zero in the charging record table, generates an intermediate charging bill settled at the second time according to the charging record table, and generates a new charging record table starting at the second time.
If the offline time length of the charging pile is greater than or equal to the time period T, the charging server determines that the charging pile is not charged in the offline time period, and the cost is zero; if the offline time of the charging pile is smaller than the time period T, the charging server confirms that the charging pile charges in the offline time period and charges normally. The charging server is only provided with an online charging mode and does not relate to an offline charging mode, so that the pressure of frequent mutual switching between the offline charging mode and the online charging mode does not exist, the calculation mode is simple, and the benefits of charging pile manufacturers and the benefits of users can be balanced.
In order to make the above objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered limiting the scope, and that other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of an offline charging method according to an embodiment of the invention;
FIG. 2 is a flowchart of a charging server generating a charging record table according to an embodiment of the present invention;
FIG. 3 is a flow chart of a charging server generating a charging bill according to an embodiment of the invention;
fig. 4 is a block diagram of a charging device according to an embodiment of the invention.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, which are generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, as provided in the accompanying drawings, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, are intended to be within the scope of the present application.
In the prior art, when charging a new energy electric vehicle machine, a charging pile is in charging, because of the unstable network connection between a charging server and the charging pile, the charging pile is disconnected, and charging data cannot be sent to the charging server in real time, so that the charging server often sets two charging modes, namely an online charging mode and an offline charging mode, the charging server calculates offline charging cost according to the offline charging data, obtains the online charging cost according to the online charging data, and then obtains uniform cost. However, in the charging mode, under the condition that network communication is quite unstable, the charging pile is frequently offline and online, so that the charging server can continuously switch the charging mode, the system operation load is increased, and the phenomenon of charging disorder occurs. Therefore, the present application provides an offline charging method with simple charging, in an embodiment, as shown in fig. 1 of the specification, the method includes the following steps:
s1, if a charging server determines that a charging pile is in an offline state at a first moment, an offline mark for indicating that the charging pile is in the offline state at the first moment is recorded in a charging record table;
in an embodiment, when the charging pile charges the new energy electric vehicle, charging data is sent to the charging server in real time, if the charging server can receive the charging data sent by the charging pile, the charging pile is judged to be in an on-line state, and if the charging server does not receive the charging data sent by the charging pile at a certain moment, the charging pile is judged to be in an off-line state at the moment.
In another embodiment, in order to reduce energy consumption, when the charging pile charges the new energy electric vehicle, charging data is sent to the charging server at regular time, and the charging server determines whether the charging pile is in an on-line state or an off-line state according to whether the charging data sent by the charging pile is received at a set time. Specific: if the charging server receives charging data sent by the charging pile in a set time, determining that the charging pile is in an on-line state; if the charging server does not receive the charging data sent by the charging pile within the set time, determining that the charging pile is in an offline state.
For example, the charging stake sends charging data to the charging server at every 2 minutes interval, if the charging server is at 00:00 receives charging data sent by the charging pile, and the charging server judges that the charging pile is at 00:00 is on-line, if in the next 00:02 charging server does not receive the charging data sent by the charging pile, and the charging server judges that the charging pile is at 00:02 is offline, and if in the next 00: and 04, the charging server receives charging data sent by the charging pile, and the charging server judges that the charging pile is at 00:04 from offline state to online state. In other embodiments, the interval duration of sending the charging data to the charging server by the charging pile may be specifically set according to the actual situation, which is not limited and fixed herein.
In addition, when the charging pile is used for charging the new energy electric vehicle, the charging server generates a charging record table according to charging data sent by the charging pile, wherein the charging record table comprises parameters such as charging current, charging voltage, active power, reactive power and the like at any time in the charging process of the charging pile.
In this embodiment, if the charging server determines that the charging pile is in an offline state at a first time, the charging pile is added with an offline mark in the charging record table, and the offline mark is set at the first time of the charging record table and is used for indicating that the charging pile is in an offline state at the time. The charging mode of the charging server and the function of marking the offline mark are described in step S2.
S2, if the charging server determines that the charging pile is changed from the offline state to the online state at the second moment, judging whether the time difference between the second moment and the first moment is smaller than a time period T1;
s201, if the time difference between the second moment and the first moment is smaller than the time period T1, the charging server eliminates the offline mark recorded at the first moment by the charging record table;
s202, if the time difference between the second moment and the first moment is greater than or equal to a time period T1; the billing server records a zero charge flag indicating that the charge of the charging stake is zero for the period of time T1 in the charge record table and generates an intermediate charge bill to be settled at the second time from the charge record table and generates a new charge record table starting at the second time.
Specifically, in one embodiment, the charging server sets the time period T to 1 hour, and makes the charging server change from the online state to the offline state at 01:00, and the charging server sets the offline flag at 01:00 of the charging record table:
if the charging server is in the range of 01:00-02: the charging server receives the charging data sent by the charging pile in the interval of 00, and if the charging server receives the charging data sent by the charging pile in the interval of 01:20, the charging pile is judged to be changed into an on-line state from an off-line state, namely the off-line time of the charging pile is 20 minutes and is less than 1 hour, the charging server eliminates an off-line mark arranged at the interval of 01:00 in the charging record table, and the charging pile is considered to be normally charged in the off-line time interval of 01:00-01:20, namely charging is carried out according to an on-line charging mode;
if the charging server starts to receive charging data sent by the charging pile at 01:30, determining that the charging pile is changed from an offline state to an offline state, resetting an offline mark at 01:30 of the charging record table by the charging server, if the charging server receives charging data sent by the charging pile at 01:40, determining that the charging pile is changed from the offline state to the online state, that is, the offline time of the charging pile is 10 minutes and less than 1 hour, eliminating the offline mark set at 01:30 by the charging server, determining that the charging pile is normally charged in an offline time period of 01:30-01:40, that is, charging in an online charging mode in the time period of 01:00-01:40.
The charging pile always does not exceed one offline mark in the charging record table along with the addition and the cancellation of the offline marks in the process from the initial charging to the final charging.
If the charging server is in the range of 01:00-02: and if the charging data sent by the charging pile is not received between 00 and 02:30, the charging server starts to receive the charging data sent by the charging pile, and judges that the charging pile is switched from an offline state to an online state, namely that the offline time of the charging pile is 1 hour and 30 minutes and is longer than 1 hour, and the charging server adds a zero-cost mark at the charging record table 01:00-02:30, the charging server judges that the charging pile is not charged in the offline time period, and the cost is zero. The charging server generates a first intermediate charging bill settled at the time 02:30 from the charging schedule, and the charging schedule has zero charge marks between 01:00 and 02:30, and calculates only the online charging cost up to 01:00 without charging, and the charging server generates a new charging schedule from the time 02:30 since the charging pile has not terminated charging.
If the charging server starts at 02:50 and does not receive the charging data sent by the charging pile, it is determined that the charging pile is changed from an online state to an offline state, and receives the charging data sent by the charging pile again at 04:00, it is determined that the charging pile is changed from the offline state to the online state again, the offline time of the charging pile is 1 hour and 10 minutes, that is, the offline time of the charging pile is longer than 1 hour, and the charging server adds a zero-charge mark at the charging record table 02:50-04:00, and then the charging server determines that the charging pile is not charged in the offline time, and the charge is zero. The charging server generates a second intermediate charging bill which is settled at the time point 04:00 according to the charging record table, and the charging record table has zero charge mark between 02:50 and 04:00, the charging record table does not count the charge, and the first intermediate bill is settled before, so the second intermediate charging bill calculates only the online charging charge in the time points 02:30 and 02:50, and the charging pile does not terminate the charging, so the charging server generates a new charging record table again from the time point 04:00.
If the charging pile is longer than 1 hour when offline for N times in the process from initial charging to final charging, N intermediate charging bills are generated successively, and the intermediate steps are not described herein.
In addition, in the process from starting charging to stopping charging of the charging pile, if the charging pile is in an offline state, the charging server should timely send information that the charging pile is in the offline state to the client, if the charging pile is still offline in a later T period, no fee deduction is carried out from the moment, and if the charging pile is online in the later T period, fee deduction is normally carried out according to the original charging time.
Therefore, in the offline charging method, whether the charging cost is zero or normal in the offline time period is judged according to the offline time length of the charging pile, so that the charging server only sets an online charging mode. If the offline time length of the charging pile is smaller than the set offline time length, the charging time period containing the offline time period is recorded as a whole by erasing the offline mark, and the charging is uniformly carried out according to an online charging mode; and if the offline time length of the charging pile is greater than or equal to the set offline time length, judging that the charging cost of the offline time period is zero. Compared with the prior art, the charging server eliminates the frequent mutual switching pressure of the offline charging mode and the online charging mode, has simple calculation mode and does not need to calculate the electric loss in the offline process independently.
The charging pile starts to charge from the initial charging moment, and the charging server generates a charging record table; and the charging pile terminates charging at the termination moment, and the charging server generates a bill for terminating charging. Generally, however, the charging pile performs the actions of starting charging and stopping charging, that is, the user sends a starting charging instruction and a stopping charging instruction to the charging server from the client, and the charging server sends the received starting charging instruction and stopping charging instruction to the charging pile, so as to control the charging pile to start charging and stopping charging of the new energy electric vehicle. Because the charging pile is in an offline state, the charging server sends an initial charging instruction and a final charging instruction, and the charging pile cannot receive the initial charging instruction and the final charging instruction. For more reasonable charging, it should also be analyzed whether the charging pile is in an on-line state or an off-line state when the client first sends an initial charging instruction and a termination charging instruction to the charging server.
Therefore, the charging stake manufacturer benefits and the user benefits are balanced better.
As shown in fig. 2 of the specification, the charging server generates a charging record table, which includes the following steps:
s3, the charging pile starts to charge from the initial charging moment;
s4, the charging server determines whether the charging pile is in an on-line state;
s401, if the charging server determines that the charging pile is in an on-line state at the starting moment, the charging server generates a charging record table from the starting moment;
and S402, if the charging server determines that the charging pile is in an offline state at the initial moment and determines that the offline charging pile is in an online state at the third moment, the charging server generates a charging record table from the third moment.
Further, when the client sends an initial charging instruction and the charging pile is in an offline state, the charging server sends information that the charging pile is in the offline state and an instruction that charging and charging are started at the time of online of the charging pile to the client.
As shown in fig. 3 of the specification, the charging server generates a charging bill for charging termination, which comprises the following steps:
s5, the charging pile terminates charging at a termination moment;
s6, the charging server determines whether the charging pile is in an on-line state;
s601, if a charging server determines that a charging pile is in an on-line state at a termination moment, the charging server generates a termination charging bill settled at the termination moment;
s602, if the charging server determines that the charging pile is in an offline state at the termination time, the charging server generates a termination charging bill settled at the offline marking time.
Further, when the client sends the instruction to terminate charging and the charging pile is in an offline state, the charging server sends the information that the charging pile is in the offline state and the charging fee is settled to an offline time point to the client, and then the description of fee deduction is not performed. Wherein the termination time may further comprise any one or more of: and the charging pile automatically executes the charging termination action when the charging pile reaches the payment duration, the balance duration and the longest charging duration.
Based on the same inventive concept, the embodiment of the present application further provides an offline charging device, as shown in fig. 4 of the specification, including a data receiving module 401, a determining module 402, a timing module 403 and a charging module 404.
The data receiving module 401 is configured to receive charging time data sent by the charging pile;
the determining module 402 is configured to determine that the charging pile is in an offline state or an online state;
the timing module 403 is configured to set a time period T1 and calculate an offline time length of the charging pile;
the charging module 404 is configured to generate a charging record table, generate a charging bill according to the charging record table, set an offline flag when the charging pile is offline, and when the offline time of the charging pile is greater than or equal to a time period T1, the charging record table marks the offline time period as a zero-cost time period; and when the offline time length of the charging pile is smaller than the time period T1, the charging record table cancels the offline marking, and the offline time period is marked as a normal charging time period.
Specifically, the data receiving module 401 receives charging time data sent by the charging pile, the determining module 402 detects whether the data receiving module receives the charging data sent by the charging pile according to the set time, and determines whether the charging pile is in an offline state or an online state, if the charging pile is determined to be in the offline state at the first time, the charging module 404 records an offline mark for indicating that the charging pile is in the offline state at the first time in the charging record table; if the charging pile is changed from the offline state to the online state at the second moment, the timing module 403 sets a time period T1 and calculates the offline time length of the charging pile (i.e., the difference between the second moment and the first moment), so as to determine the magnitudes of the time period T1 and the offline time length, and if the time difference between the second moment and the first moment is smaller than the time period T1, the charging module 404 eliminates the offline mark recorded by the charging record table at the first moment, and normal charging is performed; if the time difference between the second time and the first time is greater than or equal to the time period T1, the billing module 404 records a zero charge flag in the charge record table indicating that the charge of the charging pile in the time period T1 is zero, generates an intermediate charge bill settled at the second time according to the charge record table, and generates a new charge record table starting at the second time.
The charging server judges whether the charging pile is on line or not in real time, the charging server sets a time period T1, and when the off-line time of the charging pile is greater than or equal to the time period T1, a charging record table generated by the charging server marks the off-line time period as a zero-cost time period; and when the offline time length of the charging pile is smaller than the time period T1, the charging record table cancels the offline marking, and the offline time period is marked as a normal charging time period.
Specifically, the charging pile sends charging data to the charging server at regular time, the charging server determines whether the charging pile is in an offline state or an online state according to whether the charging data sent by the charging pile is received at a set time, and if the charging server determines that the charging pile is in the offline state at a first time, an offline mark for indicating that the charging pile is in the offline state at the first time is recorded in the charging record table; the charging server determines that the charging pile is changed from an offline state to an online state at a second moment, and if the time difference between the second moment and the first moment is smaller than a time period T1, the charging server eliminates an offline mark recorded by a charging record table at the first moment and charges normally; if the time difference between the second time and the first time is greater than or equal to the time period T1, the charging server records a zero-charge mark used for indicating that the charging cost of the charging pile in the time period T1 is zero in the charging record table, generates an intermediate charging bill settled at the second time according to the charging record table, and generates a new charging record table starting at the second time.
If the offline time length of the charging pile is greater than or equal to the time period T, the charging server determines that the charging pile is not charged in the offline time period, and the cost is zero; if the offline time of the charging pile is smaller than the time period T, the charging server confirms that the charging pile charges in the offline time period and charges normally. The charging server is only provided with an online charging mode and does not relate to an offline charging mode, so that the pressure of frequent mutual switching between the offline charging mode and the online charging mode does not exist, the calculation mode is simple, and the benefits of charging pile manufacturers and the benefits of users can be balanced.
A computer readable storage medium comprising computer instructions which, when run on a computer, cause the computer to perform the offline charging method described above. The storage medium includes one or more computer programs. When the computer program is loaded and executed on a computer, the flow or functions according to the embodiments of the present invention are fully or partially produced. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer program may be stored in or transmitted from one computer readable storage medium to another, for example, by wired (e.g., coaxial cable, optical fiber, digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means from one website, computer, server, or data center. The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The storage medium includes, but is not limited to, non-volatile and/or volatile memory. Nonvolatile memory includes, but is not limited to, read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory includes, but is not limited to, random Access Memory (RAM) or external cache memory.
Finally, it should be noted that: the foregoing examples are merely illustrative of specific embodiments of the present application, and are not intended to limit the scope of the present application, although the present application is described in detail with reference to the foregoing examples, it will be understood by those skilled in the art that: any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or make equivalent substitutions for some of the technical features within the technical scope of the disclosure of the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the corresponding technical solutions. Are intended to be encompassed within the scope of this application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (5)

1. An offline charging method, characterized by comprising the following steps:
if the charging server determines that the charging pile is in an offline state at the first moment, an offline mark for indicating that the charging pile is in the offline state at the first moment is recorded in a charging record table;
if the charging server determines that the charging pile is changed from the offline state to the online state at the second moment, judging whether the time difference between the second moment and the first moment is smaller than a time period T1 or not;
if the time difference between the second moment and the first moment is smaller than the time period T1, the charging server eliminates the offline mark recorded by the charging record table at the first moment, and confirms that the charging pile is normally charged in the time period between the second moment and the first moment, and charges according to an online charging mode;
if the time difference between the second moment and the first moment is greater than or equal to the time period T1; the charging server records a zero-charge mark used for indicating that the charging cost of the charging pile is zero in the time period between the second moment and the first moment in the charging record table, generates an intermediate charging bill settled at the second moment according to the charging record table, and generates a new charging record table starting at the second moment;
the charging pile sends charging data to the charging server at regular time; if the charging server receives charging data sent by the charging pile in the set time, determining that the charging pile is in an on-line state; if the charging server does not receive the charging data sent by the charging pile within the set time, determining that the charging pile is in an offline state;
the offline charging method further comprises the following steps:
the charging pile starts to charge from the starting moment; the charging server determines whether the charging pile is in an online state; if the charging server determines that the charging pile is in an on-line state at the starting moment, the charging server generates a charging record table from the starting moment; if the charging server determines that the charging pile is in an offline state at the starting moment and determines that the offline charging pile is in an online state at the third moment, the charging server generates a charging record table from the third moment;
the charging pile terminates charging at the termination moment; the charging server determines whether the charging pile is in an online state; if the charging server determines that the charging pile is in an on-line state at the termination moment, the charging server generates a termination charging bill settled at the termination moment; if the charging server determines that the charging pile is in an offline state at the termination moment, the charging server generates a termination charging bill settled at the offline marking moment.
2. The offline charging method according to claim 1, wherein the charging server, if determining that the charging pile is in an offline state at the first time, records an offline flag indicating that the charging pile is in an offline state at the first time in the charging record table, further comprises the steps of:
and the charging server sends the information that the charging pile is in an offline state to the client.
3. An offline charging method according to claim 2, characterized in that said termination time comprises any one or more of the following: the time for payment, the time for balance and the longest charging time.
4. The offline charging system is characterized by comprising a charging pile and a charging server, wherein the charging server is used for judging whether the charging pile is in an offline state or an online state; the charging pile sends charging data to the charging server at regular time, and if the charging server receives the charging data sent by the charging pile in a set time, the charging pile is determined to be in an on-line state; if the charging server does not receive the charging data sent by the charging pile within the set time, determining that the charging pile is in an offline state;
the charging server is used for generating a charging record table; if the charging server determines that the charging pile is in an on-line state at the starting moment, the charging server generates a charging record table from the starting moment; if the charging server determines that the charging pile is in an offline state at the starting moment and determines that the offline charging pile is in an online state at the third moment, the charging server generates a charging record table from the third moment;
the charging server is used for setting a time period T1 and calculating the offline time length of the charging pile; if the charging server determines that the charging pile is in an offline state at the first moment, an offline mark for indicating that the charging pile is in the offline state at the first moment is recorded in a charging record table; if the charging server determines that the charging pile is changed from the offline state to the online state at the second moment, judging whether the time difference between the second moment and the first moment is smaller than a time period T1 or not; if the time difference between the second moment and the first moment is smaller than the time period T1, the charging server eliminates the offline mark recorded by the charging record table at the first moment, and confirms that the charging pile is normally charged in the time period between the second moment and the first moment, and charges according to an online charging mode; if the time difference between the second moment and the first moment is greater than or equal to the time period T1; the charging server records a zero-charge mark used for indicating that the charging cost of the charging pile is zero in the time period between the second moment and the first moment in the charging record table, generates an intermediate charging bill settled at the second moment according to the charging record table, and generates a new charging record table starting at the second moment;
the charging server is used for generating a charging bill according to the charging record table, wherein if the charging server determines that the charging pile is in an on-line state at the termination moment, the charging server generates a termination charging bill settled at the termination moment; if the charging server determines that the charging pile is in an offline state at the termination moment, the charging server generates a termination charging bill settled at the offline marking moment.
5. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, performs the steps of the offline charging method according to any of claims 1 to 3.
CN202110616809.7A 2021-06-03 2021-06-03 Offline charging method, device, system and storage medium Active CN113352927B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110616809.7A CN113352927B (en) 2021-06-03 2021-06-03 Offline charging method, device, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110616809.7A CN113352927B (en) 2021-06-03 2021-06-03 Offline charging method, device, system and storage medium

Publications (2)

Publication Number Publication Date
CN113352927A CN113352927A (en) 2021-09-07
CN113352927B true CN113352927B (en) 2023-06-09

Family

ID=77531490

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110616809.7A Active CN113352927B (en) 2021-06-03 2021-06-03 Offline charging method, device, system and storage medium

Country Status (1)

Country Link
CN (1) CN113352927B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113942411B (en) * 2021-11-22 2023-08-25 东风汽车集团股份有限公司 Charging detection fault tolerance system and method
CN116778638B (en) * 2023-08-23 2023-12-05 广东星云开物科技股份有限公司 Charging pile charging method, charging pile charging device, charging pile charging equipment, storage medium and charging pile system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107330740A (en) * 2017-07-07 2017-11-07 青岛特锐德电气股份有限公司 A kind of charging pile fee calculation procedure and device, charging pile
JP2019213037A (en) * 2018-06-04 2019-12-12 富士通株式会社 Control device, billing acquisition method, billing acquisition program, and billing system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101302115B1 (en) * 2011-09-28 2013-08-30 부산대학교 산학협력단 Electric vehicle charging device and offline Prepaid charging accounting method
EP3301957B1 (en) * 2015-06-30 2019-07-31 Huawei Technologies Co., Ltd. Charging method, network device, and charging system
CN111127764A (en) * 2019-12-13 2020-05-08 深圳市前海亿车科技有限公司 Management method for off-grid charging of electric pile by charging pile operation system
US10953765B1 (en) * 2020-01-13 2021-03-23 NAD Grid Corp Methods and systems for facilitating charging sessions for electric vehicles
CN112669530A (en) * 2020-12-02 2021-04-16 武汉中电节能有限公司 Method for improving data acquisition quality of air conditioner time type metering equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107330740A (en) * 2017-07-07 2017-11-07 青岛特锐德电气股份有限公司 A kind of charging pile fee calculation procedure and device, charging pile
JP2019213037A (en) * 2018-06-04 2019-12-12 富士通株式会社 Control device, billing acquisition method, billing acquisition program, and billing system

Also Published As

Publication number Publication date
CN113352927A (en) 2021-09-07

Similar Documents

Publication Publication Date Title
CN113352927B (en) Offline charging method, device, system and storage medium
CN106030973A (en) Fast charging method, power source adapter and mobile terminal
EP2486523B1 (en) Computer network service providing system including self adjusting volume enforcement functionality
CN110579716B (en) Battery detection method and device
CN107351713B (en) Charging pile control method and device
CN112172592B (en) Charging time determination method, charging time determination equipment, storage medium and device
CN110896216A (en) Power supply and demand management device
US20220134901A1 (en) Electric vehicle charging energy management systems and methods combining multiple power consumption areas
CN109978714B (en) Power exchange processing system of power exchange station, power exchange station server and power exchange processing method
CN111311124A (en) Charging service method, charging service device, storage medium and server
JP2008226758A (en) Charge management device, control method for the same, and control program
CN112477696A (en) Current control method and device for slow charging
CN113285499A (en) Charging control method, electronic device, control device, and storage medium
WO2016127638A1 (en) Method for real-time monitoring of ps domain traffic, and related device
CN113840259B (en) Method, device and equipment for transferring charging associated data
CN107294735B (en) Order supplementing method and online charging system
CN102238515B (en) Method, device and system for complementarily deducting fee, and online charging system
CN107708082B (en) Supplementary charging method and device
CN113595109A (en) Flywheel energy storage capacity configuration method and device
CN114649596A (en) Charging control method, charging control device, charging control system, storage medium, and electronic device
JP6998546B2 (en) Server device and control method of server device
CN115020845B (en) Cell temperature detection method, device, storage medium, and program product
US11801766B2 (en) Vehicle and control method thereof including recharging a battery with a first current value when a user consents and where a charging interruption history exists
CN109808540B (en) Charging method, computer equipment, storage medium and system
CN114954095A (en) Charging method and charging equipment

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
GR01 Patent grant
GR01 Patent grant