Information acquisition method, apparatus, device, medium, and product

By generating an encoding dictionary from training samples and using LSTM to extract the timing correlation of CAN signals, the problem of low accuracy in mapping CAN signals to high-level semantic actions is solved, achieving high-accuracy multi-vehicle adaptation and low-cost maintenance.

CN123140033APending Publication Date: 2026-11-20ZHEJIANG GEELY HLDG GRP CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611284206.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-24
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

In existing technologies, the mapping between CAN signals and high-level semantic actions relies on manually preset rules, resulting in low mapping accuracy, inability to adapt to complex and ever-changing actual road conditions, limited rule coverage, poor adaptability, incompatibility with different vehicle models, high maintenance costs, and failure to consider the timing correlation of CAN signals, leading to low mapping accuracy.

Method used

By acquiring multiple training samples, the temporal correlation of CAN signal time sequences is extracted using a bidirectional long short-term memory network (LSTM) to generate a target model, determine the encoding dictionary, and record the mapping relationship between CAN signals and semantic classification, thereby achieving accurate mapping of high-level semantic actions.

Benefits of technology

It improves the mapping accuracy between CAN signals and high-level semantic actions, reduces rule maintenance costs, supports multiple vehicle models, shortens the adaptation cycle for new vehicle models, covers a wider range of scenarios, and requires no manual intervention.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123140033A_ABST
    Figure CN123140033A_ABST
Patent Text Reader

Abstract

The application discloses an information acquisition method and device, equipment, medium and product, including: acquiring a plurality of training samples, each training sample including a CAN signal time sequence and a semantic classification corresponding to the CAN signal time sequence, the CAN signal time sequence including a time sequence of N target signals; in the process of training a base model by using the plurality of training samples, updating a weight matrix of the base model to obtain a target model; determining coding information corresponding to each semantic classification according to the weight matrix of the target model, the coding information including a semantic classification, an associated signal corresponding to the semantic classification, and a value range of the associated signal, the associated signal corresponding to the semantic classification being a target signal associated with the semantic classification in the N target signals; and recording the coding information corresponding to each semantic classification into a coding dictionary, which is conducive to improving the mapping accuracy between the CAN signal and the high-level semantic action.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of computer technology, and in particular relates to an information acquisition method, apparatus, device, medium and product. Background Technology

[0002] With the deep integration of autonomous driving and smart cockpit technologies, vehicle control systems are evolving towards multi-module collaboration and full-domain motion orchestration. Effective connection between underlying vehicle operation data and upper-level semantic decision-making has become a core technological bottleneck. In the current intelligent driving architecture, the Controller Area Network (CAN) bus, as the core carrier of data transmission within the vehicle, undertakes the task of transmitting raw data from underlying sensors (such as steering angle sensors, vehicle speed sensors, and brake pressure sensors) and actuators (such as motors, brake calipers, and steering gears).

[0003] Against this technological backdrop, achieving effective mapping between CAN bus signals and high-level semantic actions has become a core prerequisite for ensuring a closed-loop "perception-decision-execution" chain in autonomous driving systems. In related technologies, the mapping between CAN signals and high-level semantic actions relies on manually preset rules, resulting in low mapping accuracy. Summary of the Invention

[0004] This application provides an information acquisition method, apparatus, device, medium, and product that can solve the problem of low mapping accuracy between CAN signals and high-level semantic actions.

[0005] In a first aspect, embodiments of this application provide an information acquisition method, the method comprising: Multiple training samples are obtained. Each training sample includes a CAN signal timing sequence and a semantic classification corresponding to the CAN signal timing sequence. The CAN signal timing sequence includes the timing sequences of N target signals, where N is a positive integer greater than 1. Each semantic classification corresponds to a high-level semantic action. During the training of the base model using multiple training samples, the weight matrix of the base model is updated to obtain the target model. The weight matrix of the base model is used to indicate the contribution weight of each target signal to each semantic classification. Based on the weight matrix of the target model, the encoding information corresponding to each semantic category is determined. The encoding information includes the semantic category, the associated signal corresponding to the semantic category, and the value range of the associated signal. The associated signal corresponding to the semantic category is the target signal associated with the semantic category among N target signals. The encoding information corresponding to each semantic category is recorded in the encoding dictionary.

[0006] Secondly, embodiments of this application provide an information acquisition device, the device comprising: The acquisition module is used to acquire multiple training samples. Each training sample includes a CAN signal timing sequence and a semantic classification corresponding to the CAN signal timing sequence. The CAN signal timing sequence includes timing sequences of N target signals, where N is a positive integer greater than 1. Each semantic classification corresponds to a high-level semantic action. The training module is used to update the weight matrix of the base model during the training of the base model using multiple training samples to obtain the target model. The weight matrix of the base model is used to indicate the contribution weight of each target signal to each semantic classification. The determining module is used to determine the encoding information corresponding to each semantic category based on the weight matrix of the target model. The encoding information includes the semantic category, the associated signal corresponding to the semantic category, and the value range of the associated signal. The associated signal corresponding to the semantic category is the target signal associated with the semantic category among N target signals. The recording module is used to record the encoding information corresponding to each semantic category into the encoding dictionary.

[0007] Thirdly, embodiments of this application provide an electronic device, including: a processor and a memory storing computer program instructions; the processor executes the computer program instructions to implement the information acquisition method as described in the first aspect.

[0008] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer program instructions, which, when executed by a processor, implement the information acquisition method as described in the first aspect.

[0009] Fifthly, embodiments of this application provide a computer program product, wherein instructions in the computer program product, when executed by a processor of an electronic device, cause the electronic device to perform the information acquisition method as described in the first aspect.

[0010] In this embodiment, an encoding dictionary can be generated based on a target model. Since the encoding dictionary is obtained based on the target model, and the timing correlation of CAN signals is considered during the training process of the target model, the mapping accuracy between CAN signals (including associated signals and the value range of associated signals) and semantic classifications in the encoding dictionary can be higher. Each semantic classification corresponds to a high-level semantic action, which means that the mapping accuracy between CAN signals and high-level semantic actions will also be higher. Furthermore, since no manual intervention is required, the efficiency of obtaining the encoding dictionary is greatly improved, and the scenarios covered by the encoding dictionary are also more abundant. Attached Figure Description

[0011] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0012] Figure 1 This is a flowchart illustrating the information acquisition method provided in an embodiment of this application; Figure 2a This is a schematic diagram of the structure of the basic module provided in the embodiments of this application; Figure 2b This is a schematic diagram of the structure of the information acquisition system provided in the embodiments of this application; Figure 3 This is a schematic diagram of the structure of the information acquisition device provided in the embodiments of this application; Figure 4 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation

[0013] The features and exemplary embodiments of various aspects of this application will be described in detail below. To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain this application and not to limit it. For those skilled in the art, this application can be implemented without some of these specific details. The following description of the embodiments is merely to provide a better understanding of this application by illustrating examples.

[0014] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes said element.

[0015] In all specific embodiments of this application, when processing data related to user identity or characteristics, such as user information, user behavior data, user historical data, and user location information, user permission or consent is obtained first. Furthermore, the collection, use, and processing of this data comply with relevant laws, regulations, and standards. Additionally, when embodiments of this application require access to sensitive personal information, separate permission or consent from the user is obtained through pop-ups or redirects to confirmation pages. Only after obtaining the user's separate permission or consent is the necessary user-related data required for the proper functioning of these embodiments obtained.

[0016] With the deep integration of autonomous driving and smart cockpit technologies, vehicle control systems are developing towards multi-module collaboration and full-domain motion orchestration. Effective connection between underlying vehicle operation data and upper-level semantic decision-making has become a core technological bottleneck. In the current intelligent driving architecture, the CAN bus, as the core carrier of data transmission within the vehicle, undertakes the task of transmitting raw data from underlying sensors (such as steering angle sensors, vehicle speed sensors, and brake pressure sensors) and actuators (such as motors, brake calipers, and steering gears).

