A charging pile on billing processing method, system, device and medium

By deploying a vehicle-side CAN communication interface and shared memory on the charging pile, precise association and unified billing of multi-gun charging are achieved, solving the problem of users having to scan codes to pay multiple times, and providing a simplified operation and clear billing experience.

CN122313616APending Publication Date: 2026-06-30SHANDONG ARTAPLAY INTELLIGENT TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHANDONG ARTAPLAY INTELLIGENT TECH CO LTD
Filing Date
2026-03-27
Publication Date
2026-06-30

AI Technical Summary

Technical Problem

In existing charging pile parallel charging technology, users need to open multiple accounts, complete multi-gun QR code charging, and generate multiple payment records, which increases the cumbersomeness of user operations.

Method used

By deploying a vehicle-side CAN communication interface on the charging pile, vehicle interaction messages and identity information are obtained in real time. Combined with the shared memory inside the charging pile, the charging status of charging at the same pile is dynamically identified, and a charging gun is automatically selected as the main gun. The auxiliary gun does not need to initiate a payment process independently. The meter reading is uniformly completed by the main gun to accumulate the energy consumption and divide the billing range.

Benefits of technology

It enables precise association between vehicles and charging equipment in multi-gun charging scenarios, simplifies user operations, generates a clear, reliable, and traceable unified billing experience, avoids multiple payment vouchers and scattered billing records, and enhances user trust.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122313616A_ABST
    Figure CN122313616A_ABST
Patent Text Reader

Abstract

This application discloses a billing processing method, system, device, and medium for charging piles, mainly relating to the field of charging pile billing technology. It addresses the problem that current parallel charging technologies on the market mostly involve independent payments, requiring users to open multiple accounts, complete multi-barrel QR code charging, and generate multiple payment records, increasing the complexity of user operations. The method includes: determining whether parallel charging exists at the same charging pile using vehicle information shared in the charging pile's memory; determining whether parallel charging exists at different charging piles using interactive messages returned by the vehicle-side CAN communication harness; when parallel charging exists at the same or different charging piles, the central system designates any charging gun as the master gun; auxiliary guns read the corresponding meter readings at preset intervals and send the meter readings to the master gun; at the end of charging, the auxiliary guns send the meter readings to the master gun; the central system obtains the charging time period and the meter readings of each charging gun from the charging pile, determines the billing interval based on the charging time period, determines the energy consumption corresponding to the billing interval based on the meter readings of each charging gun, and then determines the total cost, generating a consolidated bill.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of charging pile billing technology, and in particular to a billing processing method, system, equipment and medium for charging piles. Background Technology

[0002] With the development of technology, some car manufacturers have launched models and matching charging piles that support "multi-gun fast charging". By connecting multiple charging guns to the vehicle's charging port at the same time (requiring BMS support for multi-channel current coordination), the charging power can be superimposed. In actual tests, the total power of dual guns reached 229kW, and the battery level could be increased from 30% to 89% in just 28 minutes, which is nearly twice as efficient as single gun charging.

[0003] Currently, most parallel charging technologies on the market involve independent payment, requiring users to open multiple accounts and complete multi-gun QR code scanning for charging. For example, dual-gun charging involves one gun scanning for charging and the other charging via VIN. This results in multiple payment records, increasing the complexity of the user's operation. Summary of the Invention

[0004] This application provides a billing processing method, system, device, and medium for charging piles to solve the problem that current parallel charging technologies on the market mostly involve independent payments, requiring users to open multiple accounts, complete multi-gun QR code charging, and generate multiple payment records, which increases the complexity of user operations.

[0005] Firstly, this application provides a billing processing method for charging piles, the method comprising: During charging, the communication interface on the charging gun is simultaneously connected to the vehicle's side CAN communication harness to obtain interactive messages and vehicle information. The system uses vehicle information stored in the shared memory of the charging pile to determine whether there is simultaneous charging at the same charging pile. When there is no simultaneous charging at the same charging pile, the central system connected to the charging pile determines whether there is simultaneous charging at a different charging pile through the interactive message returned by the vehicle-side CAN communication harness. When there is simultaneous charging at the same charging station or at different charging stations, the central system determines any one of the charging guns as the main gun; the auxiliary gun reads the corresponding meter reading at preset intervals and sends the meter reading to the main gun; at the end of charging, the auxiliary gun sends the meter reading to the main gun. The central system obtains the charging time period and the meter readings of each charging gun through the charging piles. Based on the charging time period, it determines the billing interval; based on the meter readings of each charging gun, it determines the energy consumption corresponding to the billing interval; based on the billing interval, it determines the electricity price and service fee; and based on the energy consumption, electricity price, and service fee, it determines the total cost. A consolidated bill is generated based on the power consumption and total cost of each charging gun.

