Charger control method and device, storage medium and electronic equipment
By receiving terminal configuration parameters through the charger's built-in Wi-Fi module, the problem of the charger's configuration parameters being unable to be modified remotely has been solved, enabling remote configuration adjustments and improving charging efficiency and safety.
Patent Information
- Application Number
- CN202310709557.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-14
- Publication Date
- 2026-02-13
- Estimated Expiration
- 2043-06-14
AI Technical Summary
The configuration parameters of existing chargers cannot be modified remotely, which requires manual on-site operation when charging needs change, causing inconvenience and posing safety hazards.
By connecting to the network through the charger's built-in Wi-Fi module, the system receives target configuration parameters sent by the terminal and modifies them when they are inconsistent, thus enabling remote adjustment of configuration parameters.
It enables remote modification of charger configuration parameters, avoiding the inconvenience and safety hazards of manual on-site operation, and improving charging efficiency and safety.
Smart Images

Figure CN116729193B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of chargers, in particular to a charger control method and device, a storage medium and an electronic device. BACKGROUND
[0002] The charger is a charging device using high-frequency power supply technology and advanced intelligent dynamic adjustment charging technology. With the rapid development of charger technology, the application scenarios of chargers are also increasing. The most common application scenario is that the charger is arranged in a charging pile to charge the battery of an electric vehicle. In this application scenario, the corresponding charging demand is also increasing. The configuration parameters of the existing charger are set in advance by technical personnel, and the charging equipment is mostly charged according to the configuration parameters set in advance by the charger in daily life.
[0003] However, once the charging demand of the charging equipment changes, the configuration parameters set in advance by the existing charger cannot be well met, and the configuration parameters of the charger are usually manually modified on site, causing inconvenience in modifying the configuration parameters. SUMMARY
[0004] In order to facilitate remote modification of the configuration parameters of the charger, the present application provides a charger control method and device, a storage medium and an electronic device.
[0005] In a first aspect of the present application, a charger control method is provided, which specifically comprises:
[0006] connecting a network through a wifi module to enter a standby mode after successful network connection;
[0007] after receiving a charging instruction, switching the standby mode to a charging mode and receiving a target configuration parameter of the charger sent by a terminal;
[0008] if the target configuration parameter is inconsistent with the current initial configuration parameter, modifying the initial configuration parameter to the target configuration parameter to continue charging according to the target configuration parameter in the charging mode.
[0009] By using the above technical solution, after the wifi module built in the charger successfully connects the network, the charging instruction input from the outside is received, the standby mode is switched to the charging mode, which indicates that there is a battery to be charged outside, and the target configuration parameter of the charger sent by the terminal is received. Then, the target configuration parameter is compared with the initial configuration parameter inside the charger. If they are inconsistent, it indicates that the configuration of the charger needs to be modified. Finally, the initial configuration parameter is modified to the target configuration parameter, and the charging is continued, so that the configuration parameter of the charger can be remotely modified, without manual modification on site, thereby achieving the purpose of facilitating remote modification of the configuration parameter of the charger.
[0010] Optionally, after the initial configuration parameter is modified into the target configuration parameter, the method further comprises:
[0011] receiving charging reservation information, determining a first charging reservation number of each vehicle corresponding to each charging reservation information according to the order of reservation time in each charging reservation information, the earlier the reservation time, the smaller the corresponding first charging reservation number, and the earlier the charging;
[0012] counting the number of each charging reservation information every first time length;
[0013] if the number is greater than a number threshold, adjusting the first charging reservation number of each target vehicle which has not been charged among the vehicles according to a second time length of the target vehicle to reach a charging pile where the charger is located;
[0014] if the number is not greater than the number threshold, keeping the first charging reservation number of each target vehicle unchanged.
[0015] By adopting the above technical solution, during the charging process of the charger, the charger receives charging reservation information sent by each vehicle, determines the first charging reservation number of each vehicle according to the order of reservation time, and then determines the queuing order of charging of each vehicle. Then, the number of received charging reservation information is counted every first time length, if the number is large, it means that the number of vehicles queuing for charging is large, in order to improve the overall charging efficiency of each vehicle, the first charging reservation number of each target vehicle which has not been charged among the vehicles is adjusted according to the second time length of the target vehicle to reach the charging pile where the charger is located, and the charging reservation number is determined again; if the number is small, it means that the number of vehicles queuing for charging is small, and the first charging reservation number does not need to be adjusted, thereby avoiding the influence of the vehicle with a long second time length but early reservation time on the charging progress of the following vehicle.
[0016] Optionally, the charging reservation information comprises vehicle positioning information, and the adjusting of the first charging reservation number of each target vehicle which has not been charged among the vehicles according to the second time length of the target vehicle to reach the charging pile where the charger is located comprises:
[0017] determining the second time length of each target vehicle which has not been charged among the vehicles to reach the charging pile according to each vehicle positioning information and position information of the charging pile where the charger is located, and subtracting the first time length from each second time length to obtain a corresponding third time length;
[0018] obtaining a remaining charging time length of current charging, and screening a first set of each third time length which is not greater than the remaining charging time length;
[0019] redetermine the second charging reservation numbers of the target vehicles corresponding to the third time lengths in the first set in ascending order of the corresponding first charging reservation numbers, and the smaller the first charging reservation number is, the smaller the redetermined second charging reservation number is among all the target vehicles;
[0020] screen a second set of the third time lengths greater than the remaining charging time length, and determine the second charging reservation numbers of the target vehicles corresponding to the third time lengths in the second set as target reservation numbers, the target reservation numbers being greater than the largest second charging reservation number among the second charging reservation numbers corresponding to the first set.
[0021] By adopting the technical solutions, after determining the third time lengths actually required by the target vehicles to arrive at the charging pile, the third time lengths not greater than the remaining charging time length of the current charging of the charger are screened, i.e., the first set, the target vehicles corresponding to the third time lengths in the first set can all arrive at the charging pile to charge when the current charging of the charger is completed, therefore, the second charging reservation numbers of the corresponding target vehicles are determined in ascending order of the first charging reservation numbers, and the smaller the first charging reservation number is, the earlier the corresponding target vehicle reservation time is, and the smaller the corresponding second charging reservation number is among all the target vehicles; in addition, the second set of the third time lengths greater than the remaining charging time length corresponds to the target vehicles whose second charging reservation numbers are determined as target reservation numbers greater than the largest second charging reservation number in the first set, i.e., the target vehicles charge after the target vehicles corresponding to the first set, thereby the charging progress is accelerated.
[0022] Optionally, the determining of the second charging reservation numbers of the target vehicles corresponding to the third time lengths in the second set as target reservation numbers specifically includes:
[0023] selecting a target reservation number set greater than the largest second charging reservation number among the second charging reservation numbers corresponding to the first set;
[0024] determining the second charging reservation numbers of the target vehicles corresponding to the third time lengths in the second set from the target reservation number set in ascending order of the third time lengths, and the smaller the third time length is, the smaller the corresponding second charging reservation number is.
[0025] By adopting the technical scheme, after the target reservation number set is determined, the target reservation number set is selected as the second charging reservation number of the target vehicle corresponding to each third time length in the second set, and when the selection is performed, since the target vehicle corresponding to the second set cannot arrive at the charging pile when the current charging of the charger is completed, the second charging reservation number of the target vehicle corresponding to each third time length in the second set is determined in the order from small to large of the third time length for arriving at the charging pile, that is, in the order of arrival at the charging pile, and the smaller the second charging reservation number corresponding to the target vehicle is, the earlier the target vehicle arrives at the charging pile. Therefore, the purpose that the target vehicle arriving at the charging pile first is charged first is achieved, and the charging efficiency is improved.
[0026] Optionally, the second charging reservation number of the target vehicle corresponding to each third time length in the second set is determined as the target reservation number, and specifically includes:
[0027] selecting a target reservation number set greater than the largest second charging reservation number in the second charging reservation number corresponding to the first set;
[0028] weighting and summing the reservation time of each third time length and the corresponding target vehicle in the second set to obtain a plurality of charging queue values;
[0029] determining the second charging reservation number of the target vehicle corresponding to each third time length in the second set from the target reservation number set according to the order from small to large of the charging queue values, and the smaller the charging queue value is, the smaller the corresponding second charging reservation number is.
[0030] By adopting the technical scheme, after the target reservation number set is determined, the third time length and the reservation time of each target vehicle corresponding to the second set are comprehensively considered to determine the charging order, that is, the third time length and the corresponding reservation time in the second set are weighted and summed to obtain a charging queue value, the smaller the charging queue value is, the smaller the second charging reservation number of the corresponding target vehicle is, and the charging order is earlier. Therefore, the second charging reservation number of the target vehicle is reasonably determined, and the charging efficiency is improved.
[0031] Optionally, the target configuration parameter includes a charging current, and after the first charging reservation number corresponding to each target vehicle is adjusted, the method further includes:
[0032] calculating a difference between the number and the number threshold;
[0033] determining an increase amount of the charging current according to the difference, and adjusting the target configuration parameter according to the increase amount.
[0034] By adopting the technical scheme, if the number of received charging reservation information is greater than the number threshold, it indicates that there are more vehicles in queue for charging, and the charging current in the target configuration parameter needs to be increased to speed up the overall charging progress. Therefore, the increase amount of the charging current is determined according to the difference between the number of the charging reservation information and the number threshold, and the greater the difference, the greater the increase amount.
[0035] Optionally, the charging reservation information further comprises a remaining power, and the method further comprises:
[0036] If the remaining power warning information is received, a vehicle with a remaining power greater than a power threshold and a first charging reservation number less than a first charging reservation number of a vehicle corresponding to the remaining power warning information is screened out;
[0037] A charging reservation number exchange request is sent to a vehicle-mounted terminal of the vehicle with the exchangeable number, and if the charging reservation number exchange request is passed, the charging reservation number exchange is performed on the vehicle with the exchangeable number and the vehicle corresponding to the remaining power warning information.
[0038] By adopting the technical scheme, if the charger receives the remaining power warning information during the charging process, it indicates that there is a vehicle with low power among the vehicles in queue for charging, and then a vehicle with a remaining power greater than a remaining power of a vehicle corresponding to the remaining power warning information and a charging sequence before the vehicle corresponding to the remaining power warning information is screened out. Then, a charging reservation number exchange request is sent to the vehicle with the exchangeable number, and if the charging reservation number exchange request is passed, the first charging reservation numbers of the two vehicles are exchanged, so that the vehicle with the power warning has an opportunity to be charged preferentially.
[0039] In a second aspect of the present application, a charger control device is provided, which specifically comprises:
[0040] A network connection module (11) is configured to connect a network through a wifi module to enter a standby mode after the network connection is successful;
[0041] A configuration receiving module (12) is configured to switch the standby mode to a charging mode after receiving a charging instruction, and receive a target configuration parameter of the charger sent by a terminal;
[0042] A configuration modifying module (13) is configured to modify an initial configuration parameter to the target configuration parameter if the target configuration parameter is inconsistent with the initial configuration parameter, so as to continue charging according to the target configuration parameter in the charging mode.
[0043] By adopting the technical scheme, after the network connection module successfully connects the network through the wifi module, the configuration receiving module switches from the standby mode to the charging mode after receiving the charging instruction, and receives the target configuration parameter of the charger sent by the terminal, and then the configuration modification module modifies the initial configuration parameter to the target configuration parameter in the case that the target configuration parameter is inconsistent with the initial configuration parameter. Thus, the configuration parameter of the charger is conveniently remotely modified.
[0044] In summary, the present application includes at least one of the following beneficial technical effects:
[0045] The charger is connected to the network through the built-in wifi module, so that the charger and the terminal can interact. The target configuration parameter issued by the terminal is received, and the initial configuration parameter is modified to the target configuration parameter in the case that the target configuration parameter is inconsistent with the initial configuration parameter, so that the configuration parameter of the charger is conveniently remotely modified. BRIEF DESCRIPTION OF DRAWINGS
[0046] Figure 1 is a schematic diagram of a charger control system architecture provided by an embodiment of the present application;
[0047] Figure 2 is a flowchart of a charger control method provided by an embodiment of the present application
[0048] Figure 3 is a flowchart of another charger control method provided by an embodiment of the present application;
[0049] Figure 4 is a structural schematic diagram of a charger control device provided by an embodiment of the present application;
[0050] Figure 5 is a structural schematic diagram of another charger control device provided by an embodiment of the present application.
[0051] Reference signs: 11, network connection module; 12, configuration receiving module; 13, configuration modification module. DETAILED DESCRIPTION
[0052] In order to make the person skilled in the art better understand the technical solutions in the specification, the technical solutions in the specification will be described clearly and completely in the following with reference to the drawings in the embodiment of the specification. Obviously, the described embodiments are only a part of the embodiments of the present application, not all the embodiments.
[0053] In the description of the embodiments of the present application, the words "exemplary", "for example", or "e.g." are used to mean serving as an example, instance, or illustration. Any embodiment or design presented as "exemplary", "for example", or "e.g." in the present application should not be construed as preferred or advantageous over other embodiments or designs. In fact, the use of "exemplary", "for example", or "e.g." is intended to present concepts in a concrete manner.
[0054] The application scenario of the charger control method disclosed in the present application is that when an electric vehicle charges a battery through a charger in a charging pile, the charging demand changes, for example, the charging voltage or current needs to be adjusted, or even the on-site safety risk is high. In this application scenario, it is usually necessary to manually modify the configuration parameters of the charger on site, and the configuration parameters include current, voltage, and charging duration, etc. The operation is relatively inconvenient, and if the on-site safety risk is high, the risk coefficient of personnel modifying the configuration parameters of the charger on site is high. In contrast, the charger control method disclosed in the present application can modify the configuration parameters of the charger remotely without on-site operation, which is relatively convenient. It should be noted that the execution subject of the charger control method disclosed in the present application is the charger, and the charger is provided with a wifi module and a microcontroller unit (MCU).
[0055] Referring to Figure 1 The embodiment of the present application discloses a schematic diagram of the architecture of a charger control system. The charger control system includes a charger and a terminal. The charger is a battery charger, and the terminal can be an electronic device such as a mobile phone, a tablet computer, an e-book reader, a multimedia playback device, a wearable device, a personal computer (PC), etc. The charger and the terminal are directly or indirectly connected through a wireless network. When the configuration parameters of the charger need to be modified, a person sets new configuration parameters through the terminal, the terminal sends the new configuration parameters to the charger, and the charger modifies the configuration parameters according to the new configuration parameters.
[0056] Referring to Figure 2 The embodiment of the present application discloses a flowchart of a charger control method. The method can be implemented by relying on a computer program and can also run on a charger control device based on the von Neumann architecture. The computer program can be integrated in an application or run as an independent tool application. Specifically, the method includes the following steps:
[0057] S101: Connect to the network through the wifi module to enter the standby mode after the network connection is successful.
[0058] Specifically, the wifi module, also known as a serial wifi module, belongs to the transmission layer of the Internet of Things. The function is to convert serial or TTL level into an embedded module that meets the Wi-Fi wireless network communication standard. It has a built-in wireless network protocol IEEE 802.11b.g.n protocol stack and a TCP / IP protocol stack. Traditional hardware devices embedded with wifi modules can directly use Wi-Fi to connect to the Internet. In the embodiments of the present application, the wifi module uses an ESP-01S wifi module. Using this wifi module can add networking functions to the charger or build an independent network controller. In other embodiments, the wifi module can also use an ESP-12F wifi module.
[0059] After the charger is powered on, that is, the charger is connected to the power supply, the wifi module is connected to the WIFI router near the charger, and the charger is connected to the network. After the charger is successfully connected to the network, it enters standby mode. In an implementable embodiment, if the network connection is not successful, the network connection is continued, and the number of network connections is counted. The number of network connections is compared with the preset number. If the number of network connections does not exceed the preset number, the network connection is continued. If the number of network connections exceeds the preset number, it is judged that there is a problem with the current network, and the network connection is not continued. The charger directly enters standby state, and subsequent charging is performed with the initial configuration parameters of the charger. It should be noted that the preset number can be 5 times. In other embodiments, the preset number can also be 4 times. In addition, the standby mode is a mode existing in the internal circuit of the charger. When the charger is not working, it will enter standby mode and be ready to charge the device to be charged.
[0060] S102: After receiving the charging instruction, the standby mode is switched to the charging mode, and the target configuration parameters of the charger sent by the terminal are received.
[0061] Specifically, when the charger is externally connected with the battery, and the voltage of the battery meets the charging requirement, it indicates that there is an electric vehicle charging at the charging pile where the charger is located, and the charger will receive the charging instruction to switch from the standby mode to the charging mode to prepare for charging the battery. At the same time, the charger receives the target configuration parameters of the charger sent by the terminal, indicating that the configuration parameters of the charger need to be modified. In other embodiments, the target configuration parameters sent by the terminal can also be received during the charging process of the charger. The target configuration parameters include charging voltage, charging current, charging duration, etc. It should be noted that the terminal sends the target configuration parameters, mainly through the charger control app on the terminal to issue the target configuration parameters, to realize the interaction between the terminal and the charger. Among them, the charger control app is built based on the OneNET Internet of Things platform. OneNET is a PaaS service, that is, to build an efficient, stable and secure application platform between Internet of Things applications and real devices: facing devices, adapting to various network environments and common transmission protocols, providing fast access solutions and device management services for various hardware terminals; facing enterprise applications, providing rich APIs and data distribution capabilities to meet the development needs of various industry application systems, so that Internet of Things enterprises can focus more on the development of their own applications, rather than focusing on the environment construction of the device access layer, thereby shortening the formation cycle of the Internet of Things system and reducing the cost of enterprise research and development, operation and maintenance. This is prior art, which will not be described here. In addition, through the terminal, not only can the configuration parameters be issued to the charger, but also real-time control commands can be sent, such as controlling the opening and closing of the charger, etc.
[0062] S103: If the target configuration parameters are inconsistent with the initial configuration parameters, the initial configuration parameters are modified to the target configuration parameters, so as to continue charging according to the target configuration parameters in the charging mode.
[0063] Specifically, after receiving the target configuration parameters sent by the terminal, since the charger itself stores the initial configuration parameters, in the absence of target configuration parameters, the charger charges the battery according to the initial configuration parameters. Then compare the target configuration parameters with the initial configuration parameters. If they are inconsistent, modify the configuration parameters of the charger according to the target configuration parameters, and then continue to charge the charger. If the target configuration parameters are consistent with the initial configuration parameters, there is no need to modify the configuration, and at the same time, the current charging data of the charger is sent to the terminal, for example, the current temperature of the charger is detected, the current temperature and the charging curve of the current temperature and voltage are sent to the terminal, so that the personnel can view the charging state of the charger in real time through the terminal.
[0064] Referring to Figure 3The embodiment of the application discloses another flowchart of a charger control method, which can be realized by a computer program and run on a charger control device based on a Von Neumann system. The computer program can be integrated in an application or run as an independent tool application, and specifically includes the following steps.
[0065] S201: connecting a network through a wifi module to enter a standby mode after the network connection is successful.
[0066] S202: switching the standby mode to a charging mode after receiving a charging instruction, and receiving target configuration parameters of the charger sent by a terminal.
[0067] S203: modifying initial configuration parameters to the target configuration parameters if the target configuration parameters are inconsistent with the initial configuration parameters, so as to continue charging in the charging mode according to the target configuration parameters.
[0068] Specifically, steps S101-S103 can be referred to, which are not described here again.
[0069] S204: receiving charging reservation information, determining first charging reservation numbers of vehicles corresponding to the charging reservation information according to the order of reservation times from early to late in the charging reservation information, and the earlier the reservation time, the smaller the first charging reservation number and the earlier the charging.
[0070] Specifically, after the configuration modification and the continuous charging according to the target configuration parameters, the charger receives charging reservation information sent by a vehicle-mounted terminal of each vehicle, which indicates that multiple vehicles select the charging pile where the charger is located to charge. The charging reservation information includes a reservation time, i.e., the time of receiving the charging reservation information. The vehicle-mounted terminal is a front-end device of a vehicle monitoring and management system, which integrates positioning, communication and other functions, has powerful business scheduling functions and data processing capabilities. Then, the first charging reservation numbers of the vehicles are determined in turn according to the order of the reservation times from early to late of the vehicles, and the determined first charging reservation numbers are sent to the vehicle-mounted terminals of the corresponding vehicles, so that the vehicles charge according to the order of the reservation times from early to late, i.e., the earlier the reservation time, the earlier the charging time of the vehicle, and the smaller the first charging reservation number. After the current charging of the charger is completed, the vehicle with the smallest first charging reservation number among the vehicles with the reservation charging is selected as the next charging object.
[0071] For example, the reservation time of an A vehicle is 17:00, the reservation time of a B vehicle is 16:30, and the reservation time of a C vehicle is 18:00, so the first charging reservation number of the A vehicle is determined as 02, the first charging reservation number of the B vehicle is determined as 01, and the first charging reservation number of the C vehicle is determined as 03. According to the first charging reservation numbers, the charging order is: the B vehicle, the A vehicle and the C vehicle.
[0072] S205: Count the number of each charging reservation information every first time length.
[0073] Specifically, each time a vehicle's on-board terminal sends charging reservation information, the first charging reservation number of the vehicle is determined according to the method of S204. Meanwhile, the number of charging reservation information received by the charger is counted every first time length. The more the number is, the more vehicles are queued for charging at the charging pile where the charger is located. It should be noted that in the embodiments of the present application, the first time length can be a preset time length of 10 minutes or 5 minutes, etc. In other embodiments, the first time length can be adjusted in real time. A feasible way is to determine whether the current time is within a preset charging peak time period. If it is within the charging peak time period, the number of vehicles reserving charging is large, and the first time length is reduced, and the frequency of counting the number of charging reservation information is increased.
[0074] S206: If the number is greater than the number threshold, adjust the first charging reservation number corresponding to each target vehicle in each vehicle according to the second time length of the target vehicle to reach the charging pile where the charger is located.
[0075] In an implementable embodiment, the second time length of the target vehicle in each vehicle to reach the charging pile is determined according to the vehicle positioning information and the location information of the charging pile where the charger is located, and each second time length is subtracted by the first time length to obtain the corresponding third time length;
[0076] Obtain the remaining charging time of the current charging, and select a first set of third time lengths that are not greater than the remaining charging time;
[0077] Determine the second charging reservation number of the target vehicle corresponding to each third time length in the first set in the order of the corresponding first charging reservation number from small to large. The smaller the corresponding first charging reservation number is, the smaller the second charging reservation number determined is among all target vehicles.
[0078] Specifically, if the number of charging reservation information is greater than the number threshold, it means that there are more vehicles queuing for charging. Since when there are more vehicles queuing, the charging reservation of the vehicle is earlier and the arrival time at the charging pile is later, it is easy to make the vehicle with later charging reservation and earlier arrival time at the charging pile wait for a long time, thereby reducing the charging efficiency of the charger. Therefore, the vehicle positioning information in the charging reservation information of the target vehicle that has not yet charged and the location information of the charging pile where the charger is located are imported into the preset map software, and the second time length of each target vehicle to reach the charging pile can be obtained. It should be noted that the vehicle positioning information can be determined by the built-in GPS of the vehicle, and the location information of the charging pile can also be determined by the built-in GPS.
[0079] Since it is the first time interval after this time, the second time interval of each target vehicle is determined, and each second time interval is subtracted by the first time interval to obtain the third time interval corresponding to each target vehicle, that is, the actual time interval of each target vehicle to reach the charging pile at the current time. Then the remaining charging time of the vehicle currently charged by the charger is obtained, and each third time interval is compared with the remaining charging time to screen out third time intervals not greater than the remaining charging time, and to form a first set, wherein the third time intervals in the first set correspond to target vehicles that can reach the charging pile after the currently charged vehicle finishes charging.
[0080] After the first set is determined, the first charging reservation numbers of the target vehicles corresponding to each third time interval in the first set are sorted from small to large, that is, the order of the reservation time is determined. According to the order from small to large of the first charging reservation numbers, the second charging reservation numbers of the target vehicles corresponding to each third time interval in the first set are re-determined, wherein the smaller the first charging reservation number of the target vehicle is, the smaller the corresponding second charging reservation number is among all target vehicles.
[0081] For example, the remaining charging time is 50 minutes, the third time intervals in the first set are 40 minutes, 50 minutes and 30 minutes, and the corresponding vehicles are D vehicle, E vehicle and F vehicle, respectively. The first charging reservation number of D vehicle is 11, the first charging reservation number of E vehicle is 09, and the first charging reservation number of F vehicle is 12. Then the second charging reservation numbers of each vehicle are re-determined according to the order from small to large of the first charging reservation numbers, the second charging reservation number of E vehicle is 01, the second charging reservation number of D vehicle is 02, and the second charging reservation number of F vehicle is 03.
[0082] A second set is screened from the third time intervals greater than the remaining charging time, and the second charging reservation numbers of the target vehicles corresponding to each third time interval in the second set are determined as target reservation numbers, which are greater than the largest second charging reservation number in the second charging reservation numbers corresponding to the first set.
[0083] In an implementable embodiment, a target reservation number set greater than the largest second charging reservation number in the second charging reservation numbers corresponding to the first set is selected;
[0084] According to the order from small to large of the second charging reservation numbers in the second set, the second charging reservation numbers of the target vehicles corresponding to each third time interval in the second set are determined from the target reservation number set, and the smaller the third time interval is, the smaller the corresponding second charging reservation number is.
[0085] Specifically, after the second charging reservation numbers of the target vehicles corresponding to the third time lengths in the first set are determined, a charging reservation number greater than the largest second charging reservation number of each target vehicle corresponding to the third time lengths in the first set is selected as a target reservation number set, and a preset number is selected. For example, the largest second charging reservation number corresponding to the first set is 03, and the target reservation number set is: 04, 05, 06, 07, 08, and the like. Then, the third time lengths greater than the remaining charging time lengths in the third time lengths of all target vehicles are determined as a second set, and the target vehicles corresponding to the second set cannot arrive at the current charging vehicle after the current charging vehicle finishes charging. Therefore, the second charging reservation numbers of the target vehicles corresponding to the third time lengths in the second set are further determined in the order from small to large, that is, in the order of arrival at the charging pile. The smaller the third time length in the second set, the smaller the corresponding second charging reservation number. It should be noted that the target reservation number set includes multiple target reservation numbers.
[0086] For example, the target vehicles G, H, and J corresponding to the second set have corresponding third time lengths of 1 hour, 1.5 hours, and 1.1 hours, respectively. Therefore, the second charging reservation number of the vehicle G is 04, the second charging reservation number of the vehicle J is 05, and the second charging reservation number of the vehicle H is 06. In other embodiments, the historical vehicle average charging time length of the charger, that is, the historical average charging time length of each vehicle, is obtained. If the historical vehicle average charging time length is greater than or equal to the vehicle average time length threshold, it indicates that the charging time length of each vehicle of the charger is relatively long. Therefore, the second charging reservation numbers are determined according to the order of the reservation times of the target vehicles corresponding to the third time lengths in the second set. The earlier the reservation time, the smaller the second charging reservation number. If the historical vehicle average charging time length is less than the vehicle average time length threshold, it indicates that the charging time length of each vehicle of the charger is relatively short. Therefore, the second charging reservation numbers of the vehicles corresponding to the third time lengths in the second set are determined from the target reservation number set according to the order from small to large.
[0087] It should be noted that in the embodiments of the present application, the first charging reservation number and the second charging reservation number are continuous reservation numbers, for example, 01, 02, 03, 04, and the like. In other embodiments, the first charging reservation number and the second charging reservation number can also be equal-difference reservation numbers, such as 01, 03, 05, 07, and the like. A plurality of standby reservation numbers are reserved, such as 02, 04, 06, 08, and the like. In this way, the effect of determining the charging reservation number is that when there is a special situation, a vehicle urgently needs to be charged, and the standby reservation number can be called to determine the charging reservation number of the vehicle in urgent need of charging.
[0088] In another implementable embodiment, a target reservation number set greater than the largest second charging reservation number in the second charging reservation numbers corresponding to the first set is selected;
[0089] weighting sum of each third time length in the second set and the reservation time of the corresponding target vehicle to obtain a plurality of charging queue values;
[0090] According to the order from small to large of the charging queue values, the second charging reservation numbers of the target vehicles corresponding to the third time lengths in the second set are determined from the target reservation number set, and the smaller the charging queue value is, the smaller the corresponding second charging reservation number is.
[0091] Specifically, after the second charging reservation numbers of the target vehicles corresponding to the third time lengths in the first set are determined, the charging reservation number greater than the maximum second charging reservation number of each target vehicle corresponding to the third time length in the first set is selected as the target reservation number set, and the weighting sum of each third time length in the second set and the reservation time of the corresponding target vehicle is calculated to obtain the charging queue value corresponding to each target vehicle. The weight of the third time length and the reservation time can be adjusted according to the historical vehicle average charging time of the charger. When the historical vehicle average charging time is greater than or equal to the vehicle average time threshold, the reservation time is emphasized when the charging order is determined, and the weight of the preset time is greater than the weight of the third time length. When the historical vehicle average charging time is less than the vehicle average time threshold, the size of the third time length when arriving at the charging pile is emphasized when the charging order is determined, and the weight of the preset time is less than the weight of the third time length.
[0092] After the charging queue values of the target vehicles corresponding to the third time lengths in the second set are determined, the second charging reservation numbers of the target vehicles corresponding to the third time lengths in the second set are sequentially selected from the target reservation number set according to the order from small to large of the charging queue values. The smaller the charging queue value is, the smaller the corresponding second charging reservation number is.
[0093] S207: If the number is not greater than the number threshold, the first charging reservation numbers of the target vehicles are kept unchanged.
[0094] Specifically, if the number of received charging reservation information is not greater than the number threshold, it indicates that the number of vehicles queuing for charging at the current time is small, and it is not necessary to adjust the first charging reservation numbers of the target vehicles. The target vehicles are sequentially queued for charging according to the determined first charging reservation numbers in the order from small to large.
[0095] In another implementable embodiment, after step S206, the method further includes: calculating a difference value between the number and the number threshold;
[0096] According to the difference value, the increase amount of the charging current is determined, and the target configuration parameter is adjusted according to the increase amount.
[0097] Specifically, a difference between the number of each charging reservation information and the number threshold is calculated, then according to the difference, an increase of charging current corresponding to the difference is matched from a preset current increase matching table, the preset current increase matching table includes the difference and the corresponding increase of charging current. Finally, the charging current in the target configuration parameter is increased according to the increase. Thus, the charging speed of the charger to the vehicle is improved, and thus when there are many vehicles queuing for charging, the overall charging efficiency can be improved.
[0098] In other embodiments, the charger control method disclosed in the application further includes: if the remaining power warning information is received, screening the number-changeable vehicle whose remaining power is greater than the power threshold and whose first charging reservation number is less than the first charging reservation number of the vehicle corresponding to the remaining power warning information;
[0099] sending a charging reservation number exchange request to the vehicle terminal of the number-changeable vehicle, and if the charging reservation number exchange request is passed, exchanging the charging reservation numbers of the number-changeable vehicle and the vehicle corresponding to the remaining power warning information.
[0100] Specifically, when receiving the charging reservation information corresponding to each vehicle, the remaining power warning information sent by the vehicle terminal of the vehicle can also be received. If the remaining power warning information is received, it means that the corresponding vehicle has low remaining power, which will cause the battery life of the vehicle to decrease for a long time. Since the remaining power of the corresponding vehicle is also included in the charging reservation information, the number-changeable vehicle whose remaining power is greater than the power threshold and whose first charging reservation number is less than the first charging reservation number of the vehicle corresponding to the remaining power warning is screened. The charger sends a charging reservation number exchange request to the vehicle terminal of the number-changeable vehicle, and if the charging reservation number exchange request is passed, the first charging reservation numbers of the corresponding two vehicles are exchanged, so that the vehicle with low remaining power can be charged preferentially.
[0101] It should be noted that if the charging reservation number exchange request is not passed, according to the difference between the remaining power of the vehicle corresponding to the remaining power warning information and the power threshold, the first charging reservation number is retrieved from the standby reservation number as the latest charging reservation number of the vehicle.
[0102] The implementation principle of the charger control method of the embodiment of the present application is as follows: after the built-in wifi module of the charger successfully connects to the network, the charger switches from the standby mode to the charging mode after receiving the external input charging instruction, which indicates that there is a battery outside that needs to be charged, and the target configuration parameters of the charger sent by the terminal are received, then the target configuration parameters are compared with the initial configuration parameters inside the charger, if they are inconsistent, it indicates that the configuration of the charger needs to be modified, finally the initial configuration parameters are modified to the target configuration parameters, and the charging continues, so that the configuration parameters of the charger can be remotely modified, without the need for manual modification on site, achieving the purpose of facilitating remote modification of the configuration parameters of the charger.
[0103] The following is an embodiment of the device of the present application, which can be used to execute the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.
[0104] Please refer to Figure 4 , the structure diagram of the charger control device provided by the embodiment of the present application. The charger control device applied can be realized by software, hardware or a combination of the two to become all or part of the device. The device 1 includes a network connection module 11, a configuration receiving module 12 and a configuration modification module 13.
[0105] The network connection module 11 is used to connect the network through the wifi module to enter the standby mode after the network connection is successful;
[0106] The configuration receiving module 12 is used to switch the standby mode to the charging mode after receiving the charging instruction, and receive the target configuration parameters of the charger sent by the terminal;
[0107] The configuration modification module 13 is used to modify the initial configuration parameters to the target configuration parameters if the target configuration parameters are inconsistent with the current initial configuration parameters, so as to continue charging according to the target configuration parameters in the charging mode.
[0108] Optionally, as shown in Figure 5 , the device 1 further includes a charging reservation module 14, which is specifically used for:
[0109] receiving charging reservation information, determining the first charging reservation number of the vehicle corresponding to each charging reservation information in the order of the reservation time from early to late in each charging reservation information, the earlier the reservation time, the smaller the corresponding first charging reservation number, and the earlier the charging;
[0110] statistically counting the number of each charging reservation information every first time length;
[0111] If the quantity is greater than the quantity threshold, the first charging reservation numbers of the target vehicles are adjusted according to second time lengths of the target vehicles that are not being charged in the vehicles to reach charging piles where the chargers are located;
[0112] If the quantity is not greater than the quantity threshold, the first charging reservation numbers of the target vehicles remain unchanged.
[0113] Optionally, the charging reservation module 14 is specifically further configured to:
[0114] According to the positioning information of the vehicles and the location information of the charging piles where the chargers are located, second time lengths of the target vehicles that are not being charged in the vehicles to reach the charging piles are determined, and each second time length is subtracted by the first time length to obtain a corresponding third time length;
[0115] A first set of the third time lengths that are not greater than a remaining charging time length of the current charging is screened out;
[0116] The second charging reservation numbers of the target vehicles corresponding to the third time lengths in the first set are re-determined in ascending order of the corresponding first charging reservation numbers, and the smaller the corresponding first charging reservation number is, the smaller the re-determined second charging reservation number is among all the target vehicles;
[0117] A second set of the third time lengths that are greater than the remaining charging time length is screened out, and the second charging reservation numbers of the target vehicles corresponding to the third time lengths in the second set are determined as target reservation numbers, the target reservation numbers being greater than the largest second charging reservation number in the second charging reservation numbers corresponding to the first set.
[0118] Optionally, the charging reservation module 14 is specifically further configured to:
[0119] A target reservation number set greater than the largest second charging reservation number in the second charging reservation numbers corresponding to the first set is selected;
[0120] The second charging reservation numbers of the target vehicles corresponding to the third time lengths in the second set are determined from the target reservation number set according to the order of the third time lengths in the second set from small to large, and the smaller the third time length is, the smaller the corresponding second charging reservation number is.
[0121] Optionally, the charging reservation module 14 is specifically further configured to:
[0122] A target reservation number set greater than the largest second charging reservation number in the second charging reservation numbers corresponding to the first set is selected;
[0123] A plurality of charging queue values are obtained by weighted summation of each third time length in the second set and a reservation time of the corresponding target vehicle;
[0124] According to the order from small to large of each charging queue value, a second charging reservation number of each target vehicle corresponding to each third time length in the second set is determined from the target reservation number set, and the smaller the charging queue value is, the smaller the corresponding second charging reservation number is.
[0125] Optionally, the device 1 further comprises a parameter adjustment module 15, which is specifically used for:
[0126] calculating a difference value of the quantity and the quantity threshold value;
[0127] According to the difference value, an increase amount of the charging current is determined, and the target configuration parameter is adjusted according to the increase amount, and the greater the difference value is, the greater the increase amount is.
[0128] Optionally, the device 1 further comprises a charging exchange module 16, which is specifically used for:
[0129] If the remaining power warning information is received, a vehicle with a replaceable number is screened, which has a remaining power greater than the power threshold value and a first charging reservation number smaller than the first charging reservation number of the vehicle corresponding to the remaining power warning information;
[0130] A charging reservation number exchange request is sent to the vehicle-mounted terminal of the vehicle with the replaceable number, and if the charging reservation number exchange request is passed, the charging reservation number exchange is performed on the vehicle with the replaceable number and the vehicle corresponding to the remaining power warning information.
[0131] It should be noted that the charger control device provided in the above embodiment is only used as an example to divide the above functions in the implementation of the charger control method, and in actual application, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the charger control device and the charger control method provided in the above embodiment belong to the same concept, and the implementation process is detailed in the method embodiment, which will not be repeated here.
[0132] The application embodiment further discloses a computer readable storage medium, and the computer readable storage medium stores a computer program, wherein the computer program is executed by a processor to adopt the charger control method of the above embodiment.
[0133] The computer program can be stored in the computer readable medium, the computer program includes computer program code, the computer program code can be in the form of source code, object code, executable file or some intermediate form, etc., the computer readable medium includes any entity or device, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc., which can carry computer program code, it needs to be explained that the computer readable medium includes but is not limited to the above components.
[0134] The computer readable storage medium stores the charger control method of the above embodiment in the computer readable storage medium, and is loaded and executed on the processor to facilitate the storage and application of the method.
[0135] The embodiment of the application further discloses an electronic device, the computer readable storage medium stores the computer program, and the computer program is loaded and executed by the processor to adopt the charger control method.
[0136] The electronic device can be a desktop computer, a notebook computer or a cloud server, and the electronic device includes but is not limited to a processor and a memory, for example, the electronic device can further include an input / output device, a network access device and a bus.
[0137] The processor can be a central processing unit (CPU), and can also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), ready programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc., the general-purpose processor can be a microprocessor or any conventional processor, and the application does not limit this.
[0138] The memory can be an internal storage unit of the electronic device, for example, a hard disk or a memory of the electronic device, can also be an external storage device of the electronic device, for example, a plug-in hard disk, a smart memory card (SMC), a secure digital card (SD) or a flash card (FC) equipped on the electronic device, and the memory can also be a combination of the internal storage unit and the external storage device of the electronic device, the memory is used to store computer programs and other programs and data required by the electronic device, and can also be used to temporarily store data that has been output or will be output, and the application does not limit this.
[0139] The charger control method of the above-mentioned embodiment is stored in the memory of the electronic device by the electronic device, and is loaded and executed on the processor of the electronic device, thereby facilitating use.
[0140] The above merely provides illustrative examples of the present disclosure, and cannot limit the scope of the present disclosure. Any equivalent changes and modifications made in accordance with the teachings of the present disclosure are still within the scope of the present disclosure. Other embodiments of the present disclosure will be readily apparent to those skilled in the art upon considering the specification and the practice of the present disclosure. The present application is intended to cover any variations, uses, or adaptive changes of the present disclosure that follow the general principles of the present disclosure and include common knowledge or conventional technical means in the art that are not described in the present disclosure. The specification and examples are merely considered as illustrative, and the scope and spirit of the present disclosure are defined by the claims.
Claims
1. A charger control method characterized by, The application is applied to a charger which is provided with a wifi module, and the method comprises the following steps: Connecting a network through the wifi module to enter a standby mode after the network connection is successful; Switching the standby mode to a charging mode after receiving a charging instruction, and receiving target configuration parameters of the charger sent by a terminal; If the target configuration parameters are inconsistent with initial configuration parameters, modifying the initial configuration parameters to the target configuration parameters to continue charging in the charging mode according to the target configuration parameters; Receiving charging reservation information, determining first charging reservation numbers of vehicles corresponding to the charging reservation information in the order of reservation time from early to late, and the earlier the reservation time is, the smaller the first charging reservation number is; Counting the number of the charging reservation information every first time length; If the number is greater than a number threshold, adjusting the first charging reservation numbers of target vehicles which do not perform charging among the vehicles according to second time lengths of the target vehicles to the charging pile where the charger is located, comprising: determining the second time lengths of the target vehicles which do not perform charging among the vehicles to the charging pile according to vehicle positioning information and position information of the charging pile where the charger is located, and subtracting the first time length from each second time length to obtain corresponding third time lengths; Obtaining a remaining charging time length of current charging, and screening a first set of third time lengths which are not greater than the remaining charging time length; According to the order of the first charging reservation numbers from small to large, redetermining second charging reservation numbers of target vehicles corresponding to the third time lengths in the first set, and the smaller the first charging reservation number is, the smaller the redetermined second charging reservation number is among all target vehicles; screening a second set of third time lengths which are greater than the remaining charging time length, determining the second charging reservation numbers of the target vehicles corresponding to the third time lengths in the second set as target reservation numbers, and the target reservation number is greater than the largest second charging reservation number in the second charging reservation numbers corresponding to the first set; wherein the first charging reservation number and the second charging reservation number are an arithmetic reservation number, and a plurality of standby reservation numbers are reserved, and when there is a special situation that a vehicle urgently needs to be charged, the standby reservation number can be called to determine the charging reservation number of the vehicle which urgently needs to be charged; If the number is not greater than the number threshold, keeping the first charging reservation numbers of the target vehicles unchanged.
2. The charger control method according to claim 1, characterized by, The determination of the second charging reservation numbers of the target vehicles corresponding to the third time lengths in the second set as the target reservation numbers specifically comprises the following steps: Selecting a target reservation number set which is greater than the largest second charging reservation number in the second charging reservation numbers corresponding to the first set; According to the order of the third time lengths in the second set from small to large, determining the second charging reservation numbers of the target vehicles corresponding to the third time lengths in the second set from the target reservation number set, and the smaller the third time length is, the smaller the corresponding second charging reservation number is.
3. The charger control method according to claim 1, characterized by, The determination of the second charging reservation numbers of the target vehicles corresponding to the third time lengths in the second set as the target reservation numbers specifically comprises the following steps: select a target reservation number set greater than the largest second charging reservation number in the first set corresponding to the second charging reservation number; weight and sum each third time length in the second set and the reservation time of the corresponding target vehicle to obtain a plurality of charging queue values; determine the second charging reservation number of the target vehicle corresponding to each third time length in the second set from the target reservation number set according to the order from small to large of each charging queue value, and the smaller the corresponding second charging reservation number is, the smaller the charging queue value is.
4. The charger control method according to claim 1, characterized by, The target configuration parameter includes a charging current, and after adjusting the first charging reservation number corresponding to each target vehicle, the method further includes: calculating the difference between the number and the number threshold; determining the increase amount of the charging current according to the difference, and adjusting the target configuration parameter according to the increase amount, the greater the difference is, the greater the increase amount is.
5. The charger control method according to claim 1, characterized by, The charging reservation information further includes a remaining power, and the method further includes: if the remaining power warning information is received, screening the replaceable number vehicle whose remaining power is greater than the power threshold and whose first charging reservation number is smaller than the first charging reservation number of the vehicle corresponding to the remaining power warning information; sending a charging reservation number exchange request to the vehicle-mounted terminal of the replaceable number vehicle, and if the charging reservation number exchange request is passed, exchanging the charging reservation numbers of the replaceable number vehicle and the vehicle corresponding to the remaining power warning information.
6. A charger control device for implementing the charger control method according to any one of claims 1 to 5, characterized by comprising: a network connection module (11) for connecting to a network through a wifi module to enter a standby mode after the network connection is successful; a configuration receiving module (12) for switching the standby mode to a charging mode after receiving a charging instruction, and receiving the target configuration parameter of the charger sent by the terminal; a configuration modifying module (13) for modifying the initial configuration parameter to the target configuration parameter if the target configuration parameter is inconsistent with the current initial configuration parameter, so as to continue charging according to the target configuration parameter in the charging mode.
7. A computer-readable storage medium having stored therein a computer program, characterized in that, The computer program is loaded and executed by the processor, and the method of any one of claims 1-5 is adopted.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and capable of running on the processor, characterized in that, The processor loads and executes the computer program, and the method of any one of claims 1-5 is adopted.
Citation Information
Patent Citations
Electric vehicle charging scheduling method considering reservation and queuing in charging station
CN110428165A
Electric automobile, charging control method and device thereof, terminal equipment and storage medium
CN114516280A