Method and calculator for managing data exchange between a plurality of tasks
A computer system with memory zones and pointers addresses data consistency issues in vehicle engines, ensuring stable and consistent data transfer for rapid task execution, particularly in engine diagnosis.
Patent Information
- Application Number
- FR2021013968
- Authority / Receiving Office
- FR · FR
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-12-20
- Publication Date
- 2024-10-04
- Estimated Expiration
- 2041-12-20
AI Technical Summary
Existing data exchange methods in vehicle engines suffer from data consistency issues, leading to incorrect data usage by consuming functions, which can cause operational problems or damage, and existing solutions do not adequately address these issues, particularly in engine diagnosis scenarios where quick data execution is necessary.
A method involving a computer system with specific memory zones and pointers is used to manage data exchanges, ensuring data stability and consistency by allowing simultaneous execution of producing and consuming functions, with minimal address copying time, and enabling quick data access for engine diagnosis.
Ensures data stability and consistency while reducing the time required for data transfer between functions, facilitating rapid execution of tasks, especially during engine diagnosis, thereby preventing operational issues and mechanical damage.
Smart Images

Figure 00000017_0000 
Figure 00000018_0000
Abstract
Description
Title of the invention: Method and calculator for managing data exchanges between a plurality of tasks Technical field
[0001] The invention relates to the field of controlling a vehicle engine, in particular an automobile, and more precisely to a method for managing data exchanges between a plurality of tasks implemented by a computer as well as a computer making it possible to implement this method. Prior art
[0002] Usually, the powertrain of a vehicle comprises an engine, capable of rotating the wheels of the vehicle, and a plurality of actuators relating to the engine. For example, the actuators may correspond to the fuel injector, the engine ignition system or the gas recirculation system in the engine. The vehicle also comprises a so-called "engine control" computer, capable of controlling all of the actuators in order to control the engine.
[0003] An engine control computer can be single-core or multi-core, that is to say it can comprise one or more cores, each core being capable of executing a series of tasks in order to determine the commands to be issued to each actuator.
[0004] Each task comprises one or more functions, each function being a data producer and / or a data consumer.
[0005] When a first task, comprising at least one function producing data, and a second task, comprising at least one function consuming said data, are implemented successively but at different execution periods, it is necessary to use a transition module in order to adapt the period of the signal corresponding to the data produced so that this data produced can be read by the consumer function of the second task. This transition module thus makes it possible to notify the computer of a change in execution period and to carry out the transfer of each data item produced by the producer function to the consumer function.
[0006] It is also important to ensure data consistency between the producing function and the consuming function, in other words, to protect the data transferred between the producing function and the consuming function.
[0007] Consistency is defined by the stability and coherence of data. A stability problem results in a modification of the value of a data item between several readings, in other words between several restorations and consumptions of this data item. In other words, the value of a data item is seen as unstable when the functions consumers of this data do not all consume the same value of the data.
[0008] A consistency problem arises when, for a data consuming function, the set of data consumed by said consuming function includes values that have not been modified simultaneously. Thus, the consuming function uses data that does not have the same dating and the set of data is seen as inconsistent.
[0009] Thus, when there is a data consistency problem, the executed consumer functions use data to be consumed which may turn out to be incorrect. The use of incorrect data values by the consumer function may cause problems in controlling the operation of the engine, which will not have the expected behavior, or even damage the engine. Indeed, in the event of a consistency problem, the actual position of an actuator may differ from the position commanded by the computer. In such a case, the computer attempts to continually correct this difference but convergence towards the commanded position may never be achieved, which may for example cause mechanical vibration phenomena which are harmful to the equipment and hinder the driving of the vehicle.
[0010] Nowadays, it is known to use a data exchange method, in which a set of data is produced by a producer function, then an intermediate copy of data to be consumed is recorded in a memory area. The recorded data is then restored so that the function consuming the previously produced data is executed from the copy of the data and no longer directly from the produced data.
[0011] The consumer function can therefore only be executed after the data produced in the memory area has been recorded and the recorded data restored. This waiting time before execution of the consumer function can be relatively long. This can be problematic, in particular when it is necessary to execute consumer functions relating to an engine diagnosis. For example, in the case where unusual noises arise from the engine, it is necessary to identify whether these are knocks, characteristic of poor combustion of the air / fuel mixture in the cylinder chambers of an engine. If the knocks are not identified in time, this can damage certain parts of the engine.
[0012] Thus, existing solutions only partially solve data consistency problems. There is therefore a need for a solution that can completely solve these drawbacks.
[0013] The invention relates to a method for managing data exchanges between a plurality of tasks by a computer of a vehicle, in particular an automobile, said computer comprising at least one core capable of executing at least one task, each task making it possible to execute a function designated as producing at least one piece of data and a function designated as consuming the at least one piece of data, said computer comprising a memory comprising: - a first data storage memory area, characterized by a first memory address, - a second data storage memory area, characterized by a second memory address, - a first pointer defined as a variable and being associated with the producing function, - a second pointer defined as a variable and associated with the consuming function, - a so-called “transfer” pointer, said method being characterized in that it comprises: a) a step of initializing the first pointer and the second pointer, in which the first address is stored in the first pointer and the second address is stored in the second pointer, b) a first phase comprising the steps of: (i) execution of the data producing function in order to produce the so-called “produced” data, ii) recording the produced data set in the memory area whose address is recorded in the first pointer, c) a second phase called “transfer” comprising: i) a first step of copying the address included in the first pointer associated with said producing function, into the transfer pointer, ii) a second step of copying the address included in the second pointer associated with the consuming function, into the first pointer associated with the producing function, iii) a third step of copying the address included in the transfer pointer into the second pointer associated with the consuming function, (d) a third phase comprising the steps of: i) retrieving the address copied into the second pointer, ii) retrieving the data stored in the retrieved address, iii) executing the consuming function from the retrieved data.
[0014] Thus, the method allows the recording and restoration of data, and therefore the execution of an executor function and a consumer function, at any time, except during the transfer phase, in other words, except during the steps of copying addresses between the different pointers. The time required to copy addresses between different pointers is significantly less than the time required to copy a set of data between different memory areas. Thus, the waiting time between the execution of a producer function and the execution of a consumer function is relatively low, which is advantageous, particularly when it is necessary to quickly execute the producer or consumer function(s), for example, in order to perform an engine diagnosis. In addition, the stability and consistency of the data are ensured at the same time. Stability is ensured because each produced data item is only saved at the end of execution of the producer function and because the restoration is carried out before the start of execution of the consumer functions.Data consistency is ensured since the data is processed in an aggregated manner and sorted by data set.
[0015] In addition, the first pointer designates the second memory area after implementation of the method, the producer function can thus be executed again and the produced data is recorded in the second memory area.
[0016] Preferably, when a second consuming function is executed from the data produced by the producing function, the memory comprises: - a third memory area, characterized by a third memory address, - a third pointer, associated with the producer function, the initialization step comprises the recording of the third address in the third pointer and the recording step comprises a copying step from the first storage memory area to the memory area whose address is recorded in the third pointer, of the data useful to the second consumer function.
[0017] Thus, the recording step comprises copying the data useful to the second consuming function, from the first memory area to the third memory area. This allows the producing function to execute only once. This represents a significant time saving in the implementation of functions. “Useful data” refers to a set of data among the data produced by the producing function, necessary for the implementation of the second consuming function.
[0018] The method thus makes it possible to aggregate and record different sets of data depending on the data required by each consuming function.
[0019] More preferably, the memory comprises a fourth memory area characterized by a fourth memory address, a fourth pointer associated with the second consuming function, and a second transfer pointer, the initialization step includes recording the fourth memory address in the fourth pointer, the second phase comprises: a) a fourth step of copying the address included in the third pointer associated with the producer function, into the second transfer pointer, b) a fifth step of copying the address included in the fourth pointer associated with the second consumer function, into the third pointer associated with the producer function, c) a sixth step of copying the address included in the second transfer pointer into the fourth pointer associated with the second consumer function.
[0020] The method thus also allows the transfer of the memory address comprising the data to be consumed by a second consuming function, to the pointer associated with this second consuming function.
[0021] In addition, the third pointer designates the fourth memory area after implementation of the method, the producer function can thus be executed again and the produced data is copied into the fourth memory area.
[0022] Advantageously, the third phase comprises: a) a second step of recovering the address copied into the fourth pointer, b) a second step of recovering the data recorded in the recovered memory address, c) a second step of executing the second consuming function from the recovered data.
[0023] The method thus allows the second reproductive function to be executed from the produced data which are useful to it. Similarly, the method allows the recording and restoration of the data, and therefore the execution of the producer function and a second consumer function, at any time, except during the transfer phase, in other words, except during the steps of copying addresses between the different pointers. The time required to copy addresses between different pointers is significantly less than the time required to copy a set of data between different memory areas. Thus, the waiting time between the execution of the producer function and the execution of the second consumer function is relatively low, which is advantageous, in particular when it is necessary to quickly execute the producer or consumer function(s), for example in order to carry out an engine diagnosis.In addition, data stability and consistency are ensured at the same time.
[0024] The invention also relates to a computer for managing data exchanges between a plurality of tasks for a vehicle, in particular an automobile, said computer comprising at least one core, each task making it possible to execute at least one function, each function being designated as producer and / or consumer of at least one data item, said calculator comprising a memory, said memory comprising: - a first data storage memory area, characterized by a first memory address, - a second data storage memory area, characterized by a second memory address, - a first pointer defined as a variable and being associated with the producing function, - a second pointer defined as a variable and being associated with the consuming function, - a so-called “transfer” pointer, the calculator being remarkable in that it is configured to implement the method as presented previously.
[0025] Preferably, when a second consuming function is executed from the data produced by the producing function, the memory comprises: - a third memory zone, characterized by a third memory address, - a third pointer, associated with the producing function, - a second transfer pointer, - a fourth memory zone characterized by a fourth memory address, - a fourth pointer associated with the second consuming function, the calculator being remarkable in that it is configured to implement the method as described previously.
[0026] The invention also relates to a vehicle comprising a computer as presented previously. Brief description of the drawings
[0027] Other characteristics and advantages of the invention will become apparent from reading the description which follows. This description is purely illustrative and must be read in conjunction with the appended drawings in which: [Fig.l]: [Fig.l] represents a first example of the memory of the protection mechanism according to the invention, [Fig.2]: [Fig.2] represents a second example of the memory of the protection mechanism according to the invention, [Fig.3]: [Fig.3] represents a third example of the memory of the protection mechanism according to the invention, [Fig.3]: [Fig.4] represents an embodiment of the method according to the invention. Description of the embodiments
[0028] CALCULATOR
[0029] A computer for managing data exchanges between a plurality of tasks will now be described, said computer being intended to be mounted in a vehicle, in particular a motor vehicle. Usually, a vehicle comprises a powertrain comprising a motor, thermal or electric, configured to rotate the wheels of the vehicle. The vehicle also comprises a plurality of actuators relating to the engine. For example, the actuators may correspond to ignition, fuel injection or even gas recirculation.
[0030] The calculator comprises at least one core configured to execute at least one task. Each task comprises a function or a succession, otherwise a sequence, of functions. Each function designates in particular a function of calculating and / or determining data. Executing a task therefore means executing the function or the succession of functions of said task. In addition, the execution of tasks makes it possible, for example, to determine a set of commands to be issued to the plurality of actuators or makes it possible, for example, to carry out an engine diagnosis of the vehicle.
[0031] The implementation of each task can be carried out periodically or following a predefined event which occurs in one of the elements of the vehicle. The computer also includes a mechanism for protecting against competition between the execution of different tasks.
[0032] In addition, the execution of each task is allocated to a particular core and each core can only execute one task at a time. In other words, when a plurality of tasks are allocated to the same core, the core is configured to execute said tasks successively.
[0033] Furthermore, each function is said to be a “producer” and / or “consumer” of at least one piece of data. Indeed, each producer function executes and makes it possible to determine one or more pieces of data, called “produced”, and each consumer function executes from one or more pieces of data, called “to be consumed”.
[0034] More precisely, the producer function is in particular capable of determining data necessary for the execution of other consumer functions.
[0035] Protection mechanism
[0036] Generally, the protection mechanism is configured to record data produced by a producer function of a task so that the recorded data is then restored to be consumed by at least one consumer function.
[0037] Thus, the protection mechanism temporarily prevents competition between tasks, and therefore temporarily stops competition between the execution of each task during the recording of the produced data and the restoration of the data to be consumed.
[0038] The protection mechanism comprises a transition module and a physical MEM memory.
[0039] Memory
[0040] With reference to [Fig. 1], the physical MEM memory of the protection mechanism comprises at least two data storage memory areas, each storage memory area being characterized by a memory address.
[0041] In order to simplify the description, we consider the case in which a single producer function A and a single consumer function B are implemented by one or more different tasks. However, it is obvious that more than one producer function and more than one consumer function could be implemented.
[0042] In the case of a single producer function A and a single consumer function B implemented, the physical memory MEM comprises a first data storage area ZI, characterized by a first memory address aZi and a second data storage area Z2, characterized by a second memory address az2.
[0043] The memory area MEM comprises a first pointer PA, a second pointer PB and a transfer pointer Pf^.
[0044] The first pointer PA is defined as a variable comprising a memory area address, for example the address aZi of the first memory area ZI. The first pointer PA is associated with the producer function A.
[0045] The second pointer PB is defined as a variable comprising a memory area address, for example the address az2 of the second memory area Z2. The second pointer PB is associated with the consuming function B.
[0046] The transfer pointer Pf^ is called “temporary” or “intermediate” and is defined as a variable comprising a memory address.
[0047] Furthermore, with reference to [Fig.2], if a second consumer function C is implemented from the data produced by the single producer function A, then the two consumer functions B, C each use at least one data item produced by the producer function A. The memory MEM comprises a third memory area Z3 for storing additional data, characterized by a memory address az3 and in which the set of produced data useful for the second consumer function C to execute will be recorded. The memory MEM comprises a third pointer PA2, associated with the producer function A and comprising for example the address az3 of the third memory area Z3, and a second transfer pointer PfA / c.
[0048] The memory MEM also comprises a fourth memory zone Z4, characterized by a memory address aZ4, and a fourth pointer Pc associated with the second consuming function C and comprising for example the memory address az4 of the fourth memory zone Z4.
[0049] According to yet another example, with reference to [Fig. 3], if a second producer function D is implemented, then the memory MEM comprises at least a fifth memory area Z5 for storing data, characterized by a memory address az5 and a fifth pointer PD associated with the second producer function D and comprising in particular the address az5 of the fifth memory area Z5. In addition, if the producer function D and the producer function A produce data useful for the implementation of the consumer function B, then the memory MEM comprises a third transfer pointer PD / B.
[0050] Transition module
[0051] The transition module manages the transfer of data between at least one data-producing function and at least one function consuming the data produced.
[0052] According to the example presented previously in which there is only one producer function A and one consumer function B, the transition module is configured to initialize the first pointer PA and the second pointer PB.
[0053] For example, the transition module is configured to assign the address aZi of the first memory area ZI to the first pointer PA and the address az2 of the second memory area Z2 to the second pointer PB.
[0054] Following the production of data by the producer function A, the transition module is configured to aggregate the set of data produced by the producer function A, for example in the form of a data table. The transition module is also configured to record said set of data in the memory area designated by the pointer associated with the producer function A, in particular here the first pointer PA. In other words, the transition module records the set of data produced in the first storage memory area ZI.
[0055] In the case where two consuming functions B, C are executed from the data produced by the single producing function A, the transition module initializes the values of the third pointer PA2 and the fourth pointer Pc in the following way: the address az3 of the third memory zone Z3 is recorded in the third pointer PA2 and the address az4 of the fourth memory zone Z4 is recorded in the fourth pointer Pc.
[0056] Furthermore, in this case, the transition module is configured to aggregate a first set of produced data, being defined as the data necessary for the execution of the first producer function B, and records the first set of aggregated data in the memory area address designated by the first pointer PA. Furthermore, the transition module is configured to copy from the first storage memory area Z1 to the memory area designated by the third pointer PA2, in other words the third memory area Z3, the produced data useful for the second consumer function C.
[0057] In order to transfer the data from the producer function A to the consumer function B, the transition module is also able to implement a function for copying the address included in the pointer associated with said producer function A, in other words the address designated by the first pointer PA, into the transfer pointer Pf^.
[0058] The transition module is also configured to implement a function for copying the address included in the pointer associated with the consumer function B, in other words in the second pointer PB, into the pointer associated with the producer function A, in other words in the first pointer PA.
[0059] The transition module is also capable of implementing a function for copying the address included in the transfer pointer Pf^ into the pointer associated with the consuming function B, in other words the second pointer PB.
[0060] Similarly, the transition module is able to transfer the data from the producer function A to the second consumer function using the third pointer PA2, the fourth pointer Pc and the second transfer pointer Pf. A / C-
[0061] The transition module, via a restoration function, makes it possible to determine the data to be consumed by the consumer function B from the value of the address recorded in the second pointer PB associated with said consumer function B. In other words, the transition module is implemented to restore the data to be consumed.
[0062] Thus, the transition module makes it possible to modify the addresses designated by the different pointers. More precisely, the transition module inverts the addresses previously recorded in the first pointer PA and the second pointer PB, so that the second pointer PB associated with the consumer function B designates the memory area in which the data produced by the producer function A were recorded.
[0063] METHOD
[0064] With reference to [Fig.4], an example of an embodiment of the method implemented by the protection mechanism described previously will now be presented, for a producer function A and at least one consumer function B,C.
[0065] The method firstly comprises a step E0 of initializing the pointers associated with the producer function A and the consumer function B.
[0066] The address aZi of the first memory zone ZI is recorded in the first pointer PA, associated with the producer function A.
[0067] The address az2 of the second memory area Z2 is recorded in the second pointer PB, associated with the consuming function B.
[0068] In the case where there is a second consuming function C configured to execute from the data produced by the producing function A, the address az3 of the third memory area Z3 is recorded in the third pointer PA2 and the address az4 of the fourth memory area Z4 is recorded in the fourth pointer Pc.
[0069] In the case where there is a second producer function D, the address az5 of the fifth memory zone Z5 is recorded in the fifth pointer PD.
[0070] The method then comprises a first phase PI comprising the execution steps E1 1 of the data producing function A in order to produce the so-called “produced” data.
[0071] A first set of data, defined by the data necessary for the execution of the first consuming function B, is aggregated in a table.
[0072] The first phase PI also comprises the step E12 of recording the first set of data produced in the memory area designated by the first pointer PA, in other words in the first storage memory area ZI.
[0073] If two consuming functions B and C are executed from at least one data item produced by the producing function A, the recording step E12 also comprises a step of copying from the first storage memory area Z1 to the memory area designated by the third pointer PA2, data useful for the execution of the second consuming function C. In other words, the useful data corresponding to the common data used by the consuming functions B and C are recorded in the third memory area Z3.
[0074] The method then comprises a second phase P2 called “transfer” comprising a first copying step E21 of the address included in the pointer associated with said producer function A, in other words of the first pointer PA, in the transfer pointer Pf^. Thus, the address aZi of the first memory zone ZI is recorded in the transfer pointer PfA / H.
[0075] The second phase P2 then comprises a second copying step E22 of the address included in the pointer associated with the consumer function B, in other words the second pointer PB, into the pointer associated with the producer function A, in other words the first pointer PA. Thus the address az2 of the second memory zone of Z2 is recorded in the first pointer PA.
[0076] The second phase P2 then also comprises a third copying step E23 of the address included in the transfer pointer Pf^ into the pointer associated with the consuming function B, in other words into the second pointer PB. Thus the address aZi of the first memory zone ZI is recorded in the second pointer PB.
[0077] To summarize, following the second phase P2, the addresses initially recorded in the first pointer PA and in the second pointer PB have been swapped. moreover, the memory areas pointed to by the first pointer PA and the second pointer PB are identical thanks to the copy step E22.
[0078] The transition module, via a restoration function, makes it possible to determine the data to be consumed by the consumer function B from the value of the address recorded in the second pointer PB associated with said consumer function B. In other words, the transition module is implemented to restore the data to be consumed.
[0079] The method then comprises a third phase P3 for each data consuming function. The third phase P3 comprises a step of recovering an address E31. In particular, concerning the consuming function B, the third phase P3 comprises a step of recovering the address aZi copied into the pointer associated with said function, in other words into the second pointer PB.
[0080] The third phase P3 also comprises a step of recovering the data E32 recorded in the recovered address. In particular, in the example presented here, the consuming function B recovers the data recorded in the memory area designated by the second pointer PB, and therefore in the first memory area ZI.
[0081] Furthermore, the first pointer PA now designates the second memory area Z2. In other words, the second memory area Z2 is available for the producer function A, in the event that the latter produces new data and needs a memory area to record the new data produced.
[0082] The third phase P3 then comprises a step E33 of executing the consuming function B from the recovered data. Thus, it is not necessary to copy the produced data. Only the addresses to which the first pointer PA and the second pointer PB refer are modified.
[0083] In the case where a second producer function C is executed from the data produced by the producer function, the second phase P2 called “transfer” comprising a fourth copying step E24 of the address included in the third pointer PA2 associated with said producer function C in the second transfer pointer PfA / c.
[0084] The second phase P2 then comprises a fifth copying step E25 of the address included in the pointer associated with the second consumer function C, in other words of the fourth pointer Pc, in the third pointer PA2 associated with the producer function A.
[0085] The second phase P2 also comprises a sixth copying step E26 of the address included in the second transfer pointer Pf^c into the pointer associated with the second consuming function C, in other words into the fourth pointer Pc.
[0086] The transition module, via the restoration function, makes it possible to determine the data to be consumed by the second consuming function C from the value of the address recorded in the fourth pointer Pc associated with said consuming function C. In other words, the transition module is implemented to restore the data to be consumed.
[0087] The third phase P3 of the method comprises a second step of recovering the address E34 copied into the pointer associated with said second consuming function C, in other words into the fourth pointer Pc.
[0088] The third phase P3 also comprises a second step of recovering the data E35 recorded in the recovered address. In particular, in the example presented here, the second consuming function C recovers the data recorded in the memory area designated by the fourth pointer Pc, and therefore in the third memory area Z3.
[0089] Furthermore, the third pointer PA2 designates the fourth memory area Z4. Thus, the fourth memory area Z4 is available for the producer function A, in the event that the latter produces new data and needs a memory area to record the new data produced.
[0090] The third phase P3 then comprises a step E36 of executing the second consuming function C from the recovered data.
[0091] Thus, it is not necessary to copy the produced data. Only the addresses to which the third pointer PA2 and the fourth pointer Pc refer are modified.
[0092] Data stability and consistency are ensured at the same time. Stability is ensured because each produced data is only saved at the end of execution of the producer function A and because the restoration is carried out before the start of execution of the consumer functions B,C.
[0093] Data consistency is ensured since the data is processed in an aggregated manner and sorted by data set. Furthermore, the process is automatable and feasible.
[0094] Furthermore, the recording and restoration of data is prevented only during the transfer phase P2, in other words, during the steps of copying addresses between the different pointers. The time required to copy addresses between different pointers is significantly less than the time required to copy a set of data between different memory areas. Thus, the waiting time before the execution of a producer function and a consumer function is relatively low, which is advantageous, in particular when it is necessary to quickly execute the producer or consumer function(s), for example, in order to carry out an engine diagnosis.
Claims
Claims
1. Method for managing data exchanges between a plurality of tasks by a computer of a vehicle, in particular an automobile, said computer comprising at least one core capable of executing at least one task, each task making it possible to execute a function designated as producer (A) of at least one data item and a function designated as consumer (B) of the at least one data item, said computer comprising a memory (MEM) comprising: - a first memory area (Zl) for storing data, characterized by a first memory address (aZi), - a second memory area (Z2) for data storage, characterized by a second memory address (az2), - a first pointer (PA) defined as a variable and being associated with the producing function (A), - a second pointer (PB) defined as a variable and associated with the consuming function (B), - a so-called "transfer" pointer (Pf^), said method being characterized in that it comprises: a) an initialization step (EO) of the first pointer (PA) and the second pointer (PB), in which the first address (aZi) is recorded in the first pointer (PA) and the second address (az2) is recorded in the second pointer (PB), b) a first phase -PI) comprising the steps of: i) execution (El 1) of the data producing function (A) in order to produce the so-called “produced” data, ii) recording (E12) of the set of data produced in the memory area (Zl) whose address is recorded in the first pointer (PA), c) a second phase (P2) called “transfer” comprising: i) a first copying step (E21) of the address included in the first pointer (PA) associated with said producing function (A), into the transfer pointer (Pf^), ii) a second copying step (E22) of the address included in the second pointer (PB) associated with the consumer function (B), in the first pointer (A) associated with the producer function (A), iii) a third step of copying (E23) the address included in the transfer pointer (Pf^) into the second pointer (PB) associated with the consumer function (B), d) a third phase (P3) comprising the steps of: i) recovery of the address (E31) copied into the second pointer (PB), ii) recovery of the data (E3) recorded in the recovered address, iii) execution (E33) of the consumer function (B) from the recovered data.
2. Method according to the preceding claim, when a second consuming function (C) is executed from the data produced by the producing function (A), the memory (MEM) comprises: - a third memory area (Z3) characterized by a third memory address (az3), - and a third pointer (PA2), associated with the producing function (A), the initialization step (EO) comprises the recording of the third address (az3) in the third pointer (PA2) and the recording step (El2) comprises a copying step from the first storage memory area (Zl) to the memory area (Z2) whose address is recorded in the third pointer (PA2), data useful to the second consuming function (C).
3. Method according to the preceding claim, the memory (MEM) comprising a fourth memory area (Z4) characterized by a fourth memory address (az4), a fourth pointer (Pc) associated with the second consuming function (C), and a second transfer pointer (Pf^vc), the initialization step (EO) comprises the recording of the fourth memory address (az4) in the fourth pointer (Pc), the second phase (P2) comprises: a) a fourth copying step (E24) of the address included in the third pointer (PA2) associated with the producing function (A), in the second transfer pointer (Pf^vc), b) a fifth copying step (E25) of the address included in the fourth pointer (Pc) associated with the second consuming function (C), in the third pointer (PA2) associated with the producing function (A),c) a sixth step of copying (E26) the address included in the second transfer pointer (Pf^c) into the fourth pointer (Pc) associated with the second consuming function (C).,
4. Method according to the preceding claim, in which the third
5.
6.
7. phase (P3) includes: a) a second step of recovering the address (E34) copied into the fourth pointer (Pc), b) a second step of recovering the data (E35) recorded in the recovered memory address, c) a second execution step (E36) of the second consuming function (C) from the recovered data. Calculator for managing data exchanges between a plurality of tasks for a vehicle, in particular an automobile, said calculator comprising at least one core, each task making it possible to execute at least one function (A, B, C, D), each function (A, B, C, D) being designated as producer and / or consumer of at least one data item, said calculator comprising a memory (MEM) comprising: - a first memory area (Zl) for storing data, characterized by a first memory address (aZi), - a second memory area (Z2) for data storage, characterized by a second memory address (az2), - a first pointer (PA) defined as a variable and being associated with the producing function (A), - a second pointer (PB) defined as a variable and being associated with the consuming function (B), - a so-called “transfer” pointer (PfA / B), the calculator being characterized in that it is configured to implement the method according to claim 1. Calculator according to the preceding claim, when a second consuming function (C) is executed from the data produced by the producing function (A), the memory (MEM) comprising: - a third memory zone (Z3), - a third pointer (PA2), associated with the producing function (A), - a second transfer pointer (Pf^vc), - a fourth memory zone (Z4) characterized by a fourth memory address (az4), - a fourth pointer (Pc) associated with the second consuming function (C), the calculator being characterized in that it is configured to implement the method according to any one of claims 2 to 4. Vehicle comprising a calculator according to any one of claims 5 and 6.
