Offline charging pile control method and device, computer equipment and storage medium

By detecting the connection status of electric vehicles and offline charging piles and the effectiveness of IC cards, obtaining the charging method selected by the user, and detecting the operating parameter information of the charging piles, the safety, stability and complex cost settlement of offline charging in the park are solved. The cost settlement process is achieved efficient, safe and easy.

CN119459429APending Publication Date: 2025-02-18NANJING RUIFANDA NEW ENERGY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411680853.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-22
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

The prior art is difficult to realize the charging process of electric vehicles in offline states in the park, and the charging process lacks safety and stability guarantees, and the cost settlement is also relatively complicated.

Method used

By obtaining the connection information between the electric vehicle and the offline charging pile, detecting the connection status, if successful, read the IC card information, judge its effectiveness, obtain the charging method selected by the user, detecting the operating parameter information of the offline charging pile, and determining whether the charging is satisfactory. and charge and fee settlement based on the results.

Benefits of technology

The charging process of electric vehicles is realized in the offline state in the park, ensuring the safety and stability of charging, simplifying the fee settlement process, improving user experience, and ensuring the accuracy of fee calculation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119459429A_ABST
    Figure CN119459429A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of electric vehicle charging. The invention relates to an off-line charging pile control method and device, computer equipment and a storage medium, and the method comprises the steps: obtaining the connection information of an electric vehicle and an off-line charging pile, detecting the connection state of the electric vehicle and the off-line charging pile based on the connection information, obtaining the connection state information, and if the connection state information is successful, reading the IC card information, according to the IC card information, whether an IC card is valid is judged, if yes, a charging mode selected by a user is obtained, the charging mode comprises quick charging and conventional charging, according to the charging mode, operation parameter information of the offline charging pile is detected, whether the operation parameter information meets the requirement of the charging mode or not is judged, and charging state information is obtained; and after the charging of the electric vehicle is completed, charging fee settlement information is generated, and the total charging fee is deducted from the IC card based on the charging fee settlement information. The method has the effect of improving the smoothness of the charging process in the park.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electric vehicle charging, and in particular to an off-line charging pile control method, device, computer equipment and storage medium. Background Art

[0002] The development of electric vehicle charging facilities has greatly promoted the popularization of new energy vehicles. With the continuous growth of the number of new energy vehicles, the demand for charging piles is also increasing. In particular, the deployment of charging piles in the park has become an important measure to improve the convenience of employees' travel and environmental protection awareness. In order to ensure the smoothness of the charging process in the park, the charging piles not only need to have stable and reliable power supply capabilities, but also need to provide convenient charging services and accurate fee settlement mechanisms. Summary of the invention

[0003] In order to improve the smoothness of the charging process in the park, the present application provides an offline charging pile control method, device, computer equipment and storage medium.

[0004] The above-mentioned invention objective of the present application is achieved through the following technical solutions: An offline charging pile control method, the offline charging pile control method comprising: Obtain the connection information between the electric vehicle and the offline charging pile; Based on the connection information, detecting the connection status between the electric vehicle and the offline charging pile to obtain connection status information; If the connection status information is successful, then read the IC card information, and determine whether the IC card is valid according to the IC card information. If the IC card is valid, then obtain the charging mode selected by the user, and the charging mode includes fast charging and conventional charging; According to the charging method, detecting the operating parameter information of the offline charging pile, determining whether the operating parameter information meets the requirements of the charging method, and obtaining charging status information; According to the charging state information, if the operating parameter information meets the requirement of the charging method, charging the electric vehicle according to the charging method; After the electric vehicle is charged, charging fee settlement information is generated, and the total charging fee is deducted from the IC card based on the charging fee settlement information.

[0005] By adopting the above technical solution, the charging process of electric vehicles in an offline state can be realized in the park. By obtaining the connection information between the electric vehicle and the offline charging pile and detecting its connection status, the connection reliability before charging begins is ensured. When the IC card verification is passed and the charging method selected by the user is obtained, the operating parameter information of the offline charging pile can be detected according to the charging method to determine whether it meets the preset charging requirements, ensuring the safety and stability of the charging process. After charging is completed, the system can generate fee settlement information based on the charging time, power information and real-time electricity price, and automatically deduct the corresponding fees from the IC card, which simplifies the fee settlement process, improves the user experience, and ensures the accurate calculation of fees.

[0006] In a preferred example, the present application may be further configured as follows: based on the connection information, detecting the connection status between the electric vehicle and the offline charging pile to obtain the connection status information, further comprising: If the connection between the electric vehicle and the offline charging pile fails, connection failure information is generated, and the connection failure information is used to prompt the user to check the connection status and provide troubleshooting suggestions.

