Method for transmitting structured data and data processing system

Lock-free data exchange is realized on the shared memory area through structured data blocks and atomic operations, which solves the performance bottleneck caused by the lock mechanism in distributed access, realizes high-performance and high-security data exchange, and is suitable for highly automated driving. environment.

CN118535080APending Publication Date: 2024-08-23ROBERT BOSCH GMBH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410192950.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-02-21
Filing Date
2024-02-21
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

When accessing file containers in a shared memory area in a distributed manner, read access and write access are prone to conflicts, leading to erroneous memory states. The existing lock mechanism causes performance losses, especially in highly automated driving environments where large amounts of data are exchanged between data processing modules. There are performance bottlenecks.

Method used

Data is transmitted through structured data blocks, using the memory area to independently fill the data blocks and adjusting pointers through atomic operations to realize the linking and addition of data blocks, avoiding the use of locks and ensuring that the filling of data blocks is completed before linking, using The data block pool provides fixed or dynamic data blocks and supports lock-free and wait-free data exchange.

Benefits of technology

It implements a list of lock-free operations on the shared memory area, avoids the performance loss of locks, ensures high-performance and high-security data exchange, and is suitable for data exchange between large-scale data processing modules in highly automated driving environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118535080A
    Figure CN118535080A
Patent Text Reader

Abstract

The invention relates to a method for transmitting structured data between a module for data transmission and a module for data reception, the structured data being structured into data blocks, each of which is constructed with a first field having an address and at least one further field for holding links to other data blocks, the list is configured such that the list can be composed of data blocks linked to one another, and having an access data memory for storing a start pointer pointing to a first data block of the list and an end pointer pointing to a last data block of the list, the data block is first populated independently of the list, and then the data block is added to the list by adjusting the pointer memory by a further field in the data block and by adjusting the access data memory, the adjustment of the access data memory is performed by means of an atomic operation, the implementation of which can not be interrupted by other operations.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a method for transmitting structured data between a module for data transmission and a module for data reception. The present invention also relates to a data processing system, a computer program product and a computer-readable storage medium. Background Art

[0002] Whenever distributed access is made to file containers (e.g. lists, arrays or vectors) in a shared memory area, great care must be taken, since read access and write access can easily conflict, which can lead to incorrect memory states, as different data processing modules (threads / runnables) have access rights to the file containers. A common method for avoiding such conflicts is to use so-called locks. Locks are flags that can specifically prohibit read or write access for individual data processing modules. However, the use of locks leads to significant performance losses, since blocking access by locks usually prevents further data processing by the corresponding module during the lock period.

[0003] The purpose of the described method is to implement a data exchange between two data processing modules with extremely high performance and high security.

[0004] This method is particularly suitable in the context of highly automated driving, in which very large amounts of data are regularly exchanged between different data processing modules, which are, for example, different filters for processing data from environmental sensors of a motor vehicle.

[0005] The method described here is intended to provide a special list which can be operated without using locks and which enables distributed access to the list. Summary of the invention

[0006] The present invention relates to a method for transmitting structured data between a module for sending data and a module for receiving data.

[0007] wherein the structured data is structured into data blocks, and the method uses a memory area to store data through the data-sending module and read data through the data-receiving module so as to transfer data from the data-sending module to the data-receiving module,

[0008] The data blocks are each configured with a first field having an address and at least one further field for storing links to other data blocks, so that the list can be formed from mutually linked data blocks.

[0009] There is also an access data memory for storing a start pointer pointing to the first data block of the list and for storing an end pointer pointing to the last data block of the list,

[0010] In order to save data via the module that sends data, the data block is first filled independently of the list, and then the data block is added to the list by adjusting the pointer memory in another field in the data block and by adjusting the access data memory, wherein the adjustment of the access data memory is performed with the help of atomic operations, the implementation of which can not be interrupted by other operations.

[0011] It is essential for the method described that the filling of a data block is completed before the data block is linked with other data blocks by accessing the data memory.

