A charging pile transaction processing method, device and equipment and a storage medium

CN120080744BActive Publication Date: 2026-09-11LONGRUI SANYOU NEW ENERGY VEHICLE TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510211933.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-02-25
Publication Date
2026-09-11
Estimated Expiration
2045-02-25

AI Technical Summary

Benefits of technology

判断所述充电间隔是否小于第三阈值;

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120080744B_ABST
    Figure CN120080744B_ABST
Patent Text Reader

Abstract

This application relates to the technical field of new energy vehicle-related equipment, and in particular to a charging pile transaction processing method, apparatus, device, and storage medium. The method includes receiving electricity consumption information; acquiring the operating information of a power supply module; determining whether the power supply module is in a working state based on the operating information; if the power supply module is in a working state, acquiring and outputting a processing strategy; if the power supply module is not in a working state, outputting a waiting power supply signal; determining in real time whether a charging gun is connected; if the charging gun is connected, outputting a power supply signal to control the power supply module to supply power. This application has the effect of better managing charging piles.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This 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 Technology

[0002] Charging infrastructure is the fundamental basis for the development of electric vehicles. Electric vehicle charging infrastructure can be divided into three types: charging piles, charging stations, and battery swapping stations. Charging piles provide AC charging power for electric vehicles and are characterized by their small footprint and flexible deployment.

[0003] To meet the demand for electric vehicles, the number of charging stations being built is growing rapidly. Given the large number and wide distribution of charging stations, how to better manage them in order to provide better charging services to users has become an urgent problem to be solved. Summary of the Invention

[0004] In order to better manage charging piles and thus provide better charging services to customers, this application provides a charging pile transaction processing method, apparatus, equipment and storage medium.

[0005] Firstly, the charging pile transaction processing method provided in this application adopts the following technical solution: A charging pile transaction processing method includes: Receive electricity consumption information; Obtain the operating information of the power supply module; Based on the working information, determine whether the power supply module is in working condition; If the power supply module is in operation, the processing strategy is acquired and output. If the power supply module is not in operation, it outputs a waiting power supply signal; Real-time detection of 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.

[0006] By adopting the above technical solution and utilizing the operating information of the power supply module, real-time monitoring of the charging pile status is achieved. Upon receiving power consumption information from users, the system can automatically and quickly respond to commands, improving the efficiency of the charging service. When the power supply module is active, it can rapidly acquire and output corresponding processing strategies to ensure subsequent charging can proceed, thus better serving users. When the power supply module is not active, the system outputs a waiting signal for power supply, avoiding unnecessary energy waste and contributing to energy conservation and emission reduction. Once the charging gun is successfully connected, the system controls the power supply module to supply power, enhancing the safety of the charging process and avoiding potential risks caused by a disconnected charging gun. The entire process is intelligent and automated.

[0007] Optionally, the processing strategy includes: Obtain other charging stations; Obtain the working status of the other charging piles; Extract the charging piles that are not in the working state from the other charging piles, and designate the extracted charging piles as idle charging piles; Obtain the distance between the available charging station and the current charging station and mark it at the corresponding available charging station; Wait and determine whether a transposition instruction input by the user has been received; If the swap instruction is received, the corresponding idle charging pile is locked, and the locked idle charging pile is used as the first designated charging pile. Obtain the location of the first designated charging station and send it to the user; Send an unlock key to the user so that the user can unlock the first designated charging station.

[0008] By adopting the above technical solution, the working status of other charging piles can be obtained in real time, and idle charging piles can be intelligently identified. The dynamic resource management method ensures the effective utilization of charging pile resources, avoids idleness and waste, and achieves unified management of charging piles. When the current charging pile is unavailable, information on other idle charging piles, including distance markers and location information, can be quickly provided to the user for selection, intelligent processing improves user convenience. After receiving the user's relocation command, the electronic device can immediately lock the corresponding idle charging pile and designate it as the first designated charging pile. This intelligent scheduling method ensures that users can use the charging pile smoothly after arriving at the designated location, avoiding waiting due to occupied charging piles. An unlocking key is sent to the user, allowing them 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, the utilization efficiency of charging piles and user efficiency are improved.

[0009] Optionally, the method further includes: Based on the aforementioned user, historical data is obtained; The user's charging interval time is calculated based on the historical data; Find the charging method; The charging methods include fast charging and slow charging; The number of fast charging cycles is obtained based on the fast charging method described above; The number of slow charging cycles is obtained based on the slow charging method. A comprehensive charging habit score is calculated based on the charging interval, the charging method, the number of fast charges, and the number of slow charges, and then output to the user.

[0010] By employing the aforementioned technical solutions, historical charging data from users is collected and analyzed. Based on key indicators such as charging intervals, fast charging frequency, and slow charging frequency, a comprehensive charging habit score is calculated. This quantified score provides a clear visual representation of the quality of a user's charging habits, enabling them to improve their charging behavior when their score is low. Furthermore, understanding user charging behavior and habits through the score allows for analysis of preferences and needs, leading to better planning and targeted deployment of charging stations to better meet user needs.

