Charging method, device and equipment of charging pile and readable storage medium

By acquiring and calculating charging reservation information and adjusting the charging power, the problem of transformer overload caused by multiple vehicles charging simultaneously in the charging station was solved, thus achieving safe and efficient charging management.

CN119283695APending Publication Date: 2025-01-10HENAN LONGXIANG NEW ENERGY TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411430029.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-14
Publication Date
2025-01-10

AI Technical Summary

Technical Problem

When multiple electric vehicles are charging at the same time in a charging station, the charging pile transformer may be overloaded, causing safety hazards such as short circuits and equipment overheating.

Method used

By obtaining the user's charging reservation information, calculating the charging duration and the amount of charge to be collected, determining the target charging power, summing the total reserved charging power within a first preset time period, judging whether it exceeds the rated power, and if it does, adjusting the charging power and sending the adjusted charging end time to the user terminal.

Benefits of technology

This reduces the likelihood of transformer overload, ensures charging safety, improves energy efficiency, allows for timely adjustments to charging plans, and avoids overload situations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119283695A_ABST
    Figure CN119283695A_ABST
Patent Text Reader

Abstract

The invention relates to a charging method, device and equipment of a charging pile and a readable storage medium, and the method comprises the steps: obtaining the current charging reservation information of a user, the current charging reservation information comprising a target charging station, the expected charging start time, the expected charging end time, the current remaining electric quantity and the battery capacity; determining the charging duration based on the expected charging starting time and the expected charging ending time; calculating a to-be-charged amount based on the current residual electric quantity and the battery capacity; determining target charging power based on the charging duration and the to-be-charged amount; summing the total reserved charging power of the target charging station in the first preset time period and the target charging power to obtain the total charging power; judging whether the total charging power is greater than the rated power of the target charging station; and if yes, adjusting the target charging power, calculating charging end time based on the adjusted target charging power, and sending the charging end time to the mobile terminal of the user. The application has the effect of reducing the occurrence of potential safety hazards.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of data processing, and in particular to a charging method, device, equipment and readable storage medium for a charging pile. Background Art

[0002] With the increasing global awareness of energy conservation and environmental protection, the electric vehicle industry in the new energy field is developing rapidly. The use of electric vehicles is increasing rapidly, and charging piles can charge electric vehicles and other charging devices.

[0003] When there are multiple electric vehicles in a charging station and multiple electric vehicles need to connect to the charging pile at the same time to start charging, the transformer of the charging pile will be overloaded, resulting in overload. At this time, it may cause circuit short circuit, equipment overheating and other problems, thus posing a safety hazard. Summary of the invention

[0004] In order to reduce the occurrence of potential safety hazards, the present application provides a charging method, device, equipment and readable storage medium for a charging pile.

[0005] In a first aspect, the present application provides a charging method for a charging pile, which adopts the following technical solution: A charging method for a charging pile, comprising: Obtaining the user's current charging reservation information, wherein the current charging reservation information includes a target charging station, an expected charging start time, an expected charging end time, a current remaining power, and a battery capacity; Determine the charging duration based on the expected charging start time and the expected charging end time; Calculating the amount to be charged based on the current remaining power and the battery capacity; Determining a target charging power based on the charging time and the amount to be charged; The total reserved charging power of the target charging station in the first preset time period is summed with the target charging power to obtain the total charging power; Determining whether the total charging power is greater than the rated power of the target charging station; If so, the target charging power is adjusted, the charging end time is calculated based on the adjusted target charging power, and the charging end time is sent to the mobile terminal of the user.

[0006] By adopting the above technical solution, the user's charging needs can be determined by obtaining the user's current charging reservation information, and the total charging power can be determined according to the total reserved charging power and the target charging power of the target charging station within the first preset time period, thereby reducing the possibility of transformer load operation in the target charging station, thereby ensuring charging safety; when the total charging power is greater than the rated power of the target charging station, the target charging power is adjusted in time, and the adjusted charging end time is sent to the user's mobile terminal, so that the user can understand the charging progress and the expected end time in time, so as to better arrange his time and itinerary.