[0007] By adopting the above technical solution, when the connection between the electric vehicle and the offline charging pile fails, the connection failure information can be generated in time, and the user can be notified to check the connection status. This information not only effectively reminds the user to pay attention to the connection problem, but also helps the user to quickly locate and solve the problem by providing troubleshooting suggestions. This real-time feedback mechanism improves the convenience and efficiency of charging operations, avoids charging interruptions caused by connection problems, and ensures the smoothness of the charging process.

[0008] In a preferred example, the present application can be further configured as follows: if the connection status information is successful, then reading the IC card information, judging whether the IC card is valid according to the IC card information, and if the IC card is valid, obtaining the charging mode selected by the user, wherein the charging mode includes fast charging and conventional charging, and further comprising: If the IC card is valid, obtaining the charging mode selected by the user through the operation interface of the offline charging pile; If the IC card is invalid, invalid card information is generated, and the invalid card information is used to prompt the user to replace the IC card.

[0009] By adopting the above technical solution, the validity of the IC card can be effectively distinguished and processed accordingly according to the user's choice. If the IC card is valid, the system will automatically obtain the charging method selected by the user through the charging pile operation interface. On the contrary, when the IC card is invalid, the system will generate invalid card information and promptly prompt the user to replace the IC card. This function effectively prevents charging interruptions caused by invalid cards, reducing users' waiting time and unnecessary troubles.

[0010] In a preferred example, the present application may be further configured as follows: according to the charging method, detecting the operating parameter information of the offline charging pile, judging whether the operating parameter information meets the requirements of the charging method, and obtaining the charging status information, including: According to the charging method, detecting the operating parameter information of the offline charging pile, the operating parameter information including current, harmonics and voltage, and if the operating parameter information simultaneously meets the requirements of the charging method, the generated charging state information is chargeable; If any parameter in the operating parameter information does not meet the requirement of the charging method, the generated charging status information is that charging is not possible.

[0011] By adopting the above technical solution, the operating parameter information of the offline charging pile, including current, harmonics and voltage, can be detected in real time to ensure the compliance and safety of various indicators during the charging process. When all detection parameters meet the requirements of the charging method selected by the user at the same time, the system will generate charging status information as "chargeable" and start charging. This mechanism ensures the stability and efficiency of the charging process and avoids charging failures caused by abnormal parameters. Conversely, if any of the operating parameters does not meet the charging requirements, the system will promptly generate charging status information as "unchargeable" and can inform the user of the reason why charging cannot be carried out through corresponding prompts. This automatic detection and feedback mechanism not only improves the safety of the charging pile, but also effectively reduces the risk of equipment damage.

[0012] In a preferred example, the present application may be further configured as follows: according to the charging method, detecting the operating parameter information of the offline charging pile, determining whether the operating parameter information meets the preset charging requirements, and obtaining the charging status information, and then further comprising: Acquire historical operating parameter information of the offline charging pile, and construct and train a charging optimization prediction model based on the historical operating parameter information; The operation parameter information is predicted using the charging optimization prediction model to obtain charging state prediction information of the offline charging pile; If the charging state prediction information does not meet the preset charging requirement, adjustment strategy information is generated to adjust the charging power or switch the charging mode.

[0013] By adopting the above technical solution, the historical operating parameter information of offline charging piles can be effectively used to build a charging optimization prediction model, thereby realizing accurate prediction of the charging status. By learning historical data, this model can identify and predict the operating status during future charging, which helps to discover potential problems in advance. During the actual charging process, the system will use the optimization prediction model to analyze the current operating parameter information in real time and generate charging status prediction information. If the prediction results show that it does not meet the preset charging requirements, the system will promptly generate adjustment strategy information, automatically adjust the charging power or switch the charging mode to ensure the efficiency and safety of the charging process.

[0014] In a preferred example, the present application may be further configured as follows: the acquiring of historical operating parameter information of the offline charging pile, and constructing and training a charging optimization prediction model based on the historical operating parameter information, includes: Dividing the historical operating parameter information into a training set and a test set in chronological order; The training set is used to train the charging optimization prediction initial model, and the parameters of the charging optimization prediction initial model are adjusted by a cross-validation method to obtain a trained charging optimization prediction model; The trained charging optimization prediction model is tested using the test set, and after the test passes, the charging optimization prediction model is obtained.

[0015] By adopting the above technical solution, it is possible to systematically process historical operating parameter information and lay a solid foundation for the construction of a charging optimization prediction model. First, the historical data is divided into a training set and a test set in chronological order, so that the model can be trained and verified on the basis of fully representing the past charging status. During the training process, the training set is used to train the initial charging optimization prediction model, and the model parameters are adjusted by cross-validation to improve its accuracy and generalization ability. After multiple verifications and adjustments, the final trained charging optimization prediction model has a high prediction accuracy. In addition, using the test set to test the trained model can effectively evaluate the performance of the model in practical applications and ensure that it can accurately predict the future charging status.