[0012] The writing of a block of data is done independently of adding the block to the list. Writing a block of data takes time. Adding to the list is done very quickly. Since the filling of the block of data is done independently of the list (outside the list), and since adding the block of data to the chain is done by means of an atomic operation that can not be interrupted by other operations, the entire list does not have to be blocked for all modules that send data / modules that receive data that have access.

[0013] The method described can be implemented in this respect "lock-free" because no locks are required at the level of creating and updating the lists. In principle, only access to the data memory is critical for the lists. All other parts of the lists, such as the contents of the data blocks, in particular the links between the data blocks of the lists, are carried out at other levels. For this reason, it is possible to work "lock-free" on the lists.

[0014] In principle, this method is also "wait free" without waiting times, because each process (data sending module and data receiving module) can access the data memory at any time without restriction, because the access data memory is only modified by atomic operations.

[0015] The method provides a list that can be run on a shared memory area (shared memory) in a lock-free situation, and can realize distributed access to the list by different data processing modules.

[0016] This is due to the special structure of the list and of the described method steps, as well as the decisive step of using so-called atomic operations to add or delete data blocks to the list.

[0017] A linked list usually consists of a data block with two or three fields. The first field contains the actual data of the data block or a pointer to the data. The second field contains a pointer to the next data block, and if necessary, a third field contains a pointer to the previous data block. In the case where the list only contains a pointer to the next data block, the list is called a single linked list. In the case where the list contains pointers to both the previous data block and the next data block, the list is called a doubly linked list.

[0018] Furthermore, the list preferably has an access data memory, wherein the access data memory includes a pointer to the first data block of the list and, if necessary, a pointer to the last data block of the list and, if necessary, a memory for the length of the list. Starting from the access data memory, the entire list can be traversed forwards or backwards from data block to data block based on the pointers.

[0019] In a common list, new blocks of data are first added to the list and then filled with data.

[0020] In the method described here, data blocks are preferably first provided independently of the list. In principle, data blocks can always exist regardless of whether they are part of the list. Data blocks are preferably predefined. Preferably, a data block pool is provided for the method described here, which is also called a "mempool", which provides a fixed number (e.g. N) of the most available data blocks, all of which are suitable to become part of the list. Each of these data blocks can be associated to the list through its index / reference in the second field and the third field, thereby becoming a list node, or can also be deleted from the list again by changing the index / reference.

[0021] The maximum number of elements in a list may be limited by the size of the "memory pool". However, it is also possible to dynamically (at runtime) expand the "memory pool" so that the maximum size of the list is essentially unlimited.

[0022] The special trick that makes the lists described here work "lock-free" is to use atomic operations in certain operations to add or detach data blocks in the list. The scheme described here can in principle be applied not only to doubly linked lists, but also to singly linked lists, where the principle is explained here based on doubly linked lists, which are just a simplification of doubly linked lists.

[0023] The characteristic of atomic operation is that the atomic operation will not be interrupted by other processes on the processor, and different modules (modules for data transmission and modules for data reception) are running on the processor. Therefore, this atomic operation constitutes the smallest unit of the program that can be implemented on the processor. Common processors used for the method described in this article provide multiple atomic operations. Of particular importance here is the following atomic operation: this atomic operation can compare one data group with another data group, and then update the data group according to the comparison result. This atomic operation is also commonly referred to as "atomic compare exchange".

[0024] The addition of the data block to the list is preferably carried out in a multi-stage method, wherein the decisive step is an atomic operation, but the atomic operation is prepared and may fail if the access data memory changes during this period and this change is not yet apparent when preparing the atomic operation. Preferably, the process that should add the data block to the list first copies the content of the access data memory and stores it as a copy of the access data memory in a safe memory area, in which the copy of the access data memory is not damaged by other processes. Then, a new access data memory data group is created based on the data group to be added to the list and based on the access data memory or based on the copy of the access data memory (which is identical to the access data memory in content). In addition, in the data block to be added to the list and in the first data block of the list, the second field and the third field are changed so that the data block to be added or the new list node has been placed before the first data block of the list with respect to the assignment of the second field and the third field. Once these preparations are completed, the access data memory copy is checked by means of the atomic operation "atomic compare and exchange" whether it is still consistent with the access data memory, and if it is consistent, the content of the access data memory is overwritten with the new access data memory data group. If the access data storage copy is no longer consistent with the access data storage, then another process has accessed the access data storage and changed it. In this case, the access data storage copy is recreated and the process is restarted until the new data block is successfully added to the list.

