Method for processing sensor data and data processing network
By dividing sensor resource groups according to priority in the autonomous driving system and combining data-driven and time-driven methods, the sensor data processing network is optimized, and the problems of predictability and reproducibility in sensor data processing are solved, and efficient computing capabilities are achieved Utilization and low latency data processing.
Patent Information
- Application Number
- CN202280093761.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-01-20
- Filing Date
- 2022-12-21
- Publication Date
- 2024-11-01
AI Technical Summary
In autonomous driving systems, it is difficult to achieve predictability and reproducibility of data processing in sensor data processing networks, especially on multi-core systems, resulting in unbalanced hardware load and increased latency, making it difficult to meet the requirements of high performance and low latency.
By dividing the sensor into resource groups of different priorities, activate the data processing module according to the priority, and combining data-driven and time-driven execution methods, the resource use of the data processing network is optimized to ensure efficient utilization of computing power and high quality of output data. .
It realizes high reproducibility and low latency of data processing in autonomous driving systems, improves the load utilization rate of computing capabilities, ensures the accuracy of software lock step and recalculation, and meets the requirements of high performance and low latency.
Smart Images

Figure CN118891613A_ABST
Abstract
Description
Technical Field
[0001] A driver assistance or autonomous driving system is composed of many individual software units, which can usually be described using graphs with respect to data flows. These software units (also often referred to as executable units, nodes, or data processing components) are characterized by processing a large amount of input data and generating a large amount of output data therefrom. Background Art
[0002] In the above described system, input data from sensors, such as radar or video, is processed in a graph from a data processing component that visualizes the data flow in a static view.
[0003] Different software units regularly form complex data processing networks with which sensor data are processed in order to execute actions based on the sensor data, wherein these actions may be, for example, control tasks within the scope of automated driving of the vehicle. Data processing in a data processing network usually includes a plurality of data processing steps or data processing tasks that are built upon one another and are executed with data processing components.
[0004] In such data processing networks, the execution of data processing tasks depends on corresponding conditions, which may include stimuli such as time steps or data arrival. The control flow that determines the execution of the data processing components is usually derived from the data flow.
[0005] There are data-driven approaches, where the execution of data processing components is based on data flows. In addition, there are approaches that apply time-driven execution of data processing components. In recent years, this has been enriched by the concept of worst-case execution time (longest possible execution duration).
[0006] In a strictly data-driven approach, the execution of a data processing component is triggered by the arrival of a data packet. In the corresponding diagram, sending a data packet during the execution of a data processing component may lead to the immediate execution of the associated data processing component. If a new data packet arrives while a data processing component is still executing, multiple parallel executions of the data processing component are even conceivable. Such a system has low latency, but a large number of possible states.
[0007] Particularly in the processing of sensor data for automated driving operation, there are often limitations with regard to the computing power available for similarly processing all available sensor data. Summary of the invention
[0008] Against this background, a data processing method is to be described here, the aim of which is to achieve reproducibility of the data processing while at the same time achieving high performance.
[0009] A method for processing sensor data in a vehicle is to be described, the vehicle having a data processing network, the data processing network comprising a plurality of data processing modules, each of which comprises at least one data processing component, wherein each data processing component is designed for a defined data processing task for processing sensor data, wherein each data processing module receives sensor data and / or output data of further data processing modules as input data and generates output data, which in turn are network output data of the data processing network and / or input data of further data processing modules, wherein at least two sensors are divided into at least two different resource groups, wherein the method comprises the following steps:
[0010] A) receiving at least one parameter, by means of which at least one priority of sensors of the resource group can be determined;
[0011] B) determining at least one priority of at least one resource group by means of at least one parameter;
[0012] C) Activate the data processing module according to the determined priority.
[0013] Particularly preferably, for at least one data processing module, the following steps are performed after step C):
[0014] a) receiving an input data set for performing a data processing task in at least one data processing component of a corresponding data processing module;
[0015] b) receiving a stimulus for activating at least one data processing component of the data processing module;
[0016] c) if an input data set has been received in step a) and a stimulus has been received in step b), activating at least one data processing component of the data processing module and executing a data processing task for which the data processing component is designed to generate output data using the corresponding input data; and
[0017] d) Providing the output data for further data processing and / or as network output data.
[0018] Carrying out the method according to the resource groups and steps A) to C) makes it possible to improve the use of resources in data processing in a data processing network in the vehicle.
[0019] The at least one parameter received in step A) is any parameter that can technically meaningfully determine the priority of a specific resource group. It is explained below which types of parameters can basically be meaningful in this regard. Parameters that can determine the priority of a resource group are in particular parameters that can determine the priority with which the sensor data of the sensors within the respective resource group are to be processed.
[0020] In step A), the parameters can basically come from any data source, for example, such parameters can come from a specification outside the method. However, it is also possible for such parameters to be generated by the method itself, for example, by determining such parameters in a previous execution of the method within a data processing network. Another possibility is that the sensor data from at least two sensors of the resource group are fed to further data processing in parallel with the method described here, and in this data processing, if necessary in a short preliminary evaluation of the sensor data, such parameters are determined in order to estimate the priority with which the sensor data should be processed.
[0021] In step B), at least one priority of at least one resource group is determined with the aid of at least one parameter. Preferably, priorities are determined separately for all resource groups. This step also includes, in particular, weighting of the corresponding parameters. For example, it is possible that, with the aid of the parameters received in step A), the priorities of both resource groups are very high. It may then be meaningless to set both resource groups to very high priorities. Usually, in this case it is more advantageous to assign both priorities to equal average priority values. This method can be technically implemented, for example, so that the total of all priorities determined in step B) is less than the total priority sum. Other suitable methods that can be implemented in step B) are, for example, to perform a downgrade of the priority of other resource groups instead of the upgrade of the priority of the resource group or, if necessary, as a supplement to it.
[0022] The data processing modules activated in step C) with the aid of the determined priorities preferably include all data processing modules required for the desired evaluation of the corresponding sensor data from the sensors of the resource group. This includes in particular not only data processing modules that directly process the sensor data as input data, but also data processing modules that process output data of other data processing modules as input data, which output data are the processing results of the sensor data of the sensors of the corresponding resource group with a high priority.
[0023] In this case, it is also possible to process sensor data from sensors of other resource groups with a lower priority. For example, it is possible that a data processing module which is primarily concerned with the data processing of sensor data from a particular resource group is sometimes additionally provided with sensor data from sensors of other resource groups because the graphics of the data processing network prescribe this, for example because this is beneficial for a comprehensive evaluation of the sensor data ascertained by the sensors.
[0024] Compared to the high-level method steps A) to C) for determining and using the priorities of the individual data processing tasks, the data processing in the individual data processing modules according to steps a) to d) forms a preferred, secondary method. The two methods (according to steps A) to C) and according to steps a) to d) act together to ensure particularly good utilization of the available computing power / hardware with simultaneous high reliability and reproducibility of the data processing.
[0025] The data processing according to steps a) to d) in the individual data processing modules solves in particular the problem that predictability and reproducibility are difficult to achieve with conventional methods. This makes it difficult to implement safety measures, such as software lockstep, where the same software is executed simultaneously on two μprocessors. It is also difficult to recalculate the recorded driving situation (recalculation) as accurately as possible, since other runtime behaviors and therefore possibly other results have to be taken into account.
[0026] The method described here according to steps a) to d) is based on the fact that a plurality of data processing components of the data processing network are each combined into so-called data processing modules and thus produce an additional higher-level structure of the data processing network. In this structural level, the input data and output data of the individual data processing components are each combined in a module and the data flow through the data processing network at this level is controlled or monitored. This structure is preferably also used to utilize the priorities determined in step B) in order to (preferably) activate the corresponding data processing modules according to the determined priorities (step C).
[0027] In the automotive industry, where the proportion of control technology is high, execution in time slices has always been dominant (e.g. 10ms, 20ms, 100ms tasks). However, in particular, if a multi-core system is used as hardware for performing data processing using such a data processing network, additional problems arise. In particular, on multi-core systems, the runtime of the data processing components of the data processing network fluctuates. Due to this fluctuating runtime, it becomes difficult or no longer predictable to assign the output data of a data processing component as input data of another data processing component. This predictability can be improved, for example, using the concept of the maximum possible execution time / processing time, if necessary. However, these concepts worsen the loadability of the hardware (multi-core system). The hardware must be designed significantly larger.
[0028] The described (advanced) method provides synergy effects. By focusing on data processing tasks and data processing modules with a particularly high priority, the utilization of the available hardware can be further improved and increasingly used for the purpose of ensuring a particularly high quality of the output data of the data processing network.
[0029] In particular, the amount of sensor data to be processed increases significantly with highly complex driver assistance applications or in the application of autonomous driving. However, the required response time of such systems is similar or even lower than in conventional driver assistance applications. This means that, within a similar time period, more and more computationally expensive calculations must be performed in a longer processing chain. This leads to unacceptable delays in existing time-driven methods, because additional delays are added by the transitions between the individual time slices in the entire chain.
[0030] The method proposed according to method steps a) to d) makes it possible to combine the method of data-driven execution with the results of time-driven execution of data processing components. As a result, the data processing network can be operated so that lower delays (better performance) than in purely time-driven systems and better reproducibility than in strictly data-driven systems occur. This can meet the high requirements regarding delays in autonomous driving systems and at the same time have a system that can achieve accurate reproducibility in execution and recalculation in software lockstep. For step b), a suitable stimulus can be determined, which determines the execution of the data processing in step c), wherein the input data received in step a) are then used. Subsequently, output data are provided for subsequent processing steps using step d). If the corresponding data processing module is the last data processing module in the data processing network, the data can also be referred to as network output data or system output data, which, for example, are simultaneously input data of a controller that processes or considers the data for an application.
[0031] By means of the method, a time- and data-driven execution of data processing tasks is possible. When a stimulus is received in step b), the data processing actually starts. With the arrival of the stimulus, the data processing components can see the data to a certain extent. Therefore, the temporally related data structures are transmitted together between the data processing modules. With the help of the data processing modules provided in the high-level structure, the data processing components are provided with data. The structure of the high-level data processing modules and the fact that the data are provided at this level significantly reduce the number of system states of the entire data processing network.
[0032] Particularly preferably, after step d), the following steps are still performed:
[0033] e) Providing a validation data set consisting of input data sets, stimuli and / or output data for validating the execution of at least one data processing task by means of at least one data processing component.
[0034] Step e) is understood here to be a part of a sequence of method steps a) to d) which is carried out for each data processing module after step c).
[0035] Preferably, the validation data set additionally contains at least one piece of time information which enables a time point of the stimulation and / or time information regarding the processing of at least one data processing task.
[0036] For example, such time information can be provided by recording the start and end of the execution of the data processing task. Thus, the processed input data and the generated output data can be shown on a common logical timeline, and the test calculation of the described method can be realized.
[0037] It is possible that when a stimulus appears as an activation, a data processing module that processes output data of another data processing module as input data starts processing. Thus, compared to a time-driven method, an additional delay due to the WCET and until the start of the time slice of the receiving data processing module is avoided.
[0038] The method described here enables reproducible execution of the individual data processing tasks, since information about the respectively processed input data is reproducible.
[0039] In the proposed method, during implementation (execution step c), the data processing module always has a frozen view of the world or the input data being processed. During the execution of the method, the input data does not change. This is achieved by collecting the incoming input data in step a), monitoring the data and transferring the data atomically in logical time. In order to consistently process the output data of a data processing module with respect to the output data of the data processing module through the execution of other data processing modules, these output data are preferably also collected.
[0040] Particularly preferably, for activating the data processing module in step C), the stimulus (9) received in step b) is ascertained with the priority determined in step B).
[0041] Steps c) and b) preferably involve together the interaction of the high-level method according to steps a) to c) with the secondary method according to steps a) to d) which is carried out for each data processing module. Preferably, the sending of stimuli for activating the corresponding data processing module is controlled by means of priorities. With the aid of priorities, for example, a delay of data processing modules with a lower priority can be caused in a targeted manner in order to provide additional computing power for data processing modules with a higher priority. For example, it is also possible to increase the (time-controlled) frequency with which stimuli are sent for specific data processing modules.
[0042] Preferably, the stimuli used in step b) are generated using at least one timer, which timer predetermines a time grid for regularly repeating the execution of a data processing task by means of the data processing component.
[0043] For example, the timer can be a corresponding structure group on the hardware on which the data processing network runs and which outputs a timer signal for each data processing module at regular intervals, which timer signal forms a stimulus and triggers the execution of the method. Such a time grid can be modified by means of priorities in order to achieve the execution of data processing tasks according to the corresponding priorities.
[0044] It is also preferred that the stimulus used in step b) is generated using at least one availability signal, which indicates the availability of data. For example, this availability signal can be caused by a previous execution of the method described in another data processing module. If it can be seen with the aid of the priorities that, despite the current availability of data, data processing with a specific data processing module is less important in a specific case, then such an availability signal can be delayed, for example, with the aid of the priorities, in order to provide computing power for data processing tasks with a higher priority.
[0045] Particularly preferably, the stimulus is formed by a combination of a timer and an availability signal. Whenever new data is indicated by an availability signal, the data processing module is in preparation for responding to the timer. Only when the timer and (at least one) availability signal indicate that data processing should be started, data processing is carried out in the data processing components of the corresponding data processing module (step c)). Preferably, the priority of the corresponding resource group is also included in the formation of the stimulus using the combination of a timer and an availability signal.
[0046] Particularly preferably, step a) is performed by an input data receiving module of the data processing module, which has an input memory for buffering incomplete input data and performs an integrity test of the input data set.
[0047] Furthermore, it is preferred that step d) is performed by means of an output data providing module which has an output memory in which not yet complete output data is buffered.
[0048] Preferably, the data processing module therefore has special gates (input data receiving module=input gate and output data providing module=output gate) in order to perform the data processing task.
[0049] Via these gates, the control unit can monitor the data flow between the data processing modules. If the control unit now synchronizes the start and end of the execution of the data processing modules with the forwarding of the data through the gates, it can control which data processing module is executed at what time and with what data. To decide on the activation of the data processing module, the above-mentioned stimuli are evaluated.
[0050] It is particularly preferred that the method is performed on a data processing device on which multiple threads can be executed in parallel or pseudo-parallel, wherein each data processing module is assigned to a thread, and wherein in step C) the data processing module is activated by activating the corresponding thread with the corresponding priority.
[0051] Furthermore, the data processing device preferably provides an operating system for executing the method, wherein in the operating system system threads can be assigned system priorities, wherein in order to activate the corresponding thread with the corresponding priority in step C), a conversion of the priority into the system priority is performed.
[0052] The threads are preferably preset or predefined by an operating system, on which the method is executed, or on which the described data processing network is designed to execute the described method. For example, such an operating system may provide a fixed defined number of threads or a variable (adaptable as required) number of threads. In a preferred embodiment variant, the data processing tasks corresponding to the data processing modules (when they should be executed regularly) are set to the corresponding threads for execution. In the threads, these data processing tasks are processed according to priority.
[0053] Typically, a priority system is preset by the operating system, and the priority system can control the priority of processing data processing tasks in the operating system. However, such a priority system is usually not really suitable for executing the priority management of data processing tasks for processing sensor data based on a prioritized resource group as proposed here. For example, there is a priority system in the operating system, which is mainly designed to give high priority to each particularly important task and promote its accelerated (or earlier) processing. The system described here usually has a slightly different purpose. Compared with if a certain amount of data processing tasks are upgraded, if a large number of less relevant data processing tasks are downgraded in terms of their priority, it is usually more likely to achieve faster processing of sensor data from sensors of a specific resource group (the purpose is to generate decision-related information as early as possible / as soon as possible to control the autonomous driving process). For this reason. These requirements can usually only be implemented with limited use of a priority system, which provides a very suitable operating system in itself. For this reason, a priority compiler or priority converter is proposed here, which converts the priority determined in step B) into a system priority, and then uses these system priorities to execute the execution of data processing tasks or data processing modules in the threads of the operating system.
[0054] Furthermore, it is advantageous that, by determining the priority in step B), the computing power of the data processing device executing the method is concentrated on processing data from sensors in one or more resource groups, namely on these sensors or resource groups assigned a high priority in step B).
[0055] When focusing computing performance on the sensor data of sensors in a specific resource group, it is possible in particular to process the data from these sensors with reduced processing time, increased processing frequency (more frequently repeated testing and processing of updated sensor data of these sensors) and / or with greater accuracy (deeper analysis of the corresponding sensor data). Preferably, the processing of sensor data from sensors of other resource groups is not completely suppressed, and in step B), a lower (or lower) priority is determined for these other resource groups.
[0056] Furthermore, the method is advantageously carried out on a data processing device and in step B) the priority is determined taking into account at least one load parameter, wherein the at least one load parameter takes into account the load of the data processing device when processing sensor data from sensors of one or more specific resource groups.
[0057] Such a load parameter can be included as a higher-level variable in the prioritization in step B). In a comprehensive data processing system, which comprises a plurality of microprocessors, for example, a plurality of load parameters can also be used in parallel with one another.
[0058] The method is particularly preferred if the priorities are determined in step B) as a function of the driving situation.
[0059] The method is further advantageous if in step B) a priority is determined such that data from sensors for which increased attention is advantageous depending on the driving situation are processed preferentially.
[0060] Here, a plurality of effective method controls are possible in general. In this case, it is preferably advantageous that the parameters received in step A) can be used to deduce the corresponding current driving situation. For example, these parameters can be directly obtained from the bus system of the vehicle. For example, it is possible to obtain a universal steering angle when turning right or left. Other information that can be obtained through the bus system is, for example, speed, reversing, etc. In other implementation variants, it is also possible to obtain these parameters, for example, by a previous execution of the method described here. For example, what can be obtained from the sensor data by means of the method is that many pedestrians are located near the vehicle. Subsequently, this information can be used to determine the priority of the method. Another group of possible available information is, for example, geographic information, such as the question of whether the vehicle is just on a highway or a country road, or, for example, time information that can infer a higher traffic flow, or similar information.
[0061] In step B), it is possible to determine which sensors or resource groups should be given more attention depending on the driving situation in order to determine the priority by means of many different methods. This can be achieved, for example, by means of characteristic curves or networks, in which knowledge is stored about the need for increased attention. However, this can also be a fairly simple decision. If a resource group includes sensors on the left side of the vehicle and another resource group includes sensors on the right side of the vehicle, it may be advantageous to focus the available computing performance on the sensors on the right side of the vehicle when the vehicle turns right. Any more complex situations can be covered by the described method.
[0062] Preferably, the provision of sensors / data sources or their division into resource groups also enables that, by means of priorities, it can be controlled how many data processing modules for processing sensor data from sensors of a resource group can be activated simultaneously. If a stimulus for a module occurs, the processing of this data processing module or the associated data processing task can preferably be postponed until "free resources" are available again for this resource group.
[0063] Preferably, a parameter is provided for this purpose, which defines the maximum number of data processing modules that are allowed to be processed. This parameter can preferably be adapted dynamically (depending on the driving situation).
[0064] A data processing network for executing the method should also be described here, which has at least one data processing module, which has an input data receiving module assigned to an input memory and an output data providing module assigned to an output memory, and also has at least one data processing component for performing data processing tasks based on input data in the input memory and for generating output data for storage in the output memory.
[0065] In particular, the data processing network also comprises a prioritization module for ascertaining priorities for activating the individual data processing modules according to steps A) to C).
[0066] Furthermore, a data processing network comprising a plurality of such data processing modules shall be described.
[0067] The explanation of the method provided above is transferable and applicable to data processing modules and data processing networks. BRIEF DESCRIPTION OF THE DRAWINGS
[0068] The method is explained in detail below with the aid of the accompanying drawings.
[0069] Figure 1 A vehicle using the data processing network and applying the method is shown;
[0070] Figure 2 A data processing module for executing the method is shown;
[0071] Figure 3 Another embodiment variant of a data processing module for executing the method is shown;
[0072] Figure 4 shows the manner in which data is processed using the method shown on a timeline;
[0073] Figure 5 shows another way of processing data using the method shown on a timeline, and
[0074] Figure 6 Yet another further way of processing data using the method is shown on a timeline. DETAILED DESCRIPTION
[0075] Figure 1 A vehicle 1 is shown schematically. The vehicle 1 is in particular a road vehicle, such as a passenger car or a truck. The vehicle 1 has sensors 23 for detecting information, such as environmental data from the environment of the vehicle 1, which can be used by various driver assistance systems. Such systems can be, for example, active or passive safety systems or systems for automatic (or semi-automatic) driving operations. Such systems are Figure 1 The controller 20 is shown in FIG.
[0076] In order for the controller 20 to be able to process the data of the sensors 23, these data must be prepared. For this purpose, the vehicle 1 has a data processing network 4. The sensors 23 form a data source 13 for the data processing network 4, which provides the data processing network 4 with sensor data 3. The controller 20 forms an output data receiver 21 for the data processing network 4, which receives network output data 14 of the data processing network 4.
[0077] The data processing network 4 is composed of a plurality of data processing modules 5, each of which is composed of (one or more) data processing components 6. The data processing network 4 with the data processing modules 5 and the data processing components 6 is preferably implemented on hardware 25, which in particular has a data memory 27, on which the data processing network 4 can store the data 2, and which can also provide the data processing network 4 with various other hardware functions, such as a timer 10.
[0078] according to Figure 1 The vehicle 1 has sensors 23 or data sources 13 assigned to two different resource groups 28. In a simple example, this can be, for example, sensors 23 or data sources 13 in a first resource group 28 that relate to the left side of the vehicle 1, and sensors 23 or data sources 13 in a second resource group 28 that relate to the right side of the vehicle 1. With the method described, a requirement-based prioritization of the sensor data 3 from the sensors 23 or data sources 13 of the respective resource groups can be performed. For this purpose, the data processing network 4 preferably has a prioritization module 29.
[0079] Figure 2 and Figure 3 Different embodiments of the data processing modules 5 of the data processing network 4 are shown. The method is carried out at the level of each individual data processing module 5. Each data processing module 5 has an input data receiving module 15 with an input memory 16 for receiving input data 7 and an output data providing module 17 with an output memory 18 for providing output data 8, as well as a data processing component structure 26 with data processing components 6 for data processing from the input data 7 to the output data 8. The input data receiving module 15 can have an interface for receiving a stimulus 9, by means of which data processing with the data processing component 6 can be started. The output data providing module 17 can have an interface for outputting an availability signal 12 when the data processing with the data processing component 6 is completed and the output data 8 is available.
[0080] Method steps a) and b) of the method relate to the reception of input data 7 and are primarily performed using an input data reception module 15. Method steps d) and e) of the method relate to the provision of output data 8 and are primarily performed using an output data provision module 17. The actual data processing takes place in step c) in the data processing components 6, which form a data processing component structure 26 of the corresponding data processing module 5.
[0081] according to Figure 3 This embodiment variant of the data processing module 5 has a feedback element 22 as a special feature. Figure 1 A data processing network 4 is shown by way of example, which ultimately processes the data from the data source 13 directly deterministically and without feedback from the data source 13 (here the sensor 23) to the output data receiver 21 (controller 20). This is also sufficient for many application cases. However, by Figure 3 The feedback element 22 shown also demonstrates how indirect deterministic data processing can be implemented in such a constructed data processing network 4, namely by such a feedback element 22. The output data 8 can be directed back to the input data receiving module 15 of the same data processing module 5 via such a feedback element 22, so that the output data can then be processed in subsequent data processing using the data processing component 6 of the data processing module 5. Thus, the data processing network 4 can be provided with data memory capabilities. Figure 3 In the embodiment variant of , a further special feature is shown, namely that the output data 8 are composed of partial data sets 19, which are available at different points in time during the data processing with the data processing component 6. The output data provision module 17 can be designed to output the availability signal 12 for all output data 8 (partial data sets 19) at one time.
[0082] Figure 4 , 5 6 show different types and methods of data processing which can be performed using the data processing network 4 or the method.
[0083] The diagrams each show different data processing modules 5.1, 5.2 and / or 5.3, wherein the duration of the data processing performed by the data processing components 6 respectively belonging to the data processing module 5 is respectively plotted as a bar graph on a timeline 24. Data sources 13 (here respectively sensors 23) are respectively schematically shown above, with which data 2 (here respectively sensor data 3) can be introduced into the data processing network 4.
[0084] The individual data processing modules 5.1, 5.2 and / or 5.3 are shown multiple times in succession on the timeline 24. This shows that the individual data processing modules 5.1, 5.2 and / or 5.3 are each executed multiple times repeatedly and different input data are used in each case. When a stimulus 9 is present, execution of one of the data processing modules 5.1, 5.2 and / or 5.3 begins.
[0085] Figure 4 , 5 6 and 9 respectively show different types of stimuli that can be used here.
[0086] Figure 4 It is shown that only an availability signal 12 which indicates the availability of data for carrying out a specific data processing task with the data processing modules 5 . 1 , 5 . 2 and / or 5 . 3 is used as stimulus 9 . Figure 4 The method shown is very uncontrolled in data technology. Once new data is available, the corresponding data processing modules 5.1, 5.2 and / or 5.3 are started. Although a high processing speed is achieved thereby. However, there is also a significant reduction in the traceability of which data has been processed by the corresponding data processing modules 5.1, 5.2 and / or 5.3. This is particularly applicable because it is impossible to accurately predict the duration of processing data using data processing modules 5.1, 5.2 and / or 5.3, and therefore there is no or only a very small reproducibility of which data processing module 5.1, 5.2 and / or 5.3 responds to which input data. Here, "reproducibility" refers to the reproducibility of processing data using the data processing network 4. In this case, low reproducibility means that a lot of effort must be spent to trace back the data processing using each data processing module 5.1, 5.2 and / or 5.3, which is necessary, for example, for debugging tasks or tasks for ensuring the correctness of data processing in redundant systems.
[0087] Figure 5It is shown that the signals of the timer 10 following the fixed time grid 11 are respectively used as stimuli 9. By means of such stimuli 9 for triggering the data processing using the data processing modules 5.1, 5.2 and / or 5.3, it is possible to always know exactly with which input data the data processing using the data processing modules 5.1, 5.2 and / or 5.3 is started. High reproducibility in the above sense is achieved, but at the same time the performance of the data processing network 4 is significantly reduced. Here, the performance of the data processing network 4 refers to the ability of the data processing network 3 to be run with as few hardware resources as possible. Because it must be ensured that the data processing using the data processing module (for example, data processing module 5.1) is completed before the other data processing modules (for example, data processing module 5.2) that process the output data 8 of the first data processing module as input data are started. Because the duration of the data processing using the data processing modules 5.1, 5.2 and / or 5.3 cannot be accurately predicted, the time grid must be fully designed with the help of the longest possible execution duration.
[0088] according to Figure 6 The implementation variants are combined according to Figure 4 and Figure 5 In the data processing network 4 , depending on the task, an availability signal 12 or a timer 10 is used as stimulus 9 .
Claims
1. A method for processing sensor data (3) of at least two sensors (13, 23) in a vehicle (1), the vehicle having a data processing network (4), the data processing network comprising a plurality of data processing modules (5), the data processing modules each comprising at least one data processing component (6), wherein: Each data processing component (6) is designed for a defined data processing task for processing the sensor data (3), wherein each data processing module (5) receives the sensor data (3) and / or output data (8) of another data processing module (5) as input data (7) and generates output data (8), the output data being network output data (14) of the data processing network (4) and / or input data (7) of another data processing module (5), wherein the at least two sensors (13, 23) are divided into at least two different resource groups (28), wherein the method comprises the following steps: A) receiving at least one parameter, by means of which at least one priority of a resource group (28) can be determined; B) determining at least one priority of at least one resource group (28) by means of the at least one parameter; C) Activating the data processing module (5) according to the determined priority.
2. The method according to claim 1, wherein: For at least one data processing module (5), the following steps are performed after step C): a) receiving a set of input data (7) for executing said data processing task in at least one data processing component (6) of a corresponding data processing module (5); b) receiving a stimulus (9) for activating at least one data processing component (6) of the data processing module (5); c) if the set of input data (7) has been received in step a) and the stimulus (9) has been received in step b), at least one data processing component (6) of the data processing module (5) is activated and the data processing task is performed, for which the data processing component (6) is designed to generate output data (8) using the corresponding input data (7); and d) providing the output data (8) for further data processing and / or as network output data (14).
3. The method according to claim 2, wherein: For activating the data processing module (5) in step C), the stimuli (9) received in step b) are ascertained with the priority determined in step B).
4. A method according to any one of the preceding claims, wherein: The stimuli (9) used in step b) are generated using at least one timer (10) which predefines a time grid (11) for regularly repeating the data processing tasks by means of the data processing element (6).
5. The method according to claim 2, wherein: The stimulus (9) used in step b) is generated using at least one availability signal (12) which indicates the availability of the data (2).
6. A method according to any one of the preceding claims, wherein: Step a) is performed using an input data receiving module (15) of the data processing module (5), the input data receiving module having an input memory (16) for buffering incomplete input data (7) and performing an integrity test on the input data (7) set.
7. A method according to any one of the preceding claims, wherein: Step d) is performed using an output data providing module (17), which has an output memory (18) in which the incomplete output data (8) are buffered.
8. A method according to any one of the preceding claims, wherein: The method is performed on a data processing device on which a plurality of threads can be executed in parallel or pseudo-parallel, wherein each data processing module (5) is assigned to a thread, and wherein in step c), the data processing module (5) is activated by activating the corresponding thread with the corresponding priority.
9. A method according to any one of the preceding claims, wherein: The data processing device provides an operating system for executing the method, wherein in the operating system system threads can be assigned system priorities, wherein in order to activate the corresponding thread with the corresponding priority in step c), the priority is converted into the system priority.
10. A method according to any one of the preceding claims, wherein: By determining the priorities, the computing power of the data processing device executing the method is concentrated on processing data from sensors (13, 23) in one or more resource groups (28).
11. A method according to any one of the preceding claims, wherein: The method is performed on a data processing device and in step B) a priority is determined taking into account at least one load parameter, wherein the at least one load parameter takes into account the load of the data processing device when processing sensor data (3) from sensors (13, 23) of one or more specific resource groups (28).
12. A method according to any one of the preceding claims, wherein: In step d), a usability signal (12) is additionally generated, by means of which it can be detected that the output data (8) have been made available for further processing.
13. A method according to any one of the preceding claims, wherein: The priorities are determined in step B) as a function of the driving situation.
14. The method according to claim 13, wherein: The priority is determined in step A) such that data from sensors for which increased attention is advantageous depending on the driving situation are processed preferentially.
15. A data processing network (4) for executing a method according to any one of the preceding claims, the data processing network having at least one data processing module (5), the at least one data processing module having an input data receiving module (15) assigned to an input memory (16) and an output data providing module (17) assigned to an output memory (18), and also having at least one data processing component (6) for performing data processing tasks based on input data (7) in the input memory (16) and for generating output data (8) for storage in the output memory (18).
