Charging pile transaction processing method, device and equipment and storage medium
Through real-time monitoring and automatic response methods, intelligently manage charging pile resources, solving the problem of low efficiency in charging pile resource management and improving charging service efficiency and user experience.
Patent Information
- Application Number
- CN202510211933.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-25
- Publication Date
- 2025-06-03
- Estimated Expiration
- 2045-02-25
AI Technical Summary
How to more effectively manage and utilize charging pile resources to improve the charging service efficiency and user experience of electric vehicles.
By monitoring the status of the charging pile in real time, automatically responding to user power usage information, intelligently identifying idle charging piles, dynamically managing resources, providing functions such as transposition instructions and unlocking keys, intelligent and automated management of charging piles can be realized.
It improves the efficiency and user experience of charging services, avoids energy waste, enhances the safety of the charging process, and optimizes the utilization of charging pile resources.
Smart Images

Figure CN120080744A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of new energy vehicle related equipment, and in particular, to a charging pile transaction processing method, device, equipment and storage medium. Background Art
[0002] Charging facilities are the infrastructure for the development of electric vehicles. The charging facilities for electric vehicles can be divided into three types: charging piles, charging stations, and battery swapping stations. A charging pile can provide an AC charging power source for an electric vehicle, and has the characteristics of small floor area and flexible distribution points.
[0003] To meet the usage requirements of electric vehicles, the number of charging piles is growing rapidly. Due to the large number and wide distribution range of charging piles, how to better manage the charging piles to provide better charging services for users has become an urgent problem to be solved. Summary of the Invention
[0004] In order to better manage the charging piles and thus provide better charging services for customers, the present application provides a charging pile transaction processing method, device, equipment and storage medium.
[0005] In a first aspect, a charging pile transaction processing method provided by the present application adopts the following technical solution: A charging pile transaction processing method, comprising: Receiving power consumption information; Obtaining the working information of the power supply module; Judging whether the power supply module is in a working state based on the working information; If the power supply module is in a working state, obtaining and outputting a processing strategy; If the power supply module is not in a working state, outputting a waiting for power supply signal; Judging in real time whether the charging gun is connected; If the charging gun is connected, outputting a power supply signal to control the power supply module to supply power.
[0006] By adopting the above technical solution, by using the working information of the power supply module, the real-time monitoring of the charging pile status is realized. After receiving the power consumption information sent by the user, the command can be automatically and quickly responded to, improving the efficiency of the charging service. When the power supply module is in a working state, the corresponding processing strategy can be quickly obtained and output to ensure that the subsequent charging can proceed, that is, better serving the user. When the power supply module is not in a working state, the system outputs a waiting for power supply signal, avoiding unnecessary energy waste, contributing to energy conservation and emission reduction. When it is determined that the charging gun is successfully connected, the power supply module is controlled to supply power, enhancing the safety of the charging process and avoiding potential risks caused by the charging gun not being connected. The whole process can be processed intelligently and automatically.
[0007] Optionally, the processing strategy includes: Obtain other charging piles; Obtain the working status of the other charging piles; Extract the charging piles among the other charging piles that are not in the working status, and use the extracted charging piles as idle charging piles; Obtain the distance between the idle charging pile and the current charging pile and mark it at the corresponding idle charging pile; Wait and determine whether a transposition instruction input by the user is received; If the transposition instruction is received, lock the corresponding idle charging pile, and use the locked idle charging pile as the first designated charging pile; Obtain the position of the first designated charging pile and send it to the user; Send an unlocking key to the user so that the user can unlock the first designated charging pile.
[0008] By adopting the above technical solution, it is possible to obtain the working status of other charging piles in real time and intelligently identify idle charging piles. The dynamic resource management method ensures the effective utilization of charging pile resources, avoids the idle and waste of resources, and realizes the overall management of charging piles. When the current charging pile cannot be used, it can quickly provide the user with information about other idle charging piles, including distance markings and location information, for the user to choose, with intelligent processing to improve the convenience of the user. After the electronic device receives the transposition instruction from the user, it can immediately lock the corresponding idle charging pile and use it as the first designated charging pile. This intelligent scheduling method ensures that the user can smoothly use the charging pile after arriving at the designated location, avoiding waiting due to the charging pile being occupied. Sending an unlocking key to the user enables the user to easily unlock the first designated charging pile. This unlocking method not only simplifies the operation process but also improves the safety of the charging process, avoiding potential risks caused by improper operation. Through the above intelligent processing process, the utilization efficiency of the charging pile and the efficiency of the user are improved.
[0009] Optionally, the method further includes: Obtain historical data based on the user; Calculate the charging interval time of the user based on the historical data; Obtain the charging method; The charging method includes fast charging and slow charging; Obtain the number of fast charging times based on the fast charging; Obtain the number of slow charging times based on the slow charging; Calculate a comprehensive charging habit score based on the charging interval time, the charging method, the number of fast charging times, and the number of slow charging times and output it to the user.
[0010] By adopting the above technical solution, historical charging data of users is collected and analyzed, and a comprehensive charging habit score of the user is calculated based on key indicators such as charging interval time, number of fast charging times, and number of slow charging times. The quality of the user's charging habit can be intuitively shown through the quantified score, so that the user can better improve their charging behavior when the score is low to improve the charging habit. And through the score situation, the charging behavior and habit of the user can be understood, and preferences, needs, etc. can be analyzed therefrom, so as to better layout the charging piles, conduct targeted layout and adjustment of the charging piles, and better meet the users.
[0011] Optionally, the method further includes: Obtaining a historical comprehensive charging habit score; Calculating a change rate based on adjacent historical comprehensive charging habit scores; Judging whether there is a first change rate less than zero in the change rate; If the first change rate exists, obtaining a first quantity of the calculated change rate and a second quantity of the first change rate; Calculating a first ratio based on the first quantity and the second quantity; Judging whether the first ratio is less than a first threshold; If the first ratio is less than the first threshold, obtaining a corresponding first historical comprehensive charging habit score based on the first change rate; Calculating a first difference based on the first historical comprehensive charging habit score for which the first change rate is calculated; Obtaining a corresponding third quantity based on the first difference; Judging whether there is a second difference less than a second threshold in the first difference; If the second difference exists, obtaining a corresponding fourth quantity based on the second difference; Calculating a second ratio based on the third quantity and the fourth quantity; Judging whether the second ratio is greater than a ratio threshold; If the second ratio is greater than the ratio threshold, obtaining a corresponding second historical comprehensive charging habit score based on the second difference; Wherein, the second historical comprehensive charging habit score is the historical comprehensive charging habit score at the back in the calculated second difference; Obtaining a charging situation based on the second historical comprehensive charging habit score; Judging whether the user is in emergency charging based on the charging situation; If the user is not in emergency charging, outputting adjustment information based on the second historical comprehensive charging habit score.
[0012] By adopting the above technical solution, first calculate the change rate based on the historical comprehensive charging habit score. Based on the change rate, the change trend of the charging habit can be obtained. Determine whether there is a first change rate less than zero in the change rate and calculate the first proportion, which can evaluate the stability of the user's charging habit to a certain extent. In order to more accurately evaluate the user's situation, even if the first proportion is small, that is, the deduction situation is less, a further determination is still required. That is, calculate the first difference, judge the second difference and calculate the second proportion. When the second proportion is greater than the proportion threshold, it indicates that although the user has few deduction situations, there are many situations with large deduction values. Therefore, the electronic device obtains the corresponding charging situation based on the second historical comprehensive charging habit score, determines whether the user is in emergency charging. In the case of non-emergency charging, the electronic device outputs adjustment information so that the user can improve the charging behavior and thus improve the charging habit.
[0013] Optionally, determining whether the user is in emergency charging based on the charging situation includes: The charging situation includes the charging time period, the charging location, the charging method, and the charging interval; Judge whether the charging time period is different from other charging time periods; If it is different from other charging time periods, add one to the emergency score; Judge whether the charging location exceeds the second preset range of the normal location; If it exceeds the second preset range, add one to the emergency score; Judge whether the charging method is the fast charging; If the charging method is the fast charging, add one to the emergency score; Judge whether the charging interval is less than the third threshold; If the charging interval is less than the third threshold, add one to the emergency score; Judge whether the emergency score is greater than the fourth threshold; If the emergency score is greater than the fourth threshold, it is determined as emergency charging; If the emergency score is less than the fourth threshold, it is determined as not in emergency charging.
[0014] By adopting the above technical solution and analyzing multiple dimensions such as the charging time period, charging location, charging method, and charging interval, it is possible to more comprehensively capture abnormal or emergency features in the user's charging behavior, thereby more accurately determining whether the user is performing emergency charging. The judgment method is more reliable than the single-factor judgment, reducing the possibility of misjudgment. The judgment criteria can be adjusted according to the actual situation, that is, the second preset range, the third threshold, and the fourth threshold can be set artificially or obtained based on relevant experimental data, etc., to meet the needs of different user groups or different scenarios and improve the pertinence and effectiveness of the judgment.
[0015] Optionally, the method further includes: Determine whether the first feedback information is successfully sent; If the first feedback information fails to be sent, send a communication request message to the terminal held by the user; Determine whether the second feedback information sent by the terminal is received; If the second feedback information is received, send the data communication information to the terminal so that the terminal sends the data communication information to the server.
[0016] By adopting the above technical solution, determine whether the first feedback information is successfully sent. When it is determined that the sending fails, it indicates that there is a problem with the network and communication with the server is unavailable. Therefore, at this time, a communication request message is sent to the terminal to seek the user's consent. When the second feedback information is received, it indicates that the user agrees. Therefore, at this time, the data communication information is sent only to the terminal so that the terminal can send the data communication information to the server, that is, using the terminal as a transfer station to achieve communication with the server. This improves flexibility, facilitates reducing the waste of charging pile resources, and can also reduce the possibility that users need to change to a farther location for charging due to the inability of electronic devices to communicate with the server.
[0017] Optionally, before sending the data communication information to the terminal, it further includes: Randomly divide the data communication information into a first preset number of data blocks; Randomly obtain the first preset number of encryption algorithms; Wherein, the encryption algorithms are all different; Randomly match the encryption algorithms with the data blocks so that each data block corresponds to one encryption algorithm; Combine the encrypted data blocks into a data set; Assign the data set to the data communication information.
[0018] By adopting the above technical solution, the data communication information is randomly divided into multiple data blocks, and a different encryption algorithm is randomly assigned to each data block. This method greatly increases the difficulty of data cracking. Even if a certain encryption algorithm is cracked, only the information of some data blocks can be obtained, and the complete data communication content cannot be obtained, which can avoid the situation of economic losses caused by malicious cracking. These data blocks are randomly combined before being sent. Therefore, even if the data is intercepted during the transmission process, it is difficult for attackers to extract useful information from it, which greatly reduces the risk of data leakage. Moreover, it is difficult to predict or analyze the encrypted data, which improves the confidentiality of data communication.
[0019] In a second aspect, a charging pile transaction processing device provided by the present application adopts the following technical solution: A first receiving module, configured to receive power consumption information; A first obtaining module, configured to obtain the working information of the power supply module; A first judging module, configured to judge whether the obtaining module is in a working state based on the working information; if the power supply module is in a working state, it transfers to the second obtaining module; if the power supply module is not in a working state, it transfers to the first output module; A second obtaining module, configured to obtain a processing strategy and output it; A first output module, configured to output a waiting power supply signal; A second judging module, configured to judge in real time whether the charging gun is connected; if the charging gun is connected, it transfers to the second output module; the second output module is configured to output a power supply signal to control the power supply of the power supply module In a third aspect, an electronic device provided by the present application adopts the following technical solution: An electronic device includes a processor, and the processor is coupled to a memory; the processor is configured to execute a computer program stored in the memory so that the electronic device executes the method described in the first aspect.
[0020] In a fourth aspect, a computer-readable storage medium provided by the present application adopts the following technical solution: A computer-readable storage medium includes a computer program or instruction. When the computer program or instruction runs on a computer, the computer is made to execute the method described in the first aspect. Description of the Drawings
[0021] Figure 1 is a flowchart of the charging pile transaction processing method according to an embodiment of the present application.
[0022] Figure 2 is a block diagram of the charging pile transaction processing device according to an embodiment of the present application.
[0023] Figure 3 It is a block diagram of an electronic device according to an embodiment of the present application. Detailed implementation manners
[0024] This specific embodiment is only an interpretation of the present application and does not limit the present application. After reading this specification, those skilled in the art can make modifications to this embodiment without creative contributions as needed, but as long as they are within the scope of the claims of the present application, they are protected by the patent law.
[0025] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are some, but not all, of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without making creative efforts belong to the scope of protection of the present application.
[0026] In addition, the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this article generally represents an "or" relationship between the associated objects before and after, unless otherwise specified.
[0027] An embodiment of the present application discloses a charging pile transaction processing method. This charging pile transaction processing method can be executed by an electronic device. The electronic device can be a server or a terminal device. The server can be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. The terminal device can be a smart phone, a tablet computer, a desktop computer, etc., but is not limited thereto.
[0028] An embodiment of the present application discloses a charging pile transaction processing method. Refer to Figure 1 , the main processes included in a charging pile transaction processing method are described as follows (S100~S700): Step S100, receive power consumption information; Step S200, obtain the working information of the power supply module; Step S300, determine whether the power supply module is in a working state based on the working information; if the power supply module is in a working state, go to step S400; if the power supply module is not in a working state, go to step S500; Step S400, obtain the processing strategy and output it; Step S500, output a waiting for power supply signal; Step S600: Continuously determine whether the charging gun is connected. If the charging gun is connected, proceed to step S700. Step S700: Output a power supply signal to control the power supply module to supply power.
[0029] After receiving the power consumption information sent by the server, that is, at this time, a user has sent a charging request to the server using the terminal, the server will send the power consumption information to the electronic device. The electronic device obtains the working information of the power supply module to determine whether the power supply module is in a working state. If the power supply module is in a working state, it means that charging cannot be provided to the user at this time. Therefore, the electronic device needs to obtain a processing strategy and output it to handle the situation where charging cannot be provided to the user. If the power supply module is not in a working state, it means that charging can be provided to the user. Therefore, at this time, the electronic device outputs a waiting power supply signal to the power supply module to make the power supply module in a state where it can charge the user. Then, the electronic device continuously determines whether the charging gun is connected, that is, determines whether the user has completed connecting the charging gun. If the charging gun is connected, at this time, the electronic device outputs a power supply signal to the power supply module to control the power supply module to output electric energy to charge the user.
[0030] Specifically, the processing strategy includes: obtaining other charging piles; obtaining the working status of other charging piles; extracting the charging piles that are not in a working state among other charging piles and using the extracted charging piles as idle charging piles; obtaining the distance between the idle charging piles and the current charging pile and marking it at the corresponding idle charging piles; waiting and determining whether a position change instruction input by the user is received; if a position change instruction is received, lock the corresponding idle charging pile and use the locked idle charging pile as the first designated charging pile; obtain the position of the first designated charging pile and send it to the user; send an unlocking key to the user so that the user can unlock the first designated charging pile.
[0031] Regarding the specific content of the processing strategy, it includes that the electronic device obtains other charging piles, that is, searches for replaceable charging piles. After that, the electronic device obtains the working status of other charging piles, and extracts the charging piles that are not in the working state among other charging piles, and uses the extracted charging piles as idle charging piles. The electronic device obtains the distance between the idle charging pile and the current charging pile and marks it at the corresponding idle charging pile, that is, the user can know the corresponding distance while being able to learn about other charging piles, so that the user can select a suitable charging pile according to their own needs. Therefore, after the electronic device provides the information to the customer, the electronic device waits and judges whether it receives a transposition instruction input by the user. If it receives the transposition instruction, it means that the user has selected the provided other charging pile. The electronic device can determine the charging pile selected by the user based on the transposition instruction. Therefore, at this time, the electronic device locks the charging pile selected by the user. After locking, other users cannot use it, so that the user can use it after arriving at the selected charging pile, and avoid being used by other users during the movement, resulting in ineffective movement after the user arrives at the location. And, after the electronic device locks the first specified charging pile, it will generate an unlocking key so that the user can unlock the locked first specified charging pile.
[0032] Among them, for the locking of the charging pile, the electronic device sends a corresponding locking signal to the server so that the server can lock the corresponding charging pile.
[0033] And, before locking the corresponding idle charging pile, it also includes: obtaining the distance information between the first specified charging pile and the current charging pile, judging whether the distance information is greater than the distance threshold. If the distance information is greater than the distance threshold, based on the distance information, obtain the corresponding idle time, and prompt the idle time based on the first specified charging pile, so that other users can use the first specified charging pile during the idle time.
[0034] If the user selects a relatively far charging pile, the movement process takes a long time, that is, the distance information is greater than the distance threshold. Therefore, at this time, the first specified charging pile will have a relatively large idle time. During the idle time, other users can use it, and it is prompted that other users can only use it during the idle time. When the subsequent user arrives at the location, through the verification of the unlocking key, the charging gun can be removed for charging. That is, after locking the idle charging pile, this charging pile can be used by other users, but the user who initiates the locking has a higher priority. This method can make better use of charging resources.
[0035] Specifically, it also includes: judging whether the first designated charging pile has received a charging instruction based on the idle time; if the first designated charging pile has received the charging instruction, sending a power supply signal to the power supply module; judging in real time whether an unlocking key has been received; if the unlocking key has been received, judging whether a report information has been received; if the report information has been received, obtaining the corresponding violating user based on the charging instruction; obtaining the cumulative number of violations based on the violating user; obtaining the corresponding penalty information based on the cumulative number of violations; and punishing the violating user based on the penalty information.
[0036] During idle time, the electronic device determines whether the first designated charging pile receives a charging instruction, that is, determines whether other users use the first designated charging pile during idle time. If the first designated charging pile receives a charging instruction, the electronic device controls the power supply of the charging pile. After that, the electronic device determines in real time whether the unlocking key is received, that is, determines whether the user has arrived at the location and is ready to charge. If the unlocking key is received, it indicates that the user has arrived at the location and is ready to charge. After that, the electronic device determines whether the reporting information is received. For other users who use the first designated charging pile during idle time, the car being charged may be able to lock the charging gun, which may cause the charging gun to be unable to be removed, resulting in the user being unable to charge even if the unlocking key is used to unlock it. Therefore, the user can report at this time, that is, the electronic device receives the reporting information, and then the electronic device obtains the corresponding violating user based on the charging instruction, and obtains the cumulative number of violations based on the violating user, obtains the corresponding penalty information based on the cumulative number of violations, and punishes the violating user based on the penalty information.
[0037] Among them, for the reporting information, it is necessary to provide photos, videos, etc. of the scene to prove that the charging gun is indeed locked by the car and cannot be removed, so as to avoid random reporting.
[0038] As an optional implementation manner of the embodiment of the present application, it also includes: obtaining historical data based on the user; calculating the user's charging interval based on the historical data; obtaining the charging method; the charging method includes fast charging and slow charging; obtaining the number of fast charges based on fast charging; obtaining the number of slow charges based on slow charging; calculating a comprehensive charging habit score based on the charging interval, charging method, number of fast charges and number of slow charges and outputting it to the user.
[0039] The electronic device obtains historical data based on the user, calculates the charging interval time of the user based on the historical data, obtains the charging method of the user, and the charging methods include fast charging and slow charging. The electronic device obtains the corresponding number of fast charging times based on fast charging, and at the same time obtains the corresponding number of slow charging times for slow charging. Then, calculations are performed based on the data obtained above to obtain a comprehensive charging habit score, and the comprehensive charging habit score is sent to the user. The charging habits of the user are quantified, so that the user can better measure their own charging situation, in order to improve the charging habits and charging situation according to the score situation.
[0040] Specifically, for the calculation of the comprehensive habit score, it includes the following steps and content: S 基础总分 =∑S 基础分 (Formula 2); Among them, T i is the i-th charging time interval, is a function about T i used to convert the charging time interval into a score, and K 间隔 is the score coefficient corresponding to the charging time interval. For the function, the electronic device can select it by itself because the function requires the electronic device to analyze the distribution characteristics and trends of the charging time interval data, and different data characteristics require different functions to perform better calculations to obtain more accurate results. The functions include but are not limited to logarithmic functions, power functions, inverse proportional functions, and quadratic functions.
[0041] For example, when the function is a logarithmic function, Among them, a, b, and c are constants, which need to be obtained by the electronic device through actual data fitting. For the fitting process of a, b, and c, first obtain a set of actual data through experiments, etc., that is, obtain a charging time interval T i and the corresponding score After that, use the non-linear regression algorithm to calculate the optimal values of a, b, and c. For the non-linear regression algorithm, the curve_fit function in the SciPy library can be used. This algorithm will try different combinations and calculate the error between the model prediction value and the actual observed value under each combination. The error is usually measured by a loss function, and the loss function includes but is not limited to the mean square error. The goal of the non-linear regression algorithm is to find the parameter combination that minimizes the loss function, that is, to obtain the optimal values of a, b, and c.
[0042] S 调整快 =N 快 *W 快 *K快 (Formula 3); S 调整慢 = N 慢 * W 慢 * K 慢 (Formula 4); wherein, N 快 is the number of fast charging times corresponding to fast charging, W 快 is the fast charging weight of fast charging, K 快 is the scoring coefficient of fast charging, S 调整快 is the adjusted score of fast charging; N 慢 is the number of slow charging times corresponding to slow charging, W 慢 is the fast charging weight of slow charging, K 慢 is the scoring coefficient of slow charging, S 调整慢 is the adjusted score of slow charging.
[0043] S 综合 = S 基础总分 * α + (S 调整快 + S 调整慢 ) * β (Formula 5); wherein, S 综合 is the comprehensive charging habit score, α is the basic scoring coefficient, and β is the adjusted scoring coefficient.
[0044] Substituting Formula 1, Formula 2, Formula 3, and Formula 4 into Formula 5, the comprehensive charging habit score can be calculated to quantify the charging habit and charging situation, so that users can more intuitively measure and understand the quality of the charging habit, in order to better correct and improve.
[0045] Among them, for the comprehensive charging habit score, the larger the score, the better the user's charging habit. Moreover, different charging behaviors of users, such as the selected charging method, charging frequency, etc., will affect the health of the battery of the electric vehicle.
[0046] As an alternative implementation manner of the embodiment of the present application, it further includes: obtaining a historical comprehensive charging habit score; calculating a change rate based on adjacent historical comprehensive charging habit scores; determining whether there is a first change rate less than zero in the change rate; if there is a first change rate, obtaining a first quantity of the calculated change rate and a second quantity of the first change rate; calculating a first proportion based on the first quantity and the second quantity; determining whether the first proportion is less than a first threshold; if the first proportion is less than the first threshold, obtaining a corresponding first historical comprehensive charging habit score based on the first change rate; calculating a first difference based on the first historical comprehensive charging habit score for which the first change rate is calculated; obtaining a corresponding third quantity based on the first difference; determining whether there is a second difference less than a second threshold in the first difference; if there is a second difference, obtaining a corresponding fourth quantity based on the second difference; calculating a second proportion based on the third quantity and the fourth quantity; determining whether the second proportion is greater than a proportion threshold; if the second proportion is greater than the proportion threshold, obtaining a corresponding second historical comprehensive charging habit score based on the second difference; wherein, the second historical comprehensive charging habit score is the historical comprehensive charging habit score at the back in the calculated second difference; obtaining a charging situation based on the second historical comprehensive charging habit score; determining whether the user is in emergency charging based on the charging situation; if the user is not in emergency charging, outputting adjustment information based on the second historical comprehensive charging habit score.
[0047] To better determine the charging changes of the user, the electronic device obtains the historical comprehensive charging habit scores and calculates the change rate based on the scores of adjacent historical comprehensive charging habits. The scores of adjacent historical comprehensive charging habits are the scores of the previous and the next times. For the calculation of the change rate, the scores of adjacent historical comprehensive charging habits are obtained, and then the score difference is obtained by subtracting the score of the previous historical comprehensive charging habit from the score of the subsequent historical comprehensive charging habit. Then, the change rate is obtained by dividing the score difference by the score of the previous historical comprehensive charging habit. Multiple change rates can be calculated through multiple historical comprehensive charging habit scores. Then, the electronic device determines whether there is a first change rate less than zero among the change rates, that is, the change rate less than zero is used as the first change rate. If it is determined that there is a first change rate, the electronic device obtains the first quantity corresponding to the change rate and the second quantity of the first change rate, and then calculates the first ratio, where the first ratio is equal to the second quantity divided by the first quantity. Then, it is determined whether the first ratio is less than the first threshold. If the first ratio is less than the first threshold, it indicates that the user's score reduction is less. Although the score reduction is small, the user's comprehensive charging habit score may not necessarily be high. If the score reduction value is large during the score reduction, it will still cause the comprehensive charging habit score to become low. Therefore, the electronic device obtains the corresponding first historical comprehensive charging habit scores based on the first change rate, that is, the two first historical comprehensive charging habit scores for which the first change rate is calculated. Then, the first difference is calculated based on the two first historical comprehensive charging habit scores. The first difference is the score of the subsequent first historical comprehensive charging habit minus the score of the previous first historical comprehensive charging habit. Therefore, the first difference is negative when the user's score decreases. When there are multiple first change rates, each first change rate corresponds to two first historical comprehensive charging habit scores, and finally, multiple first differences can be calculated. The electronic device obtains the corresponding third quantity based on the first difference, and then the electronic device determines whether there is a second difference less than the second threshold among the first differences, that is, the first difference less than the second threshold is used as the second difference. At this time, the second difference indicates that the user's score reduction value is large. The electronic device obtains the corresponding fourth quantity based on the second difference and calculates the second ratio, where the second ratio is equal to the fourth quantity divided by the third quantity. Then, the electronic device determines whether the second ratio is greater than the ratio threshold. If the second ratio is greater than the ratio threshold, it indicates that the situation where the user's score reduction value is large is relatively more. Therefore, at this time, the electronic device obtains the corresponding second historical comprehensive charging habit scores based on the second difference, and the second historical comprehensive charging habit score is the score of the subsequent historical comprehensive charging habit in the calculated second difference. The electronic device obtains the charging situation based on the second historical comprehensive charging habit score, and then determines whether the user is in emergency charging based on the charging situation. If the user is not in emergency charging, the electronic device outputs adjustment information based on the second historical comprehensive charging habit score so that the user can adjust the charging situation based on the adjustment information.
[0048] Specifically, determining whether the user is in emergency charging based on the charging situation includes: the charging situation includes the charging time period, charging location, charging method, and charging interval; determining whether the charging time period is different from other charging time periods; if it is different from other charging time periods, add one to the emergency points; determining whether the charging location exceeds the second preset range of the normal location; if it exceeds the second preset range, add one to the emergency points; determining whether the charging method is fast charging; if the charging method is fast charging, add one to the emergency points; determining whether the charging interval is less than the third threshold; if the charging interval is less than the third threshold, add one to the emergency points; determining whether the emergency points are greater than the fourth threshold; if the emergency points are greater than the fourth threshold, it is determined as emergency charging; if the emergency points are less than the fourth threshold, it is determined as non-emergency charging.
[0049] The charging situation includes but is not limited to the charging time period, charging location, charging method, and charging interval. In this embodiment, the above four are taken as examples for illustration. The electronic device determines whether the charging time period is different from other charging time periods, that is, determines whether the charging time period is different from the usual charging time period. If it is different from other charging time periods, add one to the emergency points. The electronic device determines whether the charging location exceeds the second preset range of the normal location. If it exceeds the second preset range, add one to the emergency points. The electronic device determines whether the charging method is fast charging. If the charging method is fast charging, add one to the emergency points. The electronic device determines whether the charging interval is less than the third threshold. If the charging interval is less than the third threshold, add one to the emergency points. The electronic device determines whether the emergency points are greater than the fourth threshold. If the emergency points are greater than the fourth threshold, the electronic device determines it as emergency charging. If the emergency points are less than the fourth threshold, it is determined as non-emergency charging.
[0050] As an optional implementation manner of the embodiment of the present application, it further includes: determining whether the first feedback information is successfully sent; if the first feedback information fails to be sent, send a communication request information to the terminal held by the user; determining whether the second feedback information sent by the terminal is received; if the second feedback information is received, send the data communication information to the terminal so that the terminal sends the data communication information to the server.
[0051] The electronic device determines whether the first feedback information is successfully sent, that is, determines whether the first feedback information to the server is successfully sent. If the first feedback information fails to be sent, it is determined that there is a problem with the network of the electronic device and the interaction with the server cannot be achieved. Therefore, at this time, the electronic device sends a communication request message to the terminal held by the user. The electronic device determines whether the second feedback information sent by the terminal is received, that is, determines whether the user agrees to use the terminal as a relay station to achieve connection with the server. If the second feedback information is received, the electronic device sends the data communication information to the terminal so that the terminal can send the data communication information to the server. When there is a network problem with the electronic device, the user's terminal can be used to perform data transmission with the server, improving applicability and flexibility, and enabling the user to perform charging operations and the like in an offline state.
[0052] Among them, the electronic device itself has other short-range wireless connection methods in addition to the network connection method. The electronic device transmits data to the terminal, and the short-range wireless connection method can be Bluetooth, wireless local area network, etc.
[0053] As an optional implementation manner of the embodiment of the present application, before sending the data communication information to the terminal, it further includes: randomly dividing the data communication information into a first preset number of data blocks; randomly obtaining a first preset number of encryption algorithms; where the encryption algorithms are different from each other; randomly matching the encryption algorithms with the data blocks so that each data block corresponds to an encryption algorithm; combining the encrypted data blocks into a data set; and assigning the data set to the data communication information.
[0054] Before the electronic device sends the data communication information to the terminal, the electronic device randomly divides the data communication information into a first preset number of data blocks, and randomly obtains a first preset number of encryption algorithms. The obtained encryption algorithms are different from each other. Then, the encryption algorithms and the data blocks are randomly matched so that each data block corresponds to an encryption algorithm. After that, the data blocks are encrypted using the encryption algorithms. Then, the encrypted data blocks are combined into a data set, and then the data set is assigned to the data communication information. Encryption makes the data difficult to crack, reducing the possibility of economic losses caused by being cracked. And in the encryption process, the methods of random encryption and multiple encryptions are adopted, which can increase the difficulty of being cracked.
[0055] The algorithms include but are not limited to symmetric encryption algorithms, asymmetric encryption algorithms, and hash algorithms. The symmetric encryption algorithms include AES and DES, and the asymmetric encryption algorithms include RSA and ECC.
[0056] Figure 2 The structural block diagram of a charging pile transaction processing device 800 provided by the embodiment of the present application is as Figure 2 shown. The charging pile transaction processing device 800 includes: A receiving module 801, configured to receive power consumption information; A first obtaining module 802, configured to obtain the working information of the power supply module; A first judging module 803, configured to judge whether the power supply module is in a working state based on the working information; if the power supply module is in a working state, transfer to the second obtaining module 804; if the power supply module is not in a working state, transfer to the waiting module 805; A second obtaining module 804, configured to obtain a processing strategy and output it; A waiting module 805, configured to output a waiting power supply signal; A second judging module 806, configured to judge in real time whether the charging gun is connected; if the charging gun is connected, transfer to the output module 807; an output module 807, configured to output a power supply signal to control the power supply of the power supply module.
[0057] Specifically, the second obtaining module 804 includes: A first obtaining sub-module, configured to obtain other charging piles; A second obtaining sub-module, configured to obtain the working states of other charging piles; A first extracting sub-module, configured to extract the charging piles that are not in a working state among other charging piles, and use the extracted charging piles as idle charging piles; A third obtaining sub-module, configured to obtain the distances between the idle charging piles and the current charging pile and mark them at the corresponding idle charging piles; a first judging sub-module, configured to wait and judge whether a transposition instruction input by the user is received; if the transposition instruction is received, lock the corresponding idle charging pile, and use the locked idle charging pile as the first designated charging pile; A fourth obtaining sub-module, configured to obtain the position of the first designated charging pile and send it to the user; A first sending sub-module, configured to send an unlocking key to the user so that the user can unlock the first designated charging pile.
[0058] In this optional embodiment, the charging pile transaction processing device 800 further includes: A fifth obtaining sub-module, configured to obtain historical data based on the user; A first calculating sub-module, configured to calculate the charging interval time of the user based on the historical data; A sixth obtaining sub-module, configured to obtain a charging method; the charging method includes fast charging and slow charging; A seventh obtaining sub-module, configured to obtain the number of fast charging times based on fast charging; An eighth obtaining sub-module, configured to obtain the number of slow charging times based on slow charging; A second calculating sub-module, configured to calculate a comprehensive charging habit score based on the charging interval time, the charging method, the number of fast charging times, and the number of slow charging times and output it to the user.
[0059] In this alternative embodiment, the charging pile transaction processing device 800 further includes: A ninth acquisition sub-module, configured to acquire a historical comprehensive charging habit score; A third calculation sub-module, configured to calculate a change rate based on adjacent historical comprehensive charging habit scores; A second judgment sub-module, configured to judge whether there is a first change rate less than zero in the change rate; if there is a first change rate, acquire a first quantity of the calculated change rate and a second quantity of the first change rate; A fourth calculation sub-module, configured to calculate a first ratio based on the first quantity and the second quantity; A third judgment sub-module, configured to judge whether the first ratio is less than a first threshold; if the first ratio is less than the first threshold, acquire a corresponding first historical comprehensive charging habit score based on the first change rate; A fifth calculation sub-module, configured to calculate a first difference based on the first historical comprehensive charging habit score of the calculated first change rate; A tenth acquisition sub-module, configured to acquire a corresponding third quantity based on the first difference; A fourth judgment sub-module, configured to judge whether there is a second difference less than a second threshold in the first difference; if there is a second difference, acquire a corresponding fourth quantity based on the second difference; A sixth calculation sub-module, configured to calculate a second ratio based on the third quantity and the fourth quantity; A fifth judgment sub-module, configured to judge whether the second ratio is greater than a ratio threshold; if the second ratio is greater than the ratio threshold, acquire a corresponding second historical comprehensive charging habit score based on the second difference; wherein, the second historical comprehensive charging habit score is the historical comprehensive charging habit score at the back in the calculated second difference; An eleventh acquisition sub-module, configured to acquire a charging situation based on the second historical comprehensive charging habit score; A sixth judgment sub-module, configured to judge whether the user is in emergency charging based on the charging situation; if the user is not in emergency charging, output adjustment information based on the second historical comprehensive charging habit score.
[0060] Specifically, the sixth judgment sub-module includes: The charging situation includes a charging time period, a charging location, a charging method, and a charging interval; A seventh judgment sub-module, configured to judge whether the charging time period is different from other charging time periods; if it is different from other charging time periods, add one to the emergency points accumulation; An eighth judgment sub-module, configured to judge whether the charging location exceeds a second preset range of a conventional location; if it exceeds the second preset range, add one to the emergency points accumulation; The ninth judgment sub-module is used to judge whether the charging method is fast charging; if the charging method is fast charging, the emergency points are incremented by one; The tenth judgment sub-module is used to judge whether the charging interval is less than the third threshold; if the charging interval is less than the third threshold, the emergency points are incremented by one; The eleventh judgment sub-module is used to judge whether the emergency points are greater than the fourth threshold; if the emergency points are greater than the fourth threshold, it is determined as emergency charging; if the emergency points are less than the fourth threshold, it is determined as non-emergency charging.
[0061] In this optional embodiment, the charging pile transaction processing device 800 further includes: The twelfth judgment sub-module is used to judge whether the first feedback information is sent successfully; if the first feedback information fails to be sent, a communication request information is sent to the terminal held by the user; The thirteenth judgment sub-module is used to judge whether the second feedback information sent by the terminal is received; if the second feedback information is received, the data communication information is sent to the terminal so that the terminal sends the data communication information to the server.
[0062] In this optional embodiment, the charging pile transaction processing device 800 further includes: The first splitting sub-module is used to randomly split the data communication information into a first preset number of data blocks before sending the data communication information to the terminal; The twelfth obtaining sub-module is used to randomly obtain a first preset number of encryption algorithms; where the encryption algorithms are different from each other; The first matching sub-module is used to randomly match the encryption algorithms with the data blocks so that each data block corresponds to an encryption algorithm; The first combining sub-module is used to combine the encrypted data blocks into a data set; The first assigning sub-module is used to assign the data set to the data communication information.
[0063] Figure 3 It is a structural block diagram of an electronic device 900 provided by an embodiment of the present application. The electronic device 900 can be a device such as a mobile phone, a tablet computer, a PC, or a server. As Figure 3 shown, the electronic device 900 includes a memory 901, a processor 902, and a communication bus 903; the memory and the processor 902 are connected through the communication bus 903. A computer program capable of being loaded and executed by the processor 902, such as the intelligent refrigerator control method provided in the above embodiment, is stored on the memory 901.
[0064] The memory 901 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 901 may include a program storage area and a managed data storage area. Among them, the program storage area can store instructions for implementing the operating system, instructions for at least one function, and instructions for implementing the intelligent refrigerator control method provided in the above embodiments, etc.; the managed data storage area can store the managed data involved in the intelligent refrigerator control method provided in the above embodiments, etc.
[0065] The processor 902 may include one or more processing cores. The processor 902 runs or executes the instructions, programs, code sets or instruction sets stored in the memory 901, calls the managed data stored in the memory 901, and executes various functions of this application and processes the managed data. The processor 902 can be at least one of an application specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a central processing unit (CPU), a controller, a microcontroller, and a microprocessor. It can be understood that for different devices, the electronic devices for implementing the functions of the above-mentioned processor 902 may also be others, and the embodiments of this application do not make specific limitations.
[0066] The communication bus 903 may include a path for transmitting information between the above components. The communication bus 903 can be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The communication bus 903 can be divided into an address bus, a managed data bus, a control bus, etc. For the sake of convenience of representation, Figure 3 only a double arrow is used to represent it, but it does not mean that there is only one bus or one type of bus.
[0067] The embodiments of this application provide a computer storage medium storing a computer program that can be loaded and executed by a processor and is such as the intelligent refrigerator control method provided in the above embodiments.
[0068] In this embodiment, the computer storage medium may be a tangible device that holds and stores instructions used by an instruction execution device. The computer storage medium may be, but is not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any combination of the foregoing. Specifically, the computer storage medium may be a portable computer disk, a hard disk, a USB flash drive, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a podium random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, an optical disk, a magnetic disk, a mechanical coding device, and any combination of the foregoing.
[0069] The term "comprising," "including," or any other variation thereof is intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements that are inherent to such process, method, article, or apparatus.
Claims
1. A charging pile transaction processing method, characterized in that: include: Receive electricity usage information; Get the working information of the power supply module; Determine whether the power supply module is in a working state based on the working information; If the power supply module is in working state, obtaining and outputting the processing strategy; If the power supply module is not in working state, outputting a waiting power supply signal; Determine in real time whether the charging gun is connected; If the charging gun is connected, a power supply signal is output to control the power supply module to supply power.
2. A charging pile transaction processing method according to claim 1, characterized in that: The processing strategy includes: Get other charging stations; Obtaining the working status of the other charging piles; Extracting charging piles that are not in the working state from the other charging piles, and using the extracted charging piles as idle charging piles; Obtaining the distance between the idle charging pile and the current charging pile and marking it at the corresponding idle charging pile; Waiting and determining whether a transposition instruction input by the user is received; If the transposition instruction is received, the corresponding idle charging pile is locked, and the locked idle charging pile is used as the first designated charging pile; Obtaining the location of the first designated charging pile and sending it to the user; An unlocking key is sent to the user so that the user can unlock the first designated charging pile.
3. A charging pile transaction processing method according to claim 1, characterized in that: The method further comprises: Acquiring historical data based on the user; Calculating the charging interval time of the user based on the historical data; Get charging method; The charging method includes fast charging and slow charging; Obtaining a number of fast charging times based on the fast charging; Obtaining a slow charging number based on the slow charging; A comprehensive charging habit score is calculated based on the charging interval time, the charging method, the number of fast charges and the number of slow charges, and is output to the user.
4. A charging pile transaction processing method according to claim 3, characterized in that: The method further comprises: Get historical comprehensive charging habit scores; Calculating a change rate based on adjacent historical comprehensive charging habit scores; Determining whether there is a first change rate less than zero among the change rates; If the first change rate exists, obtaining a calculated first quantity of the change rate and a second quantity of the first change rate; Calculate a first proportion based on the first number and the second number; Determining whether the first proportion is less than a first threshold; If the first proportion is less than the first threshold, obtaining a corresponding first historical comprehensive charging habit score based on the first change rate; Calculate a first difference based on the first historical comprehensive charging habit score of the calculated first change rate; Acquire a corresponding third quantity based on the first difference; Determine whether there is a second difference value less than a second threshold value in the first difference values; If the second difference exists, obtaining a corresponding fourth quantity based on the second difference; Calculating a second proportion based on the third quantity and the fourth quantity; Determine whether the second proportion is greater than a proportion threshold; If the second proportion is greater than the proportion threshold, obtaining a corresponding second historical comprehensive charging habit score based on the second difference; The second historical comprehensive charging habit score is the historical comprehensive charging habit score that is calculated later than the second difference; Acquire charging status based on the second historical comprehensive charging habit score; Determining whether the user is charging for emergency based on the charging situation; If the user is not charging for emergency, adjustment information is output based on the second historical comprehensive charging habit score.
5. A charging pile transaction processing method according to claim 4, characterized in that: The determining whether the user is performing emergency charging based on the charging situation includes: The charging condition includes a charging time period, a charging location, the charging method, and the charging interval; Determining whether the charging time period is different from other charging time periods; If it is different from the other charging time periods, the emergency points are accumulated plus one; Determining whether the charging position exceeds a second preset range of a conventional position; If it exceeds the second preset range, the emergency points are accumulated plus one; Determining whether the charging mode is the fast charging; If the charging method is the fast charging, the emergency points are accumulated plus one; Determining whether the charging interval is less than a third threshold; If the charging interval is less than the third threshold, the emergency points are accumulated plus one; Determining whether the emergency score is greater than a fourth threshold; If the emergency score is greater than the fourth threshold, it is determined to be emergency charging; If the emergency score is less than a fourth threshold, it is determined that it is not emergency charging.
6. A charging pile transaction processing method according to claim 1, characterized in that: The method further comprises: Determining whether the first feedback information is sent successfully; If the first feedback information fails to be sent, sending a communication request message to the terminal held by the user; Determining whether second feedback information sent by the terminal is received; If the second feedback information is received, the data communication information is sent to the terminal, so that the terminal sends the data communication information to the server.
7. A charging pile transaction processing method according to claim 6, characterized in that: Before sending the data communication information to the terminal, the method further includes: Randomly dividing the data communication information into a first preset number of data blocks; Randomly obtaining the first preset number of encryption algorithms; Wherein, the encryption algorithms are different; Randomly matching the encryption algorithm with the data block so that each data block corresponds to one encryption algorithm; combining the encrypted data blocks into a data set; The data set is assigned to the data communication information.
8. A charging pile transaction processing device, characterized in that: include: A first receiving module, used for receiving power usage information; A first acquisition module, used to acquire working information of the power supply module; A first judging module, configured to judge whether the acquiring module is in a working state based on the working information; If the power supply module is in working state, then transfer to the second acquisition module; If the power supply module is not in working state, transfer to the first output module; The second acquisition module is used to acquire and output the processing strategy; The first output module is used to output a waiting power supply signal; A second judgment module is used to judge in real time whether the charging gun is connected; if the charging gun is connected, the second output module is transferred; The second output module is used to output a power supply signal to control the power supply module to supply power.
9. An electronic device, characterized in that: The electronic device comprises a processor coupled to a memory; the processor is used to execute a computer program stored in the memory so that the electronic device executes the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The method comprises a computer program or an instruction, which, when executed on a computer, causes the computer to execute the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Electric vehicle charging pile selecting method and system
CN105071502A
Remote real-time reserving and automatic charging control method of charging pile
CN108032755A
Charging method and terminal
CN109690900A
Remote charging control method, server and mobile charging pile
CN111428898A
Charging pile reservation method and device, charging pile management platform and automobile
CN113139666A