[0011] Optionally, the method further includes: Obtain a comprehensive historical charging habit score; The rate of change is calculated based on the adjacent historical comprehensive charging habit scores; Determine whether there exists a first rate of change that is less than zero among the rates of change; If the first rate of change exists, then obtain the first quantity of the calculated rate of change and the second quantity of the first rate of change; Calculate the first percentage based on the first quantity and the second quantity; Determine whether the first percentage is less than the first threshold; If the first percentage is less than the first threshold, then the corresponding first historical comprehensive charging habit score is obtained based on the first rate of change. The first difference is calculated based on the first historical comprehensive charging habit score obtained from the first rate of change; The third quantity is obtained based on the first difference; Determine whether there exists a second difference among the first differences that is less than the second threshold; If the second difference exists, then obtain the corresponding fourth quantity based on the second difference; Calculate the second proportion based on the third quantity and the fourth quantity; Determine whether the second percentage is greater than the percentage threshold; If the second percentage is greater than the percentage threshold, then the corresponding second historical comprehensive charging habit score is obtained based on the second difference; Wherein, the second historical comprehensive charging habit score is the historical comprehensive charging habit score that appears later in the second difference calculated; Charging status is obtained based on the second historical comprehensive charging habit score; Based on the charging status, determine whether the user is charging in an emergency. If the user is not charging in an emergency, adjustment information is output based on the second historical comprehensive charging habit score.

[0012] By adopting the above technical solution, the rate of change is first calculated based on the historical comprehensive charging habit score. The trend of changing charging habits can be obtained from this rate of change. It is determined whether there is a first rate of change less than zero, and the first proportion is calculated, which can assess the stability of the user's charging habits to a certain extent. However, to more accurately assess the user's situation, even if the first proportion is small, meaning there are few instances of score deduction, a further judgment is needed. This involves calculating the first difference, judging the second difference, and calculating the second proportion. When the second proportion is greater than the proportion threshold, it indicates that although the user has few instances of score deduction, there are many instances of large score deductions. Therefore, the electronic device obtains the corresponding charging situation based on the second historical comprehensive charging habit score, determining whether the user is engaging in emergency charging. In non-emergency charging cases, the electronic device outputs adjustment information to help the user improve their charging behavior, thereby improving their charging habits.

[0013] Optionally, determining whether the user is charging in an emergency based on the charging status includes: The charging status includes the charging time period, charging location, charging method, and charging interval; Determine whether the charging time period is different from other charging time periods; If the emergency points are different from the other charging time periods, then the accumulated emergency points will be incremented by one. Determine whether the charging position exceeds a second preset range of a normal position; If the emergency points exceed the second preset range, then the accumulated emergency points will be incremented by one. Determine whether the charging method is fast charging; If the charging method is fast charging, then the emergency points are incremented by one. Determine whether the charging interval is less than a third threshold; If the charging interval is less than the third threshold, then the emergency points are incremented by one. Determine whether the emergency score is greater than the fourth threshold; If the emergency points are greater than the fourth threshold, then it is determined to be an emergency charging; If the emergency points are less than the fourth threshold, it is determined that it is not an emergency charging.

[0014] By employing the aforementioned technical solution and analyzing multiple dimensions such as charging time period, charging location, charging method, and charging interval, abnormal or emergency characteristics in user charging behavior can be captured more comprehensively, thereby more accurately determining whether a user is engaging in emergency charging. This judgment method is more reliable than single-factor judgment, reducing the possibility of misjudgment. The judgment criteria can be adjusted according to actual circumstances; that is, the second preset range, third threshold, and fourth threshold can be manually set or obtained based on relevant experimental data, to adapt to the needs of different user groups or different scenarios, improving the pertinence and effectiveness of the judgment.

[0015] Optionally, the method further includes: Determine whether the first feedback message was sent successfully; If the first feedback information fails to be sent, a communication request information is sent to the terminal held by the user. Determine whether the second feedback information sent by the terminal has been 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.

[0016] By adopting the above technical solution, the system determines whether the first feedback information was successfully sent. If the sending fails, it indicates a network problem and an inability to communicate with the server. Therefore, a communication request is sent to the terminal to obtain the user's consent. Upon receiving the second feedback information, it indicates the user's consent, and data communication information is then sent to the terminal so that the terminal can forward the data communication information to the server. In other words, the terminal acts as a relay station to achieve communication with the server. This improves flexibility, reduces the waste of charging station resources, and minimizes the possibility that users will need to relocate to a more distant charging location due to their electronic devices' inability to communicate with the server.

[0017] Optionally, before sending data communication information to the terminal, the method further includes: The data communication information is randomly divided into a first preset number of data blocks; Randomly select the first preset number of encryption algorithms; The encryption algorithms mentioned are all different; The encryption algorithm is randomly matched with the data block so that each data block corresponds to one encryption algorithm; The encrypted data blocks are combined into a dataset; Assign the data communication information to the dataset.

[0018] By employing the aforementioned technical solution, data communication information is randomly divided into multiple data blocks, and each data block is randomly assigned a different encryption algorithm. This method significantly increases the difficulty of data cracking. Even if a particular encryption algorithm is cracked, only information from a portion of the data block can be obtained, not the complete data communication content. This avoids economic losses due to malicious cracking. Since these data blocks are randomly combined before transmission, even if the data is intercepted during transmission, attackers will find it difficult to extract useful information, greatly reducing the risk of data leakage. Furthermore, the encrypted data is difficult to predict or analyze, improving the confidentiality of data communication.

