Vehicle signal processing method and device

By performing domain controller classification, JSON format conversion, and ZSTD compression on electric vehicle signals, combined with hot and cold data storage strategies, the storage cost and access efficiency problems caused by signal data redundancy in electric vehicles are solved, and efficient signal processing is achieved.

CN120658766APending Publication Date: 2025-09-16VOYAH AUTOMOBILE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510543075.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-28
Publication Date
2025-09-16

AI Technical Summary

Technical Problem

The wide variety of signal data in electric vehicles leads to long vehicle signal processing time and storage usage. Existing technologies have failed to effectively solve the cost and access efficiency problems caused by signal redundancy.

Method used

After collecting vehicle signals, they are classified based on the domain controller, and the signal set is converted into the target domain control signal using the JSON format and ZSTD compression strategy. The signals are then partitioned and stored according to the signal usage parameters, including a differentiated storage strategy for hot data and cold data.

Benefits of technology

This greatly saves storage costs while ensuring access efficiency. When the number of vehicles and signal types increase, the signal processing logic can be reused with minor changes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120658766A_ABST
    Figure CN120658766A_ABST
Patent Text Reader

Abstract

The invention discloses a vehicle signal processing method and device. A vehicle signal is collected; classifying the collected vehicle signals based on different domain controllers in the vehicle to obtain multiple groups of domain control signal sets; for any group of domain control signal sets, performing format compression processing on the group of domain control signal sets to obtain a target domain control signal; according to the signal use parameters corresponding to the domain controller, the target domain control signal corresponding to the domain controller is locally stored in a partitioned mode, and different partitions correspond to different storage times. Therefore, various types of vehicle signals are classified and stored according to the domain controllers, and all the vehicle signals of the same domain controller are stored in a partitioned manner by using one target domain control signal according to a unified format, so that the storage cost is greatly saved, and the access efficiency is ensured at the same time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of signal processing technology, and in particular to a vehicle signal processing method and device. Background Art

[0002] With the advancement of electric vehicle technology, vehicle signal data is becoming increasingly diverse and complex. For example, in a typical battery management system, there are as many as 30 or 40 different signals in the domain controller. These signals are uploaded simultaneously. If each signal is stored as a single record, the number of data entries would reach 30 or 40 at a time. Furthermore, information such as vehicle identification codes and acquisition times would be stored repeatedly 30 or 40 times. This results in significant signal processing time and storage requirements. Summary of the Invention

[0003] In view of the above problems, the present invention provides a vehicle signal processing method and device to solve the signal redundancy in the vehicle and the cost and access efficiency problems that may be caused.

[0004] According to a first aspect of the present invention, a vehicle signal processing method is provided, comprising:

[0005] Collect vehicle signals;

[0006] Based on different domain controllers in the vehicle, the collected vehicle signals are classified to obtain multiple groups of domain control signal sets, wherein each group of the domain control signal sets corresponds to one domain controller;

[0007] For any group of the domain control signal sets, performing format compression processing on the group of domain control signal sets to obtain a target domain control signal;

[0008] The target domain control signal corresponding to the domain controller is locally partitioned and stored according to the signal usage parameter corresponding to the domain controller, wherein different partitions have different storage times.

[0009] In an optional embodiment, the step of performing format compression processing on the set of domain control signals to obtain a target domain control signal includes:

[0010] Formatting the domain control signal set to obtain a target signal;

[0011] The target signal is compressed to obtain a compressed target domain control signal.

[0012] In an optional embodiment, the signal usage parameter includes a concentrated usage time, and the concentrated usage time is determined by an average of time spans during which all target domain control signals corresponding to the domain controller are read within a previous historical concentrated usage time;

[0013] The locally partitioning and storing the target domain control signal corresponding to the domain controller according to the signal usage parameter corresponding to the domain controller includes:

[0014] determining, according to the concentrated usage time corresponding to the domain controller, a first storage time corresponding to the target domain controller signal;