[0017] These raw signals are characterized by significant numericality, low dimensionality, and singular physical meaning. For example, steering angle signals can only reflect the mechanical angular position of the steering mechanism, and braking pressure signals can only characterize the hydraulic / pneumatic pressure intensity of the braking system. They cannot directly reflect the action intentions corresponding to high-level decision-making objectives such as "safety," "comfort," and "efficiency." At the same time, the input requirements of upper-level decision-making systems (such as world action models, multimodal understanding models, and action decision modules) have been upgraded from single numerical signals to action descriptions with clear semantics, such as high-level semantic action instructions like "slight deceleration on urban roads," "smooth lane change on highways," and "moderate acceleration on slopes."

[0018] This "semantic gap" between underlying numerical signals and upper-level semantic requirements has become a key obstacle restricting the decision-making accuracy and robustness of intelligent driving systems. In recent years, the industry has paid increasing attention to this issue, and related technological explorations have continued to advance, especially in the mass production projects of intelligent driving for commercial vehicles and passenger vehicles, where the need for mapping CAN signals to semantic actions is becoming increasingly urgent.

[0019] Against this technological backdrop, achieving effective mapping between CAN bus signals and high-level semantic actions becomes a core prerequisite for ensuring a closed-loop "perception-decision-execution" chain in autonomous driving systems. If there are deviations or delays in this mapping process, it will directly lead to a disconnect between upper-level decision-making and lower-level execution. For example, if the upper-level decision outputs an "emergency braking" semantic command, but the mapping between the lower-level CAN signals and the semantics is inaccurate, the braking force may be insufficient or excessive, causing safety risks. Conversely, if the lower-level CAN signals cannot be accurately semanticized, the upper-level decision-making module will also be unable to accurately determine the vehicle's current operating status, affecting the rationality and timeliness of the decision.

[0020] In related technologies, the mapping between CAN signals and semantic actions relies on manually preset rules. These rules can only cover a few typical driving scenarios and cannot cope with complex and ever-changing actual road conditions. For example, the same braking pressure ≥60% may correspond to "moderate braking" on a dry road surface, but "emergency braking" on a wet road surface.

[0021] Limited by the core framework of manually generated rules, the following inherent flaws exist that cannot be overcome: 1. Limited rule coverage and poor adaptability. Manually preset rules can only cover a few typical driving scenarios and cannot cope with complex and ever-changing real-world road conditions. For example, the same braking pressure of ≥60% may correspond to "moderate braking" on a dry road surface and "emergency braking" on a wet road surface, but current technology cannot dynamically adapt to such scenario differences. At the same time, the CAN signal characteristics of different vehicle models are different (such as different acceleration signal thresholds for different powertrains), which means that a set of rules cannot be adapted to multiple vehicle models, resulting in extremely poor compatibility.

[0022] 2. The timing correlation of CAN signals is not considered, resulting in low mapping accuracy. Existing technologies only perform rule matching based on the CAN signal values ​​at a single moment, ignoring the temporal change trend of the signals. For example, "uniform speed driving" requires the stability of vehicle speed and motor speed over a period of time, rather than the values ​​at a single moment. Judging by only a fixed threshold is prone to semantic misjudgment (such as misjudging a brief period of stable vehicle speed as "uniform speed driving").

[0023] 3. High rule maintenance costs and lack of continuous optimization. As driving scenarios become increasingly diverse, technicians need to continuously add and modify rules manually, leading to exponential growth in maintenance costs with the number of vehicle models and scenarios. Furthermore, once rules are preset, they cannot be dynamically optimized based on actual driving data and user feedback, making it difficult to adapt to the performance improvement needs throughout the vehicle's lifecycle.

[0024] To address the aforementioned problems, embodiments of this application provide an information acquisition method that can determine an encoding dictionary based on a trained target model, thereby determining the mapping relationship between CAN signals and semantic classifications based on the encoding dictionary. The information acquisition method provided by embodiments of this application is described below.

[0025] Figure 1 A flowchart illustrating an embodiment of the information acquisition method provided in this application is shown. Figure 1 As shown, the information acquisition method provided in this application embodiment is applied to an electronic device and includes the following steps 101-104, wherein: Step 101: Obtain multiple training samples. Each training sample includes a CAN signal timing sequence and a semantic classification corresponding to the CAN signal timing sequence. The CAN signal timing sequence includes timing sequences of N target signals, where N is a positive integer greater than 1. CAN signals refer to signals transmitted on the CAN bus.

[0026] For example, the N target signals can be multiple of the following: steering angle, steering torque, motor speed, vehicle speed, braking pressure, throttle opening, and gear position signal, without limitation.

[0027] The system collects signals from the underlying sensors and actuators transmitted via the vehicle's CAN bus, and performs the following preprocessing on the collected signals: Outlier removal: Based on the 3σ criterion (i.e., removing data that deviates from the mean by more than 3 times the standard deviation), outlier data caused by sensor malfunctions and transmission interference is removed; Missing value completion: A time-series interpolation algorithm (linear interpolation) is used to complete missing data caused by signal transmission delay or temporary sensor disconnection (missing rate ≤ 0.5%). Signal smoothing: A 50ms sliding window filter is used to reduce signal noise and obtain a standardized CAN signal timing sequence (instead of a single moment value).

[0028] Each semantic classification corresponds to a high-level semantic action. For example, based on the decision-making requirements of the World Action Model (WAM), a high-level semantic action (also referred to as a semantic action) (token) system is defined, categorized into three levels: "action type - action intensity - action scenario." High-level semantic actions refer to action descriptions with clear driving or interaction intentions, such as "slight deceleration on urban roads" or "smooth lane change on highways," distinguishing them from lower-level CAN signals. Semantic classifications can be represented using identifier encoding, establishing a mapping relationship between high-level semantic actions and semantic classifications, as shown in Table 1. Table 1

[0029] The first level, "Action Type," is determined based on the physical classification of driving behavior. It includes core driving actions such as acceleration, deceleration, steering, braking, parking, constant speed, and following, as well as cockpit control actions (such as air conditioning adjustment and seat adjustment). The classification of action types is based on "whether the action is driven by an independent actuator system." Braking is driven by the braking system, steering is driven by the steering system, and the cockpit is driven by the cockpit controller. The CAN signal dimension sets of different actuator systems have no overlap, so the action type is the first level of independent dimension of semantic identification. The second level, "Action Intensity," is determined based on the physical magnitude of the CAN signal. The specific logic is as follows: For each action type, the distribution range of the core signal dimension corresponding to that action type in the training samples is statistically analyzed, and it is divided into 2-4 intensity levels according to equal frequency or equal spacing (e.g., braking type is divided into mild <30%, moderate 30-60%, and emergency >60% according to braking pressure distribution). The number of intensity levels is determined by the natural clustering number of the signal distribution of that action type, rather than being arbitrarily assigned manually. The third level, "Action Scenarios," is determined based on the significant impact of the driving environment on signal characteristics. The specific logic is as follows: for the same combination of "action type + action intensity," examine whether there are statistically significant differences in the distribution of CAN signal characteristics under different scenarios (KS test p<0.05). If there are significant differences, the scenarios must be distinguished (e.g., "emergency braking" has significant differences in braking pressure distribution under urban roads and highways, and must be divided into D3-U and D3-H). If there are no significant differences, they are merged into a general scenario. The three-level system represents the optimal balance point under the current scale of labeled data (100,000 records): using only two levels cannot distinguish the differences in signal features of the same action in different scenarios, while exceeding three levels will result in an explosion in the number of categories (28×N), leading to insufficient samples in each category (<500 records) and inadequate model training; The system can be expanded to four layers or more as needed. The expansion conditions are: ≥500 samples per category, and the upper-level decision system has clear fine-grained requirements (such as the need to distinguish "action priority" to support the resolution of multiple action conflicts). The expansion method is to add dimensions after the third level to form a four-layer system of "action type - action intensity - action scenario - action priority".