[0025] Particularly advantageously, in the case of data storage by the data transmitting module, one or more data blocks are linked to one another independently of the list to form a new sublist by means of pointers stored in a further field before being added to the list.

[0026] Preferably, a sublist of arbitrary complexity can be generated outside the list, which can then be added to the list or to the access data memory in one (single) step by means of an atomic operation.

[0027] The general case of the method described is to add the data blocks one after the other. A special embodiment variant of the method described is to form sublists (subchains of different lengths) before adding them to the list by means of atomic operations.

[0028] Only after the access data memory has been updated by an atomic operation, the module receiving data can access the added data block. For this reason, before the atomic operation is performed, the added subchain is invisible to the module receiving data. After adjusting the access data memory, the data block becomes visible. After deleting the data block from the list by an atomic operation, the data block is still visible to the module currently accessing the data block and reading data. Only when the entry point of the list is called again by accessing the data memory, the block becomes invisible to the module reading data. During the reading of the data block, a lock can also be set for the data block. However, this does not change the fact that the list itself is "lock-free", and other data processing modules can work on the list again at the same time.

[0029] Furthermore, it is advantageous if one or more data blocks are added to the list in principle at the first data block or at the last data block of the list.

[0030] This pre-determination makes it possible that data blocks cannot be inserted into the list. This pre-determination makes it possible to completely modify the entry point of all processes into the list by changing the access data memory.

[0031] Preferably, the provision is so specific that a data block can always be added either only before (the first end point) or only after (the second end point) the list.

[0032] Furthermore, preferably, the access data memory is adjusted by means of an atomic operation to remove a data block from the list. In principle, the atomic operation "atomic compare-swap" can also be used for this purpose, wherein first an access data memory copy is generated, then a new access data memory data item is prepared, and then the access data memory is updated with the new access data memory data item by means of the operation "atomic compare-swap".

[0033] If all data blocks are to be removed from the list or the list is to be emptied, an atomic data delete operation can alternatively be used which assigns a value to the access data memory which defines an empty list.

[0034] Furthermore, it is preferred that the data blocks are removed from the list in principle starting from the first data block or starting from the last data block, wherein the access to the data memory is adjusted by means of an atomic operation.

[0035] Furthermore, it is advantageous if the module receiving the data reads in the data blocks of the list block by block, each data block having a lock memory in which the module receiving the data sets a reservation as long as the data are being read in.

[0036] Thus, a lock is set for reading in data from a single data block of the list. Since data blocks can still be added to the list despite locks on individual data blocks, and since data blocks can still be deleted, locks at the block level do not affect the "lock-free" basic functionality of the list.

[0037] Furthermore, it is advantageous if the data block removed from the list initially continues to exist after being removed from the list and is released in a subsequent step for deleting the data block if no reservation is set in the lock memory.

[0038] Since there are preferably sufficient data blocks available in the described “memory pool” which can be added to the list as required by means of the described method, maintaining the reservation of data blocks after they have been deleted from the list is not a problem.

[0039] Even if a data block has been removed from the list, the process currently reading or editing the data block can still access the data block. However, the process that wants to call the current state of the list can no longer see the data block.

[0040] It is also advantageous if each data block has a further second field and a further third field, wherein a pointer in the second field links the data block to a predecessor data block arranged in the list, and wherein a pointer in the third field links the data block to a successor data block arranged in the list.