[0015] According to the first storage time, the target domain control signal is stored in a corresponding partition.

[0016] In an optional embodiment, the signal usage parameters include concentrated usage time and usage safety; the concentrated usage time is determined based on an average of time spans during which all target domain control signals corresponding to the domain controller are read within the previous historical concentrated usage time;

[0017] The locally partitioning and storing the target domain control signal corresponding to the domain controller according to the signal usage parameter corresponding to the domain controller includes:

[0018] According to the concentrated use time and the use safety level corresponding to the domain controller, a target storage time is determined to store the target domain controller signal in the corresponding partition.

[0019] In an optional embodiment, determining a target storage time based on the concentrated usage time and the usage safety level corresponding to the domain controller, so as to store the target domain controller signal in the corresponding partition, includes:

[0020] determining, according to the usage safety level, a second storage time corresponding to the target domain control signal;

[0021] determining, according to the concentrated usage time, a third storage time corresponding to the target domain control signal;

[0022] determining the target storage time according to the second storage time and the third storage time;

[0023] According to the target storage time, the target domain control signal is stored in a corresponding partition.

[0024] In an optional embodiment, determining the target storage time according to the second storage time and the third storage time includes:

[0025] A maximum value is selected from the second storage time and the third storage time as the target storage time.

[0026] In an optional embodiment, the method further includes:

[0027] When the storage time of the target domain control signal in the partition is greater than the storage time threshold, the target domain control signal is transferred to cloud storage.

[0028] According to a second aspect of the present invention, there is provided a vehicle signal processing device, comprising:

[0029] Acquisition module, used for collecting vehicle signals;

[0030] a classification module, configured to classify the collected vehicle signals based on different domain controllers in the vehicle to obtain a plurality of domain control signal sets, wherein each domain control signal set corresponds to a domain controller;

[0031] The processing module is configured to compress the format of any set of domain control signal sets to obtain a target domain control signal.

[0032] The partition storage module is used to locally partition and store the target domain control signal corresponding to the domain controller according to the signal usage parameters corresponding to the domain controller, wherein different partitions have different storage times.

[0033] According to a third aspect of the present invention, a controller is provided. The controller includes a memory, a processor, and a computer program stored in the memory and executable on the processor. The processor executes the aforementioned vehicle signal processing method.

[0034] According to a fourth aspect of the present invention, a vehicle is provided, comprising a vehicle body and a controller installed in the vehicle body, wherein the controller executes the aforementioned vehicle signal processing method.

[0035] The above one or more technical solutions in the embodiments of this specification have at least the following technical effects:

[0036] The embodiments of this specification provide a vehicle signal processing method and device, which collects vehicle signals; classifies the collected vehicle signals based on different domain controllers in the vehicle to obtain multiple groups of domain control signal sets; for any group of domain control signal sets, performs format compression processing on the group of domain control signal sets to obtain a target domain control signal; and locally partitions and stores the target domain control signal corresponding to the domain controller according to the signal usage parameters corresponding to the domain controller, wherein different partitions have different storage times. In this way, by classifying and saving a wide variety of vehicle signals according to domain controllers, all vehicle signals of the same domain controller are partitioned and stored using a target domain control signal in a unified format, which greatly saves storage costs while ensuring access efficiency. Moreover, when the number of vehicles and the types of vehicle signals increase dramatically, the vehicle signal processing logic can be reused with minor modifications.

[0037] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are specifically listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Various other advantages and benefits will become apparent to those skilled in the art upon reading the detailed description of the preferred embodiment below. The accompanying drawings are for illustration purposes only and are not to be considered as limiting the present invention. Throughout the drawings, the same reference figures denote the same components. In the drawings:

[0039] Figure 1 A flow chart of a vehicle signal processing method in an embodiment of the present invention is shown.

[0040] Figure 2 A block diagram of a vehicle signal processing device in an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0041] To make the objectives, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions of the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings herein can be arranged and designed in various different configurations.