[0006] In one implementation of this application, the presence of parallel charging of different charging piles is determined by the interactive messages returned by the vehicle-side CAN communication harness, specifically including: Once any charging gun is physically connected to the vehicle, vehicle-to-charging-gun communication is immediately initiated. The charging gun's communication module sends a message with its own globally unique code to the vehicle-side CAN communication harness. The main control module of each charging pile listens to the interactive messages returned by the CAN bus on the vehicle side; The charging pile main control module parses all collected interaction messages in real time and extracts preset core judgment fields from each interaction message; among them, the preset core judgment fields include at least: globally unique gun code, vehicle association information, and charging interaction status; The central system compares and correlates all uploaded core judgment fields within a preset time period. When the core judgment fields are the same, it is determined that the data is a duplicate.

[0007] In one implementation of this application, the existence of simultaneous charging at the same charging station is determined by using vehicle information stored in the shared memory of the charging station, specifically including: When any charging gun on the same charging pile establishes a physical connection with the vehicle and initiates vehicle-to-charging communication, the charging gun's communication module collects vehicle information and writes it into its own dedicated data segment in the shared memory according to a pre-defined format; the vehicle information includes: vehicle association information and charging interaction status. The charging pile main control program automatically polls the dedicated data segments of each gun in the shared memory at fixed intervals to synchronously extract vehicle information; When multiple identical vehicle information exists at a charging station within the same fixed period, it is determined that there is concurrent charging at the same charging station.

[0008] In one implementation of this application, the energy consumption corresponding to the billing interval is determined based on the meter reading of each charging gun, specifically including: Determine the number of billing intervals that fall into the range. When the number is greater than 1, calculate the initial and final meter readings for each billing interval based on the timestamp corresponding to the meter reading. The energy consumption of the current billing interval is calculated by subtracting the initial meter reading from the final meter reading. Determine the number of billing intervals that fall within the range. When the number equals 1, subtract the initial value at the start of charging from the meter reading of each charging gun after charging ends to determine the consumption of each charging gun. Add up all the consumption to obtain the energy consumption.

[0009] In one implementation of this application, the central system obtains the charging time period and the meter readings of each charging gun through the charging pile, and determines the billing interval based on the charging time period, specifically including: Divide a 24-hour day into a preset number of billing intervals; Based on the current charging time period, determine the billing interval in which this charging falls.

[0010] In one implementation of this application, the electricity price and service fee are determined based on the billing interval; the total cost is determined based on the electricity consumption, electricity price, and service fee, specifically including: Based on the billing interval, determine the interval type; the interval types are: peak, flat, valley, and deep. Determine the corresponding electricity price and service fee based on the range type; Through the formula: F = W*(P + S), calculate the cost F for the current billing interval; Where W represents the energy consumption of the current billing interval, P represents the electricity price of the current billing interval, and S represents the service fee of the current billing interval; The total cost is calculated by summing up the costs for all billing intervals involved in this charging session.

[0011] Secondly, this application provides a billing processing system for charging piles, the system comprising: The module is used to simultaneously connect the communication interface on the charging gun to the vehicle-side CAN communication harness during charging to obtain interactive messages and vehicle information. The determination module is used to determine whether there is a simultaneous charging at the same charging pile by using the vehicle information in the shared memory of the charging pile; when there is no simultaneous charging at the same charging pile, the central system connected to the charging pile determines whether there is simultaneous charging at a different charging pile by using the interactive message returned by the vehicle-side CAN communication harness. The sending module is used to determine which charging gun is the main gun when there is simultaneous charging at the same charging pile or simultaneous charging at different charging piles. The auxiliary gun reads the corresponding meter reading at a preset interval and sends the meter reading to the main gun. When charging is finished, the auxiliary gun sends the meter reading back to the main gun. The generation module is used by the central system to obtain the charging time period and the meter reading of each charging gun through the charging pile; determine the billing interval based on the charging time period; determine the power consumption corresponding to the billing interval based on the meter reading of each charging gun; determine the electricity price and service fee based on the billing interval; determine the total cost based on the power consumption, electricity price and service fee; and generate a consolidated bill based on the power consumption of each charging gun and the total cost.

