Data processing method, device and equipment, medium and vehicle
By acquiring and processing the historical and current data of new energy vehicles, and using the preset mapping relationship between detection data and remaining power, the problem of inaccurate calculation of the remaining power of the vehicle battery is solved and the user experience is improved.
Patent Information
- Application Number
- CN202310215211.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-28
- Publication Date
- 2024-08-30
AI Technical Summary
In the existing technology, the calculation of the remaining power of the on-board battery of new energy vehicles is not accurate enough, resulting in a reduced user driving experience.
By obtaining the data to be detected, including historical data and current data, based on the preset mapping relationship between detection data and remaining power, using the trained remaining power detection model for matching processing, the current remaining power and driving range of the vehicle's on-board battery are determined. .
It improves the accuracy of the remaining power of the vehicle battery, improves the user's driving experience, and can take into account the impact of battery aging and current driving conditions.
Smart Images

Figure CN118566738A
Abstract
Description
Technical Field
[0001] The present application belongs to the field of vehicle technology, and in particular, relates to a data processing method, device, equipment and storage medium. Background Art
[0002] In the prior art, since new energy vehicles often calculate the remaining power in the vehicle battery through fixed parameters such as current and voltage, the calculated remaining power in the vehicle battery is not accurate enough, which results in the vehicle being unable to display a more accurate remaining power, thereby reducing the user's driving experience. Summary of the invention
[0003] The purpose of the embodiments of the present application is to provide a data processing method, device, equipment, medium and vehicle, which can accurately determine the remaining power in the on-board battery of a new energy vehicle, thereby improving the user's driving experience.
[0004] In a first aspect, an embodiment of the present application provides a data processing method, the method comprising:
[0005] Acquire the data to be detected, the data to be detected includes vehicle data within a first preset time period and vehicle data at the current moment, the first preset time period being earlier than the current moment;
[0006] Based on the mapping relationship between the data to be detected and the preset detection data and the remaining power, the remaining power of the on-board battery of the vehicle corresponding to the data to be detected at the current moment is determined.
[0007] In an optional implementation of the first aspect, based on a mapping relationship between the data to be detected and the preset detection data and the remaining power, determining the remaining power of the vehicle battery corresponding to the data to be detected at the current moment includes:
[0008] The data to be detected is input into the remaining power detection model, which includes a mapping relationship between preset detection data and remaining power. The remaining power detection model is used to match the data to be detected based on the mapping relationship between preset detection data and remaining power to determine the remaining power of the on-board battery of the vehicle corresponding to the data to be detected at the current moment.
[0009] In an optional implementation of the first aspect, the method further includes:
[0010] Based on the mapping relationship between the data to be detected and the preset detection data and the drivable mileage data, the drivable mileage data of the vehicle corresponding to the data to be detected at the current moment is determined.
[0011] In an optional implementation of the first aspect, the vehicle data within the first preset time period includes at least one of vehicle model data, longitude and latitude range where the vehicle is traveling, temperature data within the longitude and latitude range where the vehicle is traveling, charge and discharge times, and driving behavior data;
[0012] The vehicle data at the current moment includes at least one of the vehicle's running speed, the voltage value of the vehicle's battery, and the vehicle's weight.
[0013] In an optional implementation of the first aspect, the remaining power of the vehicle battery at the current moment and / or the mileage data of the vehicle at the current moment are displayed.
[0014] In an optional implementation of the first aspect, the training method of the remaining power detection model includes:
[0015] Obtain a training sample set, the training sample set including a plurality of data samples to be detected and a remaining power of a label corresponding to each of the data samples to be detected;
[0016] Inputting the data sample to be detected into a preset remaining power detection model, the preset remaining power detection model includes a mapping relationship between the preset detection data sample and the reference remaining power, and matching the data sample to be detected based on the mapping relationship between the preset detection data sample and the reference remaining power through the preset remaining power model to determine the reference remaining power of the vehicle battery corresponding to the data sample to be detected at the first moment;
[0017] Determine a loss function value of a preset remaining power detection model according to a reference remaining power of a target data sample to be detected and a label remaining power of the target data sample to be detected, wherein the target data sample to be detected is any one of the data samples to be detected;
[0018] Based on the loss function value of the preset remaining power detection model, the preset remaining power detection model is trained using the data sample to be detected to obtain the trained remaining power detection model.
[0019] In a second aspect, an embodiment of the present application provides a data processing device, the device comprising:
[0020] An acquisition module, used for acquiring data to be detected, the data to be detected includes vehicle data within a first preset time period and vehicle data at a current moment, the first preset time period being earlier than the current moment;
[0021] The determination module is used to determine the remaining power of the vehicle battery corresponding to the data to be detected at the current moment based on the mapping relationship between the data to be detected and the preset detection data and the remaining power.
[0022] In a third aspect, an electronic device is provided, comprising a memory for storing computer program instructions; and a processor for reading and running the computer program instructions stored in the memory to execute the data processing method provided in any optional implementation manner in the first aspect.
[0023] In a fourth aspect, a computer storage medium is provided, which stores computer program instructions, and when the computer program instructions are executed by a processor, the data processing method provided by any optional implementation method in the first aspect is implemented.
[0024] In a fifth aspect, a vehicle is provided, comprising at least one of the above-mentioned data processing device, electronic device and computer storage medium.
[0025] In an embodiment of the present application, the data to be detected can be obtained, and then based on the mapping relationship between the obtained data to be detected and the preset detection data and the remaining power, the remaining power of the vehicle-mounted battery corresponding to the data to be detected at the current moment can be determined. Since the data to be detected involved above may include vehicle data of a first preset time period and vehicle data at the current moment, and the first preset time period is earlier than the current moment, by obtaining the historical data and current data of the vehicle, not only the aging of the vehicle-mounted battery during the driving of the vehicle can be taken into account, but also the influence of the current driving condition of the vehicle on the remaining power in the vehicle battery can be taken into account, and then the remaining power of the vehicle's on-board battery can be accurately determined, thereby improving the user's driving experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0027] Figure 1 It is a schematic diagram of the training process of a remaining power detection model in a data processing method provided in an embodiment of the present application;
[0028] Figure 2 is a schematic diagram of a residual network provided in an embodiment of the present application;
[0029] Figure 3 It is a flowchart of a data processing method provided in an embodiment of the present application;
[0030] Figure 4 is a structural schematic diagram of a data processing device provided in an embodiment of the present application;
[0031] Figure 5 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0032] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.
[0033] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.
[0034] In summary, in order to solve the problem of low accuracy of the remaining power in the calculated vehicle battery in the prior art, the embodiments of the present application provide a data processing method, device, equipment, medium and vehicle. The method can obtain the data to be detected, and then determine the remaining power of the vehicle battery of the vehicle corresponding to the data to be detected at the current moment based on the mapping relationship between the acquired data to be detected and the preset detection data and the remaining power. Since the data to be detected involved above may include vehicle data of a first preset time period and vehicle data at the current moment, and the first preset time period is earlier than the current moment, by obtaining the historical data and current data of the vehicle, not only the aging of the vehicle battery during the driving of the vehicle can be taken into account, but also the impact of the current driving conditions of the vehicle on the remaining power in the vehicle battery can be taken into account, and then the remaining power of the vehicle battery can be accurately determined, thereby improving the user's driving experience.
[0035] The data processing method provided in the embodiment of the present application can be executed by a data processing device or a control module in the data processing device for executing the data processing method. In addition, it should be noted that the data processing device can be used in a vehicle. In the embodiment of the present application, the data processing method provided in the embodiment of the present application is explained by taking the data processing device executing the data processing method as an example.
[0036] In addition, it should be noted that the data processing method provided in the embodiment of the present application needs to use a pre-trained remaining power detection model to process the data to be detected. Therefore, before using the remaining power detection model for data processing, the remaining power detection model needs to be trained first. Therefore, the data processing method provided in the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments.
[0037] The present application embodiment provides a method for training a remaining power detection model, and the execution subject of the method may be a data processing device, such as Figure 1 As shown, the method can be implemented by the following steps:
[0038] S110, obtaining a training sample set.
[0039] The training sample set may include a plurality of data samples to be detected and a label remaining power corresponding to each data sample to be detected, wherein the label remaining power may be the remaining power of the vehicle's onboard battery at the first moment.
[0040] In order to obtain a more accurate training sample set and thus better train the remaining power detection model, in a specific embodiment, obtaining the training sample set may specifically include the following steps:
[0041] Step 1: Obtain multiple data samples to be detected.
[0042] In some embodiments, the data sample to be detected may include vehicle data within a second preset time period and vehicle data at a first moment. The second preset time period is earlier than the first moment. The second preset time period may be a time period pre-set based on actual experience or circumstances, for example, one day, one week, and the specific details are not limited here. The vehicle data within the second preset time period and the vehicle data at the first moment mentioned above may be relevant data for detecting the remaining power of the vehicle battery at the first moment.
[0043] Specifically, the data processing device can obtain multiple data samples to be detected, and each data sample to be detected can include vehicle data within a second preset time period and vehicle data at a first moment, so that a preset remaining power detection model can be trained based on the obtained multiple data samples to be detected.
[0044] Step 2: Mark the remaining power of the tags corresponding to the multiple data samples to be detected.
[0045] Specifically, the data processing device may directly mark the remaining power of the tag corresponding to each data sample to be detected, or may mark the remaining power of the tag of each data sample to be detected by manual marking. The specific marking method is not specifically limited here.
[0046] It should be noted that, in the process of labeling, multiple data samples to be tested can be used as test samples and training samples respectively. For example, 75% of the labeled sample data can be used as training samples, and 25% of the labeled sample data can be used as test samples. The specific distribution ratio of training samples and test samples is not specifically limited here.
[0047] It should also be noted that the remaining power detection model needs to be iterated multiple times to adjust its loss function value until the loss function value meets the training stop condition to obtain the trained remaining power detection model. However, in each iterative training, if only one data sample to be detected is input, the sample size is too small and is not conducive to the training adjustment of the remaining power detection model. Therefore, it is necessary to divide the training sample set into multiple data samples to be detected, so that the remaining power detection model can be iteratively processed using the data samples to be detected in the training sample set.
[0048] Thus, by labeling the acquired data samples to be detected, label detection results corresponding to the data samples to be detected can be obtained, and then a training sample set containing multiple data samples to be detected can be obtained, which facilitates the training of subsequent models.
[0049] S120, input the data sample to be detected into a preset remaining power detection model, and match the data sample to be detected based on the preset mapping relationship between the detection data sample and the reference remaining power through the preset remaining power model to determine the reference remaining power of the vehicle battery corresponding to the data sample to be detected at the first moment.
[0050] The preset remaining power detection model includes a mapping relationship between preset detection data samples and reference remaining power. The mapping relationship between the preset detection data samples and reference remaining power may be a relationship preset based on actual experience or circumstances.
[0051] Specifically, after obtaining the training sample set, the data processing device can input each data sample to be detected in the training sample set into a preset remaining power detection model. Since the preset remaining power detection model can include a mapping relationship between a preset detection data sample and a reference remaining power, based on this, the preset remaining power model is used to match the data sample to be detected based on the mapping relationship between the preset detection data sample and the reference remaining power, and the reference remaining variable of the vehicle's on-board battery corresponding to the data sample to be detected at the first moment is determined.
[0052] It should be noted that, in an embodiment of the present application, the above-mentioned preset remaining power detection model may include multiple residual networks, which can be abstracted as G(x), where G(x)=y, wherein y is the reference remaining power of the vehicle's on-board battery at the first moment, x is the data sample to be detected input into the preset remaining power detection model, and G(x) is the mapping relationship between the preset detection data sample and the reference remaining power.
[0053] Based on this, in order to describe in more detail the structure of the preset remaining power detection model provided in the embodiment of the present application, as shown in FIG. Figure 2As shown, the Weight layer is a fully connected layer, and the Activation function is an activation function. Figure 2 The dotted box in represents a residual network in an embodiment of the present application, and the residual network is composed of two fully connected layers and an activation function. Based on this, the preset remaining power detection model involved above may include multiple residual networks, and f(x) may be the output result of the previous residual network of the current residual network, wherein f(x) = ffn(relu(ffn(x))), ffn is a simple feedforward network, and the relu in the formula can represent the above activation function. It should also be noted that in addition to including multiple residual networks, the preset remaining power detection model also includes a linear output layer after the multiple residual networks, and finally outputs a reference remaining power.
[0054] It should be noted that the data sample to be detected can be input into the preset remaining power detection model in the form of a multi-dimensional vector, and each dimension of the vector represents a feature. Among them, some features are discrete data, which are labeled. Exemplarily, if the acquired data sample to be detected includes the driver's driving habits, the driver's driving habits can be divided into three gears: fierce, moderate, and mild, respectively represented by [0,1,2]; some features are continuous data and their scalar values can be used directly. Exemplarily, if the acquired data sample to be detected includes the current driving dimension, the current driving latitude can be a value of 0-90.
[0055] S130, determining a loss function value of a preset remaining power detection model according to a reference remaining power of the target data sample to be detected and a label remaining power of the target data sample to be detected.
[0056] The target data sample to be detected may be any one of the data samples to be detected.
[0057] Specifically, the data processing device can further accurately determine the loss function value of the preset remaining power detection model based on the reference remaining power of any one of the multiple data samples to be detected, and according to the reference remaining power and the label remaining power corresponding to the data sample to be detected, so as to facilitate the subsequent iterative training of the preset remaining power detection model based on the loss function value, and thus obtain a more accurate remaining power detection model.
[0058] S140, based on the loss function value of the preset remaining power detection model, using the data sample to be detected to train the preset remaining power detection model to obtain a trained remaining power detection model.
[0059] Specifically, in order to obtain a better remaining power detection model, when the loss function value does not meet the training stop condition, the model parameters of the preset remaining power detection model are adjusted, and the remaining power detection model with adjusted parameters is continued to be trained using the data samples to be detected until the loss function value meets the training stop condition, thereby obtaining the trained remaining power detection model.
[0060] It should be noted that the preset remaining power detection model mentioned above may also include a mapping relationship between a preset detection data sample and reference mileage data. Based on this, the preset remaining power detection model mentioned above may also match the input data sample to be detected based on the mapping relationship between the preset detection data sample and the reference mileage data, so as to obtain the reference mileage data of the vehicle at the first moment corresponding to the data sample to be detected. The training process of the preset remaining power detection model involved here is similar to the above training process, and will not be described in detail here.
[0061] It should also be noted that the vehicle data samples within the second preset time period may include vehicle model data samples, latitude and longitude range samples where the vehicle is traveling, temperature data samples within the latitude and longitude range where the vehicle is traveling, charge and discharge times samples, and driving behavior data samples; the vehicle data samples at the first moment may include at least one of vehicle speed samples, vehicle battery voltage value samples, and vehicle weight samples. The vehicle data samples and the specific data included in the vehicle data samples are not limited here.
[0062] In this embodiment, the data processing device can obtain a training sample set and input each data sample to be detected included in the training sample set into a preset remaining power detection model. Since the preset remaining power detection model may include a mapping relationship between a preset detection data sample and a reference remaining power, based on this, the preset remaining power detection model can be used to match the data sample to be detected based on the mapping relationship between the preset detection data sample and the reference remaining power, so as to obtain a reference remaining power corresponding to the data sample to be detected. Then, according to the reference remaining power of any one of the multiple data samples to be detected and the label remaining power corresponding to the data sample to be detected, the loss function value of the preset remaining power detection model can be determined. Then, based on the loss function value, the preset remaining power detection model can be trained and predicted using the data sample to be detected until the loss function value meets the training stop condition, so as to ensure that a more accurate remaining power detection model can be obtained.
[0063] Based on the remaining power detection model obtained through training in the above embodiment, the present application embodiment provides a specific implementation of a data processing method, specifically combined with Figure 3 Provide detailed explanation.
[0064] like Figure 3 As shown, the data processing method may include the following steps:
[0065] S310, obtaining data to be detected.
[0066] The data to be detected may include vehicle data within a first preset time period and vehicle data at the current moment, and the first preset time period is earlier than the current moment. The first preset time may be a time period pre-set based on actual experience or circumstances. For example, it may be one day or one week, which is not specifically limited here. The vehicle data involved above may be obtained respectively within the first preset time period and at the current moment, and is used to detect the relevant data of the remaining power of the vehicle battery at the current moment.
[0067] Specifically, the data processing device can obtain in real time the vehicle data within a first preset time period earlier than the current moment, as well as the vehicle data at the current moment, so as to subsequently determine the remaining power of the vehicle battery at the current moment based on the vehicle data within the first preset time period and the vehicle data at the current moment.
[0068] S320, based on the mapping relationship between the data to be detected and the preset detection data and the remaining power, determine the remaining power of the vehicle-mounted battery corresponding to the data to be detected at the current moment.
[0069] The preset mapping relationship between the detection data and the remaining power may be a preset mapping relationship based on actual experience or circumstances, and is not specifically limited here.
[0070] After acquiring the data to be detected, the data processing device can determine the remaining power of the vehicle battery corresponding to the data to be detected at the current moment based on the mapping relationship between the acquired data to be detected and the preset detection data and the remaining power.
[0071] In an embodiment of the present application, the data to be detected can be obtained, and then based on the mapping relationship between the obtained data to be detected and the preset detection data and the remaining power, the remaining power of the vehicle-mounted battery corresponding to the data to be detected at the current moment can be determined. Since the data to be detected involved above may include vehicle data of a first preset time period and vehicle data at the current moment, and the first preset time period is earlier than the current moment, by obtaining the historical data and current data of the vehicle, not only the aging of the vehicle-mounted battery during the driving of the vehicle can be taken into account, but also the influence of the current driving condition of the vehicle on the remaining power in the vehicle battery can be taken into account, and then the remaining power of the vehicle's on-board battery can be accurately determined, thereby improving the user's driving experience.
[0072] In order to more accurately describe the data processing method provided in the embodiment of the present application, in one embodiment, the above-mentioned S320 may specifically include the following steps:
[0073] The data to be detected is input into the remaining power detection model, which includes a mapping relationship between preset detection data and remaining power. The remaining power detection model is used to match the data to be detected based on the mapping relationship between preset detection data and remaining power to determine the remaining power of the on-board battery of the vehicle corresponding to the data to be detected at the current moment.
[0074] In this embodiment, the data processing device can input the acquired data to be detected into the remaining power detection model obtained through pre-training. Since the remaining power detection model can include a mapping relationship between the preset detection data and the remaining power, based on this, the remaining power detection model can match the data to be detected based on the mapping relationship between the preset detection data and the remaining power to obtain the remaining power of the vehicle's onboard battery at the current moment corresponding to the data to be detected. In this way, the remaining power of the vehicle's onboard battery at the current moment can be obtained more accurately through deep learning, thereby improving the user's driving experience.
[0075] In order to more comprehensively describe the data processing method provided in the embodiments of the present application, in one embodiment, the data processing method involved above may further include the following steps:
[0076] Based on the mapping relationship between the data to be detected and the preset detection data and the drivable mileage data, the drivable mileage data of the vehicle corresponding to the data to be detected at the current moment is determined.
[0077] The mapping relationship between the preset detection data and the drivable mileage data may be preset based on actual experience or circumstances, and is not excessively limited here.
[0078] Specifically, after acquiring the data to be detected, the data processing device can determine the drivable mileage data of the vehicle corresponding to the data to be detected at the current moment based on the acquired data to be detected and a mapping relationship between preset detection data and drivable mileage data.
[0079] In this embodiment, after acquiring the data to be detected, the data processing device can determine the drivable mileage data of the vehicle corresponding to the data to be detected at the current moment based on the acquired data to be detected and the mapping relationship between the preset detection data and the drivable mileage data. Since the data to be detected includes the vehicle data of the first preset time period and the vehicle data at the current moment, and the first preset time period is earlier than the current moment, in this way, the historical data and current data of the vehicle can be used to take into account not only the aging of the vehicle battery during the driving process of the vehicle, but also the current driving condition of the vehicle, and thus the drivable mileage of the vehicle at the current moment can be accurately determined, thereby improving the driving experience of the user.
[0080] Based on this, in one embodiment, the above-mentioned step of determining the drivable mileage data of the vehicle corresponding to the data to be detected at the current moment based on the mapping relationship between the data to be detected and the preset detection data and the drivable mileage data may include the following steps:
[0081] The data to be detected is input into the remaining power detection model. The remaining power detection model includes a mapping relationship between preset detection data and drivable mileage data. The remaining power detection model is used to match the data to be detected based on the mapping relationship between preset detection data and drivable mileage data to determine the drivable mileage of the vehicle corresponding to the data to be detected at the current moment.
[0082] In this embodiment, the data processing device can input the acquired data to be detected into the remaining power detection model obtained through pre-training. Since the remaining power detection model can include a mapping relationship between the preset detection data and the drivable mileage data, based on this, the remaining power detection model can match the data to be detected based on the mapping relationship between the preset detection data and the drivable mileage data to obtain the drivable mileage data of the vehicle's onboard battery at the current moment corresponding to the data to be detected. In this way, the drivable mileage data of the vehicle's onboard battery at the current moment can be obtained more accurately through deep learning, thereby improving the user's driving experience.
[0083] In some embodiments, the vehicle data within the first preset time period may include at least one of vehicle model data, the latitude and longitude range of the vehicle, temperature data within the latitude and longitude range of the vehicle, charge and discharge times, and driving behavior data;
[0084] The vehicle data at the current moment may include at least one of the vehicle's driving speed, the voltage value of the vehicle's battery, and the vehicle's weight.
[0085] The vehicle model data may be a specific model of the vehicle. The longitude and latitude range in which the vehicle travels may be the longitude and latitude range in which the vehicle travels within a first preset time period. The temperature data within the longitude and latitude range in which the vehicle travels may be a temperature average value or a temperature variance value within the longitude and latitude range. The number of charge and discharge times may include at least one of a fast charge number and a slow charge number.
[0086] It should be noted that the driving behavior data can be labeled as "gentle driving" or "aggressive driving". Based on this, it should be noted that the driving behavior data can be determined based on the number of times the user presses the accelerator pedal and / or the decelerator pedal within a first preset time period. For example, when the number of times the user presses the accelerator pedal and / or the decelerator pedal is greater than a preset number threshold, the driving behavior data is labeled as "aggressive driving", otherwise, the driving behavior data is labeled as "gentle driving". In addition, the driving behavior data can also be determined based on the acceleration of the vehicle within the first preset time period. For example, when the absolute value of the vehicle's acceleration is greater than a preset acceleration threshold, the driving behavior data is labeled as "aggressive driving", otherwise, the driving behavior data is labeled as "gentle driving". The specific method of determining the driving behavior data of the vehicle will not be described in detail here.
[0087] It should also be noted that the vehicle speed may be the actual speed at the current moment. In addition, the vehicle speed may also be a speed determined according to the vehicle driving mode. For example, the vehicle driving mode may include a cruise mode, a high-speed driving mode, or an urban driving mode. When the vehicle driving mode is the cruise mode, the vehicle speed is X. When the vehicle driving mode is the high-speed driving mode, the vehicle speed may be Y. The specific speed depends on the actual situation and is not limited here.
[0088] In this embodiment, since the vehicle data within the first preset time period may include vehicle model data, the latitude and longitude range of the vehicle, temperature data within the latitude and longitude range of the vehicle, the number of charge and discharge times, and at least one of the driving behavior data, the vehicle data at the current moment may include the vehicle speed, the voltage value of the vehicle battery, and at least one of the vehicle weight. Based on this, the aging of the vehicle battery during the driving of the vehicle can be taken into account, and the current driving conditions of the vehicle can also be taken into account. In this way, by obtaining a wide range of data, a more accurate remaining power of the vehicle's battery can be obtained, and the vehicle can then display a more accurate remaining power, thereby improving the user's driving experience.
[0089] In order to more clearly and completely describe the data processing method provided in the embodiment of the present application, in one embodiment, the data processing method involved above may further include the following steps:
[0090] Display the remaining power of the vehicle battery at the current moment, and / or the mileage data of the vehicle at the current moment.
[0091] Specifically, the data processing device can obtain the remaining power of the vehicle battery at the current moment, and / or the mileage data of the vehicle at the current moment by inputting the vehicle data within the first preset time period included in the acquired data to be detected and the vehicle data at the current moment into the remaining power detection model, and then display the remaining power of the vehicle battery at the current moment, and / or the mileage data of the vehicle at the current moment, so that the driver can intuitively view the relevant data.
[0092] In some embodiments, when the vehicle includes a display device, the data processing device may send the remaining power of the vehicle battery at the current moment, and / or the mileage data of the vehicle at the current moment to the display device of the vehicle, so that the display device of the vehicle can display the remaining power of the vehicle battery at the current moment, and / or the mileage data of the vehicle at the current moment. The display device may be a dashboard or the like for displaying the remaining power of the vehicle battery at the current moment, and / or the mileage data of the vehicle at the current moment.
[0093] In this embodiment, the data processing device can obtain the remaining power of the vehicle battery at the current moment, and / or the mileage data of the vehicle at the current moment, and then display the remaining power of the vehicle battery at the current moment, and / or the mileage data of the vehicle at the current moment, so that the driver can intuitively view the relevant data.
[0094] Based on the same inventive concept, the present application embodiment also provides a data processing device, which can be specifically combined with Figure 4 The data processing device provided in the embodiment of the present application is described in detail.
[0095] Figure 4 It is a structural diagram of a data processing device provided in an embodiment of the present application.
[0096] like Figure 4 As shown, the data processing device 400 may include: an acquisition module 410 and an input module 420 .
[0097] An acquisition module 410 is used to acquire data to be detected, where the data to be detected includes vehicle data within a first preset time period and vehicle data at a current moment, where the first preset time period is earlier than the current moment;
[0098] The determination module 420 is used to determine the remaining power of the vehicle battery corresponding to the data to be detected at the current moment based on the mapping relationship between the data to be detected and the preset detection data and the remaining power.
[0099] In one embodiment, the determination module mentioned above is specifically used for:
[0100] The data to be detected is input into the remaining power detection model, which includes a mapping relationship between preset detection data and remaining power. The remaining power detection model is used to match the data to be detected based on the mapping relationship between preset detection data and remaining power to determine the remaining power of the on-board battery of the vehicle corresponding to the data to be detected at the current moment.
[0101] In one embodiment, the determination module mentioned above is also used to determine the drivable mileage data of the vehicle corresponding to the data to be detected at the current moment based on the mapping relationship between the data to be detected and the preset detection data and the drivable mileage data.
[0102] In one embodiment, the vehicle data within the first preset time period includes at least one of vehicle model data, the latitude and longitude range in which the vehicle is traveling, temperature data within the latitude and longitude range in which the vehicle is traveling, charge and discharge times, and driving behavior data;
[0103] The vehicle data at the current moment includes at least one of the vehicle's running speed, the voltage value of the vehicle's battery, and the vehicle's weight.
[0104] In one embodiment, the above-mentioned data processing device may further include a display module.
[0105] The display module is used to display the remaining power of the vehicle battery at the current moment, and / or the mileage data of the vehicle at the current moment.
[0106] In one embodiment, the data processing device mentioned above may further include a training module. The training module is specifically used for:
[0107] Obtain a training sample set, the training sample set including a plurality of data samples to be detected and a remaining power of a label corresponding to each of the data samples to be detected;
[0108] Inputting the data sample to be detected into a preset remaining power detection model, the preset remaining power detection model includes a mapping relationship between the preset detection data sample and the reference remaining power, and matching the data sample to be detected based on the mapping relationship between the preset detection data sample and the reference remaining power through the preset remaining power model to determine the reference remaining power of the vehicle battery corresponding to the data sample to be detected at the first moment;
[0109] Determine a loss function value of a preset remaining power detection model according to a reference remaining power of a target data sample to be detected and a label remaining power of the target data sample to be detected, wherein the target data sample to be detected is any one of the data samples to be detected;
[0110] Based on the loss function value of the preset remaining power detection model, the preset remaining power detection model is trained using the data sample to be detected to obtain the trained remaining power detection model.
[0111] In an embodiment of the present application, the data to be detected can be obtained, and then based on the mapping relationship between the obtained data to be detected and the preset detection data and the remaining power, the remaining power of the vehicle-mounted battery corresponding to the data to be detected at the current moment can be determined. Since the data to be detected involved above may include vehicle data of a first preset time period and vehicle data at the current moment, and the first preset time period is earlier than the current moment, by obtaining the historical data and current data of the vehicle, not only the aging of the vehicle-mounted battery during the driving of the vehicle can be taken into account, but also the influence of the current driving condition of the vehicle on the remaining power in the vehicle battery can be taken into account, and then the remaining power of the vehicle's on-board battery can be accurately determined, thereby improving the user's driving experience.
[0112] Each module in the data processing device provided in the embodiment of the present application can be used to implement Figure 1 or Figure 3 The method steps of the illustrated embodiment can achieve the corresponding technical effects, and for the sake of brevity, they will not be repeated here.
[0113] Figure 5 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application is shown.
[0114] The electronic device may include a processor 501 and a memory 502 storing computer program instructions.
[0115] Specifically, the processor 501 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0116] The memory 502 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 702 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 502 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 502 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 502 is a non-volatile solid-state memory.
[0117] The memory may include read-only memory (ROM), random access memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical or other physical / tangible memory storage devices. Thus, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to an aspect of the present disclosure.
[0118] The processor 501 implements any one of the data processing methods in the above embodiments by reading and executing computer program instructions stored in the memory 502 .
[0119] In one example, the electronic device may further include a communication interface 503 and a bus 510. Figure 5 As shown, the processor 501, the memory 502, and the communication interface 503 are connected via a bus 510 and communicate with each other.
[0120] The communication interface 503 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0121] Bus 510 includes hardware, software or both, and the parts of online data flow billing equipment are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front-end bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 510 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the present application considers any suitable bus or interconnection.
[0122] In addition, in combination with the data processing method in the above embodiment, the embodiment of the present application can provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by the processor, the data processing method provided in the embodiment of the present application is implemented.
[0123] An embodiment of the present application also provides a computer program product. When instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes a data processing method as provided in the embodiment of the present application.
[0124] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
[0125] The functional blocks shown in the above block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0126] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0127] Aspects of the present disclosure are described above with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.
[0128] The above are only specific implementation methods of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.
[0129] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the term "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprising a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
Claims
1. A data processing method, characterized in that: The method comprises: Acquire data to be detected, the data to be detected comprising vehicle data within a first preset time period and vehicle data at a current moment, the first preset time period being earlier than the current moment; Based on the mapping relationship between the data to be detected and the preset detection data and the remaining power, the remaining power of the on-board battery of the vehicle corresponding to the data to be detected at the current moment is determined.
2. The method according to claim 1, characterized in that The determining, based on the mapping relationship between the data to be detected and the preset detection data and the remaining power, the remaining power of the vehicle-mounted battery corresponding to the data to be detected at the current moment includes: The data to be detected is input into a remaining power detection model, wherein the remaining power detection model includes a mapping relationship between preset detection data and remaining power. The data to be detected is matched based on the mapping relationship between preset detection data and remaining power by the remaining power detection model to determine the remaining power of the vehicle battery corresponding to the data to be detected at the current moment.
3. The method according to claim 1, characterized in that The method further comprises: Based on the mapping relationship between the data to be detected and the preset detection data and the drivable mileage data, the drivable mileage data of the vehicle corresponding to the data to be detected at the current moment is determined.
4. The method according to claim 1, characterized in that: The vehicle data within the first preset time period includes vehicle model data, the latitude and longitude range of the vehicle, temperature data within the latitude and longitude range of the vehicle, charge and discharge times, and at least one of driving behavior data; The vehicle data at the current moment includes at least one of the vehicle's running speed, the voltage value of the vehicle's battery, and the vehicle's weight.
5. The method according to claim 3, characterized in that: The method further comprises: Display the remaining power of the vehicle battery at the current moment, and / or the mileage data of the vehicle at the current moment.
6. The method according to claim 2, characterized in that The training method of the remaining power detection model includes: Acquire a training sample set, wherein the training sample set includes a plurality of data samples to be detected and a remaining power of a tag corresponding to each of the data samples to be detected; Inputting the data sample to be detected into a preset remaining power detection model, wherein the preset remaining power detection model includes a mapping relationship between a preset detection data sample and a reference remaining power, and matching the data sample to be detected based on the mapping relationship between the preset detection data sample and the reference remaining power through the preset remaining power model to determine a reference remaining power of the vehicle battery corresponding to the data sample to be detected at the first moment; Determine a loss function value of a preset remaining power detection model according to a reference remaining power of a target data sample to be detected and a label remaining power of the target data sample to be detected, wherein the target data sample to be detected is any one of the data samples to be detected; Based on the loss function value of the preset remaining power detection model, the preset remaining power detection model is trained using the data sample to be detected to obtain a trained remaining power detection model.
7. A data processing device, characterized in that: The device comprises: An acquisition module, used for acquiring data to be detected, wherein the data to be detected includes vehicle data within a first preset time period and vehicle data at a current moment, wherein the first preset time period is earlier than the current moment; The determination module is used to determine the remaining power of the vehicle battery corresponding to the data to be detected at the current moment based on the mapping relationship between the data to be detected and the preset detection data and the remaining power.
8. An electronic device, characterized in that: The apparatus comprises a processor and a memory storing computer program instructions; The processor reads and executes the computer program instructions to implement the data processing method according to any one of claims 1 to 6.
9. A computer storage medium, characterized in that The computer storage medium stores computer program instructions, and when the computer program instructions are executed by the processor, the data processing method according to any one of claims 1 to 6 is implemented.
10. A vehicle, characterized in that: Include at least one of the following: The data processing device according to claim 7; The electronic device as claimed in claim 8; The computer storage medium of claim 9.