[0019] Secondly, the charging pile transaction processing device provided in this application adopts the following technical solution: The first receiving module is used to receive electricity consumption information; The first acquisition module is used to acquire the working information of the power supply module; The first judgment module is used to determine whether the acquisition module is in working state based on the working information; if the power supply module is in working state, the process is transferred to the second acquisition module; if the power supply module is not in working state, the process is transferred 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 power-on wait signal. The second judgment module is used to determine in real time whether the charging gun is connected; if the charging gun is connected, the process switches to the second output module; the second output module is used to output a power supply signal to control the power supply module to supply power. Thirdly, the electronic device provided in this application adopts the following technical solution: An electronic device includes a processor coupled to a memory; the processor is configured to execute a computer program stored in the memory such that the electronic device performs the method as described in the first aspect.

[0020] Fourthly, the computer-readable storage medium provided in this application adopts the following technical solution: A computer-readable storage medium includes a computer program or instructions that, when executed on a computer, cause the computer to perform the method as described in the first aspect. Attached Figure Description

[0021] Figure 1 This is a flowchart of the charging pile transaction processing method according to an embodiment of this application.

[0022] Figure 2 This is a block diagram of a charging pile transaction processing device according to an embodiment of this application.

[0023] Figure 3 This is a block diagram of an electronic device according to an embodiment of this application. Detailed Implementation

[0024] This specific embodiment is merely an explanation of this application and is not intended to limit it. Users skilled in the art can make modifications to this embodiment without contributing any inventive step after reading this specification, but such modifications are protected by patent law as long as they fall within the scope of the claims of this application.

[0025] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by users of ordinary skills in the art without creative effort are within the scope of protection of this application.

[0026] Furthermore, the term "and / or" in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this article, unless otherwise specified, generally indicates that the preceding and following related objects have an "or" relationship.

[0027] This application discloses a charging pile transaction processing method. This method can be executed by an electronic device. The electronic device can be a server or a terminal device. The server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. The terminal device can be a smartphone, tablet computer, desktop computer, etc., but is not limited to these.

[0028] This application discloses a method for processing charging pile transactions. (Refer to...) Figure 1 The main processes of a charging pile transaction processing method are described below (S100~S700): Step S100: Receive electricity consumption information; Step S200: Obtain the operating information of the power supply module; Step S300: Determine whether the power supply module is in working state based on the working information; if the power supply module is in working state, proceed to step S400; if the power supply module is not in working state, proceed to step S500. Step S400: Obtain and output the processing strategy; Step S500: Output a power-on wait signal; Step S600: Determine in real time 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 power consumption information from the server, indicating a user has sent a charging request to the server via their terminal, the electronic device sends power consumption information back to the device. The device then obtains the power supply module's operational information to determine if the module is operational. If the module is operational, it means charging is not possible, and the device needs to acquire and implement a processing strategy to handle this situation. If the module is not operational, it means charging is possible, and the device sends a "waiting for power" signal to the module to ensure it is ready to charge. The device then continuously checks if the charging gun is connected. If connected, the device sends a power supply signal to the module, controlling it to provide power for charging.

[0030] Specifically, the processing strategy includes: acquiring other charging piles; acquiring the working status of other charging piles; extracting charging piles that are not in operation from the other charging piles and designating the extracted charging piles as idle charging piles; acquiring the distance between the idle charging pile and the current charging pile and marking it at the corresponding idle charging pile location; waiting for and determining whether a user input swap command has been received; if a swap command is received, locking the corresponding idle charging pile and designating the locked idle charging pile as the first designated charging pile; acquiring the location of the first designated charging pile and sending it to the user; and sending an unlock key to the user so that the user can unlock the first designated charging pile.

[0031] The specific processing strategy includes the electronic device acquiring other charging stations (i.e., finding alternative charging stations), then obtaining the operational status of these other charging stations and extracting those that are not operational, designating them as available charging stations. The electronic device also obtains the distance between available charging stations and the current charging station and marks them at the corresponding available charging station location. This allows the user to know both the availability of other charging stations and their corresponding distances, enabling them to choose a suitable charging station based on their needs. Therefore, after providing information to the customer, the electronic device waits and determines whether it has received a user-inputted switching command. If a switching command is received, it indicates that the user has selected one of the provided charging stations. Based on this command, the electronic device can determine the selected charging station and lock it. This locking prevents other users from using the selected charging station, ensuring that the user can use it upon arrival and preventing unauthorized use during travel, thus avoiding wasted travel. Furthermore, after locking the first designated charging station, the electronic device generates an unlock key, allowing the user to unlock the locked charging station.

[0032] Locking the charging station involves the electronic device sending a lock signal to the server, enabling the server to lock the corresponding charging station.

[0033] Furthermore, before locking the corresponding available charging station, the process includes: obtaining the distance information between the first designated charging station and the current charging station, determining whether the distance information is greater than a distance threshold, and if the distance information is greater than the distance threshold, obtaining the corresponding idle time based on the distance information, and prompting the idle time based on the first designated charging station so that other users can use the first designated charging station during the idle time.

[0034] If a user selects a distant charging station, the journey will take longer (i.e., the distance exceeds a certain threshold). Therefore, the first designated charging station will have a significant idle time during this period, during which other users can use it, and they will be notified that they can only use it during idle times. When subsequent users arrive at the location, they can retrieve the charging gun and begin charging by verifying their unlock key. In other words, after locking an idle charging station, it can still be used by other users, but the user who initiated the locking process has higher priority. This method makes better use of charging resources.

