Simulation charging control method and device, computer equipment and storage medium

By obtaining and matching the QR code information of the charging pile and the driver's position information, and reconstructing the connection request, the problem of failure of the driver's terminal and the charging pile in the simulated charging test is solved, and the continuity and efficiency of the test are improved.

CN120068377APending Publication Date: 2025-05-30QIANSAN (BEIJING) TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411996772.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

During the simulated charging test, the driver's end cannot establish a connection with the charging pile, resulting in interruption in charging and affecting the test efficiency.

Method used

By obtaining the QR code information of the charging pile and the location information of the driver's end, matching the target pile code, rebuilding the connection request, and sending it to the charging pile to re-establish the communication connection.

Benefits of technology

It effectively reduces the number of connection failures, improves the continuity of analog charging, and ensures the uninterrupted progress of the analog charging process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120068377A_ABST
    Figure CN120068377A_ABST
Patent Text Reader

Abstract

The invention relates to a simulation charging control method and device, computer equipment and a storage medium. The method comprises the steps of monitoring a connection condition between a driver end and a current charging pile, obtaining two-dimensional code information of the current charging pile carried in a connection request and position information of the driver end when the driver end and the current charging pile are monitored to be failed in connection, obtaining the charging pile corresponding to the position information, and sending the charging pile to the driver end; and matching the charging pile corresponding to the position information with the two-dimensional code information, obtaining a target pile code, reconstructing a connection request according to the target pile code, and sending the connection request to the current charging pile, so that the current charging pile re-establishes communication connection with the driver end, and when the driver end is successfully connected with the current charging pile, sending the connection request to the driver end. And performing simulation charging according to preset charging parameters and algorithms. By adopting the method, the simulation charging can be ensured to be continuously and smoothly tested under the abnormal scene that the connection between the driver end and the charging pile fails.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of simulation testing, and particularly to a simulation charging control method, device, computer device, and storage medium. Background Art

[0002] Simulation charging is a technical means to simulate and imitate the charging process of electric vehicles in a virtual environment or specific test scenarios. Through software programs and related devices, it simulates the interaction process between electric vehicles and charging piles, changes in charging states, charging parameter settings, and various possible fault conditions, etc., for the testing, optimization, training of charging systems, and research and analysis of charging behaviors, etc., without actually connecting real electric vehicles and charging piles for charging operations. However, during the simulation charging test process, the situation where the driver terminal cannot establish a connection with the charging pile often occurs. And the inability to establish a connection means that the vehicle cannot replenish electrical energy in time, which may cause the driver to fail to reach the destination on time and result in itinerary delays.

[0003] In traditional solutions, when the driver terminal cannot establish a connection with the charging pile, usually, staff or the driver needs to manually check the connection status of the charging pile and charging equipment, such as checking whether the charging gun is plugged in properly and whether the charging pile is powered on normally, and then manually perform some configuration operations in the system to try to re - establish the connection. Or, directly terminate the simulation charging process, resulting in the inability to continue the simulation charging process.

[0004] However, in traditional technical solutions, the manual intervention and manual configuration processes are cumbersome, time - consuming, and inefficient. Especially in the absence of on - site guidance by professionals, the driver may need to spend a lot of time troubleshooting and operating, seriously affecting the charging efficiency. Summary of the Invention

[0005] Based on this, it is necessary to provide a simulation charging control method, device, computer device, and storage medium that can ensure the smooth progress of the simulation charging test work without interruption in the abnormal scenario where the connection between the driver terminal and the charging pile fails, aiming at the above - mentioned technical problems.

[0006] In a first aspect, this application provides a simulation charging control method, including:

[0007] Respond to a connection request sent by the driver terminal to the current charging pile, and establish a communication connection between the driver terminal and the current charging pile;

[0008] Monitor the connection status between the driver terminal and the current charging pile. When it is monitored that the connection between the driver terminal and the current charging pile fails, obtain the two - dimensional code information of the current charging pile and the location information of the driver terminal carried in the connection request;

[0009] Obtain the charging pile corresponding to the location information;

[0010] Match the charging pile corresponding to the location information with the two-dimensional code information to obtain the target pile code;

[0011] Reconstruct the connection request according to the target pile code and send it to the current charging pile so that the current charging pile can re - establish a communication connection with the driver terminal;

[0012] When the connection between the driver terminal and the current charging pile is successful, perform simulated charging according to the preset charging parameters and algorithms.

[0013] In one embodiment, matching the charging pile corresponding to the location information with the two - dimensional code information to obtain the target pile code includes:

[0014] Parse out the key information in the two - dimensional code information, and the key information includes the charging pile brand and the area code;

[0015] Perform a preliminary match between the charging pile brand and the area code and the charging pile information template in the parsing library;

[0016] Determine the candidate charging piles according to the charging piles obtained after the preliminary match and the charging piles corresponding to the location information;

[0017] Match the detailed information in the two - dimensional code information with the information of the candidate charging piles to obtain the target pile code.

[0018] In one embodiment, the simulated charging control method further includes:

[0019] Obtain the status and electrical parameters of the current charging pile, and the status includes the network communication status, the indicator light status, and the mechanical connection status;

[0020] Obtain the historical data of the current charging pile, and the historical data includes historical fault records, start success rates, and usage time and frequency;