[0030] The three-level standardized token system of "action type - action intensity - action scenario" assigns a unique code (i.e., semantic action identifier, also known as semantic classification) to each semantic action, which serves as the standardized vocabulary of WAM. This enables WAM to be trained and make decisions in an understandable semantic space, and achieves standardized semantic interaction between different vehicle models and different decision modules.

[0031] Training samples can come from two sources: one part is obtained through real vehicle driving, and the other part is generated through simulation scenarios.

[0032] Example of real vehicle data: The CAN signal timing sequence of a pure electric passenger vehicle was collected when it was driving on urban roads (sampling frequency 100Hz, lasting 1s, a total of 100 data points), including vehicle speed (45-48km / h), braking pressure (12-18%), and steering angle (≤2°). Professional testers simultaneously labeled it as "deceleration-light-urban road" (identification code D1-U). Simulation data example: The Prescan simulation platform generates CAN signal timing sequences under heavy rain scenarios on highways, including vehicle speed (90-92km / h), steering angle (6-8°), and steering torque (15-18N•m), labeled as "steering-light-highway" (identification code S1-H). The two types of data together constitute the labeled dataset to ensure the generalization ability of the target model.

[0033] The CAN signal timing sequence includes the trend of CAN signal changes over a period of time, such as the rate of change of speed and the trend of change of steering angle, rather than the value at a single moment.

[0034] Step 102: During the training of the base model using multiple training samples, the weight matrix of the base model is updated to obtain the target model. The weight matrix of the base model is used to indicate the contribution weight of each target signal to each semantic classification.

[0035] like Figure 2a As shown, the basic model adopts a three-stage network of "temporal feature extraction layer - feature fusion layer - classification mapping layer". Specifically, the temporal feature extraction layer uses a bidirectional long short-term memory network (i.e., bidirectional LSTM) to extract the temporal correlation features of the CAN signal time sequence (such as the speed change rate and steering angle change trend). Feature fusion layer: fuses the temporal features and static features (such as current gear and vehicle load) of multi-dimensional CAN signals into a unified feature vector; Classification mapping layer: A fully connected layer is used to output the probability distribution of the corresponding semantic classification, and the label with the highest probability is selected as the output result.

[0036] The parameters of the base model are optimized using cross-validation, and the detailed process is as follows: Step 1: Divide the training samples into training set, validation set and test set in a ratio of 7:2:1. The training set is used for model training, the validation set is used for parameter tuning, and the test set is used for final performance verification. Step 2: Use K-fold cross-validation (K=5), merge the training set and validation set and then divide them into 5 mutually exclusive subsets. Each time, select 4 subsets as the training set and 1 subset as the validation set, and repeat the training 5 times. Step 3: After each training session, calculate the model's mapping accuracy and inference latency using the validation set. If the accuracy is below 90% or the latency is above 8ms, adjust the model parameters. Step 4: After 5 cross-validations, take the optimal parameter combination from the 5 training iterations and use the test set for final validation to ensure the model's generalization ability under different vehicle models and scenarios. The final model accuracy is ≥93% and inference latency is ≤5ms.

[0037] For example, the bidirectional LSTM includes a 128-dimensional hidden layer temporal feature vector, and the input to the feature fusion layer is the 128-dimensional hidden layer feature output from the bidirectional LSTM. In this embodiment, the weight matrices that the base model needs to update include the weight matrices of each layer of the bidirectional LSTM, the feature fusion layer, and the classification mapping layer. Specifically, the weight matrix of the bidirectional LSTM is 128×7 dimensions (where 7 represents 7 target signals), the weight matrix of the feature fusion layer is 64×128 dimensions, and the weight matrix of the classification mapping layer is 28×64 dimensions, where 28 represents 28 semantic classifications. During the training of the base model, the values ​​of the weight matrix of each layer are updated. After the base model is trained and the target model is obtained, the elements of the weight matrix of each layer no longer change. In this case, the weight matrix of the target model can be calculated based on the weight matrix of each layer. Specifically, firstly, the product of the feature fusion layer weight matrix F [64×128] and the classification mapping layer weight matrix W [28×64] is calculated. W×F yields a semantic-feature correlation matrix of [28×128]. Then, combined with the weight matrix of the bidirectional LSTM (128×7 dimensions, representing the mapping relationship between the 128-dimensional hidden layer and the 7-dimensional CAN signal time sequence), the product between W×F and the weight matrix of the bidirectional LSTM is calculated, finally yielding a weight matrix of [28×7]. Each row in this weight matrix corresponds to a semantic classification, and each element in each row represents the contribution weight of the target signal corresponding to that element to the semantic classification corresponding to that row.

[0038] Step 103: Based on the weight matrix of the target model, determine the encoding information corresponding to each semantic classification. The encoding information includes the semantic classification, the associated signal corresponding to the semantic classification, and the value range of the associated signal. The associated signal corresponding to the semantic classification is the target signal associated with the semantic classification among N target signals.

[0039] For example, based on the weight matrix of the target model, the contribution weights of N target signals to each semantic category can be determined. Based on this, the associated and mutually exclusive signals corresponding to each semantic category can be determined. The associated signal is the target signal among the N target signals that is associated with the semantic category, and the mutually exclusive signal is the target signal among the N target signals that is mutually exclusive with the associated signal of the semantic category. It should be noted that each semantic category corresponds to an associated signal, but not every semantic category corresponds to a mutually exclusive signal.

[0040] The encoded information includes the semantic classification, the associated signal corresponding to the semantic classification, and the value range of the associated signal. If the semantic classification includes a mutual exclusion signal, the encoded information may also include the mutual exclusion signal and the value range of the mutual exclusion signal.

[0041] Step 104: Record the encoding information corresponding to each semantic category into the encoding dictionary.

[0042] The mapping relationship between high-level semantic actions and semantic classifications is established through Table 1. The mapping relationship between semantic classifications and CAN signals (such as association signals and mutual exclusion signals) is established through the encoding dictionary. Based on these two mapping relationships, the mapping relationship between high-level semantic actions and CAN signals can be obtained.

[0043] It should be noted that, in the embodiments of this application, the associated signals and mutual exclusion signals recorded in the encoding dictionary refer to the identifiers of the associated signals and the identifiers of the mutual exclusion signals.

[0044] In subsequent applications, both the target model and the encoding dictionary are deployed on the vehicle. The encoding dictionary can be stored in an automotive-grade Redis database, supporting millisecond-level queries. The target model is deployed on the vehicle's domain controller and is adapted to the vehicle's computing power after quantization optimization.

[0045] On the one hand, in practical applications, after receiving natural language instructions, the natural language instructions can be analyzed, and the semantic classification corresponding to "action type-action intensity-action scenario" can be obtained according to Table 1. Then, the semantic classification can be searched in the encoding dictionary to obtain the associated signal and the value range of the associated signal corresponding to the semantic classification. Based on the associated signal and the value range of the associated signal, control instructions can be generated to control the vehicle.

[0046] On the other hand, by acquiring the CAN signal timing sequence of the vehicle, N target signals and their values ​​are obtained from the CAN signal timing sequence. The system first queries the encoding dictionary (with a 1ms delay). If the dictionary matches successfully, a semantic classification is output; if the dictionary fails to match (the signal does not satisfy any encoding information in the encoding dictionary), the target model is invoked for inference (with a 5ms delay). The target model utilizes its generalization ability to handle boundary scenarios and obtain the semantic classification. The real-time deployment module connects to the WAM decision module through a standardized interface (based on the AutoSar Adaptive platform), transmitting the semantic classification to the WAM, which then makes decisions based on the semantic classification. Through the encoding dictionary, the CAN signal timing sequence, which the WAM cannot understand, can be translated into standardized semantic tokens (i.e., semantic classifications) that the WAM can comprehend.

