Vehicle data uploading storage control method and system, vehicle and device
By calculating the value score of vehicle data and dynamically controlling its upload and storage strategies, the problems of data redundancy and resource waste in existing technologies are solved, and efficient utilization of bandwidth and storage resources is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- ANHUI DEEPWAY TECHNOLOGY CO LTD
- Filing Date
- 2026-05-06
- Publication Date
- 2026-07-31
AI Technical Summary
Existing vehicle data upload control technologies fail to effectively manage local storage and lack storage coverage strategies, resulting in frequent writing of low-value data. Furthermore, the upload relies on a fixed blacklist/whitelist mechanism that cannot dynamically filter data, leading to the omission of critical data or redundant data occupying transmission resources.
By extracting data features from vehicle data and calculating value scores based on vehicle operating context, the data upload and storage strategies are dynamically controlled. This includes weighted calculation of value scores for switch and continuous quantity features, and determining the data upload and caching duration based on the scores.
It optimizes bandwidth and storage resource utilization, reduces data redundancy, extends the lifespan of local storage, and ensures timely uploading of critical data.
Smart Images

Figure CN122496524A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle data management technology, and in particular to a method, system, vehicle, and device for controlling the uploading and storage of vehicle data. Background Technology
[0002] As vehicles become increasingly intelligent, the number of sensors and controllers increases, leading to a continuous growth in vehicle data and a potential for data redundancy. Conventional data upload and storage methods often consume excessive network bandwidth and local storage resources, resulting in increased transmission costs and storage space constraints. Existing vehicle data upload control technologies, such as... Figure 2 As shown, a static blacklist / whitelist mechanism is used to filter the required data, which is then transmitted to the microprocessor unit (MPU) via an asynchronous transceiver transmitter (UART). The MPU encapsulates the data and uploads it to the vehicle-to-everything (TSP) service platform for subsequent analysis. However, the above solution has the following drawbacks: First, it does not effectively manage local storage and lacks a storage coverage strategy, resulting in low-value data being frequently written to local storage, thus shortening the lifespan of local storage. Second, the upload relies on a fixed blacklist / whitelist mechanism, which cannot dynamically filter the uploaded content based on the vehicle's operating status. This makes it difficult to adapt to different data types and changes in vehicle operating status, which can easily lead to the omission of critical data or redundant data occupying transmission resources. Summary of the Invention
[0003] In view of the above-mentioned defects or deficiencies in the prior art, the present invention provides a method, system, vehicle and device for controlling the upload and storage of vehicle data. It can calculate the value score of vehicle data through data characteristics and vehicle operating context, and control the upload decision and storage strategy of vehicle data according to the value score, thereby reducing data redundancy and optimizing bandwidth and storage resource utilization.
[0004] Firstly, a method for controlling the uploading and storage of vehicle data is provided, including: Extract data features from vehicle data, including switching quantity features and continuous quantity features; Based on the data characteristics and the vehicle operating context, a value score for the vehicle data is obtained; Based on the value score, determine whether the vehicle data has upload value; if so, control the upload of the vehicle data. Based on the value score, the caching duration of the vehicle data is determined, and the vehicle data is stored according to the caching duration.
[0005] In some examples, obtaining a value score for the vehicle data based on the data features and the vehicle's operating context includes: When the data feature is a switch quantity feature, the value score of the switch quantity feature is determined based on the changes in the data feature, the duration, and the degree of correlation with other operating states. When the data feature is a continuous feature, the value score of the continuous feature is determined according to the degree of deviation of the data feature from the preset normal range. The value score of the vehicle data is obtained by weighted calculation based on the value scores of the switching quantity features and the continuous quantity features, combined with the preset weights of the switching quantity features and the continuous quantity features.
[0006] In some examples, it also includes: When the data feature is a continuous feature and the deviation of the data feature from the preset normal interval is greater than zero, the value score of the associated data within the time window before and after the continuous feature is improved.
[0007] In some examples, determining whether the vehicle data has upload value based on the value score includes: When the value score is greater than the preset upload value threshold, the vehicle data is determined to have upload value. Otherwise, the vehicle data is deemed not valuable for uploading.
[0008] In some examples, determining the caching duration of the vehicle data based on the value score includes: If the value score is greater than the first cache value score, then the cache duration is the first cache duration; If the value score is between the first cache value score and the second cache value score, then the cache duration is the second cache duration, wherein the first cache duration is greater than the second cache duration, and the first cache value score is greater than the second cache value score; If the value score is less than the second cached value score, the vehicle data is discarded.
[0009] In some examples, it also includes: When the local cache is insufficient, vehicle data with high value scores are retained first, in descending order of value scores, while vehicle data with low value scores are overwritten.
[0010] In some examples, it also includes: Perform partial manual annotation on uploaded and / or cached vehicle data, and update the value score calculation parameters and upload cache control parameters based on the manual annotation results.
[0011] Secondly, a vehicle data upload and storage control system is provided, including: The extraction module is used to extract data features from vehicle data; The calculation module is used to obtain a value score for the vehicle data based on the data features and the vehicle operating context; The upload module is used to determine whether the vehicle data has upload value based on the value score; if so, it controls the upload of the vehicle data. The caching module is used to determine the caching duration of the vehicle data based on the value score, and to store the vehicle data according to the caching duration.
[0012] Thirdly, a vehicle is provided, including: a vehicle data upload and storage control system according to the second aspect described above.
[0013] Fourthly, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the steps of the vehicle data upload and storage control method described in the first aspect and any possible implementation of the first aspect.
[0014] The embodiments of this application first extract data features from vehicle data; then, based on the data features and the vehicle's operating context, a value score for the vehicle data is obtained; next, based on the value score, it is determined whether the vehicle data has upload value; if so, the upload of the vehicle data is controlled; finally, based on the value score, the caching duration of the vehicle data is determined, and the vehicle data is stored according to the caching duration. Therefore, the value score of vehicle data can be calculated through data features and the vehicle's operating context, and the upload decision and storage strategy of vehicle data can be controlled based on the value score, thereby reducing data redundancy and optimizing bandwidth and storage resource utilization. Attached Figure Description
[0015] Other features, objects, and advantages of this application will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings: Figure 1 A flowchart of the vehicle data upload and storage control method provided in the embodiments of this application; Figure 2 This is a schematic diagram of a vehicle data upload and storage control method in the prior art; Figure 3 A schematic diagram illustrating the execution of the vehicle data upload and storage control method provided in this application embodiment; Figure 4 A structural block diagram of the vehicle data upload and storage control system provided in the embodiments of this application; Figure 5 This is a structural block diagram of a computer device provided in an embodiment of this application. Detailed Implementation
[0016] The present application will now be described in further detail with reference to the embodiments and accompanying drawings. It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the application. Furthermore, it should be noted that, for ease of description, only the parts relevant to the application are shown in the accompanying drawings.
[0017] It should be noted that, unless otherwise specified, the embodiments and features of the embodiments in this application can be combined with each other. The present application will now be described in detail with reference to the accompanying drawings and embodiments.
[0018] Before describing the vehicle data upload and storage control method, system, vehicle, and device according to embodiments of this application, existing vehicle data upload and storage control technologies will first be introduced, such as... Figure 2 As shown, existing technologies rely solely on fixed blacklist and whitelist mechanisms to filter and upload vehicle data, failing to adjust the upload strategy based on data type and vehicle operating status changes; furthermore, the lack of a local storage management mechanism leads to frequent writes to local storage, resulting in a shortened lifespan.
[0019] The following describes in detail, with reference to the accompanying drawings, a method, system, vehicle, and device for controlling the uploading and storage of vehicle data according to embodiments of this application.
[0020] Figure 1 This is a flowchart of a vehicle data upload and storage control method according to an embodiment of this application. Figure 1 As shown, and in combination Figure 3 The vehicle data upload and storage control method according to the embodiments of this application includes the following steps: S101: Extract data features from vehicle data, the data features including switching quantity features and continuous quantity features.
[0021] The data features include switch characteristics and continuous characteristics. Switch characteristics refer to data features with only two or a limited number of states, such as door open / closed state, vehicle ignition state, and vehicle gear position. Continuous characteristics refer to data features that change continuously within a certain range of values, such as vehicle speed, tire pressure, battery temperature, battery current, and battery voltage.
[0022] S102: Based on the data characteristics and vehicle operating context, obtain the value score of the vehicle data.
[0023] In one embodiment of this application, obtaining a value score for the vehicle data based on the data features and the vehicle operating context includes: when the data feature is a switching quantity feature, determining a value score for the switching quantity feature based on the changes in the data feature, its duration, and its correlation with other operating states; when the data feature is a continuous quantity feature, determining a value score for the continuous quantity feature based on the deviation of the data feature from a preset normal range; and obtaining a value score for the vehicle data by weighting the switching quantity feature value score and the continuous quantity feature value score, combined with preset switching quantity feature weights and continuous quantity feature weights.
[0024] Among them, vehicle operating context refers to the operating status and environmental information of the vehicle when vehicle data is collected.
[0025] Specifically, when the data feature is a switch quantity feature, its value score is determined based on the following dimensions: Changes in vehicle data, specifically when the state of the switch characteristics changes, are valued higher than when the state remains unchanged. For example, data from when the vehicle is ignited or turned off is more valuable than data from when it is running stably or stationary. Duration: For some switching characteristics, the value score increases when the signal remains in a certain state for an extended period of time. For example, when the vehicle's turn signal is on for more than a preset time threshold, it indicates that the driver may have forgotten to turn it off or that the turn signal is malfunctioning, and the value score increases in this case. The degree of correlation with other operating states: When the state of a certain switch quantity feature does not match other operating states, its value score increases. For example, when the door is open while the vehicle is in motion, it indicates that there is a safety hazard, and the value score increases.
[0026] When the data features are continuous, their value score is determined based on the degree of deviation from a preset normal range. When the deviation is zero, meaning the data feature is within the preset normal range, the value score is low; the greater the deviation, the higher the value score. For example, for new energy vehicles, the normal range for their power battery voltage is set to 350V~420V. When the power battery voltage is within this range, it indicates that the vehicle is in normal working condition, and the corresponding vehicle data value score is low. When the voltage deviates from this range, it indicates possible battery overcharging, over-discharging, or system malfunction. In this case, the vehicle data value score is high, and the greater the deviation, the higher the value score, thus highlighting the abnormality of the data.
[0027] In one embodiment of this application, the method further includes: when the data feature is a continuous feature and the deviation of the data feature from a preset normal interval is greater than zero, increasing the value score of the associated data within the time window before and after the continuous feature.
[0028] For example, when the battery temperature exceeds the preset normal range, in addition to the data at that high temperature moment, the data within a certain period of time before the temperature rises is also used as related data to improve its value score. By analyzing the entire process of the temperature gradually rising from the preset normal range to the high temperature, a comprehensive basis can be provided for subsequent fault diagnosis.
[0029] After calculating the value scores for switch quantity features and continuous quantity features using the above method, a weighted calculation is performed based on the preset weights for switch quantity features and continuous quantity features to obtain the total value score. For example, if the preset weight for switch quantity features is 0.4 and the preset weight for continuous quantity features is 0.6, and the value score for a vehicle data to be uploaded is 0.3 for switch quantity features and 0.8 for continuous quantity features, then the value score for this vehicle data is 0.4 × 0.3 + 0.6 × 0.8 = 0.6.
[0030] S103: Based on the value score, determine whether the vehicle data has upload value; if so, control the upload of the vehicle data.
[0031] In one embodiment of this application, determining whether the vehicle data has upload value based on the value score includes: determining that the vehicle data has upload value when the value score is greater than a preset upload value threshold; otherwise, determining that the vehicle data does not have upload value.
[0032] In a specific example, setting the upload value threshold to 0.5 means that vehicle data with a value score greater than 0.5 is considered uploadable and uploaded to the cloud for analysis or storage, while vehicle data with a value score less than or equal to 0.5 is filtered out and not uploaded. This mechanism ensures that only high-value, critical vehicle data is uploaded, avoiding network congestion and resource waste caused by uploading massive amounts of routine data.
[0033] S104: Determine the caching duration of the vehicle data based on the value score, and store the vehicle data according to the caching duration.
[0034] In one embodiment of this application, determining the caching duration of the vehicle data based on the value score includes: if the value score is greater than a first cached value score, then the caching duration is a first caching duration; if the value score is between the first cached value score and a second cached value score, then the caching duration is a second caching duration, wherein the first caching duration is greater than the second caching duration, and the first cached value score is greater than the second cached value score; if the value score is less than the second cached value score, then the vehicle data is discarded.
[0035] The first cache duration, second cache duration, first value score, and second value score can be set according to actual needs. In a specific example, if the first cache duration is set to 1 week, the second cache duration to 3 days, the first cache value score to 0.7, and the second cache value score to 0.5, then the caching scheme for vehicle data is as follows: when the value score of vehicle data is greater than 0.7, the data is cached locally for one week; when the value score is between 0.5 and 0.7, the data is cached locally for 3 days; when the value score is less than 0.5, the data is discarded directly to avoid consuming storage resources.
[0036] In one embodiment of this application, the method further includes: when the local cache is insufficient, prioritizing the retention of vehicle data with high value scores in descending order of value scores, thus overwriting vehicle data with low value scores. This ensures that, with limited local storage resources, high-value data is retained first, while low-value data is promptly cleaned up.
[0037] In one embodiment of this application, the method further includes: performing partial manual annotation on uploaded and / or cached vehicle data, and updating the value scoring calculation parameters and upload cache control parameters based on the manual annotation results. This improves control efficiency and further reduces data redundancy.
[0038] According to the vehicle data upload and storage control method of this application, the data features of the vehicle data are first extracted; then, based on the data features and the vehicle's operating context, a value score for the vehicle data is obtained; next, based on the value score, it is determined whether the vehicle data has upload value; if so, the upload of the vehicle data is controlled; finally, based on the value score, the caching duration of the vehicle data is determined, and the vehicle data is stored according to the caching duration. Therefore, the value score of the vehicle data can be calculated through data features and the vehicle's operating context, and the upload decision and storage strategy of the vehicle data can be controlled based on the value score, thereby reducing data redundancy and optimizing bandwidth and storage resource utilization.
[0039] Figure 4 This is a structural block diagram of a vehicle data upload and storage control system according to an embodiment of this application. Figure 4 As shown, a vehicle data upload and storage control system according to an embodiment of this application includes: an extraction module 410, a calculation module 420, an upload module 430, and a cache module 440, wherein: Extraction module 410 is used to extract data features from vehicle data; The calculation module 420 is used to obtain a value score of the vehicle data based on the data features and the vehicle operating context. The upload module 430 is used to determine whether the vehicle data has upload value based on the value score; if so, it controls the upload of the vehicle data. The caching module 440 is used to determine the caching duration of the vehicle data based on the value score, and to store the vehicle data according to the caching duration.
[0040] According to the vehicle data upload and storage control system of this application embodiment, the data features of the vehicle data are first extracted; then, based on the data features and the vehicle operating context, a value score for the vehicle data is obtained; next, based on the value score, it is determined whether the vehicle data has upload value; if so, the upload of the vehicle data is controlled; finally, based on the value score, the caching duration of the vehicle data is determined, and the vehicle data is stored according to the caching duration. Thus, the value score of the vehicle data can be calculated through data features and the vehicle operating context, and the upload decision and storage strategy of the vehicle data can be controlled based on the value score, thereby reducing data redundancy and optimizing bandwidth and storage resource utilization.
[0041] Specific limitations regarding the vehicle data upload and storage control system can be found in the above description of the vehicle data upload and storage control method, and will not be repeated here. Each module of the aforementioned vehicle data upload and storage control system can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the computer device's memory in software form, so that the processor can call and execute the corresponding operations of each module.
[0042] Furthermore, a vehicle is provided, comprising: a vehicle data upload and storage control system according to any of the above embodiments. The vehicle first extracts data features from the vehicle data; then, based on the data features and the vehicle's operating context, it obtains a value score for the vehicle data; next, based on the value score, it determines whether the vehicle data has upload value; if so, it controls the upload of the vehicle data; finally, based on the value score, it determines the caching duration of the vehicle data and stores the vehicle data according to the caching duration. Thus, the value score of vehicle data can be calculated through data features and the vehicle's operating context, and the upload decision and storage strategy of vehicle data can be controlled based on the value score, thereby reducing data redundancy and optimizing bandwidth and storage resource utilization.
[0043] Furthermore, other components and functions of the vehicle according to the embodiments of this application are known to those skilled in the art and will not be described in detail here.
[0044] In one embodiment, a computer device is provided. Figure 5 This is a structural block diagram of the computer device provided in the embodiments of this application, with reference to... Figure 5The computer device includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the aforementioned embodiment of the vehicle data upload and storage control method. For example, it executes: extracting data features of vehicle data; Based on the data characteristics and the vehicle operating context, a value score for the vehicle data is obtained; Based on the value score, determine whether the vehicle data has upload value; if so, control the upload of the vehicle data. Based on the value score, the caching duration of the vehicle data is determined, and the vehicle data is stored according to the caching duration.
[0045] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the methods described above. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, or optical storage, etc. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc.
[0046] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0047] The above embodiments merely illustrate several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.
Claims
1. A method for controlling the uploading and storage of vehicle data, characterized in that, The method includes: Extract data features from vehicle data, including switching quantity features and continuous quantity features; Based on the data characteristics and the vehicle operating context, a value score for the vehicle data is obtained; Based on the value score, determine whether the vehicle data has upload value; if so, control the upload of the vehicle data. Based on the value score, the caching duration of the vehicle data is determined, and the vehicle data is stored according to the caching duration.
2. The method for controlling the uploading and storage of vehicle data according to claim 1, characterized in that, The process of obtaining a value score for the vehicle data based on the data features and the vehicle's operating context includes: When the data feature is a switch quantity feature, the value score of the switch quantity feature is determined based on the changes in the data feature, the duration, and the degree of correlation with other operating states. When the data feature is a continuous feature, the value score of the continuous feature is determined according to the degree of deviation of the data feature from the preset normal range. The value score of the vehicle data is obtained by weighted calculation based on the value scores of the switching quantity features and the continuous quantity features, combined with the preset weights of the switching quantity features and the continuous quantity features.
3. The method for controlling the uploading and storage of vehicle data according to claim 2, characterized in that, Also includes: When the data feature is a continuous feature and the deviation of the data feature from the preset normal interval is greater than zero, the value score of the associated data within the time window before and after the continuous feature is improved.
4. The method for controlling the uploading and storage of vehicle data according to claim 1, characterized in that, The step of determining whether the vehicle data has upload value based on the value score includes: When the value score is greater than the preset upload value threshold, the vehicle data is determined to have upload value. Otherwise, the vehicle data is deemed not valuable for uploading.
5. The method for controlling the uploading and storage of vehicle data according to claim 1, characterized in that, The step of determining the caching duration of the vehicle data based on the value score includes: If the value score is greater than the first cache value score, then the cache duration is the first cache duration; If the value score is between the first cache value score and the second cache value score, then the cache duration is the second cache duration, wherein the first cache duration is greater than the second cache duration, and the first cache value score is greater than the second cache value score; If the value score is less than the second cached value score, the vehicle data is discarded.
6. The method for controlling the uploading and storage of vehicle data according to claim 1, characterized in that, Also includes: When the local cache is insufficient, vehicle data with high value scores are retained first, in descending order of value scores, while vehicle data with low value scores are overwritten.
7. The method for controlling the uploading and storage of vehicle data according to any one of claims 1-6, characterized in that, Also includes: Perform partial manual annotation on uploaded and / or cached vehicle data, and update the value score calculation parameters and upload cache control parameters based on the manual annotation results.
8. A vehicle data upload and storage control system, characterized in that, The system includes: The extraction module is used to extract data features from vehicle data; The calculation module is used to obtain a value score for the vehicle data based on the data features and the vehicle operating context; The upload module is used to determine whether the vehicle data has upload value based on the value score; if so, it controls the upload of the vehicle data. The caching module is used to determine the caching duration of the vehicle data based on the value score, and to store the vehicle data according to the caching duration.
9. A vehicle, characterized in that, include: The vehicle data upload and storage control system according to claim 8.
10. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the vehicle data upload and storage control method according to any one of claims 1-7.