[0021] Determine the available status of the charging pile according to the status, electrical parameters, and historical data of the current charging pile.

[0022] In one embodiment, the simulated charging control method further includes:

[0023] When multiple charging piles simultaneously send connection requests to the current charging pile, store the multiple connection requests in the message queue in order of priority, and the priority is set by the priority of the driver terminal and the sending time of each connection request;

[0024] Process each connection request in turn according to the message queue;

[0025] Obtain the load status of the current charging pile;

[0026] When the load of the current charging pile is full, the remaining connection requests in the message queue are allocated to other idle charging piles, and the location information of the charging piles is pushed to the corresponding driver terminals.

[0027] In one embodiment, the simulated charging control method further includes:

[0028] Obtain the price information of the current charging pile;

[0029] When the current charging pile is not configured with a price or the price configuration is incorrect, obtain the preset price and feedback it to the driver terminal.

[0030] In one embodiment, the simulated charging control method further includes:

[0031] When it is monitored that the current charging pile has not reported the charging fee during the charging process for more than a preset time period, obtain the rated power and charging duration of the current charging pile;

[0032] Determine the charging fee according to the rated power and the charging duration, and push it to the driver terminal.

[0033] In one embodiment, the simulated charging control method further includes:

[0034] Monitor the connection status signal of the charging gun of the current charging pile. When the connection status signal indicates that the charging gun has been unplugged and the current charging pile is in the charging state, send an instruction to stop charging to the current charging pile to control the current charging pile to stop charging.

[0035] In a second aspect, the present application provides a simulated charging control device, including:

[0036] A establishing module, configured to establish a communication connection between the driver terminal and the current charging pile in response to a connection request sent by the driver terminal to the current charging pile;

[0037] A monitoring module, configured to monitor the connection situation between the driver terminal and the current charging pile. When it is monitored that the connection between the driver terminal and the current charging pile fails, obtain the two-dimensional code information of the current charging pile carried in the connection request and the location information of the driver terminal;

[0038] An obtaining module, configured to obtain the charging pile corresponding to the location information;

[0039] A matching module, configured to match the charging pile corresponding to the location information with the two-dimensional code information to obtain a target pile code;

[0040] A sending module, configured to reconstruct a connection request according to the target pile code and send it to the current charging pile, so that the current charging pile re-establishes a communication connection with the driver terminal;

[0041] A charging module is used to perform simulated charging according to preset charging parameters and algorithms when the driver side is successfully connected to the current charging pile.

[0042] In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the simulated charging control method provided in any embodiment of the first aspect of the present application are implemented.

[0043] In the above-mentioned simulated charging control method, device, computer device and storage medium, when a connection failure occurs, by obtaining the charging pile QR code information and the driver side location information, further matching the target pile code and reconstructing the connection request, the opportunity to re-establish a communication connection with the current charging pile is increased, the number of connection failures caused by various factors is effectively reduced, the continuity of simulated charging is improved, and it is ensured that the simulated charging can be smoothly tested without interruption. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 is a schematic flow chart of the simulated charging control method in some embodiments;

[0045] Figure 2 is a structural block diagram of the simulated charging control device in some embodiments;

[0046] Figure 3 is an internal structure diagram of a computer device in some embodiments. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0047] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0048] In a first aspect, the present application provides a simulated charging control method. As Figure 1 shown, taking the application of this method to a server as an example for illustration, it includes the following steps:

[0049] Step S11: Respond to a connection request sent by the driver side to the current charging pile, and establish a communication connection between the driver side and the current charging pile.

[0050] Specifically, the driver side activates the QR code scanning function, aims at the QR code on the charging pile for scanning operation, and obtains the relevant content contained in the QR code. Through network communication, the driver side packages the scanned content in accordance with the specified data format and sends it to the server (which can be a simulation platform). After receiving the reported content, the server uses the corresponding recognition algorithm to parse and extract the gun code information from it. The extracted gun code is compared with the gun codes stored in its own database to check if there is a matching record. If there is a corresponding gun code in the library, a communication connection request between the driver side and the current charging pile is generated and forwarded to the current charging pile. After receiving the forwarded connection request, the current charging pile parses the key information in the request, such as the relevant identification of the driver side, etc. Based on the parsed information, the current charging pile conducts communication handshake and other operations with the driver side through an appropriate communication protocol to complete the establishment of the communication connection between the two.

[0051] Step S12, monitor the connection status between the driver side and the current charging pile. When it is monitored that the connection between the driver side and the current charging pile fails, obtain the QR code information of the current charging pile and the location information of the driver side carried in the connection request.

[0052] Specifically, a dedicated monitoring module is set up in the simulation platform, and a corresponding timer is configured or the event listening mechanism is utilized to detect the communication link status between the driver side and the current charging pile regularly or in real time, so as to monitor the connection status between the two.

[0053] When it is monitored that the communication link appears interrupted, unable to send and receive data normally, etc., which meet the connection failure determination criteria, it is determined that the connection between the driver side and the current charging pile fails.

[0054] The server then extracts the QR code information of the current charging pile and the location information of the driver side carried from the previously saved connection request related records. These records are generally stored properly when initially receiving and processing the connection request for subsequent invocation.