[0047] Compared to related technologies that require technicians to manually preset rules, and where rules need to be designed separately for different vehicle models, resulting in high costs, the method provided in this application can automatically generate an encoding dictionary based on training samples, supporting multiple vehicle models, significantly reducing rule maintenance costs, and significantly shortening the adaptation cycle for new vehicle models.

[0048] High-level semantic actions can also be recorded in the encoding dictionary. For example, for each encoded information, the high-level semantic action corresponding to the semantic classification in the encoded information can also be added to the encoded information. In this way, the mapping relationship between CAN signals and high-level semantic actions can be obtained directly in the encoding dictionary.

[0049] In this embodiment, through the above steps 101-104, an encoding dictionary can be generated based on the target model. Since the encoding dictionary is obtained based on the target model, and the timing correlation of CAN signals is considered during the training process of the target model, the mapping accuracy between CAN signals (including associated signals and the value range of associated signals) and semantic classifications in the encoding dictionary can be higher. Each semantic classification corresponds to a high-level semantic action, which means that the mapping accuracy between CAN signals and high-level semantic actions will also be higher. Furthermore, since no manual intervention is required, the efficiency of obtaining the encoding dictionary is greatly improved, and the scenarios covered by the encoding dictionary are also more abundant.

[0050] In one embodiment of this application, the encoding information corresponding to each semantic classification is determined based on the weight matrix of the target model, including: For each semantic classification, the contribution weight of each target signal to the semantic classification is obtained from the weight matrix; and, Based on the contribution weight of each target signal to the semantic classification, determine the associated signal among the N target signals; and, Based on the sample set corresponding to the semantic classification, the value range of the associated signal is determined, wherein the sample set includes training samples identified by the semantic classification selected from multiple training samples.

[0051] The above method for determining the associated signal and its value range for each semantic category does not require human intervention. This not only improves the efficiency of determination but also avoids interference from human factors, thereby improving the accuracy of the associated signal and its value range.

[0052] Specifically, the weight matrix includes a matrix corresponding to each semantic classification, and the matrix corresponding to each semantic classification includes the contribution weight of each target signal to the semantic classification.

[0053] For example, the contribution weights of each target signal to the semantic classification are sorted from largest to smallest, and the target signals corresponding to the contribution weights ranked before the first contribution weight in the sorting results are used as associated signals. The first contribution weight is the contribution weight in the sorting results where the absolute value of the difference between the first and second contribution weights is greater than a first preset threshold, and the second contribution weight is the contribution weight preceding the first contribution weight in the sorting results.

[0054] Specifically, for each semantic category, the top K target signals ranked from largest to smallest contribution weight are selected as the association dimensions for that semantic category (K is determined by the contribution weight decay inflection point, i.e., the position where the weights show a significant decrease when arranged from high to low; K is the second contribution weight). For example, the semantic category "emergency braking" corresponds to contribution weights showing that the contribution weights of braking pressure and vehicle speed reduction rate are much higher than those of other dimensions, so the associated signals are determined to be {braking pressure, vehicle speed reduction rate}; the semantic category "uniform speed" corresponds to contribution weights showing that the contribution weights of vehicle speed and motor speed fluctuations are the highest, so the associated signals are determined to be {vehicle speed, motor speed fluctuations, throttle opening}.

[0055] The association signals corresponding to each semantic category determined by the above method are all based on the target model, not on manual specification. On the one hand, this avoids human interference caused by manual specification and improves the accuracy of association signal determination. On the other hand, it can also reduce labor costs and improve efficiency.

[0056] In the above, determining the value range of the associated signal based on the sample set corresponding to the semantic classification includes: The values ​​of each associated signal in the sample set corresponding to the semantic classification are statistically analyzed to obtain the first confidence interval of the associated signal value under the first preset confidence level. Based on each of the first confidence intervals, the value range of each associated signal is determined.

[0057] For example, multiple training samples are filtered, and those identified by semantic classification are added to the corresponding sample set. For the associated signals corresponding to the semantic classification, the values ​​of each associated signal in the sample set are statistically analyzed, and the range of values ​​within a 95% confidence interval is taken as the first confidence interval. For example, in the training samples for the semantic classification corresponding to "emergency braking - urban road", the 95% confidence interval for braking pressure is [80%, 98%], and the 95% confidence interval for vehicle speed reduction rate is [5m / s², 12 m / s²]. Based on this, the range of braking pressure values ​​can be determined to be greater than or equal to 80%, and the range of vehicle speed reduction rate values ​​can be greater than or equal to 5m / s². In other words, for associated signals, after determining the first confidence interval, the lower limit of the first confidence interval can be used as the lower limit of the range of associated signal values.

[0058] In the above, by statistically analyzing the training samples in the sample set corresponding to semantic classification, the range of values ​​for the associated signal can be determined, making the range of values ​​for the associated signal more accurate.

[0059] In another embodiment of this application, the encoding information corresponding to each semantic category is recorded in an encoding dictionary, including: For each semantic classification, the duration of the associated signals that satisfy preset conditions in the sample set corresponding to the semantic classification is statistically analyzed to obtain the reference duration corresponding to the semantic classification. The preset conditions are determined based on the value range of the associated signals; and, The encoding information corresponding to the semantic classification is updated based on the reference duration corresponding to the semantic classification to determine new encoding information; and The new encoding information is recorded in the encoding dictionary.

[0060] Specifically, if the semantic classification includes two associated signals, with associated signal 1 ranging from [a, b] and associated signal 2 ranging from [c, d], then the preset condition can be: associated signal 1 is located in [a, b] and associated signal 2 is located in [c, d]. The duration of associated signal 1 and associated signal 2 that satisfy the preset condition in the sample set corresponding to the semantic classification is statistically analyzed. For example, if associated signal 1 is located in the range of [a, b] from 0:1 to 0:4 in a certain training sample, and associated signal 2 is located in the range of [c, d] from 0:1 to 0:2, then associated signal 1 and associated signal 2 satisfy the preset condition within these 2 seconds, and 2 seconds is the duration corresponding to the training sample. Using the same method, the duration of each training sample in the sample set is statistically analyzed to obtain the duration corresponding to each training sample, thereby obtaining the duration distribution. The median of the duration distribution can be taken as the reference duration, or the mean of the duration distribution can be taken as the reference duration; there is no limitation here.

[0061] To optimize the accuracy of the reference duration, a duration constraint can be applied to the reference duration for calibration. The principle for determining the duration constraint is as follows: Transient actions (such as emergency braking and sharp turns): These actions have a short duration (0.3-1s) because their signal characteristics can be clearly demonstrated within a short time. Steady-state actions (such as constant speed, following other vehicles): have a long duration (2-5s) because steady state requires the signal to remain stable for a relatively long time to be confirmed, thus avoiding misjudging a brief period of stability as steady state; Transient actions (such as slight deceleration or slight acceleration): of moderate duration (1-3 seconds), falling between transient and steady state.

[0062] The reference duration corresponding to the semantic classification is added to the encoding information corresponding to the semantic classification to obtain new encoding information.

[0063] The reference duration corresponding to each semantic category is calculated using the above method, and the reference duration is added to the encoding information corresponding to the semantic category. It is then further recorded in the encoding dictionary. The reference duration is used to constrain the duration of the associated signal, which makes the limitation of the associated signal more precise and the mapping accuracy between the semantic category in the encoding dictionary and the CAN signal (including the associated signal and the value range of the associated signal) is higher.

[0064] In another embodiment of this application, the encoding information corresponding to the semantic classification is updated according to the reference duration corresponding to the semantic classification to determine new encoding information, including: The contribution weights of each target signal to the semantic classification are sorted from largest to smallest. If there is a third contribution weight in the sorting result, the target signal corresponding to the third contribution weight is used as a mutual exclusion signal. The third contribution weight is negative and the absolute value of the third contribution weight is greater than the second preset threshold. The values ​​of each mutual exclusion signal in the sample set corresponding to the semantic classification are statistically analyzed to obtain the second confidence interval of the mutual exclusion signal values ​​under the second preset confidence level. The range of values ​​for the mutual exclusion signal is determined based on the second confidence interval. The encoding information corresponding to the semantic classification is updated based on the reference duration corresponding to the semantic classification, the mutual exclusion signal, and the value range of the mutual exclusion signal, to determine the new encoding information.