[0016] In a preferred example, the present application may be further configured as follows: after the electric vehicle is charged, charging fee settlement information is generated, and based on the charging fee settlement information, the total charging fee is deducted from the IC card, including: After the electric vehicle is charged, the charging duration information and the charging power information are confirmed, and the charging fee settlement information is calculated based on the charging duration information and the charging power information and combined with the real-time electricity price.

[0017] By adopting the above technical solution, after the electric vehicle is charged, the system dynamically calculates the charging fee settlement information based on the charging time information and charging power information, combined with the real-time electricity price. This calculation method not only takes into account the actual charging time and power, but also introduces the real-time electricity price factor, making the fee settlement more fair and reasonable.

[0018] The second object of the invention is achieved by the following technical solutions: An offline charging pile control device, the offline charging pile control device comprising: A connection detection module is used to obtain the connection information between the electric vehicle and the offline charging pile; An identity authentication module, used to detect the connection status between the electric vehicle and the offline charging pile based on the connection information, and obtain connection status information; A charging mode selection module, configured to read the IC card information if the connection status information is successful, determine whether the IC card is valid based on the IC card information, and obtain the charging mode selected by the user if the IC card is valid, wherein the charging mode includes fast charging and conventional charging; A charging condition confirmation module, used to detect the operating parameter information of the offline charging pile according to the charging method, determine whether the operating parameter information meets the requirements of the charging method, and obtain charging status information; A charging execution module, configured to charge the electric vehicle according to the charging mode if the operating parameter information meets the requirements of the charging mode according to the charging state information; The fee settlement module is used to generate charging fee settlement information after the electric vehicle is charged, and deduct the total charging fee from the IC card based on the charging fee settlement information.

[0019] By adopting the above technical solution, the charging process of electric vehicles in an offline state can be realized in the park. By obtaining the connection information between the electric vehicle and the offline charging pile and detecting its connection status, the connection reliability before charging begins is ensured. When the IC card verification is passed and the charging method selected by the user is obtained, the operating parameter information of the offline charging pile can be detected according to the charging method to determine whether it meets the preset charging requirements, ensuring the safety and stability of the charging process. After charging is completed, the system can generate fee settlement information based on the charging time, power information and real-time electricity price, and automatically deduct the corresponding fees from the IC card, which simplifies the fee settlement process, improves the user experience, and ensures the accurate calculation of fees.

[0020] The third objective of the present application is achieved through the following technical solutions: A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned offline charging pile control method when executing the computer program.

[0021] The fourth objective of the present application is achieved through the following technical solutions: A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned offline charging pile control method are implemented.

[0022] In summary, the present application includes at least one of the following beneficial technical effects: 1. It can realize the charging process of electric vehicles in an offline state within the park. By obtaining the connection information between the electric vehicle and the offline charging pile and detecting its connection status, the connection reliability before charging begins is ensured. When the IC card verification is passed and the charging method selected by the user is obtained, the operating parameter information of the offline charging pile can be detected according to the charging method to determine whether it meets the preset charging requirements, ensuring the safety and stability of the charging process. After charging is completed, the system can generate fee settlement information based on the charging time, power information and real-time electricity price, and automatically deduct the corresponding fees from the IC card, which simplifies the fee settlement process, improves the user experience, and ensures accurate calculation of fees; 2. It can effectively use the historical operating parameter information of offline charging piles to build a charging optimization prediction model, so as to achieve accurate prediction of the charging status. By learning historical data, this model can identify and predict the operating status during future charging, which helps to discover potential problems in advance. During the actual charging process, the system will use the optimization prediction model to analyze the current operating parameter information in real time and generate charging status prediction information. If the prediction results show that they do not meet the preset charging requirements, the system will promptly generate adjustment strategy information, automatically adjust the charging power or switch the charging mode to ensure the efficiency and safety of the charging process; 3. It can detect the operating parameter information of offline charging piles in real time, including current, harmonics and voltage, to ensure the compliance and safety of various indicators during the charging process. When all detection parameters meet the requirements of the charging method selected by the user at the same time, the system will generate charging status information as "chargeable" and start charging. This mechanism ensures the stability and efficiency of the charging process and avoids charging failures caused by abnormal parameters. Conversely, if any of the operating parameters does not meet the charging requirements, the system will promptly generate charging status information as "unchargeable" and can inform the user of the reason why charging cannot be carried out through corresponding prompts. This automatic detection and feedback mechanism not only improves the safety of charging piles, but also effectively reduces the risk of equipment damage. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 This is a flow chart of an offline charging pile control method in an embodiment of the present application; Figure 2 It is a flowchart for implementing step S20 in the offline charging pile control method in one embodiment of the present application; Figure 3 It is a flowchart for implementing step S30 in the offline charging pile control method in one embodiment of the present application; Figure 4 It is a flowchart for implementing step S40 in the offline charging pile control method in one embodiment of the present application; Figure 5 This is a flowchart of the implementation after step S40 in the offline charging pile control method in one embodiment of the present application; Figure 6 It is a flowchart for implementing step S41 in the offline charging pile control method in one embodiment of the present application; Figure 7 It is a flowchart for implementing step S60 in the offline charging pile control method in one embodiment of the present application; Figure 8 This is a principle block diagram of an offline charging pile control device in one embodiment of the present application; Fig. 9 It is a schematic diagram of a device in an embodiment of the present application. DETAILED DESCRIPTION