[0007] Optionally, the adjusting the target charging power includes: Calculating the difference between the rated power of the target charging station and the total reserved charging power to obtain a power difference; determining a remaining power value based on the power difference; The target charging power is adjusted based on the remaining power.

[0008] By adopting the above technical solution, the actual remaining power of the target charging station can be better understood through the power difference; by adjusting the target charging power based on the remaining power, the remaining power can be fully utilized to improve energy utilization efficiency, and the possibility of transformer load operation in the target charging station can be reduced, thereby ensuring charging safety.

[0009] Optionally, after obtaining the current charging reservation information of the user, the method further includes: Determine whether the charging time period corresponding to the current charging reservation information is a charging peak period; If so, the maximum charging power of the target charging pile corresponding to the current charging reservation information is reduced.

[0010] By adopting the above technical solution, during peak charging periods, the charging demand and load may exceed the carrying capacity of the charging facilities, leading to overload and other problems. By reducing the maximum charging power of the target charging pile corresponding to the current charging reservation information, the load on the transformer in the charging station can be reduced.

[0011] Optionally, the determining whether the charging time period corresponding to the current charging reservation information is a charging peak period includes: Determining whether the charging time period overlaps with a second preset time period; If there is an overlapping portion, then calculating the proportion of the overlapping portion in the charging time period; Determine whether the proportion is greater than a preset proportion; If it is greater than the preset proportion, it is determined that the charging time period corresponding to the current charging reservation information is in the charging peak period.

[0012] By adopting the above technical solution, by judging whether the charging time period overlaps with the second preset time period and calculating the proportion of the overlapping part in the charging time period, it is possible to more accurately determine whether the charging time period is a peak charging period.

[0013] Optionally, if there is no overlapping part, the method further includes: Acquire first historical charging information within a preset time period; Calculating an average value of the charging power in the first historical charging information; Calculating the difference between the average value and the rated power; Determining whether the difference satisfies a preset condition; If so, it is determined that the charging time period corresponding to the current charging reservation information is in the charging peak period.

[0014] By adopting the above technical solution, there is no overlap between the charging time period and the second preset time period. By obtaining the first historical charging information and calculating the average value of the charging power, a more comprehensive understanding of the operating status and demand of the charging facilities can be obtained. By calculating the difference between the average value and the rated power, it can be more accurately determined whether the charging time period corresponding to the current charging reservation information is in the peak charging period.

[0015] Optionally, before adjusting the target charging power, the method further includes: Acquire second historical charging information and basic information of the user; Determining whether the user is a target user based on the second historical charging information and basic information; If the user is a target user, obtaining the number of target users existing at the target charging station during the charging time period; Determining whether the number of target users exceeds a preset number; If it exceeds the preset number, the step of adjusting the target charging power is performed, otherwise the target charging power is maintained.

[0016] By adopting the above technical solution and acquiring the second historical charging information and basic information of the user, the target user can be identified more accurately, thereby improving the accuracy of target user identification.

[0017] Optionally, judging whether the user is a target user based on the second historical charging information and basic information includes: determining the number of charging times based on the second historical charging information; Determine the distance between the user and the target charging station based on the basic information; Obtaining weights corresponding to the number of charging times and distances; Calculate the score based on the number of charges, the weight corresponding to the number of charges, the distance, and the weight corresponding to the distance; Determine whether the score is greater than a preset score; If so, the user is determined to be a target user.

[0018] By adopting the above technical solution, by considering the user's second historical charging information and basic information at the same time, we can have a more comprehensive understanding of the user's charging behavior and needs, improve the accuracy of target user identification, and by calculating the weights of the number of charging times and distances and associating them with the scores, we can better understand the user's use and demand for charging facilities and improve the use efficiency and management level of charging facilities.