[0012] In one implementation of this application, the determining module includes a non-stub determining unit. This is used to immediately start vehicle-to-charger communication when any charging gun completes a physical connection with the vehicle. The communication module of the charging gun sends a message with its own globally unique code to the CAN communication harness on the vehicle side. The main control module of each charging pile listens to the interactive messages returned by the CAN bus on the vehicle side; The charging pile main control module parses all collected interaction messages in real time and extracts preset core judgment fields from each interaction message; among them, the preset core judgment fields include at least: globally unique gun code, vehicle association information, and charging interaction status; The central system compares and correlates all uploaded core judgment fields within a preset time period. When the core judgment fields are the same, it is determined that the data is a duplicate.

[0013] Thirdly, this application provides a billing processing device for a charging pile, the device comprising: processor; And a memory that stores executable code, which, when executed, causes the processor to perform a charging station billing processing method as described above.

[0014] Fourthly, this application provides a non-volatile computer storage medium storing computer instructions thereon, which, when executed, implement a billing processing method for a charging pile as described above.

[0015] As can be seen from the above technical solutions, this application has the following advantages: By deploying a vehicle-side CAN communication interface on the charging pile, the system acquires vehicle interaction messages and identity information in real time. Combined with the charging pile's shared memory, it dynamically identifies the concurrent charging status, achieving precise association between the vehicle and charging equipment in multi-gun charging scenarios. When concurrent charging is detected, the system automatically selects one charging gun as the main gun, and the others as auxiliary guns. The auxiliary guns do not need to initiate independent payment processes; they only upload the meter readings to the main gun according to a preset cycle. The main gun then centrally completes the accumulation of energy consumption and the division of billing intervals. This mechanism completely eliminates the redundant operations required for users to scan codes, log into multiple accounts, and trigger independent payments when charging with multiple guns. It integrates the previously scattered multiple payment behaviors into a single authorization process, reducing the user's interaction complexity and cognitive burden during charging, and centralizing payment logic and streamlining the operation path.

[0016] Based on the centralized collection of meter readings from the main charging gun and the synchronous calculation of billing intervals, the system can accurately calculate the energy consumption ratio of each charging gun according to a unified electricity pricing strategy and service fee standard within the charging period. It then generates a structured consolidated bill that includes the independent energy consumption of each gun, the total energy consumption, and the total cost. This bill is presented as a single transaction record, avoiding the multiple payment vouchers, electronic invoices, and scattered billing records generated by independent billing of multiple charging guns in the traditional model. This greatly simplifies the user's financial reconciliation and reimbursement process. Simultaneously, the main-auxiliary gun collaboration mechanism ensures the integrity and consistency of billing data, eliminating the risk of cost mismatch or duplicate billing caused by asynchronous settlement across multiple systems. This provides users with a clear, reliable, and traceable unified billing experience, enhancing the systematic nature of the charging service and user trust. Attached Figure Description

[0017] To more clearly illustrate the technical solution of the present invention, the accompanying drawings used in the description will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0018] Figure 1 This is a flowchart of a billing processing method for a charging pile provided in an embodiment of this application.

[0019] Figure 2 This is a schematic diagram of the internal structure of a charging pile billing processing system provided in an embodiment of this application.

[0020] Figure 3 This is a schematic diagram of the internal structure of a billing processing device on a charging pile provided in an embodiment of this application. Detailed Implementation

[0021] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0022] Those skilled in the art should understand that the embodiments described below are merely preferred embodiments of this disclosure and do not imply that this disclosure can only be implemented through these preferred embodiments. These preferred embodiments are merely used to explain the technical principles of this disclosure and are not intended to limit the scope of protection of this disclosure. Based on the preferred embodiments provided by this disclosure, all other embodiments obtained by those skilled in the art without creative effort should still fall within the scope of protection of this disclosure.

[0023] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0024] The technical solutions proposed in the embodiments of this application will be described in detail below with reference to the accompanying drawings.

