Method, system and equipment for determining number of batteries of battery swap station and medium
By obtaining and filtering bin status data in the battery swap station, and combining battery model matching, the lag and accuracy of battery quantity management in the battery swap station is solved, real-time refined management and accurate statistics of battery assets are achieved.
Patent Information
- Application Number
- CN202311863547.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-29
- Publication Date
- 2025-07-08
AI Technical Summary
In the existing battery swap station battery asset management, data lag and accuracy depend on business personnel, and the actual number of station-side models cannot be obtained in a timely manner, affecting operational decisions.
By obtaining the position status data of the battery swap station, including the battery swap time, charger and battery information, it automatically filters and generates target data to determine the number of batteries, and combines the matching of battery models to achieve refined management.
It realizes the timeliness and accuracy of site-side battery asset management, ensures real-time acquisition of battery counts and refined statistics of model batteries, and supports operational decision-making.
Smart Images

Figure CN120270084A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of battery swapping station operation, and particularly relates to a method, a system, a device and a medium for determining the number of batteries in a battery swapping station. Background Art
[0002] In recent years, with the gradual improvement of new energy vehicle technology, battery swapping stations that can provide battery swapping services for new energy vehicles have emerged as the times require. At present, the battery assets of battery swapping stations (hereinafter referred to as the station side) adopt the "manual regular inventory" strategy in which business personnel fill in battery data, and financial personnel review the battery data and count the number of batteries of different models for battery operation management. In the actual operation process, it is often necessary to transfer and allocate the battery swapping batteries between different station sides and different cities according to the actual operation needs.
[0003] However, on the one hand, the aforementioned battery asset management strategy has data lag, and on the other hand, the data accuracy overly depends on the responsibility of the business personnel of the battery swapping station, and it is impossible to obtain the actual number of batteries of different models at the station side in real time, so as to provide valuable reference decisions for the operation of the battery swapping station. Summary of the Invention
[0004] The technical problem to be solved by the present invention is to overcome the defects of poor timeliness and low accuracy in determining the total number of batteries at the station side of the battery swapping station in the normal storage in the existing technology by using the "manual regular inventory" method, and to provide a method, a system, a device and a medium for determining the number of batteries in a battery swapping station.
[0005] The present invention solves the above technical problems through the following technical solutions:
[0006] In the first aspect, the present invention provides a method for determining the number of batteries in a battery swapping station, and the determination method includes:
[0007] Obtain the bin status data of the battery swapping station; the bin status data includes at least one of information related to the battery swapping time, information related to the charger, and information related to the battery;
[0008] Perform filtering processing on the bin status data to obtain target data; the target data is used to represent the bin status data corresponding to the batteries normally stored in the charging bins of the battery swapping station during a preset working period;
[0009] Determine the number of batteries in the battery swapping station according to the target data.
[0010] In this solution, the obtained bin status data is automatically filtered according to a preset rule to obtain target data for calculating the number of batteries at the station side of the battery swapping station, which completely changes the existing manual inventory method at the station side, ensuring the timeliness of battery asset management at the station side; obtaining the number of batteries in the battery swapping station corresponding to the daily dimension in real time strengthens the refined management of battery assets at the station side and the accuracy of total number statistics.
[0011] Preferably, the determination method further includes:
[0012] Matching battery models for each battery in normal storage according to the set matching rules and battery-related information, and generating a matching result;
[0013] Determining the number of batteries corresponding to each model of battery in the battery swapping station according to the matching result and the target data.
[0014] In this solution, by automatically matching battery models for the batteries in normal storage, it is ensured that the number of batteries of each sub-model at the station end corresponding to the daily dimension can be obtained in a timely manner, strengthening the refined management of each type of battery assets at the station end and the accuracy of the total number statistics.
[0015] Preferably, the battery swapping time-related information includes the vehicle entry time and the vehicle exit time determined according to the battery swapping order form; the step of filtering the bin status data to obtain the target data includes:
[0016] Filtering the bin status data according to the vehicle entry time and the vehicle exit time, screening out the bin status data corresponding to the battery swapping working period, and generating the first data.
[0017] In this solution, by screening out the bin status data of non-battery swapping working periods from the bin status data packet according to the vehicle entry time and the vehicle exit time obtained in the order dimension, the validity of the first data corresponding to the non-idle time period at the station section is ensured, and the accuracy of the battery quantity calculation result of the battery swapping station is strengthened.
[0018] Preferably, the charger-related information includes the charger presence information and the charger coding information; the step of filtering the bin status data to obtain the target data further includes:
[0019] Checking whether there is a charger in the bin in the first data according to the charger presence information and the charger coding information;
[0020] If there is, using the bin status data corresponding to the bin with a charger as the second data.
[0021] In this solution, filtering out the data corresponding to the transfer bin and the spare bin from the first data according to the charger-related information ensures the validity of the second data corresponding to the charging bin with a charger, and further ensures the accuracy of the battery quantity calculation result at the station end of the battery swapping station.
[0022] Preferably, the battery-related information includes the battery presence information, the current battery power information, the current charger status information, and the battery coding information; the step of filtering the bin status data to obtain the target data further includes:
[0023] Check whether there is an abnormal situation of the charger in the second data according to the battery presence information, the current battery power information, and the current status information of the charger.
[0024] If there is, use the bin status data corresponding to the normal situation of the charger as the third data, and screen out the bin status data that does not have the battery coding information in the third data to generate the target data.
[0025] In this solution, according to the battery presence information, the current battery power information, the current status information of the charger, and the battery coding information, screen out the bin status data corresponding to the abnormal situation of the charger from the second data to ensure the validity of the bin status data corresponding to the batteries normally in the charging bins of the swap station during the preset working period, and ensure the accuracy of the calculation result of the number of batteries at the swap station terminal.
[0026] Preferably, the step of preprocessing the bin status data packet to obtain the target data further includes:
[0027] When it is detected that there is an abnormal charger communication situation in the second data, send an alarm message.
[0028] In this solution, real-time monitoring and early warning of abnormal situations of the charger data at the station terminal are carried out to ensure the refined management of the battery assets at the station terminal and the accuracy of the total number statistics, and provide a reference for decision-making for the operation and management of the battery assets at the station terminal.
[0029] Preferably, the swap station includes a transfer bin, a charging bin, and a spare bin, the charging bin includes a plurality of charging positions, and each charging position is provided with a charger.
[0030] In this solution, the warehouses of the swap station are classified, chargers are only set at each charging position of the charging bin, and the charger-related information and battery-related information in the bin status data are collected through the chargers, ensuring the feasibility and effectiveness of the solution for automatically filtering and processing the bin status data to obtain the target data and calculating the number of batteries at the swap station terminal.
[0031] In a second aspect, the present invention provides a system for determining the number of batteries in a swap station, and the determination system includes:
[0032] An acquisition module, configured to acquire the bin status data of the swap station; the bin status data includes at least one of information related to the battery swapping time, charger-related information, and battery-related information;
[0033] A filtering and processing module, configured to perform filtering and processing on the bin status data to obtain target data; the target data is used to represent the bin status data corresponding to the batteries normally in the charging bin of the swap station during the preset working period;
[0034] A determination module, configured to determine the number of batteries of the battery swapping station according to the target data.
[0035] In this solution, the filtering processing module automatically filters the obtained bin status data according to preset rules to obtain target data and calculates the number of batteries at the station end of the battery swapping station, completely changing the existing manual inventory method at the station end and ensuring the timeliness of battery asset management at the station end; the total number of batteries at the station end corresponding to the daily dimension is obtained in real time, strengthening the refined management of battery assets at the station end and the accuracy of total number statistics.
[0036] Preferably, the determination system includes:
[0037] A model matching module, configured to match the battery model for each battery normally in the bin according to the set matching rules and the battery-related information, and generate a matching result;
[0038] A quantity determination module, configured to determine the number of batteries corresponding to each model of the battery swapping station according to the matching result and the target data.
[0039] In this solution, the model matching module automatically matches the battery models of the batteries normally in the bin, and the quantity determination module then ensures that the number of batteries of different models at the station end corresponding to the daily dimension can be obtained in a timely manner according to the matching result, strengthening the refined management of each type of battery asset at the station end and the accuracy of total number statistics.
[0040] Preferably, the battery swapping time-related information includes the vehicle entry time and the vehicle exit time determined according to the battery swapping order form; the filtering processing module includes:
[0041] A first filtering unit, configured to filter the bin status data according to the vehicle entry time and the vehicle exit time, and screen out the bin status data corresponding to the battery swapping working time period to generate first data.
[0042] In this solution, the filtering processing module screens out the bin status data of non-battery swapping working time periods from the bin status data according to the vehicle entry time and the vehicle exit time obtained in the order dimension, ensuring the validity of the first data corresponding to the non-idle time period at the station section and strengthening the accuracy of the calculation result of the number of batteries at the station end of the battery swapping station.
[0043] Preferably, the charger-related information includes charger presence information and charger coding information; the filtering processing module further includes:
[0044] A first inspection unit, configured to inspect whether there is a charger in the first data according to the charger presence information and the charger coding information; if there is, call the first generation unit;
[0045] The first generation unit is configured to use the bin status data corresponding to the presence of a charger as the second data.
[0046] In this solution, the filtering processing module also screens out the data corresponding to the transfer bin and the spare bin from the first data according to the charger-related information, ensuring the validity of the second data corresponding to the charging bin with a charger, and further ensuring the accuracy of the battery quantity calculation result at the substation end of the battery swapping station.
[0047] Preferably, the battery-related information includes battery presence information, current battery power information, current charger status information, and battery coding information; the filtering processing module further includes:
[0048] The second inspection unit is configured to inspect whether there is an abnormal situation of the charger in the second data according to the battery presence information, the current battery power information, and the current charger status information; if so, call the second generation unit;
[0049] The second generation unit is configured to use the bin status data corresponding to the normal situation of the charger as the third data, and screen out the bin status data without the battery coding information in the third data to generate the target data.
[0050] In this solution, the filtering processing module screens out the bin status data corresponding to the abnormal situation of the charger from the second data according to the battery presence information, the current battery power information, the current charger status information, and the battery coding information, ensuring the validity of the bin status data corresponding to the batteries normally in the charging bins of the battery swapping station during the preset working period, and further ensuring the accuracy of the battery quantity calculation result of the battery swapping station.
[0051] Preferably, the filtering processing module further includes:
[0052] The alarm unit is further configured to send an alarm message when it is detected that there is an abnormal charger communication situation in the second data.
[0053] In this solution, real-time monitoring and early warning are performed on the abnormal situation of the charger data at the substation end, ensuring the refined management of the battery assets at the substation end and the accuracy of the total number statistics, and providing a reference for decision-making for the operation management of the battery assets at the substation end.
[0054] Preferably, the battery swapping station includes a transfer bin, a charging bin, and a spare bin, the charging bin includes a plurality of charging positions, and each charging position is provided with a charger.
[0055] In this solution, the warehouse of the battery swapping station is classified, and a charger is only set at each charging position of the charging bin. The charger collects charger-related information and battery-related information in the bin status data packet to ensure the feasibility and effectiveness of the solution that automatically filters and processes the target data based on the bin status data and calculates the number of batteries at the station end of the battery swapping station.
[0056] In a third aspect, the present invention also provides an electronic device, including a processor, a memory, and a computer program stored on the memory and executable on the processor. When the computer program is executed by the processor, it implements the method for determining the number of batteries in a battery swapping station as described in the first aspect.
[0057] In a fourth aspect, the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements the method for determining the number of batteries in a battery swapping station as described in the first aspect.
[0058] The positive and progressive effects of the present invention are as follows: The present invention provides a method, system, device, and medium for determining the number of batteries in a battery swapping station. The determination method automatically filters and processes the acquired bin status data according to preset rules to obtain target data and calculates the number of batteries in the battery swapping station, completely changing the existing manual inventory method at the station end and ensuring the timeliness of battery asset management at the station end; real-time obtaining the total number of batteries at the station end corresponding to the daily dimension strengthens the refined management of battery assets at the station end and the accuracy of total number statistics. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] Figure 1 It is the first flowchart of the method for determining the number of batteries in a battery swapping station according to Embodiment 1 of the present invention.
[0060] Figure 2 It is the second flowchart of the method for determining the number of batteries in a battery swapping station according to Embodiment 1 of the present invention.
[0061] Figure 3 It is the flowchart of step S12 in the method for determining the number of batteries in a battery swapping station according to Embodiment 1 of the present invention.
[0062] Figure 4 It is the first module schematic diagram of the system for determining the number of batteries in a battery swapping station according to Embodiment 2 of the present invention.
[0063] Figure 5 It is the second module schematic diagram of the system for determining the number of batteries in a battery swapping station according to Embodiment 2 of the present invention.
[0064] Figure 6 It is the structural schematic diagram of the electronic device for implementing the method for determining the number of batteries in a battery swapping station according to Embodiment 3 of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0065] The present invention will be further described below by way of examples, but the present invention is not limited to the scope of the described examples for this reason.
[0066] Example 1
[0067] The method for determining the number of batteries in the battery swapping station of this example is as Figure 1 shown, and this determination method includes:
[0068] S11. Obtain the bin status data of the battery swapping station; the bin status data packet includes information related to battery swapping time, information related to the charger, and information related to the battery.
[0069] S12. Perform filtering processing on the bin status data packet to obtain target data; the target data is used to represent the bin status data corresponding to the batteries normally in the charging bins of the battery swapping station during a preset working period;
[0070] S13. Determine the number of batteries in the battery swapping station according to the target data.
[0071] Among them, the battery swapping station includes a transfer bin, a charging bin, and a spare bin, and the charging bin includes a number of charging positions, and each charging position is provided with a charger.
[0072] In this example, each battery swapping station (station end) includes a transfer bin, a charging bin, and a spare bin, and may also include other types of bins. During normal operation, the batteries are all stored in the bins, and the station end communicates through the station end monitoring system, the charger management system, and the battery BMS system to meet the daily vehicle battery swapping needs. The battery information is mainly reported through the charger. Each bin inside the charging bin is standardly equipped with a charger. There is no charger in the transfer bin and the spare bin, but the transfer bin can also record the battery information. Under normal circumstances, the charger reports data including the charger-related information and battery-related information of the current bin every minute, and the bin status information of all bins of the same station end will be uploaded in the same data, and the upload time corresponding to the same batch of data is the same. The station end monitoring system of the battery swapping station collects the order information of the battery swapping vehicles every minute to obtain the information related to the battery swapping time.
[0073] In a specific application scenario, when there is no battery swapping at the station end, the batteries are all placed on the bins. When the station end performs battery swapping, the palletizer will take out the fully charged batteries from the bins of the charging bin and put them into the new bin of the transfer bin. At the same time, the quick change device takes the old battery off the battery swapping vehicle. After the palletizer puts the old battery taken off by the quick change device into the old bin of the transfer bin, the palletizer takes out the battery stored in the new bin and places it on the quick change device. The quick change device replaces the new battery onto the battery swapping vehicle, and the palletizer places the old battery in the charging bin for charging, and then the battery swapping process ends.
[0074] For the above steps S11 - S13, obtain the daily bin status data of the swapping station from the substation monitoring system and the charger management system. The information related to the swapping time may include, but is not limited to, the payment time determined by the swapping order form, vehicle model, substation code, battery pack model corresponding to the vehicle model, vehicle identification number (VIN), and user identity information to which the swapping vehicle belongs. The battery - related information may include, but is not limited to, battery code, battery model, and battery manufacturer. Filter the bin status data, filtering out the bin status data corresponding to non - idle time periods at the substation end, filtering out the battery - related data recorded in the transfer warehouse, and filtering out abnormal and invalid data to obtain the bin status data corresponding to the normal in - bin batteries in the charging bins of the swapping station during the preset working period. Determine the total number of normal chargers in the swapping station according to the target battery, calculate the total number of batteries corresponding to each moment of each swapping station based on the total number of normal chargers, and take the maximum value of all the total numbers of batteries corresponding to the daily dimension as the number of batteries in the swapping station.
[0075] This solution automatically filters the obtained bin status data according to the preset rules to obtain the target data and calculates the total number of substation - end batteries in the swapping station, completely changing the existing manual inventory method at the substation end and ensuring the timeliness of substation - end battery asset management; it obtains the total number of substation - end batteries corresponding to the daily dimension in real time, strengthening the refined management of substation - end battery assets and the accuracy of total number statistics.
[0076] In an alternative embodiment, as Figure 2 shown, this determination method further includes:
[0077] S14. Match the battery model for each normal in - bin battery according to the set matching rule and battery - related information to generate a matching result;
[0078] S15. Determine the number of batteries corresponding to each model of the swapping station according to the matching result and the target data.
[0079] For the above S14 - S15, formulate the set matching rule in advance according to the battery code and battery model correspondence rule, and match the battery model for each normal in - bin battery shown in the target battery according to the set matching rule. For example, the first three digits of the battery code and the seventh and eighth digits of the battery code determine the battery model, and special battery codes correspond to special battery models. Calculate the number of batteries corresponding to each model at each moment in the target battery, and take the maximum value of all the numbers of batteries corresponding to each model of the daily dimension as the number of batteries of that model. Exemplarily, if the numbers of all batteries of model A on October 1, 2022 are: 20, 21, 22, 20, 23, 24, 25…28…, then the number of batteries of model A is 28.
[0080] This solution automatically matches the battery models of the batteries normally in the warehouse to ensure that the total number of batteries of different models at the station end corresponding to the daily dimension can be obtained in a timely manner, strengthening the refined management of each type of battery asset at the station end and the accuracy of the total number statistics.
[0081] In an optional implementation, as Figure 3 shown, the information related to the battery swapping time includes the vehicle entry time and the vehicle exit time determined according to the battery swapping order form. The information related to the charger includes the charger presence information and the charger coding information. The information related to the battery further includes the battery presence information, the current battery power information, the current charger status information, and the battery coding information; Step S12 specifically includes:
[0082] S121. Filter the bin status data packet according to the vehicle entry time and the vehicle exit time, screen out the bin status data corresponding to the battery swapping working period, and generate the first data.
[0083] S122. Check whether there is a charger in the first data according to the charger presence information and the charger coding information; if there is, execute step S123.
[0084] S123. Use the bin status data corresponding to the existing charger as the second data.
[0085] S124. Check whether there is an abnormal charger communication situation in the second data according to the battery presence information, the current battery power information, and the current charger status information; if there is, execute step S125.
[0086] S125. Use the bin status data corresponding to the normal charger situation as the third data, and screen out the bin status data without battery coding information in the third data to generate the target data.
[0087] Regarding the above step S121, filter out the vehicle battery swapping records in which both the vehicle entry time and the vehicle exit time corresponding to the same battery swapping vehicle are not empty from the bin status data according to the vehicle entry time and the vehicle exit time in the battery swapping order form. Based on the vehicle battery swapping records, screen out all time points corresponding to the vehicle entry time and the vehicle exit time of each battery swapping vehicle as the battery swapping working period, and generate the first data according to the bin status data corresponding to the battery swapping working period.
[0088] Regarding the above steps S122 - S123, filter out the bin status data corresponding to the charging bins with chargers from the first data according to the charger presence information, and then eliminate the bin status data without charger coding information in the bin status data corresponding to the charging bins with chargers to obtain the second data.
[0089] For the above steps S124-S125, the position status data corresponding to the position where the battery is placed is filtered out from the second data according to the battery existence information, and then the position status data corresponding to the position where the battery is placed is detected for abnormal data according to the current power information and the current status information of the charger. When abnormal data exists, it is determined that there is a charger communication abnormality. After eliminating the position status data corresponding to the abnormal charger communication in the second data, the position status data corresponding to the normal charger situation is obtained as the third data, and finally the position status data showing the presence of a battery but without the battery coding information in the third data is filtered out to obtain the position status data corresponding to the battery normally in the charging position of the battery swap station during the preset working period, that is, the target data.
[0090] This solution filters out the position status data of non-battery swapping working time periods from the position status data based on the vehicle entry time and vehicle exit time obtained in the order dimension, thereby ensuring the validity of the first data corresponding to the non-idle time period of the station section; filters out the data corresponding to the transit warehouse and the spare warehouse from the first data based on the relevant information of the charger, thereby ensuring the validity of the second data corresponding to the charging warehouse with the charger; filters out the position status data corresponding to the abnormal situation of the charger from the second data based on the battery existence information, the current battery power information, the current status information of the charger and the battery coding information, thereby ensuring the validity of the position status data corresponding to the batteries normally in the charging warehouse during the preset working period of the battery swap station, thereby ensuring the accuracy of the battery quantity calculation results of the further battery swap station.
[0091] In an optional implementation, step S12 further includes:
[0092] When it is detected that the second data has abnormal charger communication, an alarm message is sent.
[0093] In one embodiment, when it is detected that the storage position status data corresponding to multiple normal charging positions in the second data are reported at the same time, but the same storage position number corresponds to multiple repeated records, it is determined that there is abnormal communication of the charger. An alarm message is sent to the staff of the battery swap station in time to notify them to repair the charger, thereby ensuring the normal operation of the battery swap station.
[0094] In one embodiment, when it is detected that the position status data corresponding to the normal charging position in the second data is partially missing, it is determined that there is a charger communication abnormality. An alarm message is sent to the staff of the battery swap station in time to notify them to repair the charger, thereby ensuring the normal operation of the battery swap station.
[0095] In one embodiment, it is detected that the reporting times of the bin status data corresponding to multiple normal charging bins in the second data are different, and it is determined that there is an abnormal communication situation with the charger. An alarm message is sent to the staff of the battery swapping station in a timely manner to notify them to repair the charger, thus ensuring the normal operation of the battery swapping station.
[0096] This solution monitors and warns of abnormal charger data at the station end in real time, ensuring the refined management of battery assets at the station end and the accuracy of the total count, and providing a reference for decision-making in the operation and management of the battery swapping station.
[0097] The method for determining the number of batteries in the battery swapping station in this embodiment automatically filters the obtained bin status data packet of the battery swapping station according to a preset rule to obtain target data, and determines the total number of batteries at the station end based on the target data, completely changing the existing manual inventory method at the station end and ensuring the timeliness of battery asset management at the station end.
[0098] Embodiment 2
[0099] The system for determining the number of batteries in the battery swapping station in this embodiment, as Figure 4 shown, the determination system includes:
[0100] An acquisition module 210, configured to acquire the bin status data of the battery swapping station; the bin status data includes information related to the battery swapping time, charger-related information, and battery-related information.
[0101] A filtering and processing module 220, configured to filter and process the bin status data to obtain target data; the target data is used to represent the bin status data corresponding to the batteries normally in the charging bins of the battery swapping station during a preset working period;
[0102] A determination module 230, configured to determine the number of batteries in the battery swapping station according to the target data.
[0103] Among them, the battery swapping station includes a transfer bin, a charging bin, and a spare bin, the charging bin includes a plurality of charging positions, and each charging position is provided with a charger.
[0104] The acquisition module 210 obtains the daily bin status data of the swapping station from the slave - end monitoring system and the charger management system. The swapping - time related information may include, but is not limited to, the payment time determined by the swapping order form, vehicle model, station - end code, battery - pack model corresponding to the vehicle model, vehicle identification number (VIN), and user identity information to which the swapping vehicle belongs. The battery - related information may include, but is not limited to, battery code, battery model, and battery manufacturer. The filtering and processing module 220 filters and processes the bin status data packet, screening out the bin status data corresponding to non - idle time periods at the station end, screening out the battery - related data recorded in the transfer bin, and screening out abnormal and invalid data, so as to obtain the bin status data corresponding to the normal in - bin batteries in the charging bins of the swapping station during the preset working period. Determine the total number of normal chargers of the swapping station according to the target battery, calculate the total number of batteries corresponding to each moment of each swapping station according to the total number of normal chargers, and take the maximum value of all the total numbers of batteries corresponding to the daily dimension as the number of batteries of the swapping station.
[0105] This solution uses the filtering and processing module to automatically filter the acquired bin status data according to preset rules to obtain the target data and calculate the number of batteries of the swapping station, completely changing the existing manual inventory method at the station end, ensuring the timeliness of battery asset management at the station end; obtaining the number of batteries corresponding to the daily dimension in real time, strengthening the refined management of battery assets at the station end and the accuracy of total number statistics.
[0106] In an alternative embodiment, as Figure 4 shown, the determination system further includes:
[0107] The model matching module 240 is used to match the battery model for each normal in - bin battery according to the set matching rules and battery - related information, and generate a matching result;
[0108] The quantity determination module 250 is used to determine the number of batteries corresponding to each model of the swapping station according to the matching result and the target data.
[0109] The set matching rules are formulated in advance according to the corresponding rules between the battery code and the battery model. The model matching module 240 matches the battery model for each normal in - bin battery shown in the target battery according to the set matching rules. For example, the first three digits of the battery code and the seventh and eighth digits of the battery code determine the battery model, and special battery codes correspond to special battery models. The quantity determination module 250 calculates the number of batteries corresponding to each model at each moment in the target battery pack, and takes the maximum value of all the numbers of batteries corresponding to each model of the daily dimension as the number of batteries of that model. Exemplarily, if the numbers of all batteries of model A on October 1, 2022 are: 20, 21, 22, 20, 23, 24, 25…28…, then the number of batteries of model A is 28.
[0110] In this solution, the model matching module automatically matches the battery models of the batteries normally in the warehouse, and then the quantity determination module ensures that the total number of sub-models of batteries at the station end corresponding to the daily dimension can be obtained in a timely manner according to the matching result, strengthening the refined management of each type of battery asset at the station end and the accuracy of the total number statistics.
[0111] In an optional implementation manner, as Figure 5 shown, the information related to the battery swapping time includes the vehicle entry time and the vehicle exit time determined according to the battery swapping order form, the information related to the charger includes the charger presence information and the charger coding information, and the information related to the battery further includes the battery presence information, the current battery power information, the current charger state information, and the battery coding information; the filtering processing module 220 includes:
[0112] The first filtering unit 221 is used to filter the bin status data packet according to the vehicle entry time and the vehicle exit time, screen out the bin status data corresponding to the battery swapping working time period, and generate the first data.
[0113] The first verification unit 222 is used to verify whether there is a charger in the first data packet according to the charger presence information and the charger coding information; if so, call the first generation unit 223.
[0114] The first generation unit 223 is used to use the bin status data corresponding to the existing charger as the second data.
[0115] The second verification unit 224 is used to verify whether there is an abnormal situation of the charger in the second data packet according to the battery presence information, the current battery power information, and the current charger state information; if so, call the second generation unit 225;
[0116] The second generation unit 225 is used to use the bin status data corresponding to the normal situation of the charger as the third data, and screen out the bin status data without battery coding information in the third data to generate the target data.
[0117] The first filtering unit 221 screens out the vehicle battery swapping records in which both the vehicle entry time and the vehicle exit time corresponding to the same battery swapping vehicle are not empty from the bin status data according to the vehicle entry time and the vehicle exit time in the battery swapping order form, and selects all time points corresponding to the vehicle entry time and the vehicle exit time of each battery swapping vehicle as the battery swapping working time period based on the vehicle battery swapping records, and generates the first data according to the bin status data corresponding to the battery swapping working time period.
[0118] The first inspection unit 222 filters out the bin status data corresponding to the charging bins with chargers from the first data according to the charger presence information. The first inspection unit 222 then eliminates the bin status data without charger coding information from the bin status data corresponding to the charging bins with chargers, and the first generation unit 223 obtains the second data.
[0119] The second inspection unit 224 filters out the bin status data corresponding to the bins where the batteries are placed from the second data according to the battery presence information. The second inspection unit 224 then performs abnormal data detection on the bin status data corresponding to the bins where the batteries are placed according to the current battery level information and the current status information of the charger. When there is abnormal data, it is determined that there is an abnormal charger communication. After the second generation unit 225 eliminates the bin status data corresponding to the abnormal charger communication situation in the second data packet, the bin status data corresponding to the normal situation of the charger is obtained as the third data. Finally, the bin status data that shows the presence of a battery but does not have battery coding information in the third data is screened out, and the bin status data corresponding to the batteries normally in the charging bins of the swapping station during the preset working period is obtained, that is, the target data.
[0120] The filtering and processing module of this solution filters out the bin status data of non-swapping working time periods from the bin status data according to the vehicle entry time and vehicle exit time obtained in the order dimension, ensuring the validity of the first data corresponding to the non-idle time period of the station section; filters out the data corresponding to the transfer bin and the spare bin from the first data packet according to the charger-related information, ensuring the validity of the second data corresponding to the charging bins with chargers; filters out the bin status data corresponding to the abnormal charger situation from the second data packet according to the battery presence information, the current battery level information, the current status information of the charger, and the battery coding information, ensuring the validity of the bin status data corresponding to the batteries normally in the charging bins of the swapping station during the preset working period, and ensuring the accuracy of the battery quantity calculation result of the swapping station further.
[0121] In an alternative embodiment, the filtering and processing module 220 further includes:
[0122] An alarm unit 226, further configured to send an alarm message when it is detected that there is an abnormal charger communication situation in the second data.
[0123] In an embodiment, when the alarm unit 226 detects that the bin status data corresponding to multiple normal charging bins in the second data has the same reporting time but there are multiple duplicate records corresponding to the same bin number, it is determined that there is an abnormal charger communication situation. An alarm message is sent to the staff of the swapping station in time to notify the charger for maintenance, so as to ensure the normal operation of the swapping station.
[0124] In one embodiment, when the warning unit 226 detects that there are partial missing data in the position status data corresponding to the normal charging positions in the second data, it determines that there is an abnormal communication situation of the charger. It promptly sends a warning message to the staff of the battery swapping station to notify them to repair the charger, thereby ensuring the normal operation of the battery swapping station.
[0125] In one embodiment, when the warning unit 226 detects that the reporting times of the position status data corresponding to multiple normal charging positions in the second data packet are different, it determines that there is an abnormal communication situation of the charger. It promptly sends a warning message to the staff of the battery swapping station to notify them to repair the charger, thereby ensuring the normal operation of the battery swapping station.
[0126] The warning unit in this solution monitors and warns the abnormal situation of the charger data at the station end in real time, ensuring the refined management of the battery assets at the station end and the accuracy of the total number statistics, and providing a reference for decision-making in the operation management of the battery swapping station.
[0127] The system for determining the number of batteries in the battery swapping station of this embodiment uses the filtering processing module to automatically filter the obtained position status data packet according to the preset rules to obtain the target data packet and calculate the number of batteries in the battery swapping station, completely changing the existing manual inventory method at the station end and ensuring the timeliness of the battery asset management at the station end; it obtains the number of batteries corresponding to the daily dimension in real time, strengthening the refined management of the battery assets at the station end and the accuracy of the total number statistics.
[0128] Embodiment 3
[0129] Figure 6 It is a schematic structural diagram of an electronic device provided for this embodiment. The electronic device includes a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, it implements the method for determining the number of batteries in the battery swapping station of Embodiment 1. Figure 6 The displayed electronic device 90 is only an example and should not bring any limitations to the functions and usage scope of the embodiments of the present invention.
[0130] As Figure 6 shown, the electronic device 90 can be presented in the form of a general computing device, for example, it can be a server device. The components of the electronic device 90 may include but are not limited to: at least one of the above processors 91, at least one of the above memories 92, and a bus 93 connecting different system components (including the memory 92 and the processor 91).
[0131] The bus 93 includes a data bus, an address bus, and a control bus.
[0132] The memory 92 may include volatile memory, such as a random access memory (RAM) 921 and / or a cache memory 922, and may further include a read-only memory (ROM) 923.
[0133] The memory 92 may also include a program / utilities 925 having a set (at least one) of program modules 924. Such program modules 924 include, but are not limited to: an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include the implementation of a network environment.
[0134] The processor 91 executes various functional applications and data processing by running computer programs stored in the memory 92, such as the method for determining the number of batteries in the battery swapping station in Embodiment 1 of the present invention.
[0135] The electronic device 90 can also communicate with one or more external devices 94 (such as a keyboard, pointing device, etc.). Such communication can be carried out through the input / output (I / O) interface 95. Moreover, the device 90 for model generation can also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through the network adapter 96. As Figure 6 shown, the network adapter 96 communicates with other modules of the device 90 for model generation through the bus 93. It should be understood that although not shown in the figure, other hardware and / or software modules can be used in combination with the device 90 for model generation, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems, etc.
[0136] It should be noted that although several units / modules or sub-units / modules of the electronic device are mentioned in the above detailed description, such a division is merely exemplary and not mandatory. In fact, according to the embodiments of the present invention, the features and functions of two or more of the above-described units / modules can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided and embodied by multiple units / modules.
[0137] Embodiment 4
[0138] This embodiment provides a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, it implements the method for determining the number of batteries in the battery swapping station in Embodiment 1.
[0139] Among them, the more specific readable storage medium can include, but is not limited to: a portable disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0140] In a possible implementation, the present invention can also be implemented in the form of a program product, which includes program code. When the program product runs on a terminal device, the program code is used to cause the terminal device to execute the method for determining the number of batteries in the battery swapping station according to Embodiment 1.
[0141] Among them, the program code for executing the present invention can be written in any combination of one or more programming languages. The program code can be executed entirely on the user device, partially on the user device, executed as an independent software package, partially on the user device and partially on a remote device, or entirely on a remote device.
[0142] Although the specific implementation manners of the present invention have been described above, those skilled in the art should understand that this is only an example. The protection scope of the present invention is defined by the appended claims. Without departing from the principles and essence of the present invention, those skilled in the art can make various changes or modifications to these implementation manners, but these changes and modifications all fall within the protection scope of the present invention.
Claims
1. A method for determining the number of batteries in a battery swapping station, characterized in that, The determination method includes: Obtaining the bin status data of the battery swapping station; the bin status data includes at least one of information related to battery swapping time, information related to the charger, and information related to the battery. Performing filtering processing on the bin status data to obtain target data; the target data is used to represent the bin status data corresponding to the batteries normally in the bins in the charging bins of the battery swapping station during a preset working period. Determining the number of batteries of the battery swapping station according to the target data.
2. The method for determining the number of batteries in a battery swapping station according to claim 1, wherein The determination method further includes: Matching battery models for each battery normally in the bin according to the set matching rules and the battery-related information to generate a matching result. Determining the number of batteries corresponding to each battery model of the battery swapping station according to the matching result and the target data.
3. The method for determining the number of batteries in a battery swapping station according to claim 1, wherein, The information related to the battery swapping time includes the vehicle entry time and the vehicle exit time determined according to the battery swapping order form. The step of performing filtering processing on the bin status data to obtain target data includes: Filtering the bin status data according to the vehicle entry time and the vehicle exit time, screening out the bin status data corresponding to the battery swapping working period, and generating first data.
4. The method for determining the number of batteries in a battery swapping station according to claim 3, wherein, The information related to the charger includes charger presence information and charger coding information; the step of performing filtering processing on the bin status data to obtain target data further includes: Checking whether a charger exists in the bin in the first data according to the charger presence information and the charger coding information. If it exists, using the bin status data corresponding to the bin where the charger exists as second data.
5. The method for determining the number of batteries in a battery swapping station according to claim 4, wherein The information related to the battery includes battery presence information, current battery power information, current charger status information, and battery coding information; the step of performing filtering processing on the bin status data to obtain target data further includes: Checking whether there is an abnormal situation of the charger in the second data according to the battery presence information, the current battery power information, and the current charger status information. If it exists, using the bin status data corresponding to the normal situation of the charger as third data, and screening out the bin status data without the battery coding information in the third data to generate the target data.
6. The method for determining the number of batteries in a battery swapping station according to claim 5, characterized in that, The step of performing preprocessing on the bin status data to obtain target data further includes: When it is detected that there is an abnormal charger communication situation in the second data, sending an alarm message.
7. The method for determining the number of batteries in a battery swapping station according to claim 1, characterized in that, The battery swapping station includes a transfer bin, a charging bin, and a spare bin, the charging bin includes a plurality of charging positions, and each charging position is provided with a charger.
8. A system for determining the number of batteries in a battery swapping station, characterized in that, The determination system includes: An acquisition module, configured to acquire the bin status data of the battery swapping station; the bin status data includes at least one of information related to battery swapping time, information related to the charger, and information related to the battery. A filtering processing module, configured to perform filtering processing on the bin status data to obtain a target data packet; the target data is used to represent the bin status data corresponding to the batteries normally in the bins in the charging bins of the battery swapping station during a preset working period. A determination module, configured to determine the number of batteries of the battery swapping station according to the target data.
9. An electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, When the processor executes the computer program, the method for determining the number of batteries in a battery swapping station according to any one of claims 1-7 is implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, the method for determining the number of batteries in a battery swapping station according to any one of claims 1-7 is implemented.