[0041] A data processing system is also to be described here, which comprises a data-transmitting module, a data-receiving module and a memory area, wherein the data processing system is configured to transfer data from the data-transmitting module to the data-receiving module according to the described method.

[0042] Particularly preferred is a data processing system which is part of a system for highly automated driving operation of a motor vehicle.

[0043] It should be pointed out that the particular advantages and design features described in conjunction with the above method are also applicable and transferable to the device described below.

[0044] A computer program product is also described herein, which is configured to carry out the described method and which can be implemented in particular by means of a data processing system described herein. Likewise, a storage medium is also described, on which such a computer program product is stored. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] The method and the technical environment of the method are described in more detail below with reference to the accompanying drawings. The accompanying drawings show preferred embodiments, but the method is not limited to these preferred embodiments. It should be pointed out in particular that the accompanying drawings and in particular the dimensional ratios shown in the accompanying drawings are only schematic. The accompanying drawings show:

[0046] Figure 1a and Figure 1b An example of a list used with the described method is shown;

[0047] Figure 2 A first example of adding a data block to a list is shown;

[0048] Figure 3 A second example of adding a data block to a list is shown;

[0049] Figure 4 A third example of adding a data block to a list is shown;

[0050] Figure 5 A fourth example of adding a data block to a list is shown;

[0051] Figure 6 A data processing system is shown, with the aid of which the described method is carried out. DETAILED DESCRIPTION

[0052] exist Figure 1a and Figure 1b The basic structure of Listing 5 that can be used for the method described herein is shown in Figure 1a Showing a double linked list 5, Figure 1b A singly linked list 5 is shown.

[0053] It can be seen that individual data blocks 1 are added to the list 5, which respectively form list nodes 2 of the list 5. Three values ​​are stored in the access data memory 3. "H" stands for "head", i.e. the beginning of the list. "T" stands for "tail" or the end of the list, and "S" stands for the length of the list.

[0054] The list 5 can be accessed by accessing the data storage 3. By accessing the data storage 3, the data processing module receiving data can first access the beginning or the end of the list 5, and then can access all the data blocks 1 or list nodes 2 in the list 5.

[0055] Each data block 1 comprises a first field 4 which here exemplarily comprises a number as the address of the respective data block 1 and which represents the data comprised in the respective data block 1. Furthermore, each data block 1 has a second field n and a third field p in which a pointer 17 is stored, respectively, to a successor data block 1 or a predecessor data block 1 in the list 5, which likewise constitutes a list node 2. Data blocks 1 which are not linked directly or indirectly to the access data memory 3 via other data blocks 1 by means of a pointer 17 do not constitute a list node 2 and are therefore not part of the list.

[0056] It is important for the method described here that in the first data block 1 of the list 5, the third field p is unused or undefined, which is provided for pointing to the previous data block 1 of the list 5. Likewise, in the last data block 1 of the list 5, the second field n is unused or undefined, which is provided for pointing to the next data block 1 of the list 5. For this reason, a link to a further data block 1 which is not yet part of the list 5 but is to be added to the list 5 as a list node 2 can be inserted here, without this resulting in a change of the list 5 from the perspective of the data processing module carrying out the data reception. No lock is required here.

[0057] Figures 2 to 5 Different data processing operations are shown, by means of which a data block 1 can be added as a list node 2 to a list 5 or deleted from a list 5. Figures 2 to 5 In, simple indexes, pointers 17 and addresses of data sets are used as examples, respectively, which are used to explain the method and are not intended to limit the present disclosure. Actual pointers 17, indexes and addresses can be different from this and are especially adapted to the corresponding environment (operating system) in which the list 5 runs.

[0058] Figure 2 The case where data block 1 is added to list 5 as a new list node 6 is shown as an example:

[0059] Step a) shows that firstly a new data block 1 is filled with data from the outside (without connection to the list 5 ), so that a new list node 6 is ready.