[0055] Step S13, obtain the charging pile corresponding to the location information.

[0056] Among them, the server can query the charging piles within a preset range near the location information of the driver side according to the pre-constructed database to obtain the charging piles corresponding to the location information of the driver side.

[0057] Step S14, match the charging pile corresponding to the location information with the QR code information to obtain the target pile code.

[0058] Among them, the server obtains the list of all charging pile information near the location information of the driver side from the corresponding database or storage system. These information cover basic data such as the pile code of the charging pile and the associated QR code information.

[0059] At the same time, ensure that the QR code information of the specific charging pile that needs to be matched has been obtained, and unify the data format to facilitate subsequent comparison operations.

[0060] For each nearby charging pile's QR code information, it is compared with the current charging pile's QR code information one by one through character comparison, data analysis, etc. A loop traversal method can be used to check the QR code data of all nearby charging piles in turn. During the comparison process, focus on the key content that can identify the uniqueness in the QR code information, such as whether the coding sequence, specific identification code segment, etc. are completely consistent, so as to determine whether the match is successful.

[0061] When a charging pile that matches the QR code information of the current charging pile is found, the pile code corresponding to the charging pile is extracted and determined as the target pile code for recording and subsequent use.

[0062] Step S15, reconstructing the connection request according to the target pile code and sending it to the current charging pile so that the current charging pile and the driver end can re-establish the communication connection.

[0063] Specifically, the server creates a new connection request in the system based on the acquired target pile code and the established communication protocol specifications. The connection request contains the driver's identity information (such as the driver's device number, user account, etc.), which is used by the charging pile to identify which driver initiated the request. At the same time, the target pile code information is added to clarify the specific charging pile to be connected. It is also necessary to fill in necessary auxiliary information such as request timestamp and request sequence number according to the protocol requirements to ensure the integrity and identifiability of the request. Send the constructed connection request data packet to the communication address and port corresponding to the current charging pile.

[0064] After sending the request, start the timer and set a reasonable timeout period to wait for the response of the current charging pile. If a response message indicating that the connection request is accepted is received from the charging pile within the timeout period, it means that the first step of reestablishing the communication connection is successful, and further subsequent operations such as handshake can be performed according to the communication protocol to complete the final communication connection reconstruction.

[0065] If no response is received within the time limit, a retransmission mechanism can be considered, such as sending the connection request again according to the set number of retransmissions and time intervals, or providing the driver with a prompt message indicating the connection failure so that the driver can further confirm the relevant situation (such as checking the network, charging station status, etc.).

[0066] Step S16, when the driver is successfully connected to the current charging pile, simulated charging is performed according to preset charging parameters and algorithms.

[0067] Specifically, after the driver terminal establishes a communication connection with the current charging pile, both parties confirm the successful establishment of the connection by sending and receiving specific connection success confirmation messages. For example, the charging pile returns a message containing the words "connection successful" and relevant identification information to the driver terminal, and the driver terminal receives and parses the confirmation.

[0068] Furthermore, the server extracts charging parameters from a preset configuration file, database, or system default settings. These parameters usually include the limited ranges of charging voltage, charging current, charging power, and the estimated charging duration, etc.

[0069] Send the obtained charging parameters to the current charging pile through the established communication connection. The charging pile receives and performs corresponding parameter configuration so that the internal charging module can operate according to the set parameters.

[0070] According to the set charging algorithm, start the simulated charging process on the driver terminal or the corresponding simulation platform. This algorithm may comprehensively consider factors such as the remaining battery power of the vehicle and the current charging parameters to simulate the dynamic process of the battery power changing over time. For example, according to a certain battery power increasing rule, update the battery power display value at fixed time intervals, etc.

[0071] The charging pile side simulates and outputs corresponding charging status feedback information, such as the real-time charging power and the charged amount, and sends it to the driver terminal. The driver terminal receives and updates the display interface so that the user can intuitively see the relevant situation of the simulated charging.

[0072] Furthermore, during the simulated charging process, continuously monitor whether the charging status is normal. For example, check whether there are problems such as abnormal parameters or communication interruptions. If an abnormality occurs, stop the simulated charging in time and give corresponding prompts or records.

[0073] When the simulated charging reaches the preset end condition, such as the battery is fully charged or the preset charging duration is reached, end the simulated charging process and do a good job in recording and saving relevant charging data for subsequent viewing and analysis.

[0074] In one of the embodiments, matching the charging pile corresponding to the location information with the two-dimensional code information to obtain the target pile code may include: parsing out the key information in the two-dimensional code information, where the key information includes the charging pile brand and the area code, making a preliminary match between the charging pile brand and the area code and the charging pile information template in the parsing library, determining the candidate charging pile according to the charging pile obtained after the preliminary match and the charging pile corresponding to the location information, and matching the detailed information in the two-dimensional code information with the information of the candidate charging pile to obtain the target pile code.

[0075] Among them, the key information in the QR code information refers to the core feature information that can quickly locate and narrow the matching range, such as the charging pile brand and regional code mentioned in the text. The brand information can clarify the specific manufacturer or operator to which the charging pile belongs, and the regional code can roughly determine the geographical area where the charging pile is located, which helps to initially screen out the set of charging piles that may match.