[0042] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention as claimed, but rather merely represents selected embodiments of the present invention. All other embodiments derived by persons of ordinary skill in the art based on the embodiments of the present invention without creative effort are intended to fall within the scope of protection of the present invention.

[0043] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, it does not require further definition or explanation in subsequent drawings.

[0044] In the description of the present invention, it should also be noted that, unless otherwise expressly specified or limited, the terms "disposed," "installed," "connected," and "connected" should be understood in a broad sense. For example, they may refer to fixed connections, detachable connections, or integral connections; they may refer to mechanical connections or electrical connections; they may refer to direct connections or indirect connections through an intermediate medium; and they may refer to internal communication between two components. Those skilled in the art will understand the specific meanings of the above terms in the present invention based on the specific circumstances.

[0045] With the advancement of electric vehicle technology, vehicle signal data is becoming increasingly diverse and complex. For example, in a typical battery management system, there are as many as 30 or 40 different signals in the domain controller. These signals are uploaded simultaneously. If each signal is stored as a single record, the number of data entries would reach 30 or 40 at a time. Furthermore, information such as vehicle identification codes and acquisition times would be stored repeatedly 30 or 40 times. This results in significant signal processing time and storage requirements.

[0046] Based on the above situation, an embodiment of the present invention provides a vehicle signal processing method, which maximizes economic cost savings and improves access efficiency by converting all signals of the same domain controller into one signal data in JSON format, and then setting appropriate compression strategies and hot and cold separation storage strategies.

[0047] Specifically, the embodiment of the present invention provides a vehicle signal processing method, combining Figure 1 As shown in the flowchart, the vehicle signal processing method includes steps 101 to 104:

[0048] Step 101: Collect vehicle signals;

[0049] In this embodiment, the vehicle signal refers to a CAN signal transmitted in the vehicle, wherein the vehicle CAN signal is short for a Controller Area Network signal, which is a signal used for communication between different electronic control units in a vehicle electronic system.

[0050] Modern vehicles contain many different electronic control units (ECUs), such as the engine control unit, transmission control unit, anti-lock brake system control unit, and airbag control unit. These ECUs need to communicate with each other to coordinate various vehicle functions and operations. Vehicle CAN signals are key to enabling fast and accurate communication between these ECUs.

[0051] In this embodiment, the vehicle signal can be an engine speed signal, a gear position signal of a transmission, a pressure signal of a brake system, an inclination angle signal of a vehicle body, and working status signals of various electrical devices in the vehicle, etc., which are rich and complex.

[0052] It should be noted that the vehicle signal collected in step 101 refers to the vehicle signal collected in one collection period, for example, the collection period is 10 ms.

[0053] Step 102: Classifying the collected vehicle signals based on different domain controllers in the vehicle to obtain multiple groups of domain control signal sets, wherein each group of the domain control signal sets corresponds to one domain controller;

[0054] In this embodiment, the collected vehicle signals are carefully classified based on the different domain controllers in the vehicle. It should be noted that with the continuous improvement of vehicle intelligence and electrification, the number of electronic devices and sensors in vehicles has increased dramatically. Traditional decentralized electronic control unit architectures are unable to meet the requirements of efficient data processing and system collaboration, and most use domain controllers for control. The domain controller in the vehicle is a highly integrated electronic control unit.

[0055] There are many domain controllers on a vehicle, up to 40-50 or even more, such as the power battery domain controller, driving control domain controller, AC charging port domain controller, and battery domain controller.

[0056] This embodiment accurately divides the collected vehicle signals according to different domain controllers, thereby obtaining multiple domain control signal sets, wherein each domain control signal set corresponds to a domain controller.

[0057] For example, the domain control signal set associated with the battery management domain requires high precision and real-time performance. Even the slightest change in battery voltage, current, temperature, and other signals can significantly impact battery performance and safety, requiring extremely high measurement accuracy. Furthermore, these signals must be transmitted and processed in real time to promptly adjust battery charge and discharge strategies and ensure stable operation.