[0019] In a second aspect, the present application provides a charging device for a charging pile, which adopts the following technical solution: A charging device for a charging pile, comprising: A first acquisition module is used to acquire the user's current charging reservation information, wherein the current charging reservation information includes a target charging station, an expected charging start time, an expected charging end time, a current remaining power, and a battery capacity; A first determining module, configured to determine a charging duration based on the expected charging start time and expected charging end time; A calculation module, used for calculating the amount to be charged based on the current remaining power and the battery capacity; A second determination module is used to determine a target charging power based on the charging time and the amount to be charged; A summing module, configured to sum the total reserved charging power of the target charging station within a first preset time period and the target charging power to obtain a total charging power; A judgment module is used to judge whether the total charging power is greater than the rated power of the target charging station; if so, the target charging power is adjusted, the charging end time is calculated based on the adjusted target charging power, and the charging end time is sent to the user's mobile terminal.

[0020] By adopting the above technical solution, the user's charging needs can be determined by obtaining the user's current charging reservation information, and the total charging power can be determined according to the total reserved charging power and the target charging power of the target charging station within the first preset time period, thereby reducing the possibility of transformer load operation in the target charging station, thereby ensuring charging safety; when the total charging power is greater than the rated power of the target charging station, the target charging power is adjusted in time, and the adjusted charging end time is sent to the user's mobile terminal, so that the user can understand the charging progress and the expected end time in time, so as to better arrange his time and itinerary.

[0021] In a third aspect, the present application provides an electronic device, which adopts the following technical solution: An electronic device comprises a processor and a memory, wherein the processor is coupled to the memory; The processor is used to execute the computer program stored in the memory so that the electronic device performs the method as described in any one of the first aspects.

[0022] In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solution: A computer-readable storage medium comprises a computer program or an instruction, and when the computer program or the instruction is executed on a computer, the computer is caused to execute the method as described in any one of the first aspects. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 It is a flow chart of a charging method for a charging pile in an embodiment of the present application.

[0024] Figure 2 It is a structural block diagram of a charging device of a charging pile in an embodiment of the present application.

[0025] Figure 3 It is a structural block diagram of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION

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

[0027] This specific embodiment is merely an explanation of the present application and is not a limitation of the present application. After reading this specification, those skilled in the art may make modifications to the present embodiment without any creative contribution as needed, but such modifications are protected by the patent law as long as they are within the scope of the claims of the present application.

[0028] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0029] In addition, the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article, unless otherwise specified, generally means that the associated objects before and after are in an "or" relationship.

[0030] The embodiments of the present application are further described in detail below in conjunction with the drawings in the specification.

[0031] The embodiment of the present application provides a charging method for a charging pile, which can be executed by an electronic device, which can be a server or a terminal device, wherein 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.

[0032] like Figure 1 As shown, a charging method for a charging pile, the main process of the method is described as follows (steps S101 to S108): Step S101, obtaining the user's current charging reservation information, the current charging reservation information including the target charging station, the expected charging start time, the expected charging end time, the current remaining power and the battery capacity; In this embodiment, the user sends charging reservation information to the electronic device through a mobile terminal. The charging reservation information includes but is not limited to the target charging station, expected charging start time, expected charging end time, current remaining power and battery capacity. The electronic device uses the received charging reservation information as the current charging reservation information, wherein the mobile terminal includes but is not limited to mobile phones and computers.

[0033] After obtaining the user's current charging reservation information, the following content is also included: Specifically, it is determined whether the charging time period corresponding to the current charging reservation information is a charging peak period; if so, the maximum charging power of the target charging pile corresponding to the current charging reservation information is reduced.

[0034] In this embodiment, a dedicated transformer is used in the target charging station. The target charging station is provided with multiple charging piles. The load of the dedicated transformer is only connected to the charging piles in the target charging station. The rated capacity of the dedicated transformer is known. When the charging station is in the peak charging period, a large number of electric vehicles will be charged at the same time. At this time, the transformer may be overloaded, causing a safety hazard in electricity use. Therefore, it is necessary to determine whether the charging time period corresponding to the current charging reservation information is in the peak charging period, so as to adjust the maximum working charging power of the charging piles in the target charging station and reduce the possibility that the charging power of the target charging station is greater than the rated power.

[0035] Among them, judging whether the charging time period corresponding to the current charging reservation information is a charging peak period includes: Determine whether the charging time period overlaps with the second preset time period; if there is an overlap, calculate the proportion of the overlapping part in the charging time period; determine whether the proportion is greater than the preset proportion; if it is greater than the preset proportion, determine that the charging time period corresponding to the current charging reservation information is in the peak charging period.