[0035] Specifically, it also includes: determining whether the first designated charging pile has received a charging command based on the idle time; if the first designated charging pile has received a charging command, sending a power supply signal to the power supply module; determining in real time whether an unlocking key has been received; if an unlocking key has been received, determining whether a report has been received; if a report has been received, obtaining the corresponding violating user based on the charging command; obtaining the cumulative number of violations based on the violating user; obtaining the corresponding penalty information based on the cumulative number of violations; and penalizing the violating user based on the penalty information.

[0036] During idle periods, the electronic device determines whether the designated charging station has received a charging command, i.e., whether other users are using the designated charging station during the idle period. If the designated charging station has received a charging command, the electronic device controls the charging station to supply power. Then, the electronic device checks in real time whether an unlock key has been received, i.e., whether the user has arrived at the location and is ready to charge. If an unlock key is received, it indicates that the user has arrived at the location and is ready to charge. Next, the electronic device checks whether a report has been received. For other users using the designated charging station during idle periods, the charging gun may be locked by the car being charged, which may prevent the charging gun from being removed, preventing the user from charging even if they unlock it with the unlock key. Therefore, the user can report this, and the electronic device receives the report. Then, the electronic device obtains the corresponding violating user based on the charging command, accumulates the number of violations based on the violating user, obtains the corresponding penalty information based on the number of violations, and punishes the violating user based on the penalty information.

[0037] For reported information, photos and videos of the scene must be provided to prove that the charging gun was indeed locked by the car and could not be removed, thus avoiding false reports.

[0038] As an optional implementation of this application, it further includes: obtaining historical data based on the user; calculating the user's charging interval time based on the historical data; obtaining the charging method; the charging method includes fast charging and slow charging; obtaining the number of fast charging based on fast charging; obtaining the number of slow charging based on slow charging; calculating a comprehensive charging habit score based on the charging interval time, charging method, number of fast charging and number of slow charging and outputting it to the user.

[0039] Electronic devices acquire historical user data, calculate the user's charging interval time based on this data, and determine the user's charging method (including fast charging and slow charging). For fast charging, the device retrieves the corresponding number of fast charging attempts, and for slow charging, it retrieves the corresponding number of slow charging attempts. Based on this data, a comprehensive charging habit score is calculated and sent to the user. This quantifies the user's charging habits, allowing them to better assess their charging performance and improve their habits based on the score.

[0040] Specifically, the calculation of the overall habit score includes the following steps and content: S 基础总分 =∑S 基础分 (Formula 2); Among them, T i For the i-th charging time interval, For about T i A function that converts charging time intervals into scores, K 间隔 This represents the score coefficient corresponding to the charging time interval. For Functions that electronic devices can select independently, because The function requires electronic devices to analyze the distribution characteristics and trends of charging time interval data. Different data characteristics require different functions for better calculation and to obtain more accurate results. Functions include, but are not limited to, logarithmic functions, power functions, inverse proportional functions, and quadratic functions.

[0041] For example, when When the function is a logarithmic function, Here, a, b, and c are constants, which need to be obtained by fitting actual data to the electronic device. The fitting process for a, b, and c involves first obtaining a set of actual data through experiments, thus obtaining a charging time interval T. i and corresponding scores The optimal values ​​of a, b, and c are then calculated using a nonlinear regression algorithm. For this algorithm, the `curve_fit` function from the SciPy library can be used. This algorithm tries different combinations and calculates the error between the model's predicted values ​​and the actual observed values ​​for each combination. The error is typically measured by a loss function, which may include, but is not limited to, mean squared error. The goal of the nonlinear regression algorithm is to find the parameter combination that minimizes the mean squared error, i.e., to obtain the optimal values ​​of a, b, and c.

[0042] S 调整快 =N 快 *W 快 *K快 (Formula 3); S 调整慢 =N 慢 *W 慢 *K 慢 (Formula 4); Where, N 快 For the number of fast charging cycles corresponding to fast charging, W 快 For fast charging weight, K 快 S is the scoring coefficient for fast charging. 调整快 Adjusted score for fast charging; N 慢 For the number of slow charging cycles corresponding to slow charging, W 慢 K is the weight of fast charging for slow charging. 慢 S is the score coefficient for slow charging. 调整慢 Adjustment score for slow charging.

[0043] S 综合 =S 基础总分 *α+(S 调整快 +S 调整慢 )*β(Formula 5); Among them, S 综合 To calculate the overall charging habit score, α is the base score coefficient, and β is the adjustment score coefficient.

[0044] Substituting Formulas 1, 2, 3, and 4 into Formula 5 yields a comprehensive charging habit score, quantifying charging habits and charging status. This allows users to more intuitively measure and understand the quality of their charging habits, enabling them to make better corrections and improvements.

[0045] Among these factors, the higher the overall charging habit score, the better the user's charging habits. Furthermore, different user charging behaviors, such as the chosen charging method and charging frequency, all affect the health of the electric vehicle's battery.

[0046] As an optional implementation of this application, the method further includes: obtaining a historical comprehensive charging habit score; calculating a rate of change based on adjacent historical comprehensive charging habit scores; determining whether there is a first rate of change less than zero among the rates of change; if there is a first rate of change, obtaining a first quantity of the calculated rates of change and a second quantity of the first rates of change; calculating a first percentage based on the first quantity and the second quantity; determining whether the first percentage is less than a first threshold; if the first percentage is less than the first threshold, obtaining a corresponding first historical comprehensive charging habit score based on the first rate of change; calculating a first difference based on the first historical comprehensive charging habit score calculated with the first rate of change; and obtaining a corresponding third percentage based on the first difference. The process involves: determining whether a second difference exists within the first difference that is less than a second threshold; if a second difference exists, obtaining the corresponding fourth quantity based on the second difference; calculating the second proportion based on the third and fourth quantities; determining whether the second proportion is greater than the proportion threshold; if the second proportion is greater than the proportion threshold, obtaining the 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 that appears later in the calculated second difference; obtaining the charging status based on the second historical comprehensive charging habit score; determining whether the user is performing emergency charging based on the charging status; if the user is not performing emergency charging, outputting adjustment information based on the second historical comprehensive charging habit score.