[0058] Another example is the domain control signal set associated with the vehicle's driving stability control domain. This type of signal has a wide dynamic range and strong correlation. Wheel speed signals change rapidly and over a wide range under different operating conditions, such as vehicle acceleration, deceleration, and cornering. Accurate capture is required for various speeds, from near-stationary to high-speed rotation. The steering angle signal is closely related to the wheel speed signal, and they work together to control the vehicle's driving trajectory. At high speeds, any deviation in any of these signals can lead to a decrease in vehicle handling performance and even pose a safety hazard.

[0059] Step 103: for any set of the domain control signal sets, perform format compression processing on the set of domain control signal sets to obtain a target domain control signal;

[0060] In this embodiment, after obtaining multiple domain control signal sets, each domain control signal set needs to be format converted and compressed. The specific steps may include:

[0061] Formatting the domain control signal set to obtain a target signal;

[0062] The target signal is compressed to obtain a compressed target domain control signal.

[0063] To facilitate understanding and implementation by those skilled in the art, this embodiment is described using any set of domain control signal sets as an example:

[0064] First, convert the domain control signal set to JSON (JavaScript Object Notation). JSON is a lightweight data exchange format with good readability and cross-platform compatibility, making it ideal for storing and transmitting vehicle signal data. Before conversion, the input domain control signal set must be formatted to ensure it can be converted to JSON. Typically, a domain control signal set is a list containing multiple vehicle signals or a dictionary consisting of vehicle signal names and corresponding values. If the input signal set is not a list or dictionary type, it cannot be directly converted to JSON. After confirming that the domain control signal set is formatted correctly, use the json.dumps() method to convert it to a JSON string. During this process, set the ensure_ascii=False parameter to ensure that non-ASCII characters (such as Chinese characters) are displayed correctly, and the indent=4 parameter ensures that the generated JSON string is readable, facilitating subsequent debugging and review.

[0065] Then, the ZSTD (Zstandard) compression strategy is executed. ZSTD is a fast and efficient data compression algorithm that can achieve a high compression ratio in a short time.

[0066] Currently, most car companies use GZIP (GNU Zip) or SNAPPY compression strategies for vehicle signals. After actual research, we compared ZSTD with other compression strategies, as shown in the following table:

[0067]

[0068] The above comparative analysis shows that the ZSTD compression strategy maintains a high compression ratio while offering advantages in compression and decompression speed and memory usage, making it particularly suitable for large-scale signal processing. In the foreseeable future, with the development of intelligent vehicles, the number of vehicle signals collected will increase.

[0069] This embodiment needs to select a suitable compression level when performing compression. The compression level is an important parameter that balances the compression speed and the compression ratio. Generally speaking, the compression level ranges from 1 to 22. The larger the number, the higher the compression ratio, but the corresponding compression speed will be slower. In practical applications, the appropriate compression level is usually selected based on specific needs and hardware performance. For example, the level 3 is selected here, which can achieve better compression effect while ensuring a certain compression speed. Use the zstd.compress() method to compress the previously generated JSON string. Before compression, the JSON string needs to be encoded into UTF-8 format because the ZSTD compression algorithm requires the input to be byte type data.

[0070] By following these steps, we can convert any set of domain control signal sets into JSON format and compress them using the ZSTD compression strategy, ultimately generating a target domain control signal. This target domain control signal not only retains all the information in the domain control signal set but also significantly reduces storage space, facilitating subsequent storage and transmission. Furthermore, an error correction mechanism is incorporated throughout the entire processing process to promptly detect and address any anomalies, ensuring program stability and reliability.

[0071] Step 104: Based on the signal usage parameters corresponding to the domain controller, the target domain control signal corresponding to the domain controller is stored locally in partitions, wherein different partitions have different storage times.