[0025] The embodiment provides a billing processing method for charging piles, such as Figure 1 As shown in the embodiments of this application, the method mainly includes the following steps: Step 110: During charging, the communication interface on the charging gun is simultaneously connected to the vehicle's side CAN communication harness to obtain interactive messages and vehicle information.

[0026] It should be noted that after the communication interface on the charging gun is physically connected to the vehicle's side CAN communication harness, it can receive standardized CAN messages actively sent by the vehicle, including the Vehicle Identification Number (VIN), the current battery level output by the Battery Management System (BMS), the maximum charging power requirement, and charging status flags. These messages follow a predefined frame format to ensure that the data can be correctly parsed by the charging pile control unit. This information is used to confirm the vehicle's identity and charging capability, serving as the input for determining whether parallel charging is allowed, thus avoiding charging interruptions or misjudgments due to vehicle protocol incompatibility or abnormal status. In the vehicles to which this application applies, the vehicle-side CAN communication harness has already implemented physical parallel connection of multiple charging interfaces within the vehicle architecture. This means that multiple charging ports inside the vehicle share the same CAN bus network, and all charging-related messages are transmitted through a unified bus. This design allows the charging pile to obtain the real-time status of all charging ports in the vehicle through this bus when any charging gun is connected, without relying on external vehicle communication or additional sensors. This structure ensures that the vehicle information acquired by the main gun when performing same-charge identification is globally consistent, providing underlying data support for the accurate collection and billing of subsequent energy consumption.

[0027] Step 120: Determine whether there is simultaneous charging at the same charging pile by using the vehicle information in the shared memory of the charging pile; when there is no simultaneous charging at the same charging pile, the central system connected to the charging pile determines whether there is simultaneous charging at different charging piles by using the interactive message returned by the vehicle-side CAN communication harness.

[0028] It should be further explained that after the charging gun establishes a physical connection with the vehicle, its communication module sends a message containing its globally unique code to the vehicle's CAN bus. This code consists of the charging pile manufacturer's code (8-byte ASCII) and the device serial number (12-byte ASCII), totaling 20 bytes in length, which meets the traceability requirements for unique identification of charging equipment in GB / T 34657. The message frame ID adopts an extended frame format (29 bits), allocated according to the custom message segment defined in GB / T 27930-2023, with a data length of 20 bytes and a CRC-8 verification method to ensure transmission integrity. This message is sent within 100ms after the connection is established and retransmitted every 500ms during charging to maintain state synchronization.

[0029] The main control module of each charging pile acquires the aforementioned messages by monitoring the vehicle-side CAN bus. After performing CRC verification and duplicate frame filtering on each message, it extracts the core judgment fields: globally unique gun code (20 bytes), vehicle association information (17-byte VIN code, ASCII encoding, conforming to ISO 3779), and charging interaction status (1 byte, value according to GB / T 27930-2023 CCS message: 0x00 = not ready, 0x01 = ready, 0x02 = charging, 0x03 = charging finished, 0x04 = fault). The main control module stores the extracted fields in a circular buffer and adds a system timestamp (unit: milliseconds) to each message for subsequent correlation analysis.

[0030] The presence of parallel charging by different charging piles is determined through the interactive messages returned by the vehicle-side CAN communication harness, specifically including: Once any charging gun is physically connected to the vehicle, vehicle-to-charging-gun communication is immediately initiated. The charging gun's communication module sends a message with its own globally unique code to the vehicle-side CAN communication harness. The main control module of each charging pile listens to the interactive messages returned by the CAN bus on the vehicle side; The charging pile main control module parses all collected interaction messages in real time and extracts preset core judgment fields from each interaction message; among them, the preset core judgment fields include at least: globally unique gun code, vehicle association information, and charging interaction status; The central system compares and correlates all uploaded core judgment fields within a preset time period. When the core judgment fields are the same, it is determined that the data is a duplicate.

[0031] Specifically, determining whether there is concurrent charging at the same charging station involves using vehicle information stored in the shared memory of the charging stations. When any charging gun on the same charging pile establishes a physical connection with the vehicle and initiates vehicle-to-charging communication, the charging gun's communication module collects vehicle information and writes it into its own dedicated data segment in the shared memory according to a pre-defined format; the vehicle information includes: vehicle association information and charging interaction status. The charging pile main control program automatically polls the dedicated data segments of each gun in the shared memory at fixed intervals to synchronously extract vehicle information; When multiple identical vehicle information exists at a charging station within the same fixed period, it is determined that there is concurrent charging at the same charging station.