[0076] The detailed information in the QR code information: refers to the detailed feature information that can more accurately identify and distinguish specific charging pile individuals based on the key information. It usually includes the unique identification code of the charging pile, pile number, specific address, equipment model, interface type, etc. These information can be used for precise matching among the candidate charging piles after the initial matching, so as to determine the target pile code.

[0077] The charging pile information template is a pre-designed set of information with a specific format and data structure, used to store and describe the various feature information of the charging pile. It usually includes common information such as the brand of the charging pile, regional code, pile number, specific address, equipment model, interface type, charging power, voltage range, etc. These information are organized and arranged according to certain rules and sequences, so as to facilitate quick comparison and query with the QR code information during the matching process, thereby achieving accurate acquisition of the target pile code. The charging pile information template can be stored in a database, file or other data storage media, providing a standardized reference basis for the management and matching operations of the charging pile.

[0078] Specifically, this application can use a QR code parsing tool or related software library to parse the obtained QR code information, and extract the key information such as the charging pile brand and regional code contained therein. Compare the parsed charging pile brand and regional code with the charging pile information template in the pre-established parsing library, and find all the charging pile information that matches the brand and regional code as the result of the initial matching. Further, in combination with the driver-side location information, screen out the charging piles located near this location from the charging piles obtained by the initial matching as candidate charging piles.

[0079] Further, compare the detailed information in the QR code information with the corresponding information of the candidate charging piles one by one, and find the charging pile with a complete match. Its corresponding pile code is the target pile code.

[0080] The beneficial effect of this embodiment is that:

[0081] By first parsing the key information for initial matching, the matching range can be quickly narrowed, reducing the computational amount and time cost of subsequent precise matching, and improving the overall matching efficiency.

[0082] On the basis of the preliminary matching, combined with the detailed information for precise matching, it is possible to more accurately determine the target pile code, avoid incorrect matching caused by similar or ambiguous information, and improve the accuracy and reliability of the matching.

[0083] This hierarchical matching method makes the system easier to expand and maintain. When adding new charging pile brands or regions, only the information template in the parsing library needs to be updated, without affecting the architecture and logic of the entire matching process.

[0084] In one embodiment, the simulated charging control method may further include: obtaining the status and electrical parameters of the current charging pile, where the status includes the network communication status, indicator light status, and mechanical connection status, obtaining the historical data of the current charging pile, where the historical data includes historical fault records, startup success rate, and usage time and frequency, and determining the available status of the charging pile according to the status, electrical parameters, and historical data of the current charging pile.

[0085] Specifically, through the sensors, communication modules, and related monitoring systems built into the charging pile, the network communication status of the current charging pile can be obtained in real time, such as whether the network connection is normal, signal strength, etc.; the indicator light status, such as the on / off and color conditions of the power indicator light, charging indicator light, etc.; the mechanical connection status, such as whether the charging gun is firmly connected to the vehicle charging interface, and electrical parameters such as voltage, current, power, etc. At the same time, extract data such as its historical fault records, startup success rate, and usage time and frequency from the historical data storage unit or background database of the charging pile.

[0086] Furthermore, according to the obtained network communication status, determine whether the charging pile can communicate with the outside world normally. If the network connection is unstable or interrupted, it may affect its remote monitoring and interaction functions, and thus affect its usability. Based on the indicator light status, determine the working mode, charging stage, and whether there is a fault prompt of the charging pile. Through the mechanical connection status, determine whether the connection between the charging gun and the vehicle is reliable. If the connection is poor, it may cause charging interruption or failure. Analyze the electrical parameters. If parameters such as voltage, current, and power exceed the normal range or fluctuate abnormally, it may indicate that there is an electrical fault or performance degradation in the charging pile. Combine the historical fault records to check whether there are frequent fault occurrences. If so, it indicates that its reliability is low; evaluate the startup stability of the charging pile according to the startup success rate; and judge its aging degree and possible wear conditions based on the usage time and frequency. Considering all the above factors, determine the available status of the charging pile, such as available, partially available, unavailable, etc., and give corresponding status descriptions and suggestions.

[0087] Exemplarily, the available states of the charging pile in this application can be divided into three types: available, partially available, and unavailable. For example, if the current state is good, the electrical parameters are normal, and there are no obvious abnormalities in the historical data, it is determined to be available; if there are some minor problems but they do not affect the basic charging function, it is partially available; if there are serious faults or multiple abnormal indicators, it is determined to be unavailable.

[0088] Furthermore, if the current charging pile is available, the charging process is continued to be simulated. If the current charging pile is unavailable, the driver who is on the way or has made a reservation is promptly informed through the relevant platform that the charging pile cannot be used, and at the same time, the locations and relevant information of other available charging piles in the vicinity are provided to facilitate the driver to re-plan the charging arrangement.

[0089] The beneficial effects of this embodiment are as follows:

[0090] By comprehensively considering the current state, electrical parameters, and historical data of the charging pile, a comprehensive and systematic evaluation of the charging pile can be carried out, avoiding inaccurate results caused by judging availability based on a single factor, and improving the accuracy and reliability of the evaluation.