[0047] To better assess user charging habits, electronic devices acquire historical comprehensive charging habit scores and calculate a rate of change based on adjacent historical comprehensive charging habit scores. Adjacent historical comprehensive charging habit scores represent the previous and subsequent scores. The rate of change is calculated by subtracting the previous historical comprehensive charging habit score from the later one, obtaining the score difference, and then dividing the score difference by the earlier historical comprehensive charging habit score to obtain the rate of change. Multiple rates of change can be calculated from multiple historical comprehensive charging habit scores. The electronic device then determines if any rate of change is less than a first rate of change (i.e., a rate of change less than zero is considered the first rate of change). If a first rate of change exists, the electronic device acquires a first quantity and a second quantity corresponding to the first rate of change, and then calculates a first percentage, which equals the second quantity divided by the first quantity. The first percentage is then checked against a first threshold. If the first percentage is less than the first threshold, it indicates that the user has experienced relatively few point deductions. However, even with fewer point deductions, the user's comprehensive charging habit score may not necessarily be high. If the point deductions are large, it will still lead to a lower comprehensive charging habit score. Therefore, the electronic device obtains the corresponding first historical comprehensive charging habit score based on the first rate of change, that is, it calculates two first historical comprehensive charging habit scores for the first rate of change. Then, it calculates the first difference based on the two first historical comprehensive charging habit scores. The first historical comprehensive charging habit score of the later one is subtracted from the first one, so the first difference is negative when the user's score decreases. When there are multiple first rates of change, each first rate of change 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 among the first differences that is less than the second threshold. That is, the first difference that is less than the second threshold is taken as the second difference. At this time, the second difference indicates that the user's score reduction is large. The electronic device obtains the corresponding fourth quantity based on the second difference and calculates the second proportion. The second proportion is equal to the fourth quantity divided by the third quantity. The electronic device then determines whether the second percentage is greater than a percentage threshold. If the second percentage is greater than the threshold, it indicates that the user has a relatively high number of cases with large deductions. Therefore, the electronic device obtains the 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 appears later in the calculated second difference. The electronic device obtains the charging status based on the second historical comprehensive charging habit score, and then determines whether the user is charging in an emergency. If the user is not charging in an emergency, the electronic device outputs adjustment information based on the second historical comprehensive charging habit score, so that the user can adjust their charging status accordingly.

[0048] Specifically, the system determines whether a user is engaging in emergency charging based on the charging status, including: charging time period, charging location, charging method, and charging interval; determining whether the charging time period differs from other charging time periods; if it differs, the emergency points are incremented by one; determining whether the charging location exceeds a second preset range of normal locations; if it exceeds the second preset range, the emergency points are incremented by one; determining whether the charging method is fast charging; if the charging method is fast charging, the emergency points are incremented by 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 incremented by one; determining whether the emergency points are greater than a fourth threshold; if the emergency points are greater than the fourth threshold, it is determined to be emergency charging; if the emergency points are less than the fourth threshold, it is determined not to be emergency charging.

[0049] Charging conditions include, but are not limited to, charging time period, charging location, charging method, and charging interval. This embodiment uses the above four as examples for explanation. The electronic device determines whether the charging time period is different from other charging time periods, that is, whether the charging time period is different from the usual charging time period. If it is different from other charging time periods, the emergency points are incremented by one. The electronic device determines whether the charging location exceeds the second preset range of the normal location. If it exceeds the second preset range, the emergency points are incremented by one. The electronic device determines whether the charging method is fast charging. If the charging method is fast charging, the emergency points are incremented by one. The electronic device determines 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 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 that it is emergency charging; if the emergency points are less than the fourth threshold, it is determined that it is not emergency charging.

[0050] As an optional implementation of this application, the method further includes: determining whether the first feedback information was successfully sent; if the first feedback information failed to be sent, sending a communication request information to the terminal held by the user; determining whether the second feedback information sent by the terminal was received; if the second feedback information was received, sending data communication information to the terminal so that the terminal can send the data communication information to the server.

[0051] The electronic device determines whether the first feedback message was successfully sent, i.e., whether the first feedback message to the server was successfully sent. If the first feedback message fails to send, it is determined that there is a network problem with the electronic device, preventing interaction with the server. Therefore, the electronic device sends a communication request message to the user's terminal. The electronic device then determines whether it receives the second feedback message from the terminal, i.e., whether the user agrees to use the terminal as a relay to establish a connection with the server. If the second feedback message is received, the electronic device sends data communication information to the terminal so that the terminal can send data communication information to the server. When the electronic device experiences network problems, using the user's terminal to transmit data to the server improves applicability and flexibility, allowing users to perform charging operations even offline.

[0052] In addition to network connection, the electronic device itself has other short-range wireless connection methods. The electronic device transmits data to the terminal. The short-range wireless connection methods can be Bluetooth, wireless LAN, etc.