[0024] The present application is further described in detail below in conjunction with the accompanying drawings.

[0025] In one embodiment, if Figure 1 As shown, the present application discloses an offline charging pile control method, which specifically includes the following steps: S10: Acquire connection information between the electric vehicle and the offline charging pile.

[0026] Specifically, the physical connection status of the electric vehicle is detected through the connection port of the offline charging pile, or the wireless connection information of the electric vehicle is read through the wireless communication module. In addition, the offline charging pile can determine whether the electric vehicle is connected by detecting the identification signal or access request information of the electric vehicle. The connection information also includes basic information of the electric vehicle, such as vehicle ID, connection time, and current vehicle battery status, etc., to ensure the smooth progress of subsequent charging operations.

[0027] S20: Based on the connection information, detect the connection status between the electric vehicle and the offline charging pile to obtain connection status information.

[0028] Specifically, the offline charging pile can detect whether the physical or wireless connection between the electric vehicle and the offline charging pile is successful by detecting the connection status in real time. This connection confirmation operation can be completed by detecting the flow of current, connection voltage fluctuations, or the state of exchanging data packets through the communication protocol. Once the connection is successful, the system generates connection status information and feeds it back to the offline charging pile, prompting the offline charging pile to enter the subsequent charging process. If the connection is unsuccessful, a connection failure message will be generated to prompt the user to recheck the physical contact between the vehicle and the offline charging pile.

[0029] Furthermore, the system is used to manage and control the charging process between the offline charging pile and the electric vehicle.

[0030] S30: If the connection status information is successful, read the IC card information, and determine whether the IC card is valid based on the IC card information. If the IC card is valid, obtain the charging method selected by the user, which includes fast charging and conventional charging.

[0031] Specifically, the IC card information can be obtained through the IC card reader that comes with the offline charging pile. The read information includes user ID, account balance, card validity period, etc. The system verifies the read IC card information, such as verifying the validity of the IC card, whether it has expired, whether the balance is sufficient, etc. If the card is valid, the system will call up the user interface of the offline charging pile for the user to choose the charging method. The user can choose fast charging or regular charging mode through the interface. The choice of charging method directly affects the speed and power of subsequent charging. If the IC card is invalid, the system will prompt the user to replace the IC card.

[0032] S40: According to the charging method, detect the operating parameter information of the offline charging pile, determine whether the operating parameter information meets the requirements of the charging method, and obtain the charging status information.

[0033] Specifically, the operating parameter information includes parameters such as current, voltage, and harmonics. Before starting charging, the offline charging pile needs to detect whether these parameters meet the charging method requirements selected by the user. Fast charging mode usually requires higher voltage and current, while conventional charging requires more stable current and voltage output. The system monitors the changes of these parameters in real time. If all parameters meet the requirements, the generated charging status information is a chargeable state. On the contrary, if any parameter does not meet the requirements, the system will generate information about the non-chargeable state and stop the charging process, while prompting the user to charge failed or try to change the charging method.

[0034] S50: According to the charging state information, if the operating parameter information meets the requirements of the charging method, the electric vehicle is charged according to the charging method.

[0035] Specifically, after confirming that all operating parameters of the charging pile meet the requirements of the selected charging method, the system will automatically start charging. The charging pile will adjust the voltage and current output according to the selected charging method, and monitor the battery power, temperature changes and stability of operating parameters during the charging process in real time. In fast charging mode, the charging speed is faster and the current is larger, and the system will perform safety monitoring more frequently to prevent overload or overheating; in normal charging mode, the system will charge for a longer time at a lower current and voltage.

[0036] S60: After the electric vehicle is charged, charging fee settlement information is generated, and the total charging fee is deducted from the IC card based on the charging fee settlement information.

[0037] Specifically, after charging is completed, the system will calculate the total charging cost based on the charging time, the actual power consumed, and the real-time electricity price of the current power grid. The cost calculation formula can include multiplying the charging time by the actual charging power, and then combining the real-time electricity price to get the total cost. The system will automatically generate settlement information, match it with the IC card account, and deduct the corresponding amount from the IC card account. The entire fee deduction process is carried out through IC cards in an offline environment, ensuring that users can successfully complete charging payments even without a network connection.