[0072] In an optional embodiment, the signal usage parameter includes a concentrated usage time. The concentrated usage time is determined by the average of the time spans during which all target domain controller signals corresponding to the domain controller were read during the previous historical concentrated usage time. Therefore, the concentrated usage time is dynamic.

[0073] Specifically, the step of locally partitioning and storing the target domain control signal corresponding to the domain controller according to the signal usage parameter corresponding to the domain controller may include:

[0074] determining, according to the concentrated usage time corresponding to the domain controller, a first storage time corresponding to the target domain controller signal;

[0075] According to the first storage time, the target domain control signal is stored in a corresponding partition.

[0076] It's easy to understand that the centralized usage time is updated. During each centralized usage time, the time span for reading all target domain controller signals corresponding to the domain controller is calculated. The average value is then calculated from each time span. This average value is multiplied by a certain factor to obtain the value used as the next centralized usage time. Accessing the target domain controller signal during the centralized usage time is considered hot data access, which is achieved through local access. Accessing the target domain controller signal outside of the centralized usage time is considered cold data access, which is achieved through cloud access.

[0077] For example, for a domain controller, its previous historical concentrated usage time is 200 hours. During these 200 hours, the average time span for reading signals from all target domain controllers corresponding to the domain controller is calculated to be 160 hours. Then, amplified by 1.2 times, the calculated value is 192 hours. After the previous historical concentrated usage time ends, the current concentrated usage time is 192 hours.

[0078] For the initial concentrated usage time (i.e., no historical concentrated usage time exists), this embodiment can use a preset value, which is based on actual experience. The calculated concentrated usage time may increase or decrease during subsequent driving, which is related to the driver's usage habits.

[0079] In this embodiment, the first storage time needs to be slightly longer than the concentrated use time. The longer the first storage time is, the more storage space is required.

[0080] The first storage time can serve as a storage time threshold. Once the target domain control signal has been stored in the corresponding partition for longer than the storage time threshold, the target domain control signal can be transferred to cloud storage. This ensures that frequently accessed hot data can be quickly accessed while allowing less frequently accessed cold data to be stored in less expensive cloud storage. This ensures data access efficiency while also reducing costs and increasing efficiency.

[0081] In another embodiment, signal usage parameters include concentrated usage time and usage safety. The concentrated usage time is determined by the average time span over which all target domain control signals corresponding to the domain controller were read during the previous concentrated usage time. Usage safety refers to the classification of vehicle signals into different usage safety levels based on driving safety and signal importance. The usage safety level is related to the storage time of the target domain control signal in the partition. A higher usage safety level indicates a longer storage time of the target domain control signal in the partition.

[0082] Specifically, the step of locally partitioning and storing the target domain control signal corresponding to the domain controller according to the signal usage parameter corresponding to the domain controller may include:

[0083] A target storage time is determined according to the concentrated use time and the use safety degree corresponding to the domain controller; and the target domain control signal is stored in the corresponding partition.

[0084] In this embodiment, the second storage time corresponding to the target domain control signal can be determined first based on the usage safety; then the third storage time corresponding to the target domain control signal can be determined based on the concentrated usage time; then the target storage time can be determined based on the second storage time and the third storage time; finally, the target domain control signal can be stored in the corresponding partition based on the target storage time.

[0085] It's easy to understand that the second storage time corresponds to the level of usage security, and the third storage time corresponds to the level of concentrated usage. The second storage time and the third storage time may be the same or different. For example, the target domain control signal of some domain controllers may be frequently accessed, but the corresponding level of usage security is low, resulting in the second storage time being longer than the third storage time. The target domain control signal of some domain controllers may be accessed less frequently and less frequently, but the corresponding level of usage security is high, resulting in the second storage time being shorter than the third storage time.

[0086] In this embodiment, the maximum value is selected from the second storage time and the third storage time as the target storage time. In this way, both the signal security requirement and the signal access efficiency can be taken into account.

