Method, system and equipment for acquiring battery data of battery swap station and medium
By acquiring and analyzing the battery-related data of the battery swap station, the accuracy and cost problems caused by manual filling of battery data of the battery swap station are solved, and accurate monitoring of battery data and accurate acquisition of dynamic changes are achieved.
Patent Information
- Application Number
- CN202311871907.0
- 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
The method of filling out battery data of existing battery swap stations relies on manual labor, resulting in poor data accuracy and high labor costs, which cannot meet the needs of real-time and accuracy.
By acquiring the initial associated battery data of the battery swap station and several preset battery correlation data within the preset period, the label data is used to determine the battery state change, including abnormal factor judgment and data filtering, to achieve accurate acquisition and storage of battery data.
It realizes accurate monitoring of battery data of battery swap stations and accurate acquisition of dynamic changes, reduces labor costs, and improves data accuracy and real-timeness.
Smart Images

Figure CN120277134A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of battery swapping management, and particularly to a method, system, device, and medium for obtaining battery data of a battery swapping station. Background Art
[0002] New energy power batteries are expensive. For companies whose main business is to provide battery swapping, batteries are a type of heavy asset. Various data about batteries in a battery swapping station are required in many scenarios, projects, and metrics, such as battery declarations, financial inventories, algorithm projects, operation calculation metrics like frequency load rates, etc. Among them, the sources of batteries in the battery swapping station are: spare batteries purchased by the company, original batteries carried by customer vehicles, and vehicle-battery separation batteries (customer-rented batteries).
[0003] In the actual operation process of a battery swapping station, on the one hand, the demand for batteries will increase (newly purchased batteries, transferred in from other battery swapping stations) / decrease (allocating surplus batteries to other stations) as the number of battery-swapping vehicles increases / decreases. On the other hand, batteries also have a life cycle, and their states include but are not limited to: network access, battery swapping, charging, maintenance, transfer, allocation, retirement, etc. The reference battery data of the battery swapping station will change dynamically.
[0004] However, currently, the battery data of the battery swapping station is filled in manually, which requires a certain amount of labor cost, and the accuracy and timeliness of the data cannot be guaranteed. Summary of the Invention
[0005] The technical problem to be solved by the present disclosure is to overcome the defects of poor accuracy and high labor cost in filling battery data in the prior art, and to provide a method, system, device, and medium for obtaining battery data of a battery swapping station.
[0006] The present disclosure solves the above technical problem through the following technical solutions:
[0007] According to a first aspect of the present disclosure, there is provided a method for obtaining battery data of a battery swapping station, the obtaining method comprising:
[0008] Obtaining initial associated battery data of the battery swapping station, and obtaining a plurality of preset battery associated data within a preset time period;
[0009] Obtaining label data corresponding to a plurality of batteries in the battery swapping station within the preset time period according to the plurality of preset battery associated data;
[0010] Obtaining target associated battery data of the battery swapping station at a target moment according to the label data and the initial associated battery data.
[0011] This solution determines the label data of the batteries in the swapping station within a preset time period by obtaining a number of preset battery-related data, and further determines the target related data at the preset moment in the swapping station; that is, by the dynamic changes of the label data corresponding to a number of batteries in the swapping station, accurately locate the state changes of the batteries in the swapping station, so as to accurately obtain the information of the battery data in the swapping station.
[0012] Preferably, the step of obtaining the label data corresponding to a number of batteries in the swapping station within a preset time period according to the number of the preset battery-related data includes:
[0013] Judge whether there is any abnormality in the batteries in the swapping station according to the number of the preset battery-related data;
[0014] If so, determine the abnormal factors causing the abnormality of the battery, and determine the label data according to the abnormal factors.
[0015] This solution determines whether there is any abnormality in the corresponding batteries in the swapping station through the preset battery-related data, so as to determine and target the abnormal batteries, and further accurately obtain the information of the battery data with abnormalities in the swapping station.
[0016] Preferably, the step of determining the abnormal factors causing the abnormality of the battery and determining the label data according to the abnormal factors includes:
[0017] Determine the target battery according to the abnormal factors;
[0018] Obtain the usage data of the target battery within a preset time;
[0019] Determine the label data according to the usage data.
[0020] This solution determines the target battery through the abnormal factors and obtains the specific usage data of the target battery, so as to determine the factors causing the abnormality of the target battery, and further accurately determine the label data of the batteries in the swapping station, realizing the precise monitoring of the batteries in the swapping station.
[0021] Preferably, the preset battery-related data includes at least one of battery basic data, battery swapping order data, and charging report data.
[0022] This solution can accurately determine the state of the batteries in the swapping station through the above data, so as to accurately locate each state change of the batteries, which helps to accurately obtain the battery data of the swapping station.
[0023] Preferably, the step of obtaining a number of preset related data within a preset time period includes:
[0024] Query the battery information table to obtain the basic battery data;
[0025] Query the battery order table to obtain the battery replacement order data;
[0026] Query the data report table of the charger to obtain the charging report data.
[0027] This solution realizes precise monitoring of the batteries in the battery replacement station by querying the battery information table, the battery order table, and the data report table of the charger.
[0028] Preferably, after obtaining a number of preset associated data within a preset time period, it further includes:
[0029] Remove the first abnormal data in the battery information table;
[0030] And / or,
[0031] Remove the second abnormal data in the battery order table;
[0032] And / or,
[0033] Remove the third abnormal data in the data report table of the charger.
[0034] This solution filters illegal battery data by removing the first abnormal data in the battery information table, and only takes the battery records that are normally used in the battery replacement network, thereby improving the accuracy of battery monitoring in the battery replacement station; by removing the second abnormal data in the battery order table, normal settlement and valid battery replacement orders are obtained, thereby improving the accuracy of battery monitoring in the battery replacement station; by removing the third abnormal data in the data report table of the charger, duplicate reports and abnormal reports are filtered, thereby improving the accuracy of battery monitoring in the battery replacement station.
[0035] Preferably, after obtaining the target associated battery data of the battery replacement station at the target time, it further includes:
[0036] Store the target associated battery data into a target association table, and the target association table includes the initial associated battery data and the target associated battery data at the preset time.
[0037] By storing the target associated battery data into the target association table, the dynamic changes of the battery data in the battery replacement station can be quickly obtained, so that the target associated battery data at the target time can be obtained conveniently and quickly.
[0038] Preferably, obtaining the target associated battery data of the battery replacement station at the target time specifically includes:
[0039] Obtain the target time;
[0040] Determine a target swapping station according to the target time, and obtain target label data corresponding to all batteries in the target swapping station;
[0041] Query the target association table to determine adjacent associated battery data corresponding to all batteries in the target swapping station during adjacent times of the target time;
[0042] Determine the target associated battery data according to the adjacent associated battery data and the target label data.
[0043] With this solution, through the adjacent associated battery data and the target label data, the information of the battery data in the target swapping station can be accurately obtained.
[0044] According to a second aspect of the present disclosure, there is provided a system for obtaining battery data of a swapping station, including:
[0045] An initial data acquisition unit, configured to acquire initial associated battery data of a swapping station and acquire a plurality of preset battery association data within a preset time period;
[0046] A label data setting unit, configured to obtain label data corresponding to a plurality of batteries in the swapping station within a preset time period according to the plurality of preset battery association data;
[0047] A target data acquisition unit, configured to obtain target associated battery data of the swapping station at a pre-target moment according to the label data and the initial associated battery data.
[0048] Preferably, the label data setting unit includes an abnormal factor judgment unit, and the abnormal factor judgment unit is configured to judge whether there is an abnormality in the batteries in the swapping station according to the plurality of preset battery association data; if so, determine the abnormal factor causing the abnormality of the battery, and determine the label data according to the abnormal factor.
[0049] Preferably, the abnormal factor judgment unit includes: a target battery determination unit, a battery condition determination unit, and a label data determination unit;
[0050] Wherein, the target battery determination unit is configured to determine a target battery according to the abnormal factor;
[0051] The battery condition determination unit is configured to acquire usage condition data of the target battery within a preset time;
[0052] The expression data determination unit is configured to determine the label data according to the usage condition data.
[0053] Preferably, the preset battery association data includes at least one of battery basic data, battery swapping order data, and charging report data.
[0054] Preferably, the initial data acquisition unit includes: a basic data acquisition unit, an order data acquisition unit, and a charging report data acquisition unit;
[0055] Among them, the basic data acquisition unit is used to query the battery information table to obtain the battery basic data;
[0056] The order data acquisition unit is used to query the battery order table to obtain the battery replacement order data;
[0057] The charging report data acquisition unit is used to query the charger report data table to obtain the charging report data.
[0058] The initial data acquisition unit further includes an abnormal data removal unit; among them, the abnormal data removal unit is used to remove the first abnormal data in the battery information table; and / or, remove the second abnormal data in the battery order table; and / or, remove the third abnormal data in the charger report data table.
[0059] Preferably, the target data acquisition unit further includes a stored data unit; among them, the stored data unit is used to store the target associated battery data into a target association table, and the target association table includes the initial associated battery data and the target associated battery data at a preset time.
[0060] Preferably, the stored data unit includes: a target time acquisition unit, a target swapping station determination unit, an adjacent data determination unit, and a target associated data determination unit;
[0061] Among them, the target time acquisition unit is used to acquire a target time;
[0062] The target swapping station determination unit is used to determine a target swapping station according to the target time, and the target tag data corresponding to all batteries in the target swapping station;
[0063] The adjacent data determination unit is used to query the target association table to determine the adjacent associated battery data corresponding to all batteries in the target swapping station within an adjacent time of the target time;
[0064] The target associated data determination unit is used to determine the target associated battery data according to the adjacent associated battery data and the target tag data.
[0065] According to a third aspect of the present disclosure, there is provided an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where when the processor executes the computer program, the method for acquiring battery data of a swapping station according to the first aspect of the present disclosure is implemented.
[0066] According to a fourth aspect of the present disclosure, there is provided a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method for obtaining battery data of a battery swapping station described in the first aspect of the present disclosure is implemented.
[0067] On the basis of conforming to common general knowledge in the art, the preferred conditions can be preset in combination to obtain various preferred embodiments of the present disclosure.
[0068] The positive and progressive effects of the present disclosure are as follows:
[0069] In the method for obtaining battery data of a battery swapping station provided by the present disclosure, by obtaining a plurality of preset battery association data within a preset time period, the label data of the batteries in the battery swapping station within the preset time period is determined, and then the target association data at a preset moment in the battery swapping station can be determined; that is, through the dynamic change of the label data corresponding to a plurality of batteries in the battery swapping station, the state change of the batteries in the battery swapping station is accurately positioned, so as to accurately obtain the information of the battery data in the battery swapping station. BRIEF DESCRIPTION OF THE DRAWINGS
[0070] Figure 1 It is a schematic flowchart of the method for obtaining battery data of a battery swapping station in Embodiment 1 of the present disclosure;
[0071] Figure 2 It is a schematic structural diagram including preset association data in Embodiment 1 of the present disclosure Figure 1 ;
[0072] Figure 3 It is a schematic structural diagram including preset association data in Embodiment 1 of the present disclosure Figure 2 ;
[0073] Figure 4 It is a schematic flowchart of determining abnormal factors in Embodiment 1 of the present disclosure;
[0074] Figure 5 It is a schematic structural diagram including the basis of battery state in Embodiment 1 of the present disclosure Figure 1 ;
[0075] Figure 6 It is a schematic structural diagram including the basis of battery state in Embodiment 1 of the present disclosure Figure 2 ;
[0076] Figure 7 It is a schematic flowchart of obtaining target associated battery data in Embodiment 1 of the present disclosure;
[0077] Figure 8 It is a schematic flowchart of calculating reference battery data of a battery swapping station in Embodiment 1 of the present disclosure;
[0078] Figure 9 It is a schematic structural diagram of a battery swapping station in Embodiment 1 of the present disclosure;
[0079] Figure 10 Schematic diagram of the structure of the data reported by the charger in Embodiment 1 of the present disclosure;
[0080] Figure 11 Schematic flow chart of a specific example of the method for obtaining battery data of a battery swapping station in Embodiment 1 of the present disclosure;
[0081] Figure 12 Schematic diagram of the structure of the system for obtaining battery data of a battery swapping station in Embodiment 2 of the present disclosure;
[0082] Figure 13 Schematic diagram of the structure of the electronic device in Embodiment 3 of the present disclosure. Detailed implementation manners
[0083] The present disclosure will be further described below by way of embodiments, but the present disclosure is not limited to the scope of the described embodiments.
[0084] In the current battery operation mode, when the battery arrives at the battery swapping station and the station staff connects the battery to the network, the battery can be used for charging and swapping in the charging and swapping network. During the operation of the battery swapping station, when a vehicle arrives at the station for battery swapping, the battery is in a one-in-one-out mode (that is, the low-power battery of the vehicle is removed and placed in the battery swapping station for charging, and at the same time, a high-power battery is swapped from the battery swapping station). The original number of batteries configured in the battery swapping station generally remains unchanged, but business operations such as battery purchase, transfer, allocation, and repair will affect the number of batteries in the battery swapping station. And the data of the batteries in the battery swapping station is statistically obtained by manual filling (that is, the station staff in the battery swapping station fills in the battery data in the battery swapping station, and the statistical period is uncertain). The method of manual filling will consume a large amount of labor costs and the statistically obtained data is inaccurate.
[0085] Based on the above existing problems, the present disclosure proposes a method for obtaining battery data of a battery swapping station, which is specifically as follows:
[0086] Embodiment 1
[0087] As Figure 1 shown, in the embodiment of the present disclosure, a method for obtaining battery data of a battery swapping station is provided, and the obtaining method includes:
[0088] S11: Obtain the initial associated battery data of the battery swapping station, and obtain a plurality of preset battery associated data within a preset time period.
[0089] S12: Obtain the tag data corresponding to a plurality of batteries in the battery swapping station within the preset time period according to the plurality of preset battery associated data.
[0090] S13: Obtain the target associated battery data of the battery swapping station at the target moment according to the tag data and the initial associated battery data.
[0091] By obtaining a number of preset battery - related data within a preset time period, the tag data of the batteries in the battery swapping station within the preset time period can be determined, and then the target - related data at a preset moment in the battery swapping station can be determined; that is, through the dynamic changes of the tag data corresponding to a number of batteries in the battery swapping station, the state changes of the batteries in the battery swapping station can be accurately located, so as to accurately obtain the information of the battery data in the battery swapping station.
[0092] In the embodiments of the present disclosure, the initial - related data can form a battery status basic table, and the data included in the battery status basic table is shown in Table 1.
[0093] Table 1 Explanation Table of Important Fields of the Battery Status Basic Table
[0094]
[0095]
[0096] The initial - related data in the embodiments of the present disclosure can trace the change situation of the battery since it was connected to the network from the data reported by the charger, the battery - swapping order data, the battery - replacement table of the battery - swapping order, etc., so as to record the information related to the battery being installed on the vehicle or the battery being charged in the battery swapping station, and group by battery code, sort by time, and label each record as normal / abnormal to obtain the battery status basic table.
[0097] In the embodiments of the present disclosure, the preset battery - related data includes at least one of battery basic data, battery - swapping order data, and charging - reported data.
[0098] The preset battery - related data in the embodiments of the present disclosure can form a battery status basic table.
[0099] Among them, the battery basic data can be battery code, battery network - connection time, battery asset ownership, battery - belonging city, etc.; the battery - swapping order data can be the information of the old battery being replaced and removed in the order, the information of the old battery being removed and a new battery being installed in the order, etc.; the charger - reported data can be the battery - swapping station code, the bin number, whether there is a battery in the bin, the battery code, etc.
[0100] Specifically, as Figure 2 and Figure 3 shown, corresponding to the data included in the preset - related data in the embodiments of the present disclosure.
[0101] Through the above - mentioned preset battery - related data, the state of the batteries in the battery swapping station can be accurately determined, so as to accurately locate the state changes of the batteries, which helps to accurately obtain the battery data of the battery swapping station.
[0102] In the embodiments of the present disclosure, obtaining a number of preset associated data within a preset time period includes: querying a battery information table to obtain battery basic data; querying a battery order table to obtain battery swapping order data; querying a data report table reported by a charging machine to obtain charging report data. By querying the battery information table, the battery order table, and the data report table reported by the charging machine, the information of the batteries in the battery swapping station can be accurately determined.
[0103] Since the battery swapping process of the battery swapping station will record the information of battery installation, removal, and charging, under normal circumstances, the battery is either in the vehicle or in the battery swapping station. However, some recorded status end time fields in the battery status basic table are missing, and the reason for the disconnection may be the loss of battery swapping data or some business operations (such as battery transfer / allocation / maintenance) have been performed. At this time, the batteries in the battery swapping station will be in an abnormal state.
[0104] Therefore, in the embodiments of the present disclosure, the step of obtaining the tag data corresponding to a number of batteries in the battery swapping station within a preset time period according to a number of preset battery associated data further includes:
[0105] Judging whether the batteries in the battery swapping station are abnormal according to a number of preset battery associated data;
[0106] If so, determining the abnormal factors causing the batteries to be abnormal, and determining the tag data according to the abnormal factors.
[0107] Determining whether the corresponding batteries in the battery swapping station are abnormal through the preset battery associated data, thereby determining and targeting the batteries with abnormalities, and then accurately obtaining the information of the battery data with abnormalities in the battery swapping station.
[0108] Among them, as Figure 4 shown, determining the abnormal factors causing the batteries to be abnormal, and determining the tag data according to the abnormal factors includes:
[0109] S21: Determining the target battery according to the abnormal factors.
[0110] S22: Obtaining the usage data of the target battery within a preset time.
[0111] S23: Determining the tag data according to the usage data.
[0112] Determining the target battery through the abnormal factors, and obtaining the specific usage data of the target battery, thereby determining the factors causing the target battery to be abnormal, and then accurately determining the tag data of the batteries in the battery swapping station, realizing the accurate monitoring of the batteries in the battery swapping station.
[0113] After determining the abnormal battery data, it can be repaired according to the record of the abnormal state and combined with the data of the next period N, so as to determine the specific data of the battery and further improve the accuracy of the overall planning of the battery data. Among them, the time N is set according to the battery replacement time interval of each city. By means of backtracking (backtracking N days), the records with abnormal battery status values in the historical date of the battery status basic table are corrected, and the status correction rules are shown in Table 2:
[0114] Table 2 Battery Status (Abnormal) - Update Label Rules
[0115]
[0116]
[0117] Specifically, as Figure 5 and Figure 6 shown, corresponding to the data included in the preset associated data after repair in the embodiments of the present disclosure.
[0118] In addition, after obtaining a number of preset associated data within a preset time period in the embodiments of the present disclosure, it further includes: removing the first abnormal data in the battery information table; and / or, removing the second abnormal data in the battery order table; and / or, removing the third abnormal data in the charger reported data table.
[0119] Among them, the method of removing the first abnormal data in the battery information table is to filter illegal battery data and only take the battery records that can be normally used in the battery replacement network; removing the second abnormal data in the battery order table can be to take the orders with normal settlement and validity; removing the third abnormal data in the charger reported data table can be to filter the repeatedly reported and abnormally reported data, etc.
[0120] By removing the first abnormal data in the battery information table, illegal battery data is filtered, and only the battery records that can be normally used in the battery replacement network are taken, thereby improving the accuracy of battery monitoring in the battery replacement station; by removing the second abnormal data in the battery order table, a battery replacement order with normal settlement and validity is obtained, thereby improving the accuracy of battery monitoring in the battery replacement station; by removing the third abnormal data in the charger reported data table, the repeatedly reported and abnormally reported data is filtered, thereby improving the accuracy of battery monitoring in the battery replacement station.
[0121] After obtaining the target associated battery data of the battery replacement station at the target moment in the embodiments of the present disclosure, it further includes: storing the target associated battery data in the target associated table, and the target associated table includes the initial associated battery data and the target associated battery data at the preset moment.
[0122] By storing the target associated battery data in the target association table, the dynamic changes of the battery data in the battery swapping station can be quickly obtained, so that the target associated battery data at the target time can be conveniently and quickly obtained.
[0123] As Figure 7 shown, in the embodiment of the present disclosure, obtaining the target associated battery data of the battery swapping station at the target time specifically includes:
[0124] S31: Obtain the target time.
[0125] S32: Determine the target battery swapping station according to the target time, and the target label data corresponding to all the batteries in the target battery swapping station.
[0126] S33: Query the target association table to determine the adjacent associated battery data corresponding to all the batteries in the target battery swapping station within the adjacent time of the target time.
[0127] S34: Determine the target associated battery data according to the adjacent associated battery data and the target label data.
[0128] In a preferred implementation manner, as Figure 8 shown, the reference battery number of the battery swapping station can be obtained through the station-side dimension table or the reference battery number of all the battery swapping stations in the country input for financial inventory; among them, the battery numbers obtained through financial inventory need to perform data preprocessing on the obtained data, so as to further obtain the reference battery number of the battery swapping station (determine the battery number by model); after obtaining the reference battery number, it is necessary to judge whether the sites that have been in continuous operation for a period of time are covered. When the sites that have been in continuous operation for a period of time are covered, the corresponding data is input into the database to obtain the reference battery data table of the battery swapping station.
[0129] When the sites that have been in continuous operation for a period of time are not covered, it is necessary to obtain a list of uncovered sites; and input the reported data of the battery chargers in the battery swapping station (such as the battery data of each bin); and filter the abnormal data in the reported data; then sample the data of the corresponding battery swapping station 24 times a day (such as sampling once every hour within a day, and a complete set of data will be reported every hour); based on each set of sampled data, calculate the number of bins with batteries as the total number of batteries in the battery swapping station; for the 24 sets of sampled data, take the set of data with the largest total number of batteries, and obtain the data of the bins with batteries.
[0130] Further determine whether there are records of missing battery codes; when there are no records of missing battery codes, the battery code is used to parse the battery model; and calculate the number of batteries of different models at the station end, and those that cannot be parsed are classified as unknown; then further determine whether there are batteries of unknown models in the swapping station; if there are no batteries of unknown models, output the reference battery numbers of different models of the swapping station; if there are batteries of unknown models, then output the reference battery numbers of different models of the swapping station after calibration by the swapping station; after obtaining the reference battery numbers of the swapping station, input the corresponding data into the database to obtain the reference battery data table of the swapping station.
[0131] When there are records of missing battery codes, take out the bins with missing battery codes. For each bin, trace back the data for N days; and further determine whether a record with a non-empty battery code is found in this bin; when there is a non-empty record, take the most recent data with a non-empty battery code in this bin to replace it, and enter the battery code to parse the battery model; when there is no non-empty record, it is recorded as unknown and enter the calculation of the number of batteries of different models at the station end, and those that cannot be parsed are classified as unknown.
[0132] Among them, according to different versions of the swapping station, different numbers of bins can be configured. In one type of swapping station, 30 bins can be configured. Specifically, there are 2 transfer bins and 28 charging bins. Charging machines are configured in the charging bins. The specific bin configuration is as Figure 9 shown.
[0133] The reported data of the charging machine includes the swapping station, bin number, reporting time, whether there is a charging machine in the bin, whether there is a battery in the bin, battery code, etc. The data of each bin of the swapping station is sent every 1 minute. The specific data format is as Figure 10 shown.
[0134] This disclosure can accurately obtain the information of the battery data in the target swapping station by querying the adjacent associated battery data and the target tag data.
[0135] In a preferred embodiment, considering the influence of the unstable operating state on the statistical data when the swapping station starts to operate, the swapping stations selected in this disclosure are the swapping stations that have been in continuous operation for a period of time (such as more than one week) as the calculation objects.
[0136] In a specific embodiment, the battery quantities corresponding to each tag on a preset day can be calculated by summarization, such as summarizing and calculating the battery information recorded on a preset day according to the battery status. The specific format is shown in Table 3. By obtaining the current date, determine the status information of the batteries in the swapping station on the current date, so as to calculate the battery information in the swapping station for today - N days by tracing back.
[0137] Table 3 Example of summarizing and calculating the battery numbers of each tag for today - N days
[0138]
[0139]
[0140] As Figure 11 shown below, the implementation principle of the method for obtaining battery data of a battery swapping station according to the present disclosure will be specifically described with reference to examples:
[0141] First, determine the input battery basic data, charger reported data, and battery swapping order data by querying the battery dimension table, battery swapping order table, and charger reported data table; preprocess the obtained data (such as filtering duplicate and abnormal data, etc.); the basic battery status table can be obtained through the preprocessed data, and the status of each charge and battery swapping of the battery (such as normal, abnormal, etc.) can be traced through this basic battery status table; mark the batteries with abnormal status with abnormal labels (transfer, allocation, repair, etc.), and the battery status label table can be obtained; the number of batteries with each label for Today - N days can be summarized and calculated through the battery status label table.
[0142] Second, input the current date, and obtain the list of battery swapping stations that have been in continuous operation for a period of time by querying the station - end dimension table; and obtain the reference battery number in the battery swapping station (the latest one, Today - N - 1) based on the reference battery data table of the battery swapping station.
[0143] Among them, the specific method for obtaining the reference battery number of the battery swapping station (the latest 1, Today - N - 1) includes: based on the reference battery number of the battery swapping station at N - 1, trace - back and calculate the battery number of the battery swapping station N days ago, and there are 2 ways to count the reference data of the battery swapping station. One way is to directly take the data of the financial semi - annual inventory, and obtain the battery number of the battery swapping station N days ago for the stations not within the scope of the financial inventory; the other way is to calculate the battery number of the battery swapping station N days ago based on the charger reported data of the battery swapping station.
[0144] Finally, calculate the number of batteries of different models in the battery swapping station for Today - N based on the reference battery data of the battery swapping station combined with the battery status label data, and input the result into the reference battery data table of the battery swapping station.
[0145] Taking station - end A as an example, the reference battery data of the battery swapping station for calculating Today - N - 1 days is shown in Table 4, the summary calculation of the battery labels of different models based on the battery status label table for Today - N days is shown in Table 5, the combined battery status label data for Today - N is shown in Table 6, and the calculation of the number of batteries of different models in the battery swapping station for Today - N is shown in Table 7.
[0146] Table 4 Calculation of the reference battery data of the battery swapping station for Today - N - 1 days
[0147]
[0148]
[0149] Table 5 is a battery status label table based on Today - N days, summarizing and calculating the battery labels by model
[0150] Date Swap Station Code Battery Model Battery Status Label Quantity 2022 / 3 / 15 0x1 Battery Model A Intra-city Transfer 2 2022 / 3 / 15 0x1 Battery Model B Fault Repair 1
[0151] Table 6 shows the number of batteries by model in the battery swap stations for Today - N days
[0152]
[0153] Table 7 shows the number of batteries by model in the battery swap stations for Today - N + 1 days
[0154]
[0155] In summary, the present disclosure first uses the battery count in the financial inventory (for operating battery swap stations) or the battery count reported by the chargers in the battery swap stations (for non - operating battery swap stations) as the reference battery data for the battery swap stations. Based on the battery dimension table data, battery swap orders, charger - reported data, etc., it traces the full - life - cycle status of the batteries, accurately locates the situations of battery transfer, allocation, idleness, maintenance, etc. in the battery swap stations, automatically back - calculates the number of batteries by model with a daily granularity for historical dates at the station end, replaces the manual method of counting batteries, shortens the cycle of counting the battery asset data of the battery swap stations, and has a high data accuracy rate. It realizes the accurate positioning of the state changes of the batteries and achieves the purpose of improving the accuracy and timeliness of the battery asset data.
[0156] Embodiment 2
[0157] As Figure 12 shown, in the embodiment of the present disclosure, a system for obtaining battery data of a battery swap station is provided, including:
[0158] An initial data acquisition unit 100, configured to acquire the initial associated battery data of the battery swap station and acquire a number of preset battery - associated data within a preset time period;
[0159] A label data setting unit 200, configured to obtain the label data corresponding to a number of batteries in the battery swap station within a preset time period according to a number of preset battery - associated data;
[0160] A target data acquisition unit 300, configured to obtain the target associated battery data of the battery swap station at a target moment according to the label data and the initial associated battery data.
[0161] The label data setting unit 200 in the embodiment of the present disclosure includes an abnormal factor judgment unit. The abnormal factor judgment unit is configured to judge whether there is an abnormality in the batteries in the battery swap station according to a number of preset battery - associated data; if so, determine the abnormal factor causing the abnormality of the battery and determine the label data according to the abnormal factor.
[0162] The abnormal factor determination unit in the embodiments of the present disclosure includes: a target battery determination unit, a battery condition determination unit, and a tag data determination unit;
[0163] Among them, the target battery determination unit is used to determine the target battery according to the abnormal factor;
[0164] The battery condition determination unit is used to obtain the usage data of the target battery within a preset time;
[0165] The expression data determination unit is used to determine the tag data according to the usage data.
[0166] The preset battery association data in the embodiments of the present disclosure includes at least one of battery basic data, battery replacement order data, and charging report data.
[0167] The initial data acquisition unit 100 in the embodiments of the present disclosure includes: a basic data acquisition unit, an order data acquisition unit, and a charging report data acquisition unit;
[0168] Among them, the basic data acquisition unit is used to query the battery information table to obtain the battery basic data;
[0169] The order data acquisition unit is used to query the battery order table to obtain the battery replacement order data;
[0170] The charging report data acquisition unit is used to query the charging machine report data table to obtain the charging report data.
[0171] The initial data acquisition unit further includes an abnormal data removal unit; among them, the abnormal data removal unit is used to remove the first abnormal data in the battery information table; and / or, remove the second abnormal data in the battery order table; and / or, remove the third abnormal data in the charging machine report data table.
[0172] The target data acquisition unit 300 in the embodiments of the present disclosure further includes a storage data unit; among them, the storage data unit is used to store the target associated battery data into the target association table, and the target association table includes the initial associated battery data and the target associated battery data at a preset moment.
[0173] The storage data unit in the embodiments of the present disclosure includes: a target time acquisition unit, a target battery replacement station determination unit, an adjacent data determination unit, and a target association data determination unit;
[0174] Among them, the target time acquisition unit is used to obtain the target time;
[0175] The target battery replacement station determination unit is used to determine the target battery replacement station according to the target time, and the target tag data corresponding to all the batteries in the target battery replacement station;
[0176] The adjacent data determination unit is used to query the target association table and determine the adjacent associated battery data corresponding to all batteries of the target swapping station within the adjacent time of the target time;
[0177] The target associated data determination unit is used to determine the target associated battery data according to the adjacent associated battery data and the target label data.
[0178] It should be noted that for the swapping station battery data acquisition system in this embodiment, it is based on the corresponding method embodiment 1, so the relevant parts can refer to the partial description of method embodiment 1.
[0179] The swapping station battery data acquisition system provided by the present disclosure obtains a number of preset battery association data within a preset time period, thereby determining the label data of the batteries in the swapping station within the preset time period, and further determining the target associated data at the preset moment in the swapping station; that is, through the dynamic changes of the label data corresponding to a number of batteries in the swapping station, accurately locate the state changes of the batteries in the swapping station, so as to accurately obtain the information of the battery data in the swapping station.
[0180] Embodiment 3
[0181] Figure 13 It is a schematic structural diagram of an electronic device provided by Embodiment 3 of the present disclosure. 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 in the above embodiment. Figure 13 The displayed electronic device 30 is only an example and should not bring any limitations to the functions and usage scopes of the embodiments of the present disclosure.
[0182] Such as Figure 13 shown, the electronic device 30 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 30 may include but are not limited to: at least one of the above processors 31, at least one of the above memories 32, and a bus 33 connecting different system components (including the memory 32 and the processor 31).
[0183] The bus 33 includes a data bus, an address bus, and a control bus.
[0184] The memory 32 may include volatile memory, such as a random access memory (RAM) 321 and / or a cache memory 322, and may further include a read-only memory (ROM) 323.
[0185] The memory 32 may also include a program / utilities 325 having a set (at least one) of program modules 324. Such program modules 324 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.
[0186] The processor 31 executes various functional applications and data processing by running computer programs stored in the memory 32, such as the methods in the above embodiments of the present disclosure.
[0187] The electronic device 30 may also communicate with one or more external devices 34 (such as a keyboard, a pointing device, etc.). Such communication may be through the input / output (I / O) interface 35. And, the device 30 for model generation may 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 36. As Figure 13 shown, the network adapter 36 communicates with other modules of the device 30 for model generation through the bus 33. It should be understood that although not shown in the figure, other hardware and / or software modules may be used in combination with the device 30 for model generation, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (redundant array of independent disks) systems, tape drives, and data backup storage systems, etc.
[0188] 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 disclosure, the features and functions of two or more of the above-described units / modules may be embodied in one unit / module. Conversely, the features and functions of one unit / module described above may be further divided and embodied by multiple units / modules.
[0189] Embodiment 4
[0190] This embodiment provides a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, the steps in the methods in the above embodiments are implemented.
[0191] Among them, the more specific forms that the readable storage medium may adopt may include, but are 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 a preset suitable combination of the above.
[0192] In a possible implementation, the present disclosure 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 steps in the methods in the above embodiments.
[0193] Among them, the program code for executing the present disclosure can be written in a preset 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.
[0194] Although the specific implementation manners of the present disclosure have been described above, those skilled in the art should understand that this is only an example. The protection scope of the present disclosure is defined by the appended claims. Without departing from the principles and essence of the present disclosure, 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 disclosure.
Claims
1. A method for obtaining battery data of a battery swapping station, characterized in that The acquisition method includes: Obtaining the initial associated battery data of the battery swapping station, and obtaining a plurality of preset battery associated data within a preset time period; Obtaining the tag data corresponding to a plurality of batteries in the battery swapping station within the preset time period according to the plurality of preset battery associated data; Obtaining the target associated battery data of the battery swapping station at the target moment according to the tag data and the initial associated battery data.
2. The method for obtaining battery data of a battery swapping station according to claim 1, wherein The step of obtaining the tag data corresponding to a plurality of batteries in the battery swapping station within the preset time period according to the plurality of preset battery associated data includes: Judging whether there is an abnormality in the batteries in the battery swapping station according to the plurality of preset battery associated data; If so, determining the abnormal factors causing the abnormality of the battery, and determining the tag data according to the abnormal factors.
3. The method for obtaining battery data of a battery swapping station according to claim 2, wherein, The determining the abnormal factors causing the abnormality of the battery and determining the tag data according to the abnormal factors includes: Determining the target battery according to the abnormal factors; Obtaining the usage data of the target battery within a preset time; Determining the tag data according to the usage data.
4. The method for obtaining battery data of a battery swapping station according to claim 1, wherein The preset battery associated data includes at least one of battery basic data, battery swapping order data, and charging report data.
5. The method for obtaining battery data of a battery swapping station according to claim 4, characterized in that The obtaining a plurality of preset associated data within a preset time period includes: Querying the battery information table to obtain the battery basic data; Querying the battery order table to obtain the battery swapping order data; Querying the charging machine report data table to obtain the charging report data.
6. The method for obtaining battery data of a battery swapping station according to claim 5, characterized in that, After obtaining a plurality of preset associated data within a preset time period, it further includes: Removing the first abnormal data in the battery information table; And / or Removing the second abnormal data in the battery order table; And / or Removing the third abnormal data in the charging machine report data table.
7. The method for obtaining battery data of a battery swapping station according to claim 1, wherein After obtaining the target associated battery data of the battery swapping station at the target moment, it further includes: Storing the target associated battery data into a target association table, where the target association table includes the initial associated battery data and the target associated battery data at the preset moment.
8. The method for obtaining battery data of a battery swapping station according to claim 7, wherein The obtaining the target associated battery data of the battery swapping station at the target moment specifically includes: Obtaining the target time; Determining the target battery swapping station according to the target time, and the target tag data corresponding to all batteries in the target battery swapping station; Querying the target association table to determine the adjacent associated battery data corresponding to all batteries in the target battery swapping station within the adjacent time of the target time; Determining the target associated battery data according to the adjacent associated battery data and the target tag data.
9. A system for obtaining battery data of a battery swapping station, characterized in that, It includes: An initial data acquisition unit, configured to obtain the initial associated battery data of the battery swapping station, and obtain a plurality of preset battery associated data within a preset time period; A tag data setting unit, configured to obtain the tag data corresponding to a plurality of batteries in the battery swapping station within the preset time period according to the plurality of preset battery associated data; A target data acquisition unit, configured to obtain the target associated battery data of the battery swapping station at the target moment according to the tag data and the initial associated battery data.
10. 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, it implements the method for obtaining battery data of the battery swapping station described in any one of claims 1-8.
11. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the method for obtaining battery data of the battery swapping station described in any one of claims 1-8.