[0091] By analyzing the historical data, the potential fault risks and performance change trends of the charging pile can be discovered, maintenance measures can be taken in advance for fault prediction and prevention, the occurrence of sudden faults can be reduced, and the operation efficiency and service life of the charging pile can be improved.

[0092] Accurate available state information helps the operator reasonably arrange the use and maintenance plans of the charging pile, promptly repair or replace the unavailable or partially available charging piles, and optimize the allocation of charging pile resources.

[0093] In one of the embodiments, the simulated charging control method may further include: when multiple charging piles simultaneously send connection requests to the current charging pile, the multiple connection requests are stored in the message queue in order of priority. The priority is set according to the priority of the driver side and the sending time of each connection request. Each connection request is processed according to the message queue to obtain the load status of the current charging pile. When the load of the current charging pile is full, the remaining connection requests in the message queue are allocated to other idle charging piles, and the location information of the charging pile is pushed to the corresponding driver side.

[0094] Among them, the load status refers to the working load situation borne by the charging pile during operation, reflecting the current working intensity and resource occupancy degree of the charging pile. The specific load status mainly includes the idle state, that is, the charging pile is not connected to any vehicle and can accept charging requests at any time; the partial load state, where the charging pile is connected to some vehicles and there is still remaining power to continue charging other vehicles; the full load state, where the vehicles connected to the charging pile have occupied all its power and cannot accept new charging requests.

[0095] Specifically, a message queue is established to store connection requests sent simultaneously by multiple charging piles for the current charging pile. When a connection request is received, priorities are set based on the priority level of the driver side and the sending time of each connection request, and the connection requests are stored in the message queue in order of priority. The connection requests in the message queue are processed sequentially. Each time during processing, the load status of the current charging pile is first obtained. It is determined whether the load of the current charging pile is full, that is, whether there is still remaining power available for charging a new vehicle, by communicating with the charging pile or using relevant monitoring data.

[0096] Furthermore, if the load of the current charging pile is full, other idle charging piles are traversed, and the remaining connection requests in the message queue are allocated to these idle charging piles. According to the allocation result, the location information of the allocated idle charging piles is pushed to the corresponding driver side so that the driver can go for charging.

[0097] Among them, to set the priority of the connection request, specifically, it can be set according to the membership level of the driver side, the urgent charging requirement, the order of reservation time, the vehicle type, and the historical charging record.

[0098] Specifically, according to factors such as the consumption amount of the driver on the platform, the charging frequency, and the cumulative charging duration, the drivers are divided into different membership levels, such as ordinary members, silver card members, gold card members, diamond members, etc. The higher the membership level, the higher the priority. For example, the connection request of a diamond member takes precedence over that of a gold card member, the gold card member takes precedence over the silver card member, and the silver card member takes precedence over the ordinary member.

[0099] The driver side can set an identifier or option for the urgent charging requirement. When the vehicle's battery level is extremely low, such as when the remaining battery level is less than 10%, or in special situations such as having an urgent travel task, the driver can choose to mark it as an urgent charging requirement. For the connection request marked as an urgent charging requirement, regardless of the driver's membership level, a higher priority is given and it is processed prior to ordinary charging requests.

[0100] For drivers who reserve charging piles on the platform in advance, record the order of their reservation time. The earlier the reservation time of a driver, the higher the priority of their connection request, that is, the driver who reserves first has the priority to use the charging pile.

[0101] Classify according to the vehicle type, such as electric vehicles, electric buses, electric taxis, etc. The priority can be set according to the urgency and importance of charging for different vehicle types. For example, due to its operating nature, an electric bus may need to be guaranteed charging first, and its connection request has a relatively high priority; electric taxis come second, and electric vehicles come after that.

[0102] Analyze the driver's past charging records, including whether the fees are paid on time, whether the charging rules are followed, and whether there have been any violations. For drivers with good historical charging records and no violations, give an appropriate priority boost; while for drivers with multiple violations or bad records such as arrears, reduce their priority.

[0103] Among them, to determine whether the load of the current charging pile is full, any one or more of the following schemes can be included:

[0104] First, judge by power monitoring

[0105] Real-time power detection: Set a power monitoring module inside the charging pile to monitor the real-time power value output currently. Compare this real-time power value with the rated power of the charging pile. If the real-time power value reaches or is very close to the rated power, for example, within an allowable extremely small error range, it can be determined that the load of the charging pile is full, meaning there is no extra power to charge other vehicles.

[0106] Second, judge according to the occupancy of the charging interface

[0107] Interface quantity statistics: Know the number of charging interfaces equipped with the charging pile, and check the number of interfaces that have been inserted by the vehicle charging guns and are currently charging. When the number of charging interfaces in use is equal to the total number of available interfaces designed for the charging pile, it can be initially judged that its load is full because there are no free interfaces to accept new charging connections.

[0108] Third, judge in combination with the power distribution situation

[0109] Power distribution monitoring: Some intelligent charging pile systems can count and manage the power situation allocated to each charging vehicle. If the system monitors that the total power allocated has reached the maximum power carrying capacity that the charging pile can provide at the current stage, it means the load is full and no more charging tasks can be undertaken.

[0110] Fourth, judge by referring to the current and voltage parameters