[0065] For each semantic category, if a certain contribution weight corresponding to that semantic category is negative and has a large absolute value (i.e., the contribution weight is negative and the absolute value of the contribution weight is greater than the second preset threshold), it indicates that the target signal corresponding to that contribution weight has a mutually exclusive relationship with that semantic category, and it is added to the exclusion conditions.

[0066] For example, in the semantic classification of "uniform speed," all contribution weights except those corresponding to the associated signal are close to zero, indicating no significant mutual exclusion relationship; therefore, no exclusion condition is set. Analyzing the contribution weights of the semantic classification of "emergency braking," it is determined that the contribution weight of steering angle fluctuation is negative and relatively large, indicating that there should be no significant steering deviation during braking; therefore, the exclusion condition "steering angle fluctuation ≤ 3°" is added. The threshold for the exclusion condition is determined by the statistical distribution of the target signal in this dimension within the training samples. That is, the values ​​of each mutually exclusive signal in the sample set corresponding to the semantic classification are statistically analyzed to obtain a second confidence interval for the values ​​of the mutually exclusive signals under a second preset confidence level; based on the second confidence interval, the value range of the mutually exclusive signals is determined.

[0067] For example, multiple training samples are filtered, and those identified by the semantic classification are added to the corresponding sample set. For the mutual exclusion signals corresponding to the semantic classification, the values ​​of each mutual exclusion signal in the sample set are statistically analyzed, and the range of values ​​within the 95% confidence interval is taken as the second confidence interval. After determining the second confidence interval, the upper limit of the second confidence interval can be used as the upper limit of the range of values ​​for the mutual exclusion signals.

[0068] The reference duration corresponding to the semantic classification, the mutual exclusion signal, and the value range of the mutual exclusion signal can be added to the encoding information corresponding to the semantic classification to obtain new encoding information.

[0069] It should be noted that mutual exclusion signals are not present in every semantic classification and need to be determined based on the weight matrix of the target model.

[0070] The mutual exclusion signal and its value range corresponding to each semantic category are calculated using the above method. The reference duration, mutual exclusion signal, and value range of the mutual exclusion signal are then added to the encoding information corresponding to the semantic category and further recorded in the encoding dictionary. The reference duration is used to constrain the duration of the associated signal, and the value range of the mutual exclusion signal constrains the mutual exclusion signal. This makes the limitation of the associated signal and the mutual exclusion signal more precise, and makes the mapping accuracy between the semantic category and the CAN signal (including the associated signal, the value range of the associated signal, the mutual exclusion signal, and the value range of the mutual exclusion signal) in the encoding dictionary higher.

[0071] In the above, the encoding information corresponding to the semantic classification is updated based on the reference duration corresponding to the semantic classification, the mutual exclusion signal, and the value range of the mutual exclusion signal to determine new encoding information, including: Based on the associated signal corresponding to the semantic classification, the value range of the associated signal, the reference duration, the mutual exclusion signal, and the value range of the mutual exclusion signal, a temporal rule corresponding to the semantic classification is generated. The temporal rule corresponding to the semantic classification includes: each associated signal is restricted to a value within its corresponding value range, and the associated signal is restricted to the duration of the reference duration; and each mutual exclusion signal is restricted to a value within its corresponding value range. The semantic classification, the associated signal of the semantic classification, the value range of the associated signal, and the temporal rules corresponding to the semantic classification are used as the new encoding information.

[0072] An example of an encoded dictionary is as follows: Example 1 (Emergency braking - urban road (i.e., high-level semantic action), identifier code D3-U (i.e., semantic classification)): Correlated signals: {braking pressure, vehicle speed reduction rate}. Analysis of the weight matrix of the target model shows that the contribution weight of braking pressure is 0.42 and the contribution weight of vehicle speed reduction rate is 0.35, which are much higher than those of other dimensions. The range of values ​​for the associated signals is: braking pressure ≥80%, vehicle speed reduction rate ≥5m / s²; Timing rules: Braking pressure ≥ 80% and vehicle speed reduction rate ≥ 5m / s², duration ≥ 0.5s (transient action, median 0.6s rounded up), while steering angle fluctuation ≤ 3° (analysis of the weight matrix of the target model shows that the contribution weight of steering angle fluctuation is -0.18, which is a mutually exclusive signal, and the value range is taken as the upper limit of the 95% confidence interval of 3°). Example 2 (Constant speed - High-speed road, identification code CH): Corresponding signals: {vehicle speed, motor speed fluctuation, throttle opening}. Analysis of the weight matrix of the target model shows that: vehicle speed contributes 0.38, motor speed fluctuation contributes 0.31, and throttle opening contributes 0.21. The range of values ​​for the associated signals is: vehicle speed 80-100km / h, motor speed fluctuation ≤5%, and throttle opening 20-25% (95% confidence interval of training data). Timing rules: vehicle speed fluctuation ≤2km / h, motor speed fluctuation ≤5%, and duration ≥3s (steady-state action, median 3.2s rounded up), no exclusion conditions (the contribution weights of non-critical dimensions are close to zero, and there are no mutually exclusive signals). Example 3 (Slight cooling - cabin, identification code AC1-C): Related signals: {Air conditioner compressor speed increase rate, outlet air temperature setpoint, blower speed}. The weight matrix analysis of the target model shows that the contribution weight of compressor speed is 0.40, the contribution weight of outlet air temperature is 0.33, and the contribution weight of blower speed is 0.22. The range of values ​​for the associated signals is as follows: air conditioner compressor speed increase rate of 500 rpm / s, air outlet temperature setpoint decrease of 2℃, and blower speed of 1500 rpm (95% confidence interval of training data). Timing rules: The air conditioner compressor speed increase rate is ≥500rpm / s, the duration is ≥2s (transition action), and the air outlet temperature setting value is stable at the target temperature ±0.5℃.

[0073] Based on the encoding dictionary, high-level semantic actions can be reverse-mapped to low-level CAN signals. Specifically, the semantic classification is obtained by looking up Table 1 based on the high-level semantic action; the corresponding CAN signal is obtained by looking up the encoding dictionary based on the semantic classification. For example, for the high-level semantic action "steering-light-high speed", the low-level CAN signal can be obtained, including: steering angle 5°-10°, steering torque ≤20N•m, steering angle change rate ≤2° / s, and duration ≥0.5s. The controller selects the specific execution value within the parameter range.

[0074] In the above, the semantic classification, the associated signal of the semantic classification, the value range of the associated signal, and the timing rules corresponding to the semantic classification are recorded as new encoding information in the encoding dictionary. This can realize the mapping between CAN signals and semantic classifications. Furthermore, by combining the pre-configured mapping relationship between semantic classifications and high-level semantic actions (this part can be manually configured), the mapping relationship between CAN signals and high-level semantic actions can be obtained, thus realizing the mapping between CAN signals and high-level semantic actions.

[0075] In another embodiment of this application, after recording the encoding information corresponding to each semantic category into the encoding dictionary, the method further includes: Obtain natural language commands; The natural language instruction is analyzed to determine the target semantic category to which the natural language instruction belongs; The target semantic classification is searched in the encoding dictionary to obtain the target encoding information corresponding to the target semantic classification; Configure a value within the value range corresponding to each associated signal in the target encoding information to obtain execution information; The vehicle is controlled based on the execution information to obtain execution feedback results; If the execution feedback result indicates that the actual execution value of the associated signal in the target encoding information exceeds the value range of the associated signal, then the value range corresponding to the associated signal of the target encoding information in the encoding dictionary is finely adjusted.