[0032] Step 130: When there is simultaneous charging at the same charging station or at different charging stations, the central system determines any one of the charging guns as the main gun; the auxiliary gun reads the corresponding meter reading at a preset interval and sends the meter reading to the main gun; at the end of charging, the auxiliary gun sends the meter reading to the main gun.

[0033] It should be noted that when there is simultaneous charging at the same or different charging stations, the main charging gun is automatically selected by the charging station's main control program according to preset rules. The priority of the rules is: the charging gun with the smallest number takes precedence; if the numbers are the same, they are sorted according to the order of access time. During the charging process, the auxiliary charging gun initiates a register read request to the main charging gun at fixed intervals (1~5 seconds) via the Modbus RTU protocol. The function code is 0x03, and it reads the meter's base value register (address 0x0000~0x0001, 4 bytes, unsigned integer, unit 0.01kWh). The data format conforms to the requirements for metering data transmission in NB / T 33008.1-2018. The transmission medium is the charging station's internal RS-485 bus, the communication baud rate is set to 9600bps, and the frame structure includes the device address, function code, data length, and CRC-16 checksum. In the absence of an acknowledgment mechanism, the main charging gun will retransmit up to three times after a timeout to ensure data integrity.

[0034] During the charging completion phase, upon receiving the "charging complete" status message from the vehicle's BMS (status code 0x03 according to GB / T27930-2023), the main gun immediately initiates a final meter reading request to all auxiliary guns to obtain the final accumulated energy value of each gun. The main gun writes its own and all auxiliary gun's meter readings, charging start and end timestamps (milliseconds), gun ID list, and CRC-8 checksum into its local SPI Flash non-volatile memory, forming an immutable local log.

[0035] Step 140: The central system obtains the charging time period and the meter readings of each charging gun through the charging pile. Based on the charging time period, it determines the billing interval; based on the meter readings of each charging gun, it determines the energy consumption corresponding to the billing interval; based on the billing interval, it determines the electricity price and service fee; based on the energy consumption, electricity price, and service fee, it determines the total cost.

[0036] In some embodiments, the energy consumption corresponding to the billing interval is determined based on the meter reading of each charging gun, specifically including: Determine the number of billing intervals that fall into the range. When the number is greater than 1, calculate the initial and final meter readings for each billing interval based on the timestamp corresponding to the meter reading. The energy consumption of the current billing interval is calculated by subtracting the initial meter reading from the final meter reading. Determine the number of billing intervals that fall within the range. When the number equals 1, subtract the initial value at the start of charging from the meter reading of each charging gun after charging ends to determine the consumption of each charging gun. Add up all the consumption to obtain the energy consumption.

[0037] It should be noted that the billing intervals are divided into five types based on calendar time: peak, off-peak, average, valley, and deep. Their time boundaries are set according to the local power grid's time-of-use pricing policy. For example: deep valley is 02:00–05:00; valley is 23:00–02:00 and 05:00–08:00; average is 08:00–11:00 and 17:00–23:00; peak is 11:00–17:00; and peak is 18:00–21:00. The duration of each interval is fixed and does not change seasonally. It is implemented by a static timetable built into the charging pile's main control program and does not require external network synchronization. The charging start and end timestamps are recorded by the charging pile system clock with an accuracy of 1 second, used to determine the number of billing intervals crossed during the charging process.

[0038] When the charging process spans multiple billing intervals, the system extracts the meter readings at the start and end times of each interval based on the timestamp corresponding to the meter reading. For example, if charging continues from peak hours to off-peak hours, the end time of the peak hour (e.g., 17:00:00) is used as the dividing point, and the meter readings before and after that time are obtained as the end and beginning values ​​of the adjacent intervals. The meter readings are sampled by the metering module at 100ms intervals and stored in non-volatile memory, with a unit of 0.01kWh. Energy consumption is calculated as the difference between meter readings at adjacent time points, without interpolation or extrapolation.

[0039] When the charging process falls within a single billing interval, the energy consumption is directly obtained by subtracting the initial value at the start of charging from the meter reading at the end of charging. The charging start time is defined as the moment when the charging gun and the vehicle complete the handshake protocol and start charging, triggered by the BMS returning a "charging in progress" status message. The energy consumption of each charging gun is calculated independently, and the main gun aggregates the consumption values ​​of all guns to form the total energy consumption, which is used for subsequent fee accumulation.