[0036] In this embodiment, the electronic device extracts a first start time and a first end time of a charging time period, and extracts a second start time and a second end time of a preset time. When the first start time is later than the second start time and the first end time is later than the second end time, it is determined that the charging time period overlaps with the preset time; when the first start time is earlier than the second start time and the first end time is earlier than the second end time, it is determined that the charging time period overlaps with the preset time; when the first start time is later than or equal to the second start time and the first end time is earlier than or equal to the second end time, it is determined that the charging time period overlaps with the preset time.

[0037] When the electronic device determines the overlapping part of the charging time period and the preset time period, the overlapping time of the overlapping part is compared with the total time of the charging time period to obtain a proportion. When the proportion is greater than the preset proportion, it is determined that the charging time period corresponding to the current charging reservation information is a peak charging period, where the preset proportion can be 90%.

[0038] When there is no overlap, the following also applies: Specifically, obtain the first historical charging information within a preset time period; calculate the average value of the charging power in the first historical charging information; calculate the difference between the average value and the rated power; determine whether the difference meets the preset conditions; if so, determine that the charging time period corresponding to the current charging reservation information is in the peak charging period.

[0039] Among them, the preset time period can be a time period within the charging time period one week before the current charging reservation information, extract the charging power in the first historical charging information, calculate the average value of the charging power, and the electronic device calculates the difference between the average value and the rated power. When the difference meets the preset condition, it is determined that the charging time period corresponding to the current charging reservation information is in the peak charging period, wherein the preset condition is that the difference is between 0 and 10.

[0040] Step S102, determining the charging duration based on the expected charging start time and the expected charging end time; In this embodiment, the electronic device extracts the expected charging start time and the expected charging end time from the current charging reservation information, and obtains the charging duration by subtracting the expected charging start time from the expected charging end time.

[0041] Step S103, calculating the amount to be charged based on the current remaining power and battery capacity; The amount to be charged can be obtained by subtracting the battery capacity from the current remaining power, wherein the battery capacity can be determined based on the user's historical charging information, and the current remaining power can be adjusted based on the user's historical charging preset information. The amount of power that the user needs to consume in the process of going to the target charging station is determined based on the historical expected start charging time and the remaining power when arriving at the target charging station in the user's historical charging preset information, and the current remaining power is adjusted based on the amount of power that needs to be consumed in the process of going to the target charging station. For example, the current remaining power is subtracted from the amount of power that needs to be consumed in the process of going to the target charging station to obtain a new remaining power, and the new remaining power is used as the current remaining power. When there are multiple historical charging preset information, the average value of the amount of power that needs to be consumed is taken. The amount of power that needs to be consumed in the process of going to the target charging station can also be calculated according to the season. For example, power consumption is faster in winter than in summer.

[0042] Step S104, determining a target charging power based on the charging time and the amount to be charged; In this embodiment, the target charging power can be calculated by the formula: target charging power = amount to be charged / charging time. For example, if the amount to be charged is 500mAh and the charging time is 3 hours, then the target charging power is 500mAh / 3h≈167mW.

[0043] Step S105, summing the total reserved charging power of the target charging station within the first preset time period and the target charging power to obtain the total charging power; In this embodiment, the electronic device obtains the target charging power corresponding to all charging reservation information within the first preset time period, sums up all the target charging powers to obtain the total reserved charging power, and sums up the target charging power in the current charging reservation information and the total reserved charging power to obtain the total charging power.

[0044] Step S106, determining whether the total charging power is greater than the rated power of the target charging station, if so, executing step S107, otherwise executing step S108; In this embodiment, the electronic device compares the total charging power with the rated power of the transformer to determine the charging mode.

[0045] Step S107, adjusting the target charging power, calculating the charging end time based on the adjusted target charging power, and sending the charging end time to the user's mobile terminal; When the total charging power is greater than the rated power of the target charging station, adjusting the target charging power specifically includes: calculating the difference between the rated power of the target charging station and the total reserved charging power to obtain the power difference; determining the remaining power value based on the power difference; and adjusting the target charging power based on the remaining power.