[0076] For example, high-level semantic actions categorized into three levels—"action type, action intensity, and action scenario"—are analyzed to determine the specific "action type, action intensity, and action scenario" from the natural language instructions. The corresponding semantic classification (i.e., the target semantic classification) is then determined using Table 1. Based on the target semantic classification, the target encoding information is obtained by searching the encoding dictionary. This target encoding information includes associated signals and their value ranges. A value can be randomly selected from the corresponding value range and assigned to the associated signal. If the target encoding information also includes mutually exclusive signals, a value can be randomly selected from the corresponding value range and assigned to the mutually exclusive signal. Combined with the timing rules corresponding to the semantic classification, execution information is generated. For example, for the high-level semantic action "steering-light-high speed," the underlying CAN signals can be obtained, including: steering angle 5°-10°, steering torque ≤20 N•m, steering angle change rate ≤2° / s, and duration ≥0.5s. The controller selects (e.g., randomly selects) a specific execution value within the corresponding value range to generate execution information.

[0077] The vehicle is controlled based on the execution information to obtain execution feedback results. The execution feedback results may include the actual CAN signal timing sequence, the success rate of action execution, whether it meets the expected semantics, etc.

[0078] If the execution feedback result indicates that the actual execution value of the associated signal in the target encoding information exceeds the value range of the associated signal, it indicates that there is a mapping deviation. For example, if the semantic classification is "slight deceleration" and the actual braking pressure exceeds the value range of the braking pressure recorded in the encoding dictionary, or if the action execution success rate is less than 95%, the value range corresponding to the associated signal of the target encoding information in the encoding dictionary should be fine-tuned first. For example, the value range of the braking pressure for "slight deceleration" can be fine-tuned from 10-20% to 12-22%, and the fine-tuning amplitude should not exceed 10% of the original value range to avoid large fluctuations.

[0079] Through the above fine-tuning process, the value range of the associated signals recorded in the encoding dictionary can be further refined, making the mapping accuracy between semantic classification and CAN signals in the encoding dictionary higher. The fine-tuning process does not require manual intervention, which can not only avoid human interference, but also improve the optimization efficiency of the encoding dictionary.

[0080] If fine-tuning the value range corresponding to the associated signal of the target encoding information in the encoding dictionary still cannot resolve the deviation (3 consecutive feedback deviations ≥ 5%), then model fine-tuning is initiated. Specifically, after fine-tuning the value range corresponding to the associated signal of the target encoding information in the encoding dictionary, the method further includes: If the most recent execution feedback result obtained after multiple consecutive fine-tunings indicates that the actual execution value of the associated signal in the target encoding information exceeds the value range obtained by the most recent fine-tuning of the associated signal, then the actual executed CAN signal timing sequence and the corresponding semantic classification are used as new training samples to train the target model, and the process jumps to the step of determining the encoding information corresponding to each semantic classification based on the weight matrix of the target model.

[0081] Multiple fine-tuning attempts can be selected based on the actual situation; for example, up to three attempts are possible, without limitation. If the most recent execution feedback result obtained after multiple consecutive fine-tuning attempts indicates that the actual execution value of the associated signal in the target encoding information exceeds the value range obtained from the most recent fine-tuning of the associated signal, it means that the deviation cannot be resolved after fine-tuning. In this case, an online learning method (based on a federated learning framework to ensure data privacy) can be used. The actual execution CAN signal time sequence and the corresponding semantic identifier (carried in the execution feedback result) are used as new training samples to train the target model, update the weight matrix of the target model, iterate the model, and the fine-tuning cycle is 24 hours.

[0082] After fine-tuning, the mapping accuracy and real-time performance are confirmed through the verification module to ensure that the accuracy of the optimized target model does not decrease and the latency does not increase. After the target model is fine-tuned, the encoding dictionary is regenerated based on the updated target model to ensure that the knowledge of the encoding dictionary is consistent with that of the target model.

[0083] In this embodiment, the target model is trained using the actual CAN signal timing sequence and the corresponding semantic classification as new training samples to update the weight matrix of the target model and further update the encoding dictionary. This makes the mapping accuracy between semantic classification and CAN signal in the encoding dictionary higher. The whole process does not require manual intervention, which not only avoids human interference but also improves the optimization efficiency of the encoding dictionary.

[0084] Furthermore, after the target model is deployed, the semantic system is semi-automatically expanded through open set recognition mechanism and cluster-driven candidate generation: The target model classification mapping layer outputs the probability distribution of 28 semantic classifications. When the highest probability is less than 0.5, it is determined that the current input CAN signal time sequence "does not belong to any known category", and an "uncertain" flag is output. At the same time, the CAN signal time sequence is recorded and stored in the candidate new class database. Periodically (every 7 days), cluster analysis is performed on the CAN signal time series in the candidate new class database (using the DBSCAN algorithm, no need to preset the number of classes). If a stable cluster is found (the number of samples in the cluster is ≥50 and appears continuously for ≥3 cycles), a candidate semantic description is automatically generated (such as "signal mode 29: moderate braking pressure 40-60%, vehicle speed slowly decreases by 1-2 m / s², long duration >2s"), and submitted for manual review. Candidate semantic descriptions are manually reviewed. If they are confirmed to be added as independent semantic categories, their three-level identifier codes are defined (e.g., "deceleration-moderate descent-urban road" → D2s-U). Supplemented labeled data is added (using samples from the candidate cluster as initial labels). The target model is retrained (incremental training, no need to train from scratch). The encoding dictionary is regenerated to complete the semantic system expansion. After each expansion, it is necessary to ensure that there are ≥500 samples per class and that the model accuracy does not decrease; otherwise, more labeled data should be added before retraining.

[0085] The following examples illustrate the embodiments of this application.

[0086] like Figure 2b The diagram shown is a structural schematic of the information acquisition system provided in an embodiment of this application. The following describes each module: Signal acquisition module 1: Configured at the vehicle CAN bus node, it adopts an automotive-grade MCU chip, supports CAN 2.0 and CAN FD protocols, and has a configurable sampling frequency (50~200Hz) for real-time acquisition of signals from underlying sensors and actuators.

[0087] Preprocessing module 2: Connected to the signal acquisition module and integrated into the vehicle-side domain controller, it uses C++ to implement outlier removal, interpolation completion, and filtering algorithms, with a processing delay of ≤1ms, and is used to standardize the acquired CAN signals.

[0088] Semantic definition module 3: Used to define a high-level semantic action identifier system. It supports manual editing through the host computer interface, automatically generates an identifier dictionary in JSON format, and can dynamically update the semantic system according to WAM decision requirements.

[0089] Encoding Mapping Module 4: Contains the trained encoding mapping model, employing a vehicle-specific quantization scheme and TensorRT for quantization acceleration (INT8 quantization), achieving an inference latency of ≤5ms. It is used to map the preprocessed CAN signal time sequence into high-level semantic action identifiers. The specific implementation process aligns with the vehicle-side deployment scenario and model characteristics of this patent, as detailed below: Quantization acceleration prerequisite: For the encoding mapping model integrating bidirectional LSTM in this patent, model training and cross-validation are completed first (ensuring model accuracy ≥93% and initial inference latency ≤15ms) before starting the quantization acceleration process to avoid the quantization process affecting the model mapping accuracy. INT8 quantization implementation: Using the INT8 quantization interface built into the TensorRT tool, based on 100,000 "CAN signal timing sequence - semantic action identifier" training data marked in this patent, calibration quantization is performed. First, typical samples in the training data are extracted as calibration sets. The 32-bit floating-point distribution of model weights and activation values ​​is calculated through calibration and then mapped to the 8-bit integer range. At the same time, the core timing feature extraction capability of the model is preserved, ensuring that the accuracy loss after quantization is ≤2%, which is suitable for the limited computing power of the vehicle. TensorRT acceleration implementation: After quantization, the model is optimized and compiled using the TensorRT tool to generate an inference engine adapted to the vehicle domain controller (computing power ≥20TOPS). Specifically, this includes model layer fusion and automatic kernel optimization, which ultimately compresses the model inference latency from the initial ≤15ms to ≤5ms to meet the real-time mapping requirements of the vehicle. Vehicle-side adaptation and integration: The quantized and accelerated model, together with the encoding dictionary (stored in a Redis database), is deployed on the vehicle-side domain controller. It interfaces with the real-time deployment module through the TensorRT inference engine to ensure that the inference results can be quickly transmitted to the WAM decision module, achieving seamless adaptation with the AutoSar Adaptive platform.