[0040] In some embodiments, the central system obtains the charging time period and the meter readings of each charging gun through the charging pile, and determines the billing interval based on the charging time period, specifically including: Divide a 24-hour day into a preset number of billing intervals; Based on the current charging time period, determine the billing interval in which this charging falls.

[0041] As an example, the default quantity is 48.

[0042] In some embodiments, the electricity price and service fee are determined based on the billing interval; the total cost is determined based on the electricity consumption, electricity price, and service fee, specifically including: Based on the billing interval, determine the interval type; the interval types are: peak, flat, valley, and deep. Determine the corresponding electricity price and service fee based on the range type; Through the formula: F = W*(P + S), calculate the cost F for the current billing interval; Where W represents the energy consumption of the current billing interval, P represents the electricity price of the current billing interval, and S represents the service fee of the current billing interval; The total cost is calculated by summing up the costs for all billing intervals involved in this charging session.

[0043] It should be noted that the electricity price P and service fee S are preset constants, stored in the local configuration table of the charging pile according to the interval type. For example, during peak hours, P = 1.2 yuan / kWh, S = 0.15 yuan / kWh; during off-peak hours, P = 0.3 yuan / kWh, S = 0.05 yuan / kWh. This mapping relationship is updated by the operator through a local maintenance interface and does not rely on cloud distribution. W represents the corresponding energy consumption in the current billing interval, in kWh. P and S are in yuan / kWh, F is in yuan, and the calculation result is rounded to two decimal places.

[0044] The total cost is the sum of the costs for each billing interval, accumulated sequentially by interval, without any discounts or preferential treatment. The system generates a final cost record after charging is complete, including the energy consumption, corresponding electricity price, service fee, and itemized costs for each interval. This record is stored locally in SPI Flash and linked to the charging log, supporting subsequent auditing and reconciliation.

[0045] Step 150: Generate a consolidated bill based on the power consumption and total cost of each charging gun.

[0046] It should be noted that after calculating the energy consumption and time-of-use billing intervals for each charging gun, the main charging gun summarizes the independent energy consumption values ​​of all auxiliary guns, its own energy consumption value, and the corresponding fees for each billing interval to generate a structured consolidated bill. The bill includes: each charging gun ID, corresponding energy consumption (unit: kWh, rounded to two decimal places), itemized fees for the billing interval (unit: yuan, rounded to the nearest cent) (sum of consumption by all guns), total fee (sum of all itemized fees), charging start and end timestamps (milliseconds), local log checksum (CRC-8), and an appendix mapping table of the billing interval type and corresponding electricity price service fee for this charging session. The bill is written to the charging pile's local SPI Flash non-volatile memory in JSON format.

[0047] In addition, this application Figure 2 This application provides a billing processing system for charging piles. For example... Figure 2 As shown in the embodiments of this application, the system mainly includes: The module 210 is used to simultaneously connect the communication interface on the charging gun to the vehicle-side CAN communication harness during charging to obtain interactive messages and vehicle information.

[0048] The determination module 220 is used to determine whether there is simultaneous charging at the same charging pile by using the vehicle information in the shared memory on the charging pile; when there is no simultaneous charging at the same charging pile, the central system connected to the charging pile determines whether there is simultaneous charging at different charging piles by using the interactive message returned by the vehicle-side CAN communication harness.

[0049] The determination module 220 includes a non-stubby pile determination unit. This is used to immediately start vehicle-to-charger communication when any charging gun completes a physical connection with the vehicle. The communication module of the charging gun sends a message with its own globally unique code to the CAN communication harness on the vehicle side. The main control module of each charging pile listens to the interactive messages returned by the CAN bus on the vehicle side; The charging pile main control module parses all collected interaction messages in real time and extracts preset core judgment fields from each interaction message; among them, the preset core judgment fields include at least: globally unique gun code, vehicle association information, and charging interaction status; The central system compares and correlates all uploaded core judgment fields within a preset time period. When the core judgment fields are the same, it is determined that the data is a duplicate.

[0050] The sending module 230 is used to determine any one of the charging guns as the main gun when there is simultaneous charging at the same charging station or simultaneous charging at different charging stations; the auxiliary gun reads the corresponding meter reading at a preset interval and sends the meter reading to the main gun; at the end of charging, the auxiliary gun sends the meter reading to the main gun.