[0046] In this embodiment, the remaining power is determined by subtracting the rated power of the target charging station from the total reserved charging power. The target charging power needs to be reduced by a certain proportion to reduce the possibility of transformer load. In order to protect the transformer, the target charging power can be less than the remaining power. After the target charging power is adjusted, the charging end time is calculated by the adjusted target charging power, and the charging end time is sent to the user's corresponding mobile terminal so that the user can understand the latest charging plan.

[0047] Before adjusting the target charging power, it also includes: Obtain the user's second historical charging information and basic information; determine whether the user is a target user based on the second historical charging information and the basic information; if the user is a target user, obtain the number of target users existing at the target charging station during the charging time period; determine whether the number of target users exceeds a preset number; if it exceeds the preset number, execute the step of adjusting the target charging power, otherwise maintain the target charging power.

[0048] The preset number can be 2 or other values, which are not specifically limited. Before adjusting the target charging power, users can be screened and judged to timely discover and solve the problem of excessive charging load, thereby ensuring the safety and stability of the charging process. At the same time, the preset number can also be adjusted according to actual conditions to better meet the charging needs of users and the load requirements of the transformer.

[0049] Wherein, judging whether the user is a target user based on the second historical charging information and the basic information includes: Determine the number of charging times based on the second historical charging information; determine the distance between the user and the target charging station based on the basic information; obtain the weights corresponding to the number of charging times and the distance; calculate the score based on the number of charging times, the weight corresponding to the number of charging times, the distance and the weight corresponding to the distance; determine whether the score is greater than a preset score; if so, determine that the user is a target user.

[0050] In this embodiment, the electronic device obtains the second historical charging information of the user, which is the historical charging information of the user. The electronic device determines the historical charging times of the user through the second historical charging information, determines the home address or company address of the user according to the basic information of the user, and determines the distance information of the user from the target charging pile through the home address or company address. For example, the location information of the user and the target charging station can be obtained through GPS positioning or map API interface, and then the distance between the user and the target charging station can be obtained by using the distance calculation formula.

[0051] The electronic device has preset weights corresponding to the number of charging times and the distance. The electronic device calculates the score based on the number of charging times, the weight corresponding to the number of charging times, the distance, and the weight corresponding to the distance. For example, the number of charging times and the distance can be multiplied by the corresponding weights respectively, and then the obtained scores are added to obtain the user's total score, where the total score is the score mentioned above. When the user's score is greater than the preset score, the user is determined to be a target user; when the user's score is not greater than the preset score, the user is determined to be not a target user. The preset score can be set as needed and is not specifically limited.

[0052] Through the above steps, the user's charging times and distance can be determined based on the second historical charging information and basic information, and the user's score can be calculated to determine whether he or she is a target user. This can better understand the user's usage and demand for charging facilities and improve the efficiency of use and management of charging facilities.

[0053] Step S108, charging based on the target charging power.

[0054] In this embodiment, charging is performed according to the user's current scheduled charging information.

[0055] Figure 2 This is a structural block diagram of a charging device 200 for a charging pile provided in this application. Figure 2 As shown, a charging device 200 for a charging pile, the charging device 200 for the charging pile includes: The first acquisition module 201 is used to acquire the user's current charging reservation information, which includes the target charging station, the expected charging start time, the expected charging end time, the current remaining power and the battery capacity; A first determining module 202, configured to determine a charging duration based on an expected charging start time and an expected charging end time; A calculation module 203, used to calculate the amount to be charged based on the current remaining power and the battery capacity; A second determination module 204 is used to determine a target charging power based on the charging time and the amount to be charged; A summing module 205 is used to sum the total reserved charging power of the target charging station within the first preset time period and the target charging power to obtain the total charging power; The judgment module 206 is used to judge whether the total charging power is greater than the rated power of the target charging station; if so, the target charging power is adjusted, the charging end time is calculated based on the adjusted target charging power, and the charging end time is sent to the user's mobile terminal.