[0038] In one embodiment, if Figure 2 As shown, in step S20, based on the connection information, the connection status between the electric vehicle and the offline charging pile is detected to obtain the connection status information, which also includes: S201: If the connection between the electric vehicle and the offline charging pile fails, a connection failure message is generated. The connection failure message is used to prompt the user to check the connection status and provide troubleshooting suggestions.

[0039] Specifically, when the charging pile detects that the electric vehicle has failed to successfully establish a connection with it, the system will immediately generate a connection failure message and inform the user through the display screen or prompt tone of the charging pile. The reasons for the connection failure may include that the electric vehicle is not parked correctly, the charging interface is not fully inserted, the charging cable is damaged, etc. The system will automatically generate corresponding troubleshooting suggestions for different failure reasons. For example, prompt the user to check whether the charging interface is plugged in tightly, whether the charging cable is intact, or restart the electric vehicle.

[0040] In one embodiment, if Figure 3 As shown, in step S30, if the connection status information is successful, the IC card information is read, and whether the IC card is valid is determined according to the IC card information. If the IC card is valid, the charging method selected by the user is obtained, and the charging method includes fast charging and conventional charging, and also includes: S301: If the IC card is valid, obtain the charging mode selected by the user through the operation interface of the offline charging pile.

[0041] Specifically, after the validity of the IC card is verified, the charging pile will automatically jump to the operation interface, where the user can select the desired charging method. Common charging methods include fast charging and conventional charging. The operation interface is usually designed as a simple and clear graphical interface to facilitate users to make choices quickly. Users select their preferred charging mode through the touch screen or buttons, and the charging pile will adjust the charging current, voltage and other parameters according to the user's selection to ensure that the charging process meets the user's needs.

[0042] S302: If the IC card is invalid, invalid card information is generated, and the invalid card information is used to prompt the user to replace the IC card.

[0043] Specifically, when the system detects that the inserted IC card is an invalid card, which may be due to card expiration, insufficient balance or card damage, the system will generate invalid card information and visually prompt the user that the card is invalid through the display screen of the charging station. The prompt information is usually accompanied by a detailed explanation of the reason, such as insufficient balance, please recharge or invalid card, please replace with a new card.

[0044] In one embodiment, if Figure 4 As shown, in step S40, that is, according to the charging mode, the operating parameter information of the offline charging pile is detected, and it is determined whether the operating parameter information meets the requirements of the charging mode, and the charging state information is obtained, including: S401: According to the charging method, the operating parameter information of the offline charging pile is detected, and the operating parameter information includes current, harmonics and voltage. If the operating parameter information meets the requirements of the charging method at the same time, the generated charging state information is chargeable.

[0045] Specifically, after the offline charging pile detects that the user has selected a specific charging method (such as fast charging or conventional charging), the system will automatically start real-time detection of the operating parameters of the charging pile. The operating parameters include current size, voltage level, and whether the harmonics are within the normal range. Current and voltage are mainly used to determine whether the charging power is stable, and harmonics are used to detect whether the power quality meets the standard. The system compares these parameters with the required values ​​of the selected charging method. For example, fast charging requires higher current and voltage, while conventional charging requires stable power and harmonics below a certain threshold. If all parameters meet the corresponding requirements, the system will generate rechargeable status information, indicating that charging can proceed smoothly. This information will be displayed through the charging pile interface and the charging process will be started.

[0046] S402: If any parameter in the operating parameter information does not meet the requirements of the charging method, the generated charging status information is that charging is not possible.

[0047] Specifically, if during the operation parameter detection process, the system detects that any of the current, voltage or harmonics parameters do not meet the requirements of the selected charging method, such as the current is too small to meet the requirements of fast charging, the voltage fluctuates greatly or the harmonics exceed the standard, the system will immediately generate a non-charging status message. This information will be notified to the user through the charging pile display, and may be accompanied by a warning sound or flashing prompt light. The system will automatically pause the charging process to avoid possible battery damage or charging pile failure. At the same time, the user will receive specific error messages and suggestions, such as unstable voltage, please try again later or harmonics exceed the standard.

[0048] In one embodiment, if Figure 5 As shown, after step S40, that is, according to the charging mode, the operating parameter information of the offline charging pile is detected, and it is determined whether the operating parameter information meets the preset charging requirements to obtain the charging status information, which also includes: S41: Obtain historical operating parameter information of the offline charging pile, and build and train a charging optimization prediction model based on the historical operating parameter information.

[0049] Specifically, the system regularly collects historical operating parameter information of offline charging piles, including records of current, voltage, harmonics and other key parameters under different charging conditions. To ensure the accuracy of the model, the collected historical data covers various charging methods (such as fast charging, conventional charging) and operating environments (such as different weather and load conditions). Next, the system builds an initial charging optimization prediction model based on these historical data.