[0087] In addition, it is worth mentioning that if the number of domain controllers in the vehicle changes (for example, the number of domain controllers in the vehicle increases), the vehicle signal processing method of this embodiment only needs to update the domain controllers and the vehicle signals corresponding to the domain controllers, and the signal processing logic of this embodiment can still be applied.

[0088] In summary, the embodiment of this specification provides a vehicle signal processing method, which collects vehicle signals; classifies the collected vehicle signals based on different domain controllers in the vehicle to obtain multiple groups of domain control signal sets; for any group of domain control signal sets, performs format compression processing on the group of domain control signal sets to obtain a target domain control signal; and partitions and stores the target domain control signal corresponding to the domain controller locally according to the signal usage parameters corresponding to the domain controller, wherein different partitions have different storage times. In this way, by classifying and saving a wide variety of vehicle signals according to domain controllers, all vehicle signals of the same domain controller are partitioned and stored in a unified format using a target domain control signal, which greatly saves storage costs while ensuring access efficiency. Moreover, when the number of vehicles and the types of vehicle signals increase dramatically, the vehicle signal processing logic can be reused with minor modifications.

[0089] Based on the same inventive concept, combined Figure 2 As shown, an embodiment of the present invention further provides a vehicle signal processing device, comprising:

[0090] Acquisition module, used for collecting vehicle signals;

[0091] a classification module, configured to classify the collected vehicle signals based on different domain controllers in the vehicle to obtain a plurality of domain control signal sets, wherein each domain control signal set corresponds to a domain controller;

[0092] The processing module is configured to compress the format of any set of domain control signal sets to obtain a target domain control signal.

[0093] The partition storage module is used to locally partition and store the target domain control signal corresponding to the domain controller according to the signal usage parameters corresponding to the domain controller, wherein different partitions have corresponding storage times.

[0094] Optionally, the processing module is further configured to:

[0095] Formatting the domain control signal set to obtain a target signal;

[0096] The target signal is compressed to obtain a compressed target domain control signal.

[0097] Optionally, the signal usage parameter includes concentrated usage time; the concentrated usage time is determined by the average of time spans during which all target domain control signals corresponding to the domain controller are read during the previous historical concentrated usage time;

[0098] The partition storage module is also used to:

[0099] determining, according to the concentrated usage time corresponding to the domain controller, a first storage time corresponding to the target domain controller signal;

[0100] According to the first storage time, the target domain control signal is stored in a corresponding partition.

[0101] Optionally, the signal usage parameters include concentrated usage time and usage safety; the concentrated usage time is determined by the average of the time spans during which all target domain control signals corresponding to the domain controller are read during the previous historical concentrated usage time;

[0102] The partition storage module is also used to:

[0103] According to the concentrated use time and the use safety level corresponding to the domain controller, a target storage time is determined to store the target domain controller signal in the corresponding partition.

[0104] Optionally, the partition storage module is further used to:

[0105] determining, according to the usage safety level, a second storage time corresponding to the target domain control signal;

[0106] determining, according to the concentrated usage time, a third storage time corresponding to the target domain control signal;

[0107] determining the target storage time according to the second storage time and the third storage time;

[0108] According to the target storage time, the target domain control signal is stored in a corresponding partition.

[0109] Optionally, the partition storage module is further used to:

[0110] A maximum value is selected from the second storage time and the third storage time as the target storage time.

[0111] Optionally, the partition storage module is further used to:

[0112] After the storage time of the target domain control signal in the partition is greater than a storage time threshold, the target domain control signal is transferred to cloud storage, wherein the storage time threshold is determined by a signal usage parameter of the target domain control signal.