[0060] Then, in step b), the pointer 17 in the third field p of the first data block 1 of the list 5 is adjusted in the second field n of the data block 1 to be added, so that the data block 1 to be added or the new list node 6 has been filled so that it can be inserted into the list 5. Since the third field p of the first data block 1 of the list 5 is undefined, only this third field p can be adjusted here, without taking into account other processes accessing the list 5. The access of other processes to the list 5 is only carried out via the access data memory 3. Here, the third field p of the first data block 1 of the list 5 is meaningless. In addition, in step b), a new access data memory data set 8 is prepared, which is valid when the new list node 6 is added to the list 5. For this purpose, an access data memory copy 9 is first created by the access data memory 3, and the access data memory copy is stored so securely that other processes cannot access it. Subsequently, based on the data extracted from the access data memory 3, a new access data memory data set 8 is created. It can be seen here that an update has occurred from the assignment of accessing data memory 3 (first list node = 0, list length = 3, last list node = 2) to the assignment (first list node = 3, list length = 4, last list node = 2).

[0061] Step c) is the decisive step for adding a new list node 6 to the list 5. It is critical for the execution of the described method that step c) is executed by means of a so-called atomic operation, which is completely executed in the processor for executing the method so that other processes cannot interrupt the implementation of the atomic operation. The atomic operation used here can compare a data group with another data group, and then the data group can be updated according to the result of the comparison. Such an atomic operation is also usually referred to as "atomic comparison exchange". With the help of this operation, the assignment of the access data memory 3 is compared with the assignment of the access data memory copy 9 stored safely. Only when the assignment of the copy 9 of the access data memory is confirmed here to still correspond to the access data memory 3, the access data memory 3 is also covered with a new access data memory data group 8 in the atomic operation. It is important for the described method that the described atomic operation "atomic comparison exchange" is used here, because it can be ensured that only when other processes do not change the list 5 during this period, the new list node 6 is directly and as prepared in step b. Added to the list 5.

[0062] In step d), the list 5 is now extended with a new list node 6 .

[0063] Figure 3 Now shown in Figure 2The same process as described in . However, the difference here is that the atomic operation "atomic compare and exchange" in step c) fails. Therefore, the following deviation occurs starting from step c):

[0064] In step c), the atomic operation "atomic compare and exchange" fails, for example because another process has accessed list 5 in the meantime and completely deleted list 5. The comparison of access data memory 3 with the safely stored access data memory copy 9 shows that consistency no longer exists. The access data memory 3 is not updated with the help of the new access data memory data set 8 that has been prepared in step b).

[0065] Therefore, in step d), the access data memory 3 is checked again. Here it is determined that the list 5 is now empty. The access data memory 3 has the following assignment (first list node=X=not assigned, list length=0, last list node=X=not assigned).

[0066] According to step e), list 5 is now completely reconstructed with the aid of a new list node 6 as the only data set 1 in list 5 and the following assignment of access to data memory 3 (first list node=3, list length=1, last list node=3). The pointer 17 "0" to the first list node 2 of the predecessor of list 5 stored in field n of the new list node 6 in step b) is present, but is not important, since this field n is not defined for list 5. The value in the second field n of the last list node 2 of list 5 is not taken into account and can simply remain in list node 2 as an undefined value.

[0067] Figure 4 The special case is shown in which not only a single new list node 6 is to be added to the list 5 , but also a separate new sub-list 7 consisting of two new list nodes 6 or two data blocks 1 is to be added to the list 5 .

[0068] If there is no connection to the list 5 , a new sublist 7 is prepared according to step a). The sublist 5 preferably has its own separate sublist access data memory 10 .

[0069] Then according to step b), exactly as according to Figure 2 and Figure 3In this way, an access data memory copy 9 is created, and a new access data memory data set 8 is generated based on the access data memory 3 and the sub-list access data memory 10. The first list node 2 of the supplemented list 5 corresponds to the new first list node 6 of the new sub-list 7. The list length of the supplemented list 5 corresponds to the sum of the list length of the original list 5 and the list length of the new sub-list 7. Therefore, the new access data memory data set 8 is assigned as follows (first list node = 3, list length = 5, last list node = 2). In addition, the second field n of the new last list node 6 of the new sub-list 7 and the third field p of the first list node 2 of the list 5 are adjusted to prepare for the subsequent addition of the new sub-list 7 to the list 5.