[0050] S42: Use the charging optimization prediction model to predict the operating parameter information to obtain charging state prediction information of the offline charging pile.

[0051] Specifically, during the charging process, the system will input real-time operating parameter information (such as current, voltage, harmonics, etc.) into the previously trained charging optimization prediction model. The model will predict and analyze the current charging process in real time based on the learned historical data patterns. Through this model, the system can identify potential problems in the charging process in advance, such as power instability, overload risks, or reduced efficiency. The charging status prediction information will include a comprehensive analysis of the current operating status of the charging pile, predicting whether charging can be completed smoothly, the estimated completion time, possible fluctuations, etc.

[0052] S43: If the charging state prediction information does not meet the preset charging requirement, generating adjustment strategy information to adjust the charging power or switch the charging mode.

[0053] Specifically, when the charging status information predicted by the charging optimization prediction model shows that the current charging process may be at risk of not meeting the preset charging requirements, the system will immediately generate adjustment strategy information. The strategy information will contain specific suggestions for adjusting the charging power or switching the charging mode. For example, if it is predicted that the current is insufficient to support fast charging, the system may recommend reducing the charging power to avoid overheating of the device, or automatically switching to regular charging mode. The system will execute these adjustment strategies in real time according to actual conditions to ensure the safety and stability of the charging process.

[0054] In one embodiment, if Figure 6 As shown, in step S41, the historical operating parameter information of the offline charging pile is obtained, and a charging optimization prediction model is constructed and trained based on the historical operating parameter information, including: S411: Divide the historical operating parameter information into a training set and a test set in chronological order.

[0055] Specifically, the system will process the collected historical operating parameter information and organize the information in chronological order. According to the predetermined division ratio, 70% is used as a training set and 30% is used as a test set, and the data is divided into two parts. The training set is mainly used for model training, while the test set is used to evaluate the actual performance of the model. During the division process, the system will ensure the integrity and continuity of the data to avoid model training deviations caused by data jumps or incompleteness. In addition, the diversity of historical data will also be considered during the division to ensure that the training data and test data cover a variety of charging conditions so that the model can be generalized to different scenarios.

[0056] S412: Using the training set to train the charging optimization prediction initial model, adjusting the parameters of the charging optimization prediction initial model by a cross-validation method, and obtaining a trained charging optimization prediction model.

[0057] Specifically, after the initial model is built, the system will input the training set into the model to start training. The training process uses the cross-validation method, which further divides the training set into several subsets, and alternately performs model training and verification to ensure that the model's parameter adjustments can perform consistently in different data subsets. The system will adjust the model's parameters, such as learning rate, regularization coefficient, etc., in real time based on the verification results to improve the model's prediction accuracy. After each iterative training, the model's performance will be optimized to a certain extent until all indicators reach the preset standards, the training process ends, and the optimized charging prediction model is obtained.

[0058] S413: Testing the trained charging optimization prediction model using the test set. After the test passes, the charging optimization prediction model is obtained.

[0059] Specifically, after completing the training of the model, the system inputs the data of the test set into the trained charging optimization prediction model for verification. The testing process is used to evaluate the performance of the model on new data, mainly examining its prediction accuracy and robustness. The system calculates the error indicators of the model on the test set, such as mean square error (MSE) or accuracy, to measure the actual effect of the model. If the test results meet the expected performance standards, it means that the model has strong generalization capabilities and can accurately predict future charging processes. After the test passes, the model will be confirmed as a formal charging optimization prediction model.

[0060] In one embodiment, if Figure 7 As shown, in step S60, that is, after the electric vehicle is charged, the charging fee settlement information is generated, and the total charging fee is deducted from the IC card based on the charging fee settlement information, including: S601: After the electric vehicle is charged, the charging time information and the charging power information are confirmed, and the charging fee settlement information is calculated based on the charging time information and the charging power information and combined with the real-time electricity price.

[0061] Specifically, when the electric vehicle is fully charged, the system will first obtain the duration information and charging power information of the charging from the charging pile device. The charging duration information records the duration of the entire charging process, while the charging power information represents the power level used during charging. Subsequently, the system will calculate based on the current real-time electricity price, which may vary according to time periods such as peak or off-peak periods. The system multiplies the charging duration by the power to obtain the total power consumption, and multiplies it by the real-time electricity price to calculate the final charging fee settlement information. The settlement information includes detailed cost components, such as basic charging fees, peak and valley electricity price differences, etc., and ultimately generates the total charging fee that the user should pay.