[0051] The generation module 240 is used by the central system to obtain the charging time period and the meter reading of each charging gun through the charging pile; determine the billing interval based on the charging time period; determine the power consumption corresponding to the billing interval based on the meter reading of each charging gun; determine the electricity price and service fee based on the billing interval; determine the total cost based on the power consumption, electricity price and service fee; and generate a consolidated bill based on the power consumption of each charging gun and the total cost.

[0052] The above are method embodiments of this application. Based on the same inventive concept, this application also provides a billing processing device for charging piles. Figure 3 As shown, the device includes: a processor; and a memory storing executable code thereon, which, when executed, causes the processor to perform a charging pile billing processing method as described in the above embodiment.

[0053] Specifically, during charging, the communication interface on the charging gun simultaneously connects to the vehicle's CAN communication harness to obtain interactive messages and vehicle information. Using the vehicle information in the shared memory of the charging pile, it determines whether there is simultaneous charging at the same charging pile. If no simultaneous charging at the same charging pile exists, the central system connected to the charging pile determines whether simultaneous charging at different charging piles exists through the interactive messages returned by the vehicle's CAN communication harness. When simultaneous charging at the same or different charging piles exists, the central system designates any charging gun as the master charging gun. The auxiliary charging gun reads the corresponding meter reading at preset intervals and sends the meter reading to the master charging gun. At the end of charging, the auxiliary charging gun sends the meter reading back to the master charging gun. The central system obtains the charging time period and the meter readings of each charging gun from the charging pile, determines the billing interval based on the charging time period, determines the energy consumption corresponding to the billing interval based on the meter readings of each charging gun, determines the electricity price and service fee based on the billing interval, determines the total cost based on the energy consumption, electricity price, and service fee, and generates a consolidated bill based on the energy consumption of each charging gun and the total cost.

[0054] In addition, this application embodiment also provides a non-volatile computer storage medium storing executable instructions, which, when executed, implement the above-described billing processing method for charging piles.

[0055] The above description of the disclosed embodiments enables those skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A charging pile on billing processing method, characterized in that, The method includes: During charging, the communication interface on the charging gun is simultaneously connected to the vehicle's side CAN communication harness to obtain interactive messages and vehicle information. The system uses vehicle information stored in the shared memory of the charging pile to determine whether there is simultaneous charging at the same charging pile. When there is no simultaneous charging at the same charging pile, the central system connected to the charging pile determines whether there is simultaneous charging at a different charging pile through the interactive message returned by the vehicle-side CAN communication harness. When there is simultaneous charging at the same charging station or at different charging stations, the central system determines any one of the charging guns as the main gun; the auxiliary gun reads the corresponding meter reading at preset intervals and sends the meter reading to the main gun; at the end of charging, the auxiliary gun sends the meter reading to the main gun. The central system obtains the charging time period and the meter readings of each charging gun through the charging piles. Based on the charging time period, it determines the billing interval; based on the meter readings of each charging gun, it determines the energy consumption corresponding to the billing interval; based on the billing interval, it determines the electricity price and service fee; and based on the energy consumption, electricity price, and service fee, it determines the total cost. A consolidated bill is generated based on the power consumption and total cost of each charging gun.

2. The charging pile billing processing method according to claim 1, characterized in that, The presence of a different charging station is determined by the interaction messages returned by the vehicle-side CAN communication harness, specifically including: Once any charging gun is physically connected to the vehicle, vehicle-to-charging-gun communication is immediately initiated. The charging gun's communication module sends a message with its own globally unique code to the vehicle-side CAN communication harness. The main control module of each charging pile listens to the interactive messages returned by the CAN bus on the vehicle side; The charging pile main control module parses all collected interaction messages in real time and extracts preset core judgment fields from each interaction message; among them, the preset core judgment fields include at least: globally unique gun code, vehicle association information, and charging interaction status; The central system compares and correlates all uploaded core judgment fields within a preset time period. When the core judgment fields are the same, it is determined that the data is a duplicate.