[0070] In step c), an atomic operation "atomic compare and exchange" is performed to add the new sublist 7 to the list 5. This operation is similar to the one in Figure 2 The variants shown in are equally successful.

[0071] In step d), a list 5 is obtained with two new list nodes 6 in a new sub-list 7 .

[0072] exist Figure 5 , namely the following addition: List 5 has a fixed length, which is set here, for example, to three list nodes 2. If a new list node 6 is added to the beginning of list 5, then a list node 2 must always be deleted from the list at the end of this list 5, so that the length of list 5 remains unchanged, which in this example corresponds to three list nodes 2. In the following, only the method according to Figure 5 Method implementation and according to Figure 2 , Figure 3 and Figure 4 In addition, regarding Figure 5 For an explanation of Figure 2 , Figure 3 and Figure 4 , especially for Figure 2 's explanation.

[0073] Step a) is exactly as described in Figure 2 , Figure 3 and Figure 4 Proceed as described.

[0074] In step b), the second field n of the new list node 6 is adjusted, wherein the third field p of the first list node 2 of the list 5 is adjusted exactly as in Figure 2 , Figure 3 and Figure 4 Create access data storage copy 9. According to Figure 2 , Figure 3 and Figure 4 In contrast, the new access data memory data set 8 is created slightly differently. After knowing the fixed list length (here three list nodes), the address in the first field 4 of the list node 2 of the list 5 is determined: this list node 2 becomes the new last list node 2 of the list 5 after the new list node 6 is added. This is the address "1" here. Therefore, the following assignment of the new access data memory data set 8 is obtained (first list node=3, list length=3, last list node=1).

[0075] In step c), access to data memory 3 and thus to list 5 is adjusted by means of the atomic operation “atomic compare-swap”.

[0076] Figure 6 A data processing system 14 is shown which is provided for carrying out the described method. The data processing system 14 has a module 12 for transmitting data, a module 13 for receiving data and a memory area 11, to which the module 12 for transmitting data and the module 13 for receiving data each have unrestricted access and on which data are to be exchanged in a lock-free manner between the module 12 for transmitting data and the module 13 for receiving data by means of the described method. Furthermore, the data processing system 14 has at least one processor 16 on which processes are executed. In this case, the processes are in particular the module 12 for transmitting data and the module 13 for receiving data, which execute instructions (for changing the memory area 11) on the processor 16 or which can be executed by the processor 16. The processor 16 provides a plurality of operations, that is to say in particular atomic operations. Crucial to the execution of the described method is that the processor 16 provides an atomic operation for exchanging data sets in the access data memory, which atomic operation enables the content of the access data memory to be checked and only exchanged with a new data set if this content corresponds to the expected content (atomic compare and exchange).

[0077] exist Figure 6 1 shows that data blocks 1 and an access data memory 3 are provided in a memory area 11. Four of the six data blocks 1 shown here by way of example are part of a list 5. The six data blocks 1 shown here form the above-mentioned "mempool" in which the list 5 is provided. The first data block 1 of the list 5 can be accessed via the access data memory 3, which is the data block 1 with the index "3" here. The data blocks 1 in the list 5 are all linked to one another via a pointer 17. The index "5" of the last data block 1 of the list 5 and the length of the list 5, which here comprises four data blocks, are stored in the access data memory 3.