[0053] As an optional implementation of this application, 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 a first preset number of encryption algorithms; wherein the encryption algorithms are all different; 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 dataset; and assigning the dataset to the data communication information.

[0054] Before an electronic device sends data communication information to a terminal, it randomly divides the data communication information into a first preset number of data blocks and randomly selects a first preset number of different encryption algorithms. The encryption algorithms are then randomly matched with the data blocks so that each data block corresponds to one encryption algorithm. The data blocks are then encrypted using the encryption algorithms. The encrypted data blocks are then combined into a dataset, which is then assigned to the data communication information. Encryption makes the data difficult to crack, reducing the possibility of economic loss due to breaches. Furthermore, the use of random and multiple encryption methods in the encryption process increases the difficulty of cracking.

[0055] The algorithms include, but are not limited to, symmetric encryption algorithms, asymmetric encryption algorithms, and hash algorithms. Symmetric encryption algorithms include AES and DES, while asymmetric encryption algorithms include RSA and ECC.

[0056] Figure 2 A structural block diagram of a charging pile transaction processing device 800 provided in this application embodiment is shown below. Figure 2 As shown, the charging pile transaction processing device 800 includes: Receiver module 801 is used to receive electricity consumption information; The first acquisition module 802 is used to acquire the working information of the power supply module; The first judgment module 803 is used to determine whether the power supply module is in working state based on the working information; if the power supply module is in working state, it will proceed to the second acquisition module 804; if the power supply module is not in working state, it will proceed to the waiting module 805. The second acquisition module 804 is used to acquire and output the processing strategy; The waiting module 805 is used to output a waiting power supply signal; The second judgment module 806 is used to determine in real time whether the charging gun is connected; if the charging gun is connected, it will switch to the output module 807; the output module 807 is used to output a power supply signal to control the power supply module to supply power.

[0057] Specifically, the second acquisition module 804 includes: The first acquisition submodule is used to acquire information about other charging stations; The second acquisition submodule is used to acquire the working status of other charging piles; The first extraction submodule is used to extract charging piles that are not in operation from other charging piles and to treat the extracted charging piles as idle charging piles. The third acquisition submodule is used to acquire the distance between the available charging pile and the current charging pile and mark it at the corresponding available charging pile; the first judgment submodule is used to wait for and judge whether a user input swap instruction is received; if a swap instruction is received, the corresponding available charging pile is locked and the locked available charging pile is used as the first designated charging pile. The fourth acquisition submodule is used to acquire the location of the first designated charging pile and send it to the user; The first sending submodule is used to send an unlock 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: The fifth submodule is used to retrieve historical data based on the user. The first calculation submodule is used to calculate the user's charging interval time based on historical data; The sixth submodule is used to obtain the charging method; the charging method includes fast charging and slow charging. The seventh submodule is used to obtain the number of fast charging cycles based on fast charging. The eighth submodule is used to obtain the number of slow charging cycles based on slow charging. The second calculation submodule is used to calculate a comprehensive charging habit score based on charging interval time, charging method, number of fast charging times, and number of slow charging times, and then output it to the user.

[0059] In this optional embodiment, the charging pile transaction processing device 800 further includes: The ninth submodule is used to obtain the historical comprehensive charging habit score; The third calculation submodule is used to calculate the rate of change based on adjacent historical comprehensive charging habit scores; The second judgment submodule is used to determine whether there is a first rate of change that is less than zero in the rate of change; if there is a first rate of change, then the first quantity of the calculated rate of change and the second quantity of the first rate of change are obtained. The fourth calculation submodule is used to calculate the first proportion based on the first quantity and the second quantity; The third judgment submodule is used to determine whether the first proportion is less than the first threshold; if the first proportion is less than the first threshold, the corresponding first historical comprehensive charging habit score is obtained based on the first rate of change. The fifth calculation submodule is used to calculate the first difference based on the first historical comprehensive charging habit score obtained from the first rate of change. The tenth submodule is used to obtain the corresponding third quantity based on the first difference; The fourth judgment submodule is used to determine whether there is a second difference in the first difference that is less than the second threshold; if there is a second difference, the corresponding fourth quantity is obtained based on the second difference. The sixth calculation submodule is used to calculate the second proportion based on the third and fourth quantities; The fifth judgment submodule is used to determine whether the second proportion is greater than the proportion threshold; if the second proportion is greater than the proportion threshold, the corresponding second historical comprehensive charging habit score is obtained based on the second difference; wherein, the second historical comprehensive charging habit score is the historical comprehensive charging habit score that appears later in the calculated second difference. The eleventh acquisition submodule is used to obtain charging status based on the second historical comprehensive charging habit score; The sixth judgment submodule is used to determine whether the user is charging in an emergency based on the charging status; if the user is not charging in an emergency, adjustment information is output based on the second historical comprehensive charging habit score.

[0060] Specifically, the sixth judgment submodule includes: Charging information includes charging time period, charging location, charging method, and charging interval; The seventh judgment submodule is used to determine whether the charging time period is different from other charging time periods; if it is different from other charging time periods, the emergency points are incremented by one. The eighth judgment submodule is used to determine whether the charging position exceeds the second preset range of the normal position; if it exceeds the second preset range, the emergency points are incremented by one. The ninth judgment submodule is used to determine whether the charging method is fast charging; if the charging method is fast charging, the emergency points are incremented by one. The tenth judgment submodule is used to determine 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 submodule is used to determine whether the emergency points are greater than the fourth threshold; if the emergency points are greater than the fourth threshold, it is determined to be emergency charging; if the emergency points are less than the fourth threshold, it is determined not to be emergency charging.