[0090] Encoding / decoding dictionary module 5: It uses a Redis database to store the encoding dictionary and reverse lookup rules, supports millisecond-level queries (latency ≤ 1ms), provides fast query and safety fallback for encoding mapping, and provides data support for reverse lookup (semantic identifier → CAN signal parameter range). It also receives parameter fine-tuning instructions from the dynamic optimization module to update the dictionary content.

[0091] Real-time Deployment Module 6: Deployed on the vehicle-side controller (computing power ≥ 20 TOPS), based on the AutoSar Adaptive platform, supporting standardized interfaces with the WAM decision module and actuator control unit, enabling real-time computation of encoding mapping, data transmission, and interface with the control unit. Real-time mapping execution strategy: Prioritize dictionary lookup; if dictionary matching fails, invoke model inference; if the model outputs "uncertain," trigger open set recognition.

[0092] Dynamic Optimization Module 7: It is bidirectionally connected to the Real-time Deployment Module, Encoding / Decoding Dictionary Module, and Encoding Mapping Module. It adopts a federated learning framework and combines vehicle-side and cloud-side data to optimize the model. The optimization cycle is 24 hours. It optimizes the encoding dictionary parameters and model weights online based on the action execution feedback results. After the model is fine-tuned, the encoding dictionary is regenerated.

[0093] Open set identification and expansion module 8: Connects with the encoding mapping module and the semantic definition module, receives the "uncertain" identifier and corresponding signal features output by the model, and stores them in the candidate new class database; performs cluster analysis on the candidate data periodically, generates candidate semantic descriptions and submits them for manual review; after manual confirmation, it triggers semantic system expansion, incremental model training and dictionary regeneration.

[0094] Each module interacts with the CAN bus via the vehicle's Ethernet to ensure the real-time performance and stability of signal transmission.

[0095] Compared with the prior art, this application has the following significant advantages: 1. Bridging the semantic gap and improving decision-making accuracy: By using time-series feature modeling and data-driven coding methods, accurate mapping between low-level CAN signals and high-level semantic actions is achieved, solving the problem of poor adaptability of manual rules. The mapping accuracy is improved to over 93%, ensuring that the upper-level decision-making module accurately understands the vehicle's operating status.

[0096] 2. Standardization and compatibility improvement: Define a unified semantic action identifier system and encoding dictionary to achieve standardized semantic interaction between different vehicle models and different decision-making modules, improve compatibility by more than 80%, and reduce the cost of multi-module collaborative development.

[0097] 3. Enhanced real-time performance and dynamic adaptability: After quantization acceleration, the inference latency of the encoding mapping model is ≤5ms and the overall processing latency is ≤10ms, meeting the low latency requirements of high-speed driving, etc. Combined with the dynamic optimization mechanism of online learning, it can adapt to different driving scenarios and vehicle state changes, and the scenario coverage is increased to more than 95%, improving the robustness of mapping.

[0098] 4. Reduce maintenance costs and shorten adaptation cycle: The data-driven coding dictionary generation mechanism replaces manually preset rules, reducing rule maintenance costs by 90% and shortening the adaptation cycle for new models from 1-2 months to within 1 week, thus improving mass production efficiency.

[0099] 5. Two-way support for decision-making link: It realizes the encoding input from low-level data to high-level semantics, and supports the reverse mapping from high-level decision to low-level control signals through decoding methods, fully connecting the "perception-decision-execution" link of the World Action Model (WAM) to improve the overall performance of the intelligent driving system.

[0100] Figure 3 A structural diagram of the information acquisition device provided in an embodiment of this application is shown. Figure 3 As shown, the information acquisition device 300 includes: The acquisition module 301 is used to acquire multiple training samples. Each training sample includes a CAN signal timing sequence and a semantic classification corresponding to the CAN signal timing sequence. The CAN signal timing sequence includes timing sequences of N target signals, where N is a positive integer greater than 1. The training module 302 is used to update the weight matrix of the base model during the training of the base model using multiple training samples to obtain the target model. The weight matrix of the base model is used to indicate the contribution weight of each target signal to each semantic classification. The determining module 303 is used to determine the encoding information corresponding to each semantic category based on the weight matrix of the target model. The encoding information includes the semantic category, the association signal corresponding to the semantic category, and the value range of the association signal. The association signal corresponding to the semantic category is the target signal associated with the semantic category among N target signals. The recording module 304 is used to record the encoding information corresponding to each semantic category into the encoding dictionary.

[0101] The information acquisition device 300 provided in this application embodiment can implement the various processes implemented in the aforementioned cloud-executed information acquisition method embodiment and achieve the same technical effect. To avoid repetition, it will not be described again here.

[0102] Figure 4 A schematic diagram of the hardware structure of the electronic device provided in an embodiment of this application is shown.

[0103] The electronic device may include a processor 601 and a memory 602 storing computer program instructions.

[0104] Specifically, the processor 601 may include a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of this application.

[0105] Memory 602 may include mass storage for data or instructions. For example, and not limitingly, memory 602 may include a hard disk drive (HDD), floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or Universal Serial Bus (USB) drive, or a combination of two or more of these. Where appropriate, memory 602 may include removable or non-removable (or fixed) media. Where appropriate, memory 602 may be internal or external to the integrated gateway disaster recovery device. In a particular embodiment, memory 602 is non-volatile solid-state memory.

[0106] Memory may include read-only memory (ROM), random access memory (RAM), disk storage media devices, optical storage media devices, flash memory devices, and electrical, optical, or other physical / tangible memory storage devices. Therefore, typically, 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 the first aspect of this disclosure.

[0107] The processor 601 reads and executes computer program instructions stored in the memory 602 to implement any of the information acquisition methods in the above embodiments.

[0108] In one example, the electronic device may also include a communication interface 603 and a bus 610. For example, Figure 4 As shown, the processor 601, memory 602, and communication interface 603 are connected through bus 610 and complete communication with each other.

[0109] The communication interface 603 is mainly used to realize communication between various modules, devices, units and / or equipment in the embodiments of this application.

[0110] Bus 610 includes hardware, software, or both. For example, and not limitingly, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a Microchannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable buses, or combinations of two or more of these. Where appropriate, bus 610 may include one or more buses. Although specific buses are described and illustrated in embodiments of this application, this application contemplates any suitable bus or interconnect.

[0111] Furthermore, in conjunction with the information acquisition methods described in the above embodiments, this application embodiment can provide a computer storage medium for implementation. This computer storage medium stores computer program instructions; when these computer program instructions are executed by a processor, they implement any of the information acquisition methods described in the above embodiments.

[0112] This application provides a computer program product in which the instructions are executed by the processor of an electronic device, causing the electronic device to perform any of the information acquisition methods described in the above embodiments.

[0113] It should be clarified that this application is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described as examples. However, the method process of this application is not limited to the specific steps described. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of this application.

[0114] The functional blocks shown in the above-described structural diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this application are programs or code segments used to perform the required tasks. Programs or code segments can be stored on a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried on 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, fiber optic media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.

[0115] It should also be noted that the exemplary embodiments mentioned in this application describe methods or systems based on a series of steps or apparatus. 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 embodiments, or in a different order, or several steps can be performed simultaneously.