[0078] The actual filling of the data blocks 1 takes place outside the list 5 and is indicated here by means of a data transmission 15 from the module 12 for sending data to the module 13 for receiving data. After the module 13 for receiving data has determined which data blocks 1 should be read in by accessing the data memory 3, the data is read in from the data blocks 1 by the module 13 for receiving data. The currently read in data block 1 can be blocked by a "lock". However, this does not impair the possibility of changing the list 5 by the module 12 for sending data. Data blocks 1 can be deleted from the list 5 by changing the access to the data memory 3, which is not hindered by the lock on the individual data blocks 1. The module 13 for receiving data can still continue to read in data blocks 1. Only when the data block 1 is to be filled again later, it is necessary to release the data block 1 by the module 13 for receiving data. In order to smoothly implement the described method, it is important to provide enough data blocks 1 so that before adding a new list node 6 or data block 1 to the list 5 by means of an atomic operation related to the access to the data memory 3, a new list node 6 as a data block 1 can always be prepared outside the list 5.

Claims

1. A method for transmitting structured data between a module (12) for transmitting data and a module (13) for receiving data, in, The structured data is structured into data blocks (1), the method uses a memory area (11) to store the data through the module for transmitting data (12) and read the data through the module for receiving data (13), so as to transfer the data from the module for transmitting data (12) to the module for receiving data (13), The data blocks (1) are each configured with a first field (4) having an address and at least one further field (n, p) for storing a link to another data block (1), so that a list (5) can be formed from mutually linked data blocks (1). There is also an access data memory (3), which is used to store a start pointer pointing to the first data block (1) of the list (5) and to store an end pointer pointing to the last data block (1) of the list (5). In order to save data via the module (12) for data transmission, a data block (1) is first filled independently of the list (5), and then the data block is added to the list (5) by adjusting a pointer memory in a further field (n, p) in the data block (1) and by adjusting an access data memory (3), wherein the adjustment of the access data memory (3) is performed by means of an atomic operation, the implementation of which can be carried out without being interrupted by other operations.

2. The method according to claim 1, wherein: In the case of data storage by the module for data transmission (12), the data blocks (1) are linked to each other independently of the list (5) by means of pointers stored in further fields (n, p) before being added to the list (5) to form a new sub-list (7).

3. A method according to any one of the preceding claims, wherein: In principle, one or more data blocks (1) are added to the list (5) at the first data block (1) or at the last data block (1) of the list (5).

4. A method according to any one of the preceding claims, wherein: In order to further remove the data block (1) from the list (5), the access to the data memory (3) is adjusted by means of an atomic operation.

5. The method according to claim 4, wherein: In principle, a data block (1) is removed from the list (5) starting from the first data block (1) or starting from the last data block (1), wherein the access to the data memory (3) is adjusted by means of an atomic operation.

6. The method according to any one of claims 4 and 5, wherein: The module (12) for receiving data reads in the data blocks (1) of the list (5) one by one, wherein each data block (1) has a lock memory, and the module (13) for receiving data sets a reservation in the lock memory as long as the data is read in.

7. The method according to claim 6, wherein: The data block (1) removed from the list (5) initially continues to exist after being removed from the list (5) and is released in a subsequent step for deleting the data block (1) if no reservation is set in the lock memory.

8. A method according to any one of the preceding claims, wherein: Each data block (1) has a further second field (n) and a further third field (p), wherein a pointer (17) in the second field (n) is linked to a data block (1) arranged preceding it in the list (5), and wherein a pointer (17) in the third field (p) is linked to a data block (1) arranged following it in the list (5).

9. A data processing system (14), comprising a module (12) for transmitting data, a module (13) for receiving data and a memory area (11), wherein: The data processing system (14) is configured to transfer data from a data-transmitting module (12) to a data-receiving module (13) according to a method according to any one of claims 1 to 8.

10. The data processing system (14) according to claim 9, wherein: The data processing system (14) is part of a system for highly automated driving operation of a motor vehicle. 11 . A computer program product comprising instructions which, when the computer program product is executed by a computer, cause the computer to execute the method according to claim 1 .

12. A computer-readable storage medium comprising instructions which, when executed by a computer, cause the computer to implement the method / the steps of the method according to any one of claims 1 to 8.