[0056] As an optional implementation of this embodiment, the determination module 206 includes: A difference module is used to calculate the difference between the rated power of the target charging station and the total reserved charging power to obtain the power difference; A power value determination submodule, used to determine a remaining power value based on the power difference value; The adjustment submodule is used to adjust the target charging power based on the remaining power.

[0057] As an optional implementation of this embodiment, the charging device 200 of the charging pile further includes: The peak period judgment submodule is used to determine whether the charging time period corresponding to the current charging reservation information is the charging peak period after obtaining the user's current charging reservation information; if so, reduce the maximum charging power of the target charging pile corresponding to the current charging reservation information.

[0058] In this optional embodiment, the peak period determination submodule is specifically used for: Determine whether the charging time period overlaps with the second preset time period; if there is an overlap, calculate the proportion of the overlapping part in the charging time period; determine whether the proportion is greater than the preset proportion; if it is greater than the preset proportion, determine that the charging time period corresponding to the current charging reservation information is in the peak charging period.

[0059] As an optional implementation of this embodiment, the charging device 200 of the charging pile further includes: A charging information acquisition module, configured to acquire first historical charging information within a preset time period if there is no overlapping portion; An average value calculation module, used to calculate the average value of the charging power in the first historical charging information; A difference calculation module is used to calculate the difference between the average value and the rated power; The condition judgment module is used to judge whether the difference meets the preset condition; if so, it is judged that the charging time period corresponding to the current charging reservation information is in the charging peak period.

[0060] As an optional implementation of this embodiment, the charging device 200 of the charging pile further includes: A basic information acquisition module, used to acquire the second historical charging information and basic information of the user before adjusting the target charging power; A user determination module, configured to determine whether the user is a target user based on the second historical charging information and the basic information; if the user is a target user, then obtaining the number of target users existing at the target charging station during the charging time period; The quantity determination module is used to determine whether the number of target users exceeds a preset number; if so, the step of adjusting the target charging power is executed; otherwise, the target charging power is maintained.

[0061] In this optional embodiment, the user judgment module is specifically used to: Determine the number of charging times based on the second historical charging information; determine the distance between the user and the target charging station based on the basic information; obtain the weights corresponding to the number of charging times and the distance; calculate the score based on the number of charging times, the weight corresponding to the number of charging times, the distance and the weight corresponding to the distance; determine whether the score is greater than a preset score; if so, determine that the user is a target user.

[0062] The functional modules in the embodiments of the present application can be integrated together to form an independent part, or each module can exist separately, or two or more modules can be integrated to form an independent part. If the function is implemented in the form of a software functional module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a number of instructions for an electronic device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of a charging method for a charging pile in each embodiment of the present application.

[0063] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and modules described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0064] Figure 3 FIG. 3 is a structural block diagram of an electronic device 300 provided in an embodiment of the present application. Figure 3 As shown, the electronic device 300 includes a memory 301, a processor 302 and a communication bus 303; the memory 301 and the processor 302 are connected via the communication bus 303. The memory 301 stores a charging method for a charging pile provided in the above embodiment that can be loaded and executed by the processor 302.

[0065] The memory 301 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 301 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function, and instructions for implementing a charging method for a charging pile provided in the above embodiment, etc.; the data storage area may store data involved in a charging method for a charging pile provided in the above embodiment, etc.

[0066] The processor 302 may include one or more processing cores. The processor 302 calls the data stored in the memory 301 by running or executing the instructions, programs, code sets or instruction sets stored in the memory 301, and performs various functions and processes data of the present application. The processor 302 may 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 is understandable that for different devices, the electronic device used to implement the above-mentioned processor 302 function can also be other, and the embodiment of the present application is not specifically limited.

[0067] The communication bus 303 may include a path to transmit information between the above components. The communication bus 303 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The communication bus 303 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 Only one double arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0068] An embodiment of the present application provides a computer-readable storage medium storing a computer program that can be loaded by a processor and execute a charging method for a charging pile as provided in the above embodiment.

[0069] In this embodiment, the computer-readable storage medium may be a tangible device that holds and stores instructions used by the instruction execution device. The computer-readable 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 thereof. Specifically, the computer-readable 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 encoding device, and any combination thereof.

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