[0116] The foregoing flowcharts and / or block diagrams of methods, apparatus (systems) according to embodiments of the present disclosure have described various aspects of the present disclosure. It should be understood that each block of the flowcharts and / or block diagrams, and combinations of blocks in the flowcharts and / or block diagrams, 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 apparatus to create a machine such that these instructions, executable via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions / actions specified in one or more blocks of the flowcharts and / or block diagrams. 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 is also understood that each block of the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can also be implemented by special-purpose hardware performing the specified functions or actions, or can be implemented by a combination of special-purpose hardware and computer instructions.

[0117] The above description is merely a specific implementation of this application. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the protection scope of this application.

Claims

1. An information acquisition method, characterized in that, The method includes: Multiple training samples are obtained. Each training sample includes a CAN signal timing sequence and a semantic classification corresponding to the CAN signal timing sequence. The CAN signal timing sequence includes the timing sequences of N target signals, where N is a positive integer greater than 1. Each semantic classification corresponds to a high-level semantic action. During the training of the base model using multiple training samples, the weight matrix of the base model is updated to obtain the target model. The weight matrix of the base model is used to indicate the contribution weight of each target signal to each semantic classification. Based on the weight matrix of the target model, the encoding information corresponding to each semantic category is determined. The encoding information includes the semantic category, the associated signal corresponding to the semantic category, and the value range of the associated signal. The associated signal corresponding to the semantic category is the target signal associated with the semantic category among N target signals. The encoding information corresponding to each semantic category is recorded in the encoding dictionary.

2. The information acquisition method according to claim 1, characterized in that, Based on the weight matrix of the target model, the encoding information corresponding to each semantic classification is determined, including: For each semantic classification, the contribution weight of each target signal to the semantic classification is obtained from the weight matrix; and, Based on the contribution weight of each target signal to the semantic classification, determine the associated signal among the N target signals; and, Based on the sample set corresponding to the semantic classification, the value range of the associated signal is determined, wherein the sample set includes training samples identified by the semantic classification selected from multiple training samples.

3. The information acquisition method according to claim 2, characterized in that, Based on the contribution weight of each target signal to the semantic classification, the associated signals among the N target signals are determined, including: The contribution weights of each target signal to the semantic classification are sorted from largest to smallest. The target signals corresponding to the contribution weights that rank before the first contribution weight in the sorting results are taken as the associated signals. The first contribution weight is the contribution weight in the sorting results where the absolute value of the difference between the first and second contribution weights is greater than a first preset threshold. The second contribution weight is the contribution weight preceding the first contribution weight in the sorting results.

4. The information acquisition method according to claim 2, characterized in that, Based on the sample set corresponding to the semantic classification, the value range of the associated signal is determined, including: The values ​​of each associated signal in the sample set corresponding to the semantic classification are statistically analyzed to obtain the first confidence interval of the associated signal value under the first preset confidence level. Based on each of the first confidence intervals, the value range of each associated signal is determined.

5. The information acquisition method according to claim 1, characterized in that, Record the encoding information corresponding to each semantic category into an encoding dictionary, including: For each semantic classification, the duration of the associated signals that satisfy preset conditions in the sample set corresponding to the semantic classification is statistically analyzed to obtain a reference duration corresponding to the semantic classification. This reference duration is used to limit the duration of the associated signals corresponding to the semantic classification. The preset conditions are determined based on the value range of the associated signals. The encoding information corresponding to the semantic classification is updated based on the reference duration corresponding to the semantic classification to determine new encoding information; and The new encoding information is recorded in the encoding dictionary.

6. The information acquisition method according to claim 5, characterized in that, The encoding information corresponding to the semantic classification is updated based on the reference duration corresponding to the semantic classification to determine the new encoding information, including: The contribution weights of each target signal to the semantic classification are sorted from largest to smallest. If there is a third contribution weight in the sorting result, the target signal corresponding to the third contribution weight is used as a mutual exclusion signal. The third contribution weight is negative and the absolute value of the third contribution weight is greater than the second preset threshold. The values ​​of each mutual exclusion signal in the sample set corresponding to the semantic classification are statistically analyzed to obtain the second confidence interval of the mutual exclusion signal values ​​under the second preset confidence level. The range of values ​​for the mutual exclusion signal is determined based on the second confidence interval. The encoding information corresponding to the semantic classification is updated based on the reference duration corresponding to the semantic classification, the mutual exclusion signal, and the value range of the mutual exclusion signal, to determine the new encoding information.

7. The information acquisition method according to claim 6, characterized in that, The encoding information corresponding to the semantic classification is updated based on the reference duration corresponding to the semantic classification, the mutual exclusion signal, and the value range of the mutual exclusion signal, to determine the new encoding information, including: Based on the associated signal corresponding to the semantic classification, the value range of the associated signal, the reference duration, the mutual exclusion signal, and the value range of the mutual exclusion signal, a temporal rule corresponding to the semantic classification is generated. The temporal rule corresponding to the semantic classification includes: each associated signal is restricted to a value within its corresponding value range, and the associated signal is restricted to the duration of the reference duration; and each mutual exclusion signal is restricted to a value within its corresponding value range. The semantic classification, the associated signal of the semantic classification, the value range of the associated signal, and the temporal rules corresponding to the semantic classification are used as the new encoding information.

8. The information acquisition method according to claim 1, characterized in that, After recording the encoding information corresponding to each semantic category into the encoding dictionary, the method further includes: Obtain natural language commands; The natural language instruction is analyzed to determine the target semantic category to which the natural language instruction belongs; The target semantic classification is searched in the encoding dictionary to obtain the target encoding information corresponding to the target semantic classification; Configure a value within the value range corresponding to each associated signal in the target encoding information to obtain execution information; The vehicle is controlled based on the execution information to obtain execution feedback results; If the execution feedback result indicates that the actual execution value of the associated signal in the target encoding information exceeds the value range of the associated signal, then the value range corresponding to the associated signal of the target encoding information in the encoding dictionary is finely adjusted.

9. The information acquisition method according to claim 8, characterized in that, After fine-tuning the value range corresponding to the associated signal of the target encoded information in the encoding dictionary, the method further includes: If the most recent execution feedback result obtained after multiple consecutive fine-tunings indicates that the actual execution value of the associated signal in the target encoding information exceeds the value range obtained by the most recent fine-tuning of the associated signal, then the actual executed CAN signal timing sequence and the corresponding semantic classification are used as new training samples to train the target model, and the process jumps to the step of determining the encoding information corresponding to each semantic classification based on the weight matrix of the target model.

10. The information acquisition method according to claim 1, characterized in that, The high-level semantic actions include action type, action intensity, and action scenario.

11. An information acquisition device, characterized in that, The device includes: The acquisition module is used to acquire multiple training samples. Each training sample includes a CAN signal timing sequence and a semantic classification corresponding to the CAN signal timing sequence. The CAN signal timing sequence includes timing sequences of N target signals, where N is a positive integer greater than 1. Each semantic classification corresponds to a high-level semantic action. The training module is used to update the weight matrix of the base model during the training of the base model using multiple training samples to obtain the target model. The weight matrix of the base model is used to indicate the contribution weight of each target signal to each semantic classification. The determining module is used to determine the encoding information corresponding to each semantic category based on the weight matrix of the target model. The encoding information includes the semantic category, the associated signal corresponding to the semantic category, and the value range of the associated signal. The associated signal corresponding to the semantic category is the target signal associated with the semantic category among N target signals. The recording module is used to record the encoding information corresponding to each semantic category into the encoding dictionary.

12. An electronic device, characterized in that, include: Processor and memory storing computer program instructions; When the processor executes the computer program instructions, it implements the information acquisition method as described in any one of claims 1-10.

13. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer program instructions, which, when executed by a processor, implement the information acquisition method as described in any one of claims 1-10.

14. A computer program product, characterized in that, When the instructions in the computer program product are executed by the processor of the electronic device, the electronic device performs the information acquisition method as described in any one of claims 1-10.