[0113] In summary, the embodiment of this specification provides a vehicle signal processing device, which collects vehicle signals; classifies the collected vehicle signals based on different domain controllers in the vehicle to obtain multiple groups of domain control signal sets; for any group of domain control signal sets, performs format compression processing on the group of domain control signal sets to obtain a target domain control signal; and partitions and stores the target domain control signal corresponding to the domain controller locally according to the signal usage parameters corresponding to the domain controller, wherein different partitions have different storage times. In this way, by classifying and saving a wide variety of vehicle signals according to domain controllers, all vehicle signals of the same domain controller are partitioned and stored in a unified format using one target domain control signal, which greatly saves storage costs while ensuring access efficiency. Moreover, when the number of vehicles and the types of vehicle signals increase dramatically, the vehicle signal processing logic can be reused with minor modifications.

[0114] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working process of the vehicle signal processing device described above can refer to the corresponding process in the aforementioned method, and will not be elaborated here.

[0115] Based on the same inventive concept, an embodiment of the present invention also provides a controller, which includes a vehicle signal processing device, a memory, a processor and a communication unit. The memory stores machine-readable instructions executable by the processor. When the controller is running, the processor and the memory communicate through a bus, the processor executes the machine-readable instructions, and executes the vehicle signal processing method.

[0116] The memory, processor, and communication unit components are electrically connected to each other, directly or indirectly, to enable signal transmission or interaction. For example, these components may be electrically connected to each other via one or more communication buses or signal lines. The vehicle signal processing device includes at least one software function module that can be stored in the memory in the form of software or firmware. The processor is configured to execute the executable module stored in the memory (e.g., the software function module or computer program included in the vehicle signal processing device).

[0117] Among them, the memory can be, but is not limited to, random access memory (RAM), read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), etc.

[0118] In some embodiments, the processor is used to perform one or more functions described in this embodiment. In some embodiments, the processor may include one or more processing cores (eg, a single-core processor (S) or a multi-core processor (S)).

[0119] In this embodiment, the memory is used to store the program, and the processor is used to execute the program after receiving the execution instruction. The process definition method disclosed in any implementation of this embodiment can be applied to the processor or implemented by the processor.

[0120] The communication unit is used to establish a communication connection between the controller and other devices through the network, and to send and receive data through the network.

[0121] In summary, the controller provided in the embodiment of this specification collects vehicle signals; based on the different domain controllers in the vehicle, the collected vehicle signals are classified to obtain multiple groups of domain control signal sets; for any group of the domain control signal sets, the group of domain control signal sets is format compressed to obtain a target domain control signal; according to the signal usage parameters corresponding to the domain controller, the target domain control signal corresponding to the domain controller is partitioned and stored locally, wherein different partitions have different storage times. In this way, by classifying and saving a wide variety of vehicle signals according to domain controllers, all vehicle signals of the same domain controller are partitioned and stored in a unified format with one target domain control signal, which greatly saves storage costs while ensuring access efficiency. Moreover, when the number of vehicles and the types of vehicle signals increase dramatically, the vehicle signal processing logic can be reused with minor changes.

[0122] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working process of the controller described above can refer to the corresponding process in the aforementioned method, and will not be elaborated here.

[0123] Based on the same inventive concept, an embodiment of the present invention further provides a vehicle, comprising a vehicle body and a controller installed in the vehicle body, wherein the controller is configured to implement the aforementioned vehicle signal processing method.

[0124] Among them, the vehicle can be a new energy vehicle.

[0125] In summary, the embodiment of this specification provides a vehicle, in which the controller in the vehicle collects vehicle signals when executing a vehicle signal processing method; based on different domain controllers in the vehicle, the collected vehicle signals are classified to obtain multiple groups of domain control signal sets; for any group of the domain control signal sets, the group of domain control signal sets is format compressed to obtain a target domain control signal; according to the signal usage parameters corresponding to the domain controller, the target domain control signal corresponding to the domain controller is partitioned and stored locally, wherein different partitions have different storage times. In this way, by classifying and saving a wide variety of vehicle signals according to domain controllers, all vehicle signals of the same domain controller are partitioned and stored in a unified format using a target domain control signal, which greatly saves storage costs while ensuring access efficiency. Moreover, when the number of vehicles and the types of vehicle signals increase dramatically, the vehicle signal processing logic can be reused with minor changes.