[0071] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of application involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the aforementioned application concept. For example, the above features are replaced with (but not limited to) technical features with similar functions applied in the present application.

Claims

1. A charging method for a charging pile, characterized in that: include: Obtaining the user's current charging reservation information, wherein the current charging reservation information includes a target charging station, an expected charging start time, an expected charging end time, a current remaining power, and a battery capacity; Determine the charging duration based on the expected charging start time and the expected charging end time; Calculating the amount to be charged based on the current remaining power and the battery capacity; Determining a target charging power based on the charging time and the amount to be charged; The total reserved charging power of the target charging station in the first preset time period is summed with the target charging power to obtain the total charging power; Determining whether the total charging power is greater than the rated power of the target charging station; If so, the target charging power is adjusted, the charging end time is calculated based on the adjusted target charging power, and the charging end time is sent to the mobile terminal of the user.

2. The method according to claim 1, characterized in that: The adjusting the target charging power includes: Calculating the difference between the rated power of the target charging station and the total reserved charging power to obtain a power difference; determining a remaining power value based on the power difference; The target charging power is adjusted based on the remaining power.

3. The method according to claim 1, characterized in that After obtaining the current charging reservation information of the user, the method further includes: Determine whether the charging time period corresponding to the current charging reservation information is a charging peak period; If so, the maximum charging power of the target charging pile corresponding to the current charging reservation information is reduced.

4. The method according to claim 3, characterized in that The determining whether the charging time period corresponding to the current charging reservation information is a charging peak period includes: Determining whether the charging time period overlaps with a second preset time period; If there is an overlapping portion, then calculating the proportion of the overlapping portion in the charging time period; Determine whether the proportion is greater than a preset proportion; If it is greater than the preset proportion, it is determined that the charging time period corresponding to the current charging reservation information is in the charging peak period.

5. The method according to claim 4, characterized in that If there is no overlapping part, the method further includes: Acquire first historical charging information within a preset time period; Calculating an average value of the charging power in the first historical charging information; Calculating the difference between the average value and the rated power; Determining whether the difference satisfies a preset condition; If so, it is determined that the charging time period corresponding to the current charging reservation information is in the charging peak period.

6. The method according to claim 3, characterized in that: Before adjusting the target charging power, the method further includes: Acquire second historical charging information and basic information of the user; Determining whether the user is a target user based on the second historical charging information and basic information; If the user is a target user, obtaining the number of target users existing at the target charging station during the charging time period; Determining whether the number of target users exceeds a preset number; If it exceeds the preset number, the step of adjusting the target charging power is performed, otherwise the target charging power is maintained.

7. The method according to claim 6, characterized in that The determining whether the user is a target user based on the second historical charging information and the basic information includes: determining the number of charging times based on the second historical charging information; Determine the distance between the user and the target charging station based on the basic information; Obtaining weights corresponding to the number of charging times and distances; Calculate the score based on the number of charges, the weight corresponding to the number of charges, the distance, and the weight corresponding to the distance; Determine whether the score is greater than a preset score; If so, the user is determined to be a target user.

8. A charging device for a charging pile, characterized in that: include: A first acquisition module is used to acquire the user's current charging reservation information, wherein the current charging reservation information includes a target charging station, an expected charging start time, an expected charging end time, a current remaining power, and a battery capacity; A first determining module, configured to determine a charging duration based on the expected charging start time and expected charging end time; A calculation module, used for calculating the amount to be charged based on the current remaining power and the battery capacity; A second determination module is used to determine a target charging power based on the charging time and the amount to be charged; A summing module, configured to sum the total reserved charging power of the target charging station within a first preset time period and the target charging power to obtain a total charging power; A judgment module is used to judge whether the total charging power is greater than the rated power of the target charging station; if so, the target charging power is adjusted, the charging end time is calculated based on the adjusted target charging power, and the charging end time is sent to the user's mobile terminal.

9. An electronic device, characterized in that: comprising a processor and a memory, wherein the processor is coupled to the memory; The processor is configured 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.