[0111] Parameter comparison: Monitor the current and voltage parameters output by the charging pile. According to the principle of electrical engineering, power is equal to voltage multiplied by current. When the power calculated from the detected current and voltage values is close to or reaches the rated power, it means the load of the charging pile is full and it is in a full-load working state.

[0112] The beneficial effects of this embodiment are as follows:

[0113] By judging through the message queue and load status, charging resources are reasonably allocated, avoiding chaos caused by simultaneous competition of multiple connection requests, improving the overall utilization rate of charging piles, and reducing resource waste. The priority of connection requests is set according to the priority and sending time of the driver side, ensuring the rights and interests of different drivers, making the service more fair and reasonable, and reducing disputes caused by uneven resource allocation. Orderly processing of connection requests and reasonable load distribution contribute to maintaining the stable operation of the system and reducing the risk of system failures caused by problems such as resource conflicts or overloads.

[0114] In one embodiment, the simulated charging control method may further include: obtaining the price information of the current charging pile. When the current charging pile is not configured with a price or the price configuration is incorrect, obtaining the preset price and feeding it back to the driver side.

[0115] Among them, the server obtains the price information of the current charging pile from the configuration file of the charging pile, the database, or the communication interaction with the charging pile. The obtained price information is checked to determine whether there is a situation where the price is not configured, that is, the price field is empty or missing; at the same time, it is checked whether the price configuration is incorrect, such as unreasonable price values (too high or too low), mismatch between price and charging power, incorrect time setting of the price, etc., which do not conform to the normal pricing rules.

[0116] When it is detected that the current charging pile is not configured with a price or the price configuration is incorrect, the system looks up the corresponding preset price from the preset price library. The preset price can be a general price or a default price set based on factors such as the location of the charging pile and the type of charging pile. Then, the obtained preset price information is fed back to the driver side through the network communication interface so that the driver can understand the charging cost information.

[0117] The beneficial effects of this embodiment are as follows:

[0118] Ensure that drivers can timely and accurately understand the charging price before charging, avoid fee disputes caused by charging pile price configuration problems, and enable drivers to reasonably plan their charging behaviors and fee expenditures according to the price information.

[0119] Through the verification of price configuration and the setting of preset prices, the fault tolerance ability of the charging system in terms of price is improved, the system failures or anomalies that may be caused by abnormal price configuration are reduced, and the stability and reliability of the system are enhanced.

[0120] Automatically obtaining and feeding back the correct price reduces manual intervention and customer consultations caused by price errors or omissions, and reduces the operating costs and management difficulties.

[0121] In one embodiment, the simulated charging control method may further include: when it is monitored that the current charging pile fails to report the charging fee during the charging process for a preset time period, obtaining the rated power and charging duration of the current charging pile, determining the charging fee according to the rated power and charging duration, and pushing it to the driver terminal.

[0122] Specifically, a timer is set in the simulated charging control system or a timestamp mechanism is used to monitor the status of the current charging pile in real time, and key attention is paid to whether it reports the charging fee during the charging process to the system as required. When it is found that the current charging pile still fails to report the charging fee after the preset time period, the subsequent fee determination and pushing process is triggered.

[0123] Through the communication connection with the current charging pile, a request for obtaining the rated power is sent to the charging pile. After the charging pile responds, it returns its rated power information, which is generally the rated power value that the charging pile can provide during normal operation. At the same time, the duration information that this charging has lasted is extracted from the recorded charging process data, and this duration is usually calculated from the start time of charging to the current time when the fee has not been reported.

[0124] Furthermore, according to the obtained rated power and charging duration, the charging fee is determined according to the established charging fee calculation rules. Common calculation rules may be to divide different charging grades according to the power size, and then multiply the hourly charging unit price corresponding to the rated power by the charging duration (the duration unit is converted into hours) to obtain the specific charging fee value. For example, if the rated power is 10 kilowatts, the charging unit price per kilowatt per hour is 0.3 yuan, and the charging duration is 2 hours, then the charging fee is 10×0.3×2 = 6 yuan.

[0125] Furthermore, the determined charging fee information is sorted out and encapsulated according to the communication protocol and data format agreed with the driver terminal. The message containing the charging fee is pushed to the driver terminal so that the driver terminal can know and display the corresponding fee situation in a timely manner.

[0126] The beneficial effects of this embodiment are as follows:

[0127] Even if the charging pile fails to report the fee in a timely manner due to certain reasons, this mechanism can enable the driver terminal to obtain the charging fee situation in a timely and accurate manner, ensuring the transparency of the charging fee information and avoiding disputes caused by unclear fees in the future.

[0128] It enhances the ability of the entire simulated charging control process to handle abnormal situations, so that the charging service will not be interrupted due to the failure of the charging pile fee reporting link, and improves the overall reliability and coherence of the service.

[0129] In one embodiment, the simulated charging control method may include: monitoring the connection status signal of the charging gun of the current charging pile; when the connection status signal indicates that the charging gun has been unplugged and the current charging pile is in the charging state, sending an instruction to stop charging to the current charging pile to control the current charging pile to stop charging.