[0126] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working process of the vehicle controller described above can refer to the corresponding process in the aforementioned method and will not be elaborated here.

[0127] The above are merely various embodiments of the present invention, but the scope of protection of the present invention is not limited thereto. Any modifications or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present invention should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.

Claims

1. A vehicle signal processing method, characterized in that: include: Collect vehicle signals; Based on different domain controllers in the vehicle, the collected vehicle signals are classified to obtain multiple groups of domain control signal sets, wherein each group of the domain control signal sets corresponds to one domain controller; For any group of the domain control signal sets, performing format compression processing on the group of domain control signal sets to obtain a target domain control signal; The target domain control signal corresponding to the domain controller is locally partitioned and stored according to the signal usage parameter corresponding to the domain controller, wherein different partitions have different storage times.

2. The method according to claim 1, characterized in that The process of performing format compression processing on the set of domain control signals to obtain a target domain control signal includes: Formatting the domain control signal set to obtain a target signal; The target signal is compressed to obtain a compressed target domain control signal.

3. The method according to claim 1, characterized in that The signal usage parameter includes a concentrated usage time, which is determined by an average of time spans during which all target domain control signals corresponding to the domain controller are read during a previous historical concentrated usage time. The locally partitioning and storing the target domain control signal corresponding to the domain controller according to the signal usage parameter corresponding to the domain controller includes: determining, according to the concentrated usage time corresponding to the domain controller, a first storage time corresponding to the target domain controller signal; According to the first storage time, the target domain control signal is stored in a corresponding partition.

4. The method according to claim 1, wherein The signal usage parameters include concentrated usage time and usage safety; the concentrated usage time is determined based on the average time span of all target domain control signals corresponding to the domain controller being read during the previous historical concentrated usage time; The locally partitioning and storing the target domain control signal corresponding to the domain controller according to the signal usage parameter corresponding to the domain controller includes: According to the concentrated use time and the use safety level corresponding to the domain controller, a target storage time is determined to store the target domain controller signal in the corresponding partition.

5. The method according to claim 4, characterized in that The determining, based on the concentrated usage time and the usage safety level corresponding to the domain controller, a target storage time for storing the target domain controller signal in a corresponding partition includes: determining, according to the usage safety level, a second storage time corresponding to the target domain control signal; determining, according to the concentrated usage time, a third storage time corresponding to the target domain control signal; determining the target storage time according to the second storage time and the third storage time; According to the target storage time, the target domain control signal is stored in a corresponding partition.

6. The method according to claim 5, characterized in that The determining the target storage time according to the second storage time and the third storage time includes: A maximum value is selected from the second storage time and the third storage time as the target storage time.

7. The method according to claim 1, characterized in that The method further comprises: When the storage time of the target domain control signal in the partition is greater than the storage time threshold, the target domain control signal is transferred to cloud storage.

8. A vehicle signal processing device, characterized in that: include: Acquisition module, used for collecting vehicle signals; a classification module, configured to classify the collected vehicle signals based on different domain controllers in the vehicle to obtain a plurality of domain control signal sets, wherein each domain control signal set corresponds to a domain controller; The processing module is configured to compress the format of any set of domain control signal sets to obtain a target domain control signal. The partition storage module is used to locally partition and store the target domain control signal corresponding to the domain controller according to the signal usage parameters corresponding to the domain controller, wherein different partitions have different storage times.

9. A controller, characterized in that: The controller includes: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the vehicle signal processing method according to any one of claims 1 to 7 is implemented.

10. A vehicle, characterized in that: The vehicle includes a vehicle body and a controller installed in the vehicle body, wherein the controller executes the vehicle signal processing method according to any one of claims 1 to 7.