[0061] In this optional embodiment, the charging pile transaction processing device 800 further includes: The twelfth judgment submodule is used to determine whether the first feedback information was 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 submodule is used to determine whether the second feedback information sent by the terminal has been received; if the second feedback information is received, the data communication information is sent to the terminal so that the terminal can send the data communication information to the server.

[0062] In this optional embodiment, the charging pile transaction processing device 800 further includes: The first segmentation submodule is used to randomly segment the data communication information into a first preset number of data blocks before sending the data communication information to the terminal; The twelfth acquisition submodule is used to randomly acquire a first preset number of encryption algorithms; wherein the encryption algorithms are all different; The first matching submodule is used to randomly match encryption algorithms with data blocks so that each data block corresponds to an encryption algorithm. The first combination submodule is used to combine encrypted data blocks into a dataset; The first assignment submodule is used to assign data communication information to the dataset.

[0063] Figure 3 This is a structural block diagram of an electronic device 900 provided in an embodiment of this application. The electronic device 900 can be a mobile phone, tablet computer, PC, server, or other similar device. Figure 3 As 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 via the communication bus 903. The memory 901 stores a computer program that can be loaded by the processor 902 and executed as described in the above embodiments for controlling an intelligent refrigerator.

[0064] The memory 901 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 901 may include a program storage area and a managed data storage area. The program storage area may store instructions for implementing an 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 may store managed data involved in the intelligent refrigerator control method provided in the above embodiments, etc.

[0065] Processor 902 may include one or more processing cores. Processor 902 executes instructions, programs, code sets, or instruction sets stored in memory 901, and calls managed data stored in memory 901 to perform various functions of this application and process managed data. Processor 902 may be at least one of the following: Application-Specific Integrated Circuit (ASIC), Digital Signal Processor (DSP), Digital Signal Processing Device (DSPD), Programmable Logic Device (PLD), Field Programmable Gate Array (FPGA), Central Processing Unit (CPU), controller, microcontroller, and microprocessor. It is understood that, for different devices, the electronic devices used to implement the functions of processor 902 may also be other types, and this application embodiment does not specifically limit the specific devices used.

[0066] The communication bus 903 may include a path for transmitting information between the aforementioned components. The communication bus 903 may 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 ease of representation, Figure 3 The symbol is represented by a single double arrow, but this does not mean that there is only one bus or one type of bus.

[0067] This application provides a computer storage medium storing a computer program that can be loaded by a processor and executed as described in the above embodiments for controlling an intelligent refrigerator.

[0068] In this embodiment, the computer storage medium can be a tangible device that holds and stores instructions used by the instruction execution device. The computer storage medium can 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 thereof. Specifically, the computer storage medium can be a portable computer disk, a hard disk, a USB flash drive, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), speaker random access memory (SRAM), portable compact disc read-only memory (CD-ROM), digital multifunction disc (DVD), memory stick, floppy disk, optical disk, magnetic disk, mechanical encoding device, or any combination thereof.

[0069] The terms “comprising,” “including,” or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus.

Claims

1. A charging pile transaction processing method, characterized in that, include: Receive electricity consumption information; Obtain the operating information of the power supply module; Based on the working information, determine whether the power supply module is in working condition; If the power supply module is in operation, the processing strategy is acquired and output. If the power supply module is not in operation, it outputs a waiting power supply signal; Real-time detection of 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; Also includes: Based on historical data obtained from users; The user's charging interval time is calculated based on the historical data; Find the charging method; The charging methods include fast charging and slow charging; The number of fast charging cycles is obtained based on the fast charging method described above; The number of slow charging cycles is obtained based on the slow charging method. 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 then output to the user. The method further includes: Obtain a comprehensive historical charging habit score; The rate of change is calculated based on the adjacent historical comprehensive charging habit scores; Determine whether there exists a first rate of change that is less than zero among the rates of change; If the first rate of change exists, then obtain the first quantity of the calculated rate of change and the second quantity of the first rate of change; Calculate the first percentage based on the first quantity and the second quantity; Determine whether the first percentage is less than the first threshold; If the first percentage is less than the first threshold, then the corresponding first historical comprehensive charging habit score is obtained based on the first rate of change. The first difference is calculated based on the first historical comprehensive charging habit score obtained from the first rate of change; The third quantity is obtained based on the first difference; Determine whether there exists a second difference among the first differences that is less than the second threshold; If the second difference exists, then obtain the corresponding fourth quantity based on the second difference; Calculate the second proportion based on the third quantity and the fourth quantity; Determine whether the second percentage is greater than the percentage threshold; If the second percentage is greater than the percentage threshold, then the corresponding second historical comprehensive charging habit score is obtained based on the second difference; Wherein, the second historical comprehensive charging habit score is the historical comprehensive charging habit score that appears later in the second difference calculated; Charging status is obtained based on the second historical comprehensive charging habit score; Based on the charging status, determine whether the user is charging in an emergency. If the user is not charging in an emergency, adjustment information is output based on the second historical comprehensive charging habit score.