[0130] Specifically, a corresponding monitoring module is set up. The monitoring module obtains the connection status signal of the charging gun in real time through a communication connection with the current charging pile or by using the sensor feedback mechanism built into the charging pile. For example, by detecting the electrical connection situation of a specific interface between the charging gun and the charging pile, or receiving status codes and other information about the connection status of the charging gun sent by the charging pile to determine whether it is connected. Continuously monitor this connection status signal to ensure that changes in the signal can be captured in a timely manner.

[0131] When it is monitored that the connection status signal indicates that the charging gun has been unplugged, further query the operating status of the current charging pile to determine whether it is in the charging state. This can be determined by checking relevant indicators such as whether the charging current is being output and whether the charging indicator light shows the charging state feedback by the charging pile.

[0132] If it is confirmed that the charging gun has been unplugged and the charging pile is still in the charging state, it is determined that an abnormal situation has occurred and measures need to be taken for intervention.

[0133] Generate an instruction to stop charging according to the established communication protocol. This instruction needs to be encapsulated in accordance with the specified data format and contain necessary information such as an instruction identifier and the target charging pile number to ensure that the charging pile can accurately identify and execute it. Send the instruction to stop charging to the current charging pile through the established communication link.

[0134] After sending the instruction, wait for the feedback message from the charging pile to confirm whether the charging pile has successfully received the instruction and stopped charging as required. If a response message indicating that charging has stopped is received from the charging pile within a certain time, it means the operation is successful; if no response is received or a message indicating a failure to execute is received, consideration can be given to sending the instruction again or conducting corresponding troubleshooting.

[0135] The beneficial effects of this embodiment are as follows:

[0136] When the charging gun is accidentally unplugged while the charging pile is still charging, there may be safety hazards such as electric sparks and electric shocks. Timely sending of the stop charging instruction can prevent such dangerous situations from occurring and effectively protect the safety of on-site personnel and charging equipment. Prevent damage to related equipment such as the charging pile and the vehicle charging interface caused by continued charging after the charging gun is unplugged. For example, avoid problems such as circuit element burnout and interface damage caused by abnormal current impact, and extend the service life of the equipment.

[0137] In one embodiment, the simulated charging control method may further include: when multiple driver terminals request charging simultaneously, obtaining the remaining battery power of the vehicles corresponding to each driver terminal, and allocating each vehicle to the corresponding charging pile through a preset scheduling algorithm according to the remaining battery power of each vehicle, the estimated charging duration, the user priority, and the idle time of each charging pile.

[0138] In a second aspect, the present application provides a simulated charging control device, as Figure 2 shown, the simulated charging control device includes: a establishing module 21, a monitoring module 22, an obtaining module 23, a matching module 24, a sending module 25, and a charging module 26, where:

[0139] The establishing module 21 is configured to establish a communication connection between the driver terminal and the current charging pile in response to a connection request sent by the driver terminal to the current charging pile;

[0140] The monitoring module 22 is configured to monitor the connection status between the driver terminal and the current charging pile. When it is monitored that the connection between the driver terminal and the current charging pile fails, obtain the two-dimensional code information of the current charging pile and the location information of the driver terminal carried in the connection request;

[0141] The obtaining module 23 is configured to obtain the charging pile corresponding to the location information;

[0142] The matching module 24 is configured to match the charging pile corresponding to the location information with the two-dimensional code information to obtain the target pile code;

[0143] The sending module 25 is configured to reconstruct the connection request according to the target pile code and send it to the current charging pile, so that the current charging pile re-establishes a communication connection with the driver terminal;

[0144] The charging module 26 is configured to perform simulated charging according to preset charging parameters and algorithms when the driver terminal is successfully connected to the current charging pile.

[0145] In one embodiment, the matching module 24 may parse out the key information in the two-dimensional code information. The key information includes the charging pile brand and the area code. The charging pile brand and the area code are initially matched with the charging pile information template in the parsing library. The candidate charging piles are determined according to the charging piles obtained after the initial matching and the charging piles corresponding to the location information. The details information in the two-dimensional code information is matched with the information of the candidate charging piles to obtain the target pile code.

[0146] In one embodiment, the acquisition module 23 may further acquire the status and electrical parameters of the current charging pile. The status includes network communication status, indicator light status, and mechanical connection status. The historical data of the current charging pile is acquired, and the historical data includes historical fault records, startup success rate, and usage time and frequency. The available status of the charging pile is determined according to the status, electrical parameters, and historical data of the current charging pile.

[0147] In one embodiment, when multiple charging piles simultaneously send connection requests to the current charging pile, the establishment module 21 may sequentially store the multiple connection requests in the message queue according to the priority. The priority is set according to the priority of the driver terminal and the sending time of each connection request. Each connection request is processed sequentially according to the message queue, and the load status of the current charging pile is acquired. When the load of the current charging pile is full, the remaining connection requests in the message queue are allocated to other idle charging piles, and the location information of the charging pile is pushed to the corresponding driver terminal.

[0148] In one embodiment, the acquisition module 23 may further acquire the price information of the current charging pile. When the current charging pile is not configured with a price or the price configuration is incorrect, the preset price is acquired and fed back to the driver terminal.

[0149] In one embodiment, when it is monitored that the current charging pile does not report the charging fee during the charging process for a preset period of time, the monitoring module 22 may acquire the rated power and charging duration of the current charging pile, determine the charging fee according to the rated power and charging duration, and push it to the driver terminal.