[0062] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0063] In one embodiment, an offline charging pile control device is provided, and the offline charging pile control device corresponds one-to-one to the offline charging pile control method in the above embodiment. Figure 8 As shown, the offline charging pile control device includes a connection detection module, an identity authentication module, a charging mode selection module, a charging condition confirmation module, a charging execution module and a fee settlement module. The functional modules are described in detail as follows: A connection detection module is used to obtain the connection information between the electric vehicle and the offline charging pile; An identity authentication module, used to detect the connection status between the electric vehicle and the offline charging pile based on the connection information, and obtain the connection status information; The charging mode selection module is used to read the IC card information if the connection status information is successful, and determine whether the IC card is valid according to the IC card information. If the IC card is valid, the charging mode selected by the user is obtained, and the charging modes include fast charging and conventional charging; The charging condition confirmation module is used to detect the operating parameter information of the offline charging pile according to the charging method, determine whether the operating parameter information meets the requirements of the charging method, and obtain the charging status information; A charging execution module is used to charge the electric vehicle according to the charging state information if the operating parameter information meets the requirements of the charging method; The fee settlement module is used to generate charging fee settlement information after the electric vehicle is charged, and deduct the total charging fee from the IC card based on the charging fee settlement information.

[0064] Optionally, the authentication module also includes: The connection failure processing submodule is used to generate connection failure information if the connection between the electric vehicle and the offline charging pile fails. The connection failure information is used to prompt the user to check the connection status and provide troubleshooting suggestions.

[0065] Optionally, the charging mode selection module includes: The IC card valid submodule is used to obtain the charging mode selected by the user through the operation interface of the offline charging pile if the IC card is valid; The IC card invalid submodule generates invalid card information if the IC card is invalid. The invalid card information is used to prompt the user to replace the IC card.

[0066] Optionally, the charging condition confirmation module includes: The demand confirmation submodule is used to detect the operating parameter information of the offline charging pile according to the charging mode. The operating parameter information includes current, harmonics and voltage. If the operating parameter information meets the requirements of the charging mode at the same time, the generated charging status information is chargeable; The demand not met submodule is used to generate charging status information that is not chargeable if any parameter in the operating parameter information does not meet the requirements of the charging method.

[0067] Optionally, the charging condition confirmation module includes: The historical information acquisition submodule is used to obtain the historical operating parameter information of the offline charging pile, and build and train the charging optimization prediction model based on the historical operating parameter information; The prediction submodule is used to predict the operating parameter information using the charging optimization prediction model to obtain the charging state prediction information of the offline charging pile; The strategy submodule is used to generate adjustment strategy information to adjust the charging power or switch the charging mode if the charging state prediction information does not meet the preset charging requirements.

[0068] Optionally, the historical information acquisition submodule includes: A data set planning unit, used to divide the historical operation parameter information into a training set and a test set in chronological order; A model training unit is used to train the charging optimization prediction initial model using the training set, and adjust the parameters of the charging optimization prediction initial model through a cross-validation method to obtain a trained charging optimization prediction model; The model verification unit is used to test the trained charging optimization prediction model using a test set. After the test passes, the charging optimization prediction model is obtained.

[0069] Optionally, the fee settlement module includes: The settlement information submodule is used to confirm the charging time information and charging power information after the electric vehicle is charged, and calculate the charging fee settlement information based on the charging time information and charging power information and the real-time electricity price.

[0070] For the specific definition of the offline charging pile control device, please refer to the definition of the offline charging pile control method above, which will not be repeated here. Each module in the above-mentioned offline charging pile control device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0071] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Fig. 9 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, an offline charging pile control method is implemented.

[0072] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program: Obtain the connection information between the electric vehicle and the offline charging pile; Based on the connection information, detecting the connection status between the electric vehicle and the offline charging pile to obtain the connection status information; If the connection status information is successful, the IC card information is read, and whether the IC card is valid is determined based on the IC card information. If the IC card is valid, the charging method selected by the user is obtained, and the charging methods include fast charging and conventional charging; According to the charging method, detect the operating parameter information of the offline charging pile, determine whether the operating parameter information meets the requirements of the charging method, and obtain the charging status information; According to the charging state information, if the operating parameter information meets the requirements of the charging method, the electric vehicle is charged according to the charging method; After the electric vehicle is charged, charging fee settlement information is generated, and the total charging fee is deducted from the IC card based on the charging fee settlement information.

[0073] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: Obtain the connection information between the electric vehicle and the offline charging pile; Based on the connection information, detecting the connection status between the electric vehicle and the offline charging pile to obtain the connection status information; If the connection status information is successful, the IC card information is read, and whether the IC card is valid is determined based on the IC card information. If the IC card is valid, the charging method selected by the user is obtained, and the charging methods include fast charging and conventional charging; According to the charging method, detect the operating parameter information of the offline charging pile, determine whether the operating parameter information meets the requirements of the charging method, and obtain the charging status information; According to the charging state information, if the operating parameter information meets the requirements of the charging method, the electric vehicle is charged according to the charging method; After the electric vehicle is charged, charging fee settlement information is generated, and the total charging fee is deducted from the IC card based on the charging fee settlement information.