2. The charging pile transaction processing method according to claim 1, characterized in that, The processing strategy includes: Obtain other charging stations; Obtain the working status of the other charging piles; Extract the charging piles that are not in the working state from the other charging piles, and designate the extracted charging piles as idle charging piles; Obtain the distance between the available charging station and the current charging station and mark it at the corresponding available charging station; Wait and determine whether a transposition instruction input by the user has been received; If the swap instruction is received, the corresponding idle charging pile is locked, and the locked idle charging pile is used as the first designated charging pile. Obtain the location of the first designated charging station and send it to the user; Send an unlock key to the user so that the user can unlock the first designated charging station.

3. The charging pile transaction processing method according to claim 1, characterized in that, The step of determining whether the user is charging in an emergency based on the charging status includes: The charging status includes the charging time period, charging location, charging method, and charging interval; Determine whether the charging time period is different from other charging time periods; If the emergency points are different from the other charging time periods, then the accumulated emergency points will be incremented by one. Determine whether the charging position exceeds a second preset range of a normal position; If the emergency points exceed the second preset range, then the accumulated emergency points will be incremented by one. Determine whether the charging method is fast charging; If the charging method is fast charging, then the emergency points are incremented by one. Determine whether the charging interval is less than a third threshold; If the charging interval is less than the third threshold, then the emergency points are incremented by one. Determine whether the emergency score is greater than the fourth threshold; If the emergency points are greater than the fourth threshold, then it is determined to be an emergency charging; If the emergency points are less than the fourth threshold, it is determined that it is not an emergency charging.

4. The charging pile transaction processing method according to claim 1, characterized in that, The method further includes: Determine whether the first feedback message was sent successfully; If the first feedback information fails to be sent, a communication request information is sent to the terminal held by the user. Determine whether the second feedback information sent by the terminal has been 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.

5. The charging pile transaction processing method according to claim 4, characterized in that, Before sending data communication information to the terminal, the method further includes: The data communication information is randomly divided into a first preset number of data blocks; Randomly select the first preset number of encryption algorithms; The encryption algorithms mentioned are all different; The encryption algorithm is randomly matched with the data block so that each data block corresponds to one encryption algorithm; The encrypted data blocks are combined into a dataset; Assign the data communication information to the dataset.

6. A charging pile transaction processing device, characterized in that, include: The first receiving module is used to receive electricity consumption information; The first acquisition module is used to acquire the working information of the power supply module; The first judgment module is used to determine whether the acquisition module is in a working state based on the working information; If the power supply module is in operation, then proceed to the second acquisition module; If the power supply module is not in operation, then switch 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 power-on wait signal. The second judgment module is used to determine in real time whether the charging gun is connected; if the charging gun is connected, the process is transferred to the second output module. The second output module is used to output a power supply signal to control the power supply module to supply power. The fifth submodule is used to retrieve historical data based on the user. The first calculation submodule is used to calculate the user's charging interval time based on historical data; The sixth submodule is used to obtain the charging method; the charging method includes fast charging and slow charging. The seventh submodule is used to obtain the number of fast charging cycles based on fast charging. The eighth submodule is used to obtain the number of slow charging cycles based on slow charging. The second calculation submodule is used to calculate a comprehensive charging habit score based on charging interval time, charging method, number of fast charging times and number of slow charging times and output it to the user. The ninth submodule is used to obtain the historical comprehensive charging habit score; The third calculation submodule is used to calculate the rate of change based on adjacent historical comprehensive charging habit scores; The second judgment submodule is used to determine whether there is a first rate of change that is less than zero in the rate of change; If a first rate of change exists, then obtain the first quantity of the calculated rate of change and the second quantity of the first rate of change; The fourth calculation submodule is used to calculate the first proportion based on the first quantity and the second quantity; The third judgment submodule is used to determine whether the first proportion is less than the first threshold. If the first percentage is less than the first threshold, the corresponding first historical comprehensive charging habit score is obtained based on the first rate of change. The fifth calculation submodule is used to calculate the first difference based on the first historical comprehensive charging habit score obtained from the first rate of change. The tenth submodule is used to obtain the corresponding third quantity based on the first difference; The fourth judgment submodule is used to determine whether there is a second difference in the first difference that is less than the second threshold; If a second difference exists, then obtain the corresponding fourth quantity based on the second difference; The sixth calculation submodule is used to calculate the second proportion based on the third and fourth quantities; The fifth judgment submodule is used to determine whether the second proportion is greater than the proportion threshold; If the second proportion is greater than the proportion threshold, the corresponding second historical comprehensive charging habit score is obtained based on the second difference; wherein, the second historical comprehensive charging habit score is the historical comprehensive charging habit score that appears later in the calculated second difference. The eleventh acquisition submodule is used to obtain charging status based on the second historical comprehensive charging habit score; The sixth judgment submodule is used to determine whether the user is charging in an emergency based on the charging status; if the user is not charging in an emergency, adjustment information is output based on the second historical comprehensive charging habit score.

7. An electronic device, characterized in that, The device includes a processor coupled to a memory; the processor is configured to execute a computer program stored in the memory to cause the electronic device to perform the method as described in any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that, It includes a computer program or instructions that, when run on a computer, cause the computer to perform the method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Electric vehicle charging pile selecting method and system

    CN105071502A

  • Charging method and terminal

    CN109690900A

  • Remote charging control method, server and mobile charging pile

    CN111428898A

  • Multi-gun charging pile charging control method, charging pile and storage medium

    CN113829937A

  • Charging system and method with Bluetooth offline charging function

    CN117341522A