[0150] In one embodiment, the monitoring module 22 may further monitor the connection status signal of the charging gun of the current charging pile. When the connection status signal indicates that the charging gun has been unplugged and the current charging pile is in the charging state, a stop charging instruction is sent to the current charging pile to control the current charging pile to stop charging.

[0151] In a third aspect, the present application provides a computer device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the steps of the analog charging control method provided in any embodiment of the first aspect of the present application are implemented.

[0152] In one embodiment, the computer device may be a server, and its internal structure diagram may be as Figure 3As shown. The computer device includes a processor, a memory, a network interface, and a database connected via 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 and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, it implements an analog charging control method.

[0153] In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements the steps of the analog charging control method provided in any one of the embodiments of the first aspect of the present application.

[0154] The computer-readable storage medium may be Figure 3 the computer-readable storage medium in the computer device shown.

[0155] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The above computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it may include the processes of the embodiments of the above methods. Among them, any reference to a memory, storage, database, or other medium used in the various embodiments provided by the present application may include non-volatile and / or volatile memories. 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 an 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 (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and Rambus dynamic RAM (RDRAM), etc.

[0156] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered to be within the scope described in this specification.

[0157] The above embodiments merely represent several implementation manners of the present application. The description thereof is relatively specific and detailed, but it should not be construed as a limitation on the scope of the invention patent. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all fall within the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the appended claims.

Claims

1. A simulation charging control method, characterized in that: The method comprises: In response to a connection request sent by the driver terminal to the current charging pile, establishing a communication connection between the driver terminal and the current charging pile; Monitor the connection between the driver terminal and the current charging pile, and when it is monitored that the connection between the driver terminal and the current charging pile fails, obtain the QR code information of the current charging pile and the location information of the driver terminal carried in the connection request; Obtaining a charging pile corresponding to the location information; Match the charging pile corresponding to the location information with the QR code information to obtain the target pile code; Reconstructing a connection request according to the target charging pile code and sending it to the current charging pile so that the current charging pile and the driver end can re-establish a communication connection; When the driver terminal is successfully connected to the current charging pile, simulated charging is performed according to preset charging parameters and algorithms.

2. The method according to claim 1, characterized in that The step of matching the charging pile corresponding to the location information with the two-dimensional code information to obtain the target pile code includes: Parsing the key information in the QR code information, the key information including the charging pile brand and the area code; Preliminarily matching the charging pile brand and area code with the charging pile information template in the parsing library; Determine a candidate charging pile based on the charging pile obtained after preliminary matching and the charging pile corresponding to the location information; The detailed information in the two-dimensional code information is matched with the information of the candidate charging pile to obtain the target pile code.

3. The method according to claim 2, characterized in that The method further comprises: Obtaining the current status and electrical parameters of the charging pile, wherein the status includes network communication status, indicator light status, and mechanical connection status; Acquire historical data of the current charging pile, the historical data including historical fault records, startup success rate, and usage time and frequency; The available state of the charging pile is determined according to the current state, electrical parameters and historical data of the charging pile.

4. The method according to claim 1, characterized in that: The method further comprises: When multiple charging piles simultaneously send connection requests to the current charging pile, the multiple connection requests are stored in the message queue in order of priority, and the priority is set by the priority of the driver side and the sending time of each connection request; Processing each connection request in sequence according to the message queue; Obtaining the load status of the current charging pile; When the current charging pile is fully loaded, the remaining connection requests in the message queue are allocated to other idle charging piles, and the location information of the charging piles is pushed to the corresponding driver end.

5. The method according to claim 1, characterized in that: The method further comprises: Obtaining price information of the current charging pile; When the current charging pile is not configured with a price or the price configuration is incorrect, a preset price is obtained and fed back to the driver end.

6. The method according to claim 1, characterized in that The method further comprises: When it is monitored that the current charging pile fails to report the charging fee during the charging process for more than a preset time period, the rated power and charging time of the current charging pile are obtained; The charging fee is determined according to the rated power and the charging time, and is pushed to the driver end.

7. The method according to claim 1, characterized in that The method comprises: Monitor the connection status signal of the charging gun of the current charging pile, and when the connection status signal shows that the charging gun has been unplugged and the current charging pile is in a charging state, send a stop charging instruction to the current charging pile to control the current charging pile to stop charging.

8. A simulated charging control device, characterized in that: The device includes: An establishing module, configured to establish a communication connection between the driver terminal and the current charging pile in response to a connection request with the current charging pile sent by the driver terminal; A monitoring module, used to monitor the connection between the driver terminal and the current charging pile, and when it is monitored that the connection between the driver terminal and the current charging pile fails, obtain the QR code information of the current charging pile and the location information of the driver terminal carried in the connection request; An acquisition module, used to acquire the charging pile corresponding to the location information; A matching module, used to match the charging pile corresponding to the location information with the QR code information to obtain the target pile code; A sending module, used to reconstruct a connection request according to the target pile code, and send it to the current charging pile, so that the current charging pile and the driver end can re-establish a communication connection; The charging module is used to simulate charging according to preset charging parameters and algorithms when the driver end is successfully connected to the current charging pile.

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 method according to any one of claims 1 to 7 are implemented.

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