[0074] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0075] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0076] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. An offline charging pile control method, characterized in that: The offline charging pile control method comprises: Obtain the connection information between the electric vehicle and the offline charging pile; Based on the connection information, detecting the connection status between the electric vehicle and the offline charging pile to obtain connection status information; If the connection status information is successful, then read the IC card information, and determine whether the IC card is valid according to the IC card information. If the IC card is valid, then obtain the charging mode selected by the user, and the charging mode includes fast charging and conventional charging; According to the charging method, detecting the operating parameter information of the offline charging pile, determining whether the operating parameter information meets the requirements of the charging method, and obtaining charging status information; According to the charging state information, if the operating parameter information meets the requirement of the charging method, charging the electric vehicle according to the charging method; After the electric vehicle is charged, charging fee settlement information is generated, and the total charging fee is deducted from the IC card based on the charging fee settlement information.

2. The offline charging pile control method according to claim 1, characterized in that: The detecting the connection status between the electric vehicle and the offline charging pile based on the connection information to obtain the connection status information further includes: If the connection between the electric vehicle and the offline charging pile fails, connection failure information is generated, and the connection failure information is used to prompt the user to check the connection status and provide troubleshooting suggestions.

3. The offline charging pile control method according to claim 1, characterized in that: If the connection status information is successful, then read the IC card information, and determine whether the IC card is valid according to the IC card information. If the IC card is valid, obtain the charging mode selected by the user, and the charging mode includes fast charging and conventional charging. It also includes: If the IC card is valid, obtaining the charging mode selected by the user through the operation interface of the offline charging pile; If the IC card is invalid, invalid card information is generated, and the invalid card information is used to prompt the user to replace the IC card.

4. The offline charging pile control method according to claim 1, characterized in that: According to the charging method, detecting the operating parameter information of the offline charging pile, judging whether the operating parameter information meets the requirements of the charging method, and obtaining the charging status information includes: According to the charging method, detecting the operating parameter information of the offline charging pile, the operating parameter information including current, harmonics and voltage, and if the operating parameter information simultaneously meets the requirements of the charging method, the generated charging state information is chargeable; If any parameter in the operating parameter information does not meet the requirement of the charging method, the generated charging status information is that charging is not possible.

5. The offline charging pile control method according to claim 1, characterized in that: According to the charging mode, detecting the operating parameter information of the offline charging pile, judging whether the operating parameter information meets the preset charging requirement, and obtaining the charging state information, further comprising: Acquire historical operating parameter information of the offline charging pile, and construct and train a charging optimization prediction model based on the historical operating parameter information; The operation parameter information is predicted using the charging optimization prediction model to obtain charging state prediction information of the offline charging pile; If the charging state prediction information does not meet the preset charging requirement, adjustment strategy information is generated to adjust the charging power or switch the charging mode.

6. The offline charging pile control method according to claim 5, characterized in that: The acquiring of historical operating parameter information of the offline charging pile, and constructing and training a charging optimization prediction model based on the historical operating parameter information, includes: Dividing the historical operating parameter information into a training set and a test set in chronological order; The training set is used to train the charging optimization prediction initial model, and the parameters of the charging optimization prediction initial model are adjusted by a cross-validation method to obtain a trained charging optimization prediction model; The trained charging optimization prediction model is tested using the test set, and after the test passes, the charging optimization prediction model is obtained.

7. The offline charging pile control method according to claim 1, characterized in that: After the electric vehicle is charged, charging fee settlement information is generated, and based on the charging fee settlement information, the total charging fee is deducted from the IC card, including: After the electric vehicle is charged, the charging duration information and the charging power information are confirmed, and the charging fee settlement information is calculated based on the charging duration information and the charging power information and combined with the real-time electricity price.

8. An offline charging pile control device, characterized in that: The offline charging pile control device comprises: A connection detection module is used to obtain the connection information between the electric vehicle and the offline charging pile; An identity authentication module, used to detect the connection status between the electric vehicle and the offline charging pile based on the connection information, and obtain connection status information; A charging mode selection module, configured to read the IC card information if the connection status information is successful, determine whether the IC card is valid according to the IC card information, and obtain the charging mode selected by the user if the IC card is valid, wherein the charging mode includes fast charging and conventional charging; A charging condition confirmation module, used to detect the operating parameter information of the offline charging pile according to the charging method, determine whether the operating parameter information meets the requirements of the charging method, and obtain charging status information; A charging execution module, configured to charge the electric vehicle according to the charging mode if the operating parameter information meets the requirements of the charging mode according to the charging state information; The fee settlement module is used to generate charging fee settlement information after the electric vehicle is charged, and deduct the total charging fee from the IC card based on the charging fee settlement information.

9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the offline charging pile control method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the offline charging pile control method according to any one of claims 1 to 7 are implemented.