Charging processing method and equipment in extreme operation state of charging pile, and medium
By temporarily storing and updating billing information in the charging pile system, the problem of inaccurate billing under extreme operating conditions is solved, thus achieving billing accuracy and system stability, and ensuring the normal operation of the charging pile under extreme conditions.
Patent Information
- Application Number
- CN202511810274.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-03
- Publication Date
- 2026-03-03
AI Technical Summary
Existing charging stations are inaccurate in billing under extreme operating conditions, resulting in significant discrepancies between settlement data and actual data, which affects fair consumption by users, operation management, and market order.
The charging pile system adopts a bill writing strategy to temporarily store real-time bill information in the pile-side FLASH, update and re-upload the bill, ensure data integrity and continuity, and restore the billing information after the device restarts.
To ensure the accuracy of billing data, avoid disputes caused by data loss or errors, and enhance the stability and operational efficiency of the charging pile system.
Smart Images

Figure CN121600633A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of charging pile billing, and in particular to a billing processing method, equipment and medium for charging piles under extreme operating conditions. Background Technology
[0002] Power outages or network disruptions during charging are not uncommon occurrences at charging stations. Therefore, billing procedures for extreme situations must be considered.
[0003] From the perspective of user rights, accurate billing processing can ensure fair consumption for users; from the perspective of operation and management, reasonable billing processing helps charging pile operators to conduct cost accounting and financial management; from the perspective of market order, unified and accurate billing processing standards are an important guarantee for maintaining the healthy development of the charging pile market.
[0004] Currently, billing in extreme situations during charging is mostly handled by the operating platform, based on the information uploaded by the charging station most recently. However, due to transmission cycles, network latency, and interference causing data verification failures, the settlement data often differs significantly from the actual data. Summary of the Invention
[0005] This application provides a billing processing method, device, and medium for charging piles under extreme operating conditions, which is used to solve the following technical problem: Existing charging piles are prone to inaccurate billing under extreme operating conditions, and the settlement data differs greatly from the actual situation, which is not conducive to billing health management.
[0006] The embodiments of this application adopt the following technical solutions: On one hand, this application provides a billing processing method for charging piles under extreme operating conditions, including: temporarily storing real-time billing information during the charging process based on the pile-side FLASH in the charging pile system to obtain a bill writing strategy; deleting old files from the currently full storage file based on the bill writing strategy to obtain a bill update strategy; monitoring the charging pile under extreme operating conditions for device restart, and parsing and uploading the latest billing temporary file in the bill update strategy based on the device restart information to obtain a bill supplementary upload strategy; and restoring the billing information in the charging pile operation platform through the bill supplementary upload strategy to obtain the latest billing data.
[0007] This application embodiment temporarily stores real-time billing information during the charging process, ensuring that billing data is not lost even under extreme operating conditions. Furthermore, the billing write strategy ensures the integrity and continuity of billing data, preventing data corruption due to insufficient storage space. The billing update strategy optimizes storage space usage and improves the operating efficiency of the charging pile by deleting old files. When the charging pile is in an extreme operating state, the device restart monitoring process can promptly detect the restart, triggering the billing re-upload strategy. Moreover, by restoring the billing information in the charging pile operation platform, the accuracy of billing is guaranteed, avoiding disputes caused by lost or incorrect billing information. This also enhances the stability of the charging pile system, ensuring normal operation even under extreme operating conditions.
[0008] In one feasible implementation, before temporarily storing real-time billing information during the charging process based on the charging pile-side FLASH in the charging pile system to obtain the billing writing strategy, the process specifically includes: performing data expansion processing on the original charging pile-side FLASH on the control chip in the charging pile system to obtain an expanded charging pile-side FLASH; configuring the expanded charging pile-side FLASH into the charging pile system; and performing data storage association processing between the expanded charging pile-side FLASH and the charging billing data in the charging pile system according to a preset data storage agreement rule, so that the output port of the charging billing data and the input port of the expanded charging pile-side FLASH can communicate with each other.
[0009] In one feasible implementation, based on the charging pile system's pile-side FLASH, real-time billing information during the charging process is temporarily stored to obtain a billing writing strategy. Specifically, this includes: collecting the billing information when the charging pile system is charging; performing structured processing on the billing information to obtain billing storage structure information; wherein the billing storage structure information includes at least one or more of the following: a predetermined serial number, pile number, unit price, and fee; the structured processing includes structural processing between parameters and structural processing of line-ending characters; according to the periodic interval in the billing model, the billing storage structure information is temporarily stored in a billing temporary storage file, and when the billing temporary storage file reaches a certain amount, a new billing temporary storage file is created; based on the billing temporary storage processing rules and the new billing temporary storage file, the billing writing strategy is generated.
[0010] In one feasible implementation, based on the bill writing strategy, the currently full storage file is processed by deleting old files to obtain a bill update strategy. Specifically, this includes: when the charging pile system is in a charging state and the current bill temporary storage file is determined to be the currently full storage file, a data record identification process is performed on the new bill temporary storage file to identify whether new bill information exists, and a data record identification result is obtained; if the data record identification result indicates that the new bill information exists, the new bill temporary storage file corresponding to the new bill information is retained, and the old bill temporary storage file corresponding to the currently full storage file is deleted; based on the file retention rules of the new bill temporary storage file and the file deletion rules of the old bill temporary storage file, a bill update strategy for updating and storing the new bill information is generated.
[0011] In one feasible implementation, monitoring and processing the restart of charging piles in extreme operating conditions includes: continuously monitoring the charging pile system, identifying and recording charging piles exhibiting the extreme operating conditions, and marking them as abnormal charging piles; wherein, the extreme operating conditions include at least: sudden power outage of the charging pile, abnormal data transmission of the charging pile system, and abnormal online networking of the charging pile system; if the marked abnormal charging pile is determined to be in a restart state, then the marked abnormal charging pile is defined as a charging pile to be uploaded; wherein, the restart state includes at least: the device being powered on again and the system reconnecting to the operation platform; and collecting the device restart information transmitted by the charging pile to be uploaded.
[0012] In one feasible implementation, based on device restart information, the latest temporary bill file in the bill update strategy is parsed and uploaded to obtain a bill supplementary upload strategy. Specifically, this includes: if device restart information is detected, the existence of the temporary bill file in the charging pile operation platform is checked; if the temporary bill file exists, the last line of data in the temporary bill file is read and parsed, and uploaded to the charging pile operation platform; if the temporary bill file does not exist, the charging pile FLASH is continuously monitored, and based on the charging completion status of the charging pile system, data upload control is performed on the latest temporary bill file, and file deletion control is performed on the temporary bill file in the charging pile FLASH; the bill supplementary upload strategy is generated based on the device restart information and the corresponding temporary bill file upload rules.
[0013] In one feasible implementation, after generating the bill re-upload strategy based on the device restart information and the corresponding bill temporary file upload rules, the method further includes: using the charging pile operation platform to perform reply confirmation identification on the bill information uploaded by the bill re-upload strategy to obtain reply confirmation result information; if the reply confirmation result information is confirmed result information, then the bill information is determined to be uploaded successfully; if the reply confirmation result information is unconfirmed result information, then the bill information is continuously uploaded at intervals, and based on a fixed number of uploads, a re-upload result information is determined; if the re-upload result information reaches the upload count threshold and the reply confirmation result information is unconfirmed result information, then the bill information is written to the unpaid record file in the charging pile operation platform; and a final bill confirmation strategy is generated based on the reply confirmation identification rules of the bill information.
[0014] In one feasible implementation, the billing information in the charging pile operation platform is restored using the bill supplementation upload strategy to obtain the latest bill data. Specifically, this includes: after executing the bill supplementation upload strategy, uploading the latest bill information to the charging pile operation platform and deleting the temporary bill file in the charging pile-side FLASH; using a final bill confirmation strategy, performing a reply confirmation judgment on the latest bill information; and based on the reply confirmation judgment result, extracting the latest bill data from the latest bill information so that the charging pile operation platform can complete the final charging fee deduction control.
[0015] Secondly, embodiments of this application also provide a billing processing device for charging piles under extreme operating conditions. The device includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to execute a billing processing method for charging piles under extreme operating conditions as described in any of the above embodiments.
[0016] Thirdly, embodiments of this application also provide a non-volatile computer storage medium, wherein the storage medium is a non-volatile computer-readable storage medium, and the non-volatile computer-readable storage medium stores at least one program, each program including instructions, wherein when the instructions are executed by a terminal, the terminal performs a billing processing method for a charging pile under extreme operating conditions as described in any of the above embodiments.
[0017] This application provides a billing processing method, device, and medium for charging piles under extreme operating conditions. Compared with the prior art, the embodiments of this application have the following beneficial technical effects: 1. Data security: By temporarily storing real-time billing information during the charging process, it is ensured that billing data will not be lost even under extreme operating conditions.
[0018] 2. Billing Integrity: The billing write strategy ensures the integrity and continuity of billing data, avoiding data corruption due to insufficient storage space.
[0019] 3. Storage Management Optimization: The billing update strategy optimizes storage space usage and improves the operating efficiency of charging stations by deleting old files.
[0020] 4. Fault recovery capability: When the charging pile is in an extreme operating state, the device restart monitoring and processing can detect the device restart in time, thereby triggering the bill re-upload strategy.
[0021] 5. Timely Bill Upload: The bill supplementary upload strategy can parse and upload the latest bill temporary file, ensuring that billing information is uploaded in a timely manner and is not delayed due to equipment failure.
[0022] 6. Billing accuracy: By restoring the billing information in the charging pile operation platform, the accuracy of billing is ensured, avoiding disputes caused by lost or incorrect billing information.
[0023] 7. System stability: This method enhances the stability of the charging pile system, ensuring normal operation even under extreme operating conditions. Attached Figure Description
[0024] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. In the drawings: Figure 1 A flowchart illustrating a billing processing method for a charging pile under extreme operating conditions, provided in an embodiment of this application; Figure 2 This is a schematic diagram of the structure of a billing processing device for a charging pile under extreme operating conditions, provided in an embodiment of this application. Detailed Implementation
[0025] To enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this specification, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of this application.
[0026] It should be noted that this application proposes a billing processing method for extreme situations such as power outages and network outages at charging piles. During the charging process, billing information is stored in the pile-side FLASH memory (data is not lost after power failure) according to agreed rules at fixed short intervals. After the extreme situation is restored, the latest billing data is uploaded to the platform to complete the deduction. Considering the billing processing under extreme situations from the charging pile side, saving the charging bill in real time within 1 second and uploading the latest billing record after restoration can reduce the counting error of energy consumption and fees, and resolve the conflict of interest between users and operating companies. In addition, no additional hardware functions such as power outage detection are required; it is all implemented by software, reducing material costs. Moreover, an embedded file system is built, the billing file structure is agreed upon, and the processing is implemented by combining real-time temporary storage of billing data and read / write file protocol logic algorithms; as well as the implementation process of the bill supplementary upload logic algorithm, etc.
[0027] This application provides a billing processing method for charging piles under extreme operating conditions, such as... Figure 1 As shown, the billing processing method for charging piles under extreme operating conditions specifically includes steps S101-S106: S101. Based on the FLASH memory on the charging pile, the real-time billing information during the charging process is temporarily stored to obtain the billing writing strategy.
[0028] Specifically, the original charging pile-side FLASH on the control chip of the charging pile system is first subjected to data expansion processing to obtain expanded charging pile-side FLASH. Then, the expanded charging pile-side FLASH is configured into the charging pile system.
[0029] Furthermore, by using preset data storage rules, the extended pile-side FLASH and the charging billing data in the charging pile system are associated with each other through data storage processing, so that the output port of the charging billing data and the input port of the extended pile-side FLASH can communicate with each other.
[0030] As a feasible implementation method, the on-chip FLASH memory of the control chip in the charging pile system is generally small, requiring external FLASH expansion. This article mentions saving billing information in real time during charging and deleting local information after charging is complete, requiring a moderate FLASH capacity, generally no less than 8MB. Frequent write and delete operations will affect the lifespan of the FLASH, therefore, a high-endurance FLASH chip needs to be selected. Generally, at least 100,000 cycles are sufficient. Assuming one write / erase operation per charge, approximately 25 times per day, 100,000 cycles are enough for 10 years of use. Furthermore, read / write balancing strategies are also available to prevent repeated writing and erasing of the same sector.
[0031] Furthermore, it is also necessary to collect the billing information when the charging pile system is in a charging state.
[0032] Furthermore, the billing information is processed into a temporary storage file using a structured method to obtain the billing storage structure information. This structured information includes at least one or more of the following: reservation serial number, post number, unit price, and cost. The structured processing includes the manipulation of parameters and the manipulation of line ending characters.
[0033] Furthermore, based on the periodic intervals in the billing model, the bill storage structure information is temporarily stored in a bill temporary storage file, and a new bill temporary storage file is created when the bill temporary storage file reaches a certain amount.
[0034] Furthermore, based on the bill temporary storage processing rules and the new bill temporary storage file, a bill writing strategy is generated.
[0035] In one embodiment, during charging, billing information can be structured and temporarily stored in a file every second (the billing model's calculation cycle is 1 second), and then updated in the temporary billing file. When 2000 records are written, a new file is created to continue writing. The file structure can be one line representing one billing record, with a maximum of 5000 records stored per file. The order of parameters such as serial number, station number, unit price, and cost is defined, with parameters separated by commas, and each line ending with the @ character. The temporary billing file is named billMsg_N.csv, where N is an Arabic numeral.
[0036] S102. Based on the bill writing strategy, delete old files from the currently full storage file to obtain the bill update strategy.
[0037] Specifically, when the charging pile system is in a charging state and the current bill temporary storage file is determined to be a full storage file, the new bill temporary storage file is processed to identify whether there is a new bill information, and the data record identification result is obtained.
[0038] Furthermore, if the data record identification result indicates the existence of new bill information, the new bill temporary file corresponding to the new bill information will be retained, and the old bill temporary file corresponding to the currently full storage file will be deleted.
[0039] Furthermore, based on the file retention rules for the new bill temporary file and the file deletion rules for the old bill temporary file, a bill update strategy is generated for storing new bill information updates.
[0040] In one embodiment, when the charging file is full (i.e., the current bill temporary file is determined to be full), and a new bill temporary file has been correctly written with one record, the old file is deleted. This means deleting the old bill temporary file corresponding to the currently full file. For example, after billMsg_1.csv is successfully written with one record, the billMsg_0.csv file is deleted. When the charging station system finishes charging and the data is successfully uploaded to the charging station operation platform, the bill temporary file is deleted. Alternatively, the system can be powered on again or the system can be logged back into the operation platform to re-upload the bill information before deleting the bill temporary file.
[0041] S103. Monitor and process the restart of charging piles in extreme operating conditions, and based on the restart information, parse and upload the latest bill temporary file in the bill update strategy to obtain the bill supplementary upload strategy.
[0042] Specifically, continuous monitoring of the charging pile system is required to identify and record charging piles exhibiting extreme operating conditions, thus marking them as abnormal. These extreme operating conditions include at least: sudden power outages at the charging pile, abnormal data transmission within the charging pile system, and abnormal online network connectivity of the charging pile system.
[0043] In one embodiment, monitoring software or hardware modules are deployed in the charging pile system to monitor the charging pile's operating status in real time. Abnormal state detection conditions are set, including but not limited to sudden power outages, abnormal data transmission, and abnormal online connectivity. Then, charging pile operating data, including voltage, current, and network connection status, is continuously collected. The collected data is then analyzed to identify charging piles with extreme operating conditions. For identified abnormal states, these charging piles are automatically recorded and marked as abnormal charging piles. A unique identifier is generated for each abnormal charging pile to facilitate subsequent tracking and handling.
[0044] Furthermore, if the marked abnormal charging pile is determined to be in a device restart state, then the marked abnormal charging pile will be defined as a charging pile to be uploaded. The device restart state includes at least: the device being powered on again and the system reconnecting to the operation platform.
[0045] Furthermore, the device restart information transmitted by the charging pile to be uploaded is collected.
[0046] In one embodiment, a detection mechanism also needs to be deployed on the abnormal charging pile to identify the device restart status. The device restart status is then detected, including when the device is powered on again and when the system reconnects to the operation platform. When a device restart is detected, information such as the restart time and reason is recorded. If the abnormal charging pile is determined to be in a device restart state, it is marked as a charging pile to be supplemented. The identification code and restart information of the charging pile to be supplemented are stored in a local database or cache.
[0047] Furthermore, if a device restart message is detected, the charging pile operation platform will check whether the billing temporary file in the charging pile's FLASH memory exists.
[0048] Furthermore, if the billing temporary file exists, the last line of data in the billing temporary file is read and parsed, and then uploaded to the charging pile operation platform. If the billing temporary file does not exist, the charging pile-side FLASH memory is continuously monitored, and based on the charging completion status of the charging pile system, the latest billing temporary file is uploaded, and the billing temporary file in the charging pile-side FLASH memory is deleted.
[0049] Furthermore, based on the device restart information and the corresponding bill temporary file upload rules, a bill supplement upload strategy is generated.
[0050] In one embodiment, when the device is powered on again or logged back into the operation platform, the existence of the billMsg_N.csv file is checked. If a bill temporary file exists, the last line of data record in the bill temporary file is read and parsed, and then uploaded to the charging pile operation platform.
[0051] As a feasible implementation method, the charging pile operation platform identifies and confirms the uploaded bill information using the bill re-upload strategy, obtaining confirmation results. If the confirmation result is confirmed, the bill information is marked as successfully uploaded. If the confirmation result is unconfirmed, the bill information is continuously uploaded at intervals, and a re-upload result is determined based on a fixed number of uploads. If the re-upload result reaches the upload threshold and the confirmation result is still unconfirmed, the bill information is written to the unpaid record file in the charging pile operation platform. Based on the bill confirmation identification rules, a final bill confirmation strategy is generated.
[0052] In one embodiment, after waiting for confirmation from the operating platform (i.e., the confirmation result is confirmed), the bill information is considered to have been successfully uploaded. Otherwise, an attempt is made to upload the bill information every 10 seconds. If the attempt fails after 5 attempts, the upload result information is re-uploaded. Once the upload count threshold is reached and the confirmation result is not confirmed, the failed upload bill information is written to the unpaid record file.
[0053] S104. By using the billing supplement upload strategy, the billing information in the charging pile operation platform is restored to obtain the latest billing data.
[0054] Specifically, after implementing the bill supplementary upload strategy, the latest bill information is uploaded to the charging pile operation platform, and the temporary bill file in the charging pile side FLASH is subject to file deletion control.
[0055] Furthermore, after the final bill confirmation strategy is implemented, a confirmation response is made to the latest bill information.
[0056] Furthermore, based on the confirmation result of the reply, the latest billing data is extracted from the latest billing information so that the charging pile operation platform can complete the final charging fee deduction control.
[0057] In one embodiment, after executing the bill supplementary upload strategy, the latest bill information is uploaded to the charging pile operation platform via encrypted communication. To ensure the stability and reliability of the upload process, error detection and retransmission mechanisms can be adopted to prevent data loss or corruption. After the upload is completed, upload confirmation is performed on the charging pile side to avoid duplicate uploads. After the bill information is successfully uploaded to the operation platform, the temporary bill file in the corresponding charging pile-side FLASH is deleted. Then, through programming instructions, the temporary bill file in the charging pile-side FLASH is securely deleted to ensure that the deletion operation does not affect other system files and data. The operation platform also needs to reply to confirm the bill information and send the confirmation result back to the charging pile. After receiving the reply confirmation, the charging pile judges whether the bill information has been successfully processed. Finally, based on the reply confirmation judgment result, if the bill information has been successfully processed, the latest bill data in the latest bill information is extracted and used by the charging pile operation platform to complete the final charging fee deduction control.
[0058] In addition, this application embodiment also provides a billing processing device for charging piles under extreme operating conditions, such as... Figure 2 As shown, the billing processing device 200 for charging piles under extreme operating conditions specifically includes: At least one processor 201; and a memory 202 communicatively connected to the at least one processor 201; wherein the memory 202 stores instructions executable by the at least one processor 201 to enable the at least one processor 201 to execute: Based on the charging pile system's pile-side FLASH, the real-time billing information during the charging process is temporarily stored to obtain the billing writing strategy. Based on the bill writing strategy, the old files are deleted from the currently full storage file to obtain the bill update strategy; The charging piles in extreme operating conditions are monitored for device restart. Based on the device restart information, the latest bill temporary file in the bill update strategy is parsed and uploaded to obtain the bill supplementary upload strategy. By using a billing supplementation strategy, the billing information in the charging pile operation platform is restored to obtain the latest billing data.
[0059] This application embodiment temporarily stores real-time billing information during the charging process, ensuring that billing data is not lost even under extreme operating conditions. Furthermore, the billing write strategy ensures the integrity and continuity of billing data, preventing data corruption due to insufficient storage space. The billing update strategy optimizes storage space usage and improves the operating efficiency of the charging pile by deleting old files. When the charging pile is in an extreme operating state, the device restart monitoring process can promptly detect the restart, triggering the billing re-upload strategy. Moreover, by restoring the billing information in the charging pile operation platform, the accuracy of billing is guaranteed, avoiding disputes caused by lost or incorrect billing information. This also enhances the stability of the charging pile system, ensuring normal operation even under extreme operating conditions.
[0060] The various embodiments in this application are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the device and medium embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the description of the method embodiments.
[0061] The devices and media provided in this application are one-to-one with the methods. Therefore, the devices and media also have similar beneficial technical effects as their corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media will not be repeated here.
[0062] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0063] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0064] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0065] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0066] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0067] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0068] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0069] 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 a process, method, article, or apparatus. Without further limitation, 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 said element.
[0070] The above description is merely an embodiment of this application and is not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of this specification.
Claims
1. A billing processing method for charging piles under extreme operating conditions, characterized in that, The method includes: Based on the charging pile system's pile-side FLASH, the real-time billing information during the charging process is temporarily stored to obtain the billing writing strategy. Based on the bill writing strategy, the old files are deleted from the currently full storage file to obtain the bill update strategy; The charging piles in extreme operating conditions are monitored for device restart, and based on the device restart information, the latest bill temporary file in the bill update strategy is parsed and uploaded to obtain the bill supplementary upload strategy. The billing information in the charging pile operation platform is restored using the billing supplementation strategy to obtain the latest billing data.
2. The billing processing method for a charging pile under extreme operating conditions according to claim 1, characterized in that, Before processing the real-time billing information during the charging process by temporarily storing it based on the charging pile's FLASH memory to obtain the billing writing strategy, the specific steps include: The original pile-side FLASH on the control chip of the charging pile system is expanded to obtain the expanded pile-side FLASH. Configure the extended pile-side FLASH into the charging pile system; By using preset data storage rules, the extended pile-side FLASH and the charging billing data in the charging pile system are associated with each other through data storage processing, so that the output port of the charging billing data and the input port of the extended pile-side FLASH can communicate with each other.
3. The billing processing method for a charging pile under extreme operating conditions according to claim 1, characterized in that, Based on the charging pile system's pile-side FLASH memory, real-time billing information during the charging process is temporarily stored to obtain a billing writing strategy, which specifically includes: Collect the billing information of the charging pile system when it is in a charging state; The bill information is processed into a temporary file using a structured method to obtain bill storage structure information; wherein, the bill storage structure information includes at least one or more of the following: pre-order serial number, post number, unit price, and fee; the structured processing includes the structure processing between parameters and the structure processing of line ending characters; According to the period interval in the billing model, the bill storage structure information is temporarily stored in the bill temporary storage file, and a new bill temporary storage file is created when the bill temporary storage file reaches a certain amount. Based on the bill temporary storage processing rules and the new bill temporary storage file, the bill writing strategy is generated.
4. The billing processing method for a charging pile under extreme operating conditions according to claim 1, characterized in that, Based on the aforementioned bill writing strategy, the currently full storage file is processed by deleting old files to obtain the bill update strategy, which specifically includes: When the charging pile system is in charging mode, and the current bill temporary storage file is determined to be the current full storage file, the new bill temporary storage file is subjected to data record identification processing to identify whether there is new bill information, and the data record identification result is obtained. If the data record identification result indicates the existence of the new bill information, then the new bill temporary file corresponding to the new bill information will be retained, and the old bill temporary file corresponding to the currently full storage file will be deleted. Based on the file retention rules for the new bill temporary file and the file deletion rules for the old bill temporary file, a bill update strategy is generated for storing the updated new bill information.
5. The billing processing method for a charging pile under extreme operating conditions according to claim 1, characterized in that, The process of restarting and monitoring charging piles in extreme operating conditions includes: The charging pile system is continuously monitored and processed to identify and record charging piles with the extreme operating conditions, thereby obtaining marked abnormal charging piles; wherein, the extreme operating conditions include at least: sudden power failure of the charging pile, abnormal data transmission of the charging pile system, and abnormal online networking of the charging pile system. If the marked abnormal charging pile is determined to be in a device restart state, then the marked abnormal charging pile is defined as a charging pile to be uploaded; wherein, the device restart state includes at least: the device is powered on again and the system reconnects to the operation platform; Collect the device restart information transmitted by the charging pile to be uploaded.
6. The billing processing method for a charging pile under extreme operating conditions according to claim 5, characterized in that, Based on the device restart information, the latest temporary bill file in the bill update strategy is parsed and uploaded to obtain the bill supplementary upload strategy, which specifically includes: If the device restart information is detected, the charging pile operation platform will check whether the bill temporary storage file in the charging pile side FLASH exists. If the bill temporary storage file exists, then the last line of data record in the bill temporary storage file is read and parsed, and uploaded to the charging pile operation platform; If the bill temporary file is in a file non-existent state, the pile-side FLASH will be continuously monitored, and based on the charging completion status of the charging pile system, the latest bill temporary file will be uploaded and the bill temporary file in the pile-side FLASH will be deleted. Based on the device restart information and the corresponding bill temporary file upload rules, the bill supplementary upload strategy is generated.
7. The billing processing method for a charging pile under extreme operating conditions according to claim 6, characterized in that, After generating the bill re-upload strategy based on the device restart information and the corresponding bill temporary file upload rules, the method further includes: The charging pile operation platform identifies and confirms the bill information uploaded by the bill supplement upload strategy to obtain confirmation result information. If the reply confirmation result is a confirmed result, then the bill information will be determined to have been successfully uploaded. If the reply confirmation result is an unconfirmed result, the bill information will be continuously uploaded at intervals, and the re-upload result will be determined based on a fixed number of uploads. If the re-upload result information reaches the upload count threshold and the reply confirmation result information is unconfirmed, then the bill information is written to the unpaid record file in the charging pile operation platform; Based on the reply confirmation recognition rules of the billing information, a final billing confirmation strategy is generated.
8. The billing processing method for a charging pile under extreme operating conditions according to claim 1, characterized in that, The billing information in the charging pile operation platform is restored using the aforementioned billing supplementation strategy to obtain the latest billing data, specifically including: After executing the bill supplementary upload strategy, the latest bill information is uploaded to the charging pile operation platform, and the bill temporary storage file in the pile-side FLASH is deleted. The latest bill information is responded to and confirmed through a final bill confirmation strategy. Based on the confirmation result of the reply, the latest bill data is extracted from the latest bill information so that the charging pile operation platform can complete the final charging fee deduction control.
9. A billing processing device for charging piles under extreme operating conditions, characterized in that, The device includes: At least one processor; and, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to execute a billing processing method for a charging pile under extreme operating conditions according to any one of claims 1-8.
10. A non-volatile computer storage medium, characterized in that, The storage medium is a non-volatile computer-readable storage medium that stores at least one program, each program including instructions that, when executed by a terminal, cause the terminal to perform a billing processing method for a charging pile under extreme operating conditions according to any one of claims 1-8.