3. The billing processing method for charging piles according to claim 1, characterized in that, By using vehicle information shared in the charging pile's memory, it can be determined whether there is concurrent charging at the same charging pile, specifically including: When any charging gun on the same charging pile establishes a physical connection with the vehicle and initiates vehicle-to-charging communication, the charging gun's communication module collects vehicle information and writes it into its own dedicated data segment in the shared memory according to a pre-defined format; the vehicle information includes: vehicle association information and charging interaction status. The charging pile main control program automatically polls the dedicated data segments of each gun in the shared memory at fixed intervals to synchronously extract vehicle information; When multiple identical vehicle information exists at a charging station within the same fixed period, it is determined that there is concurrent charging at the same charging station.

4. The billing processing method for charging piles according to claim 1, characterized in that, Based on the meter readings of each charging gun, the energy consumption corresponding to the billing interval is determined, specifically including: Determine the number of billing intervals that fall into the range. When the number is greater than 1, calculate the initial and final meter readings for each billing interval based on the timestamp corresponding to the meter reading. The energy consumption of the current billing interval is calculated by subtracting the initial meter reading from the final meter reading. Determine the number of billing intervals that fall within the range. When the number equals 1, subtract the initial value at the start of charging from the meter reading of each charging gun after charging ends to determine the consumption of each charging gun. Add up all the consumption to obtain the energy consumption.

5. The charging pile billing processing method according to claim 1, characterized in that, The central system obtains the charging time period and the meter readings of each charging gun from the charging piles, and determines the billing interval based on the charging time period, specifically including: Divide a 24-hour day into a preset number of billing intervals; Based on the current charging time period, determine the billing interval in which this charging falls.

6. The billing processing method for charging piles according to claim 1, characterized in that, The electricity price and service fee are determined based on the billing interval; the total cost is determined based on electricity consumption, electricity price, and service fee, specifically including: Based on the billing interval, determine the interval type; the interval types are: peak, flat, valley, and deep. Determine the corresponding electricity price and service fee based on the range type; Through the formula: F = W*(P + S), calculate the cost F for the current billing interval; Where W represents the energy consumption of the current billing interval, P represents the electricity price of the current billing interval, and S represents the service fee of the current billing interval; The total cost is calculated by summing up the costs for all billing intervals involved in this charging session.

7. A billing processing system for charging piles, characterized in that, The system includes: The module is used to simultaneously connect the communication interface on the charging gun to the vehicle-side CAN communication harness during charging to obtain interactive messages and vehicle information. The determination module is used to determine whether there is a simultaneous charging at the same charging pile by using the vehicle information in the shared memory of the charging pile; when there is no simultaneous charging at the same charging pile, the central system connected to the charging pile determines whether there is simultaneous charging at a different charging pile by using the interactive message returned by the vehicle-side CAN communication harness. The sending module is used to determine which charging gun is the main gun when there is simultaneous charging at the same charging pile or simultaneous charging at different charging piles. The auxiliary gun reads the corresponding meter reading at a preset interval and sends the meter reading to the main gun. When charging is finished, the auxiliary gun sends the meter reading back to the main gun. The generation module is used by the central system to obtain the charging time period and the meter reading of each charging gun through the charging pile; determine the billing interval based on the charging time period; determine the power consumption corresponding to the billing interval based on the meter reading of each charging gun; determine the electricity price and service fee based on the billing interval; determine the total cost based on the power consumption, electricity price and service fee; and generate a consolidated bill based on the power consumption of each charging gun and the total cost.

8. The charging pile billing processing system according to claim 7, characterized in that, The determination module includes a non-stubby pile determination unit. This is used to immediately start vehicle-to-charger communication when any charging gun completes a physical connection with the vehicle. The communication module of the charging gun sends a message with its own globally unique code to the CAN communication harness on the vehicle side. The main control module of each charging pile listens to the interactive messages returned by the CAN bus on the vehicle side; The charging pile main control module parses all collected interaction messages in real time and extracts preset core judgment fields from each interaction message; among them, the preset core judgment fields include at least: globally unique gun code, vehicle association information, and charging interaction status; The central system compares and correlates all uploaded core judgment fields within a preset time period. When the core judgment fields are the same, it is determined that the data is a duplicate.

9. A billing processing device for a charging pile, characterized in that, The device includes: processor; And a memory having executable code stored thereon, which, when executed, causes the processor to perform a billing processing method for a charging pile as described in any one of claims 1-6.

10. A non-volatile computer storage medium, characterized in that, It stores computer instructions, which, when executed, implement a billing processing method for a charging pile as described in any one of claims 1-6.