Method and management unit for accessing a first computing unit from a second computing unit by means of a management unit

The management unit in the control device manages separate storage areas for virtual units to ensure secure and isolated access, addressing the challenge of maintaining reliability and security in control devices with virtual computing units by preventing cross-influence and unauthorized data access.

WO2024213688A1PCT designated stage expired Publication Date: 2024-10-17ROBERT BOSCH GMBH
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
PCT/EP2024/059934
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-13
Filing Date
2024-04-12
Publication Date
2024-10-17

AI Technical Summary

Technical Problem

In modern control devices with virtual computing units, there is a need to ensure that changes to one virtual unit do not affect others, and that unauthorized access to data from one unit does not reveal information about other units, particularly when software from different suppliers is involved, to maintain functional reliability and security.

Method used

A management unit acts as an interface between computing units, configuring and managing separate storage areas for each virtual unit to control access, allowing secure read and write operations while preventing cross-influence and unauthorized data access, by using configuration and working memory areas to isolate data access and processing.

Benefits of technology

This approach enhances data and functional integrity, reduces the risk of errors, and increases information technology security by allowing individual, secure access to virtual units without affecting other units, ensuring that only authorized data is shared and processed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure EP2024059934_17102024_PF_FP_ABST
    Figure EP2024059934_17102024_PF_FP_ABST
Patent Text Reader

Abstract

The invention relates to a method for accessing a first computing unit (110) from a second computing unit (120) by means of a management unit, wherein a multiplicity of virtual computing units (115) are implemented in the first computing unit (110), wherein the first computing unit (110) and the second computing unit (120) are connected via the management unit (100), wherein the management unit (100) configures in each case a configuration memory area and an output memory area of the first computing unit (110) for each of the virtual computing units (115), wherein the first computing unit (110) writes data, which are identified in a particular configuration memory area, to the relevant output memory area for the virtual computing unit (115). In response to a read request from the second computing unit (120), the management unit (100) identifies data in a particular configuration memory area on the basis of the read request and reads the data from the relevant output memory area and makes them available to the second computing unit (120). The management unit (100) in each case configures a working memory area of the first computing unit (110) for each virtual computing unit (115); wherein the first computing unit (110) uses data, which are stored in a particular working memory area, during program execution by the virtual computing unit (115). In response to a write request from the second computing unit (120), the management unit (100) writes data to a particular working memory area on the basis of the write request.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Description

[0002] Method and management unit for performing access from a second computing unit to a first computing unit by means of a management unit

[0003] The present invention relates to a method for carrying out accesses from a second computing unit to a first computing unit by means of a management unit, as well as to a management unit and a computer program for carrying out the method.

[0004] Background of the invention

[0005] Typical tasks in the development and calibration of control units for systems and machines, such as vehicles, include acquiring measurement data, setting the values ​​of parameters, characteristics, and maps of the control, regulation, and diagnostic functions, and programming the control unit's flash memory. For this purpose, computers or other processing units can be connected to the control unit via a special configuration interface. Such configuration interfaces can be, for example, JTAG (Joint Test Action Group) or DAP (Debug Access Port) interfaces. Using this configuration interface, the computer can access the control unit directly or indirectly via a management unit and read or modify data.

[0006] In modern control units, a multitude of virtual, logical, or logically separate processing units can be implemented as virtual control units. Such virtual processing units can be implemented using separate partitions, so that the virtual units do not influence each other ("freedom from interference") and can be addressed as independent units.

[0007] If such an ECU with implemented virtual processing units is to be configured via a configuration interface, it may be important that changes to one of the virtual processing units do not result in changes to the remaining virtual processing units in order to increase functional safety and reduce the risk of errors. Furthermore, it may be important that reading data from one of the virtual processing units does not reveal information about another of the virtual processing units, for example, if the software of these other virtual processing units is not accessible, e.g., if it originates from a different supplier.

[0008] Disclosure of the invention

[0009] According to the invention, a method for performing access from a second processing unit to a first processing unit by means of a management unit, as well as a management unit and a computer program for performing the method, are proposed, having the features of the independent patent claims. Advantageous embodiments are the subject of the dependent claims and the following description.

[0010] A plurality of virtual computing units are implemented in the first computing unit. These virtual computing units are realized in particular as logical or logically separate computing units with the aid of separate partitions. In particular, the first computing unit is to be accessed by means of the second computing unit in order to configure the first computing unit or to configure individual or all of the virtual computing units. For example, the first computing unit can be a control unit or a microcontroller, and the virtual computing units can be implemented as virtual control units, for example. The second computing unit can be a computer, for example, and can be operated by a software developer, control unit manufacturer, supplier, etc. The first computing unit and the second computing unit are in (communication) connection via a management unit.The management unit represents, in particular, an interface between the first computing unit and the second computing unit and can be embodied, for example, as a hardware and / or software unit. The management unit is configured to manage communication or data exchange between the first and second computing units. For example, the management unit can be connected to an interface of the first computing unit, via which the management unit can communicate with the individual virtual computing units. Furthermore, the management unit can be connected to an interface of the second computing unit and communicate with the second computing unit via this interface.

[0011] The management unit is configured to perform read access to individual virtual computing units in response to read requests from the second computing unit.

[0012] For this purpose, the management unit configures a configuration memory area and an output memory area of ​​the first computing unit for each of the virtual computing units as part of the method. The first computing unit is configured to write data identified in a respective configuration memory area for one of the plurality of virtual computing units into the respective output memory area for the one of the plurality of virtual computing units. In response to a read request from the second computing unit, the management unit identifies data in a respective configuration memory area for one of the plurality of virtual computing units depending on the read request. The management unit then reads data from the respective output memory area for the one of the plurality of virtual computing units and makes this data available to the second computing unit.

[0013] The configuration and output memory areas can each be implemented, for example, as a memory area in a volatile memory unit of the first computing unit. The management unit can identify the data stored in the individual configuration memory areas as data to be read in, to which the second computing unit requests read access through the respective access requests. The management unit can thus expediently set which concrete, specific data individual virtual computing units make available to the second computing unit. Furthermore, the management unit individually configures the respective output memory area for each virtual computing unit, in which the respective virtual computing unit stores the respective identified data to be made available to the second computing unit.

[0014] In this way, the respective identified data from the individual virtual processing units can be provided logically separately from one another in different output memory areas. The management unit can read this provided, identified data for each virtual processing unit independently and forward it individually to the second processing unit. This can advantageously prevent the second processing unit from unauthorized access to data from individual virtual processing units or from inferring data to which it should not have access. In particular, this can increase data or information integrity as well as information security.Furthermore, this can ensure that the virtual computing units do not influence each other ("freedom from interference"), for example by using multiple resources of the first computing unit, such as different memory units.

[0015] Alternatively or additionally, the management unit is configured to perform write access to individual virtual computing units in response to write requests from the second computing unit.

[0016] For this purpose, the management unit configures a respective working memory area of ​​the first computing unit for each of the virtual computing units as part of the method. The first computing unit is configured to use data stored in a respective working memory area for one of the plurality of virtual computing units during program execution by the one of the plurality of virtual computing units. In response to a write request from the second computing unit, the management unit writes data to a respective working memory area for one of the plurality of virtual computing units depending on the write request.

[0017] These working memory areas can also each be implemented, for example, as a memory area in a volatile memory unit of the first computing unit. In particular, the management unit thus individually configures a corresponding working memory area for each virtual computing unit, in which write accesses requested by the second computing unit can be carried out by the management unit. The management unit can manage the individual working memory areas separately for each virtual computing unit. For example, the management unit can synchronize the contents of the individual working memory areas independently of one another according to the respective write requests. The management unit thus enables changes to data in the working memory areas of the individual virtual computing units independently of one another.After the respective data has been written into the working memory area of ​​a respective virtual processing unit, the respective virtual processing unit can access and process this changed data.

[0018] The management unit thus receives access requests from the second processing unit for performing read and / or write access to individual virtual processing units and, depending on these access requests, performs corresponding accesses to each virtual processing unit of the first processing unit independently of one another. The management unit is expediently configured to perform accesses requested by the second processing unit to individual virtual processing units individually, separately, and independently of one another. In particular, the second processing unit does not communicate directly with the first processing unit or with the virtual processing units; rather, the second processing unit communicates directly with the management unit, and the management unit communicates directly with the first processing unit or the virtual processing units.The management unit can expediently prevent changes to data made by the second processing unit in one of the virtual processing units from affecting other virtual processing units. In this way, in particular, functional reliability can be increased and the risk of errors reduced. Furthermore, the management unit can expediently prevent the second processing unit from obtaining information relating to another of the virtual processing units by reading data from one of the virtual processing units. In this way, it can be prevented, in particular, that an operator of the second processing unit gains access to data or software that should not actually be accessible, for example, if this software originates from a different supplier or developer. In particular, information technology security (ITS) can be ensured in this way."security") can be increased.

[0019] The invention thus provides a way to securely access individual virtual computing units, for example, during a configuration process. Data and functional integrity of the first computing unit or individual virtual computing units can be ensured, and the risk of deliberate or unintentional manipulation of the first computing unit can be reduced.

[0020] By configuring the configuration, output, and working memory areas, the management unit can expediently access the individual virtual computing units individually and separately from one another in a predetermined manner in order to read in individual data from a respective virtual computing unit and forward it to the second computing unit, to change data in a respective virtual computing unit according to the specifications of the second computing unit, and / or to transmit data from the second computing unit to individual virtual computing units. In particular, in this way, resources of the first computing unit for read and write access to individual virtual computing units can be completely separated from one another and individually distributed or divided between individual virtual computing units. Furthermore, the management unit can prepare orMake settings in the first computing unit in order to be able to carry out read and write access individually.

[0021] The write request can, for example, specify whether to write completely new data for a particular virtual processing unit into the processing unit or to modify data already stored in the processing unit. In the latter case, the management unit can first write the stored data to be modified to the corresponding working memory area.

[0022] According to one embodiment, for this purpose, the management unit, in response to the write request from the second computing unit, reads data to be changed from a reference memory area of ​​the first computing unit and writes this data to be changed into the respective working memory area for one of the plurality of virtual computing units. Depending on the write request, the management unit changes the data to be changed in the respective working memory area for one of the plurality of virtual computing units. For example, the reference memory area of ​​each virtual computing unit can be stored in at least one non-volatile memory unit of the first computing unit. The non-volatile memory unit can represent a ROM memory, in particular for a program to be executed and / or data and parameters to be used during execution.For example, a separate reference memory area can be provided for each virtual computing unit. In this non-volatile memory unit, the respective data cannot be changed during operation of the first computing unit. To ensure that the behavior of the first computing unit can still be examined when the data has changed, the management unit copies this data from the reference memory area of ​​the non-volatile memory to the respective working memory area, where the data can then be changed. The management unit can manage the individual working and reference memory areas separately for each virtual computing unit. For example, the management unit can compare the contents of the individual working memory areas independently of one another according to the write requests with the respective default data in the second computing unit.The management unit thus enables changes to the data of the individual virtual computing units independently of one another.

[0023] The fact that the first computing unit is configured such that it uses data stored in a respective working memory area for one of the plurality of virtual computing units during program execution by one of the plurality of virtual computing units can, in particular, comprise an overlay or blending of the contents of the reference memory area with the contents of the working memory area. The overlay is controlled by the management unit, in particular independently for each virtual computing unit. After the respective data in the working memory areas have been modified according to the respective write requests, the respective virtual computing unit can access and process this modified data when it blends the reference memory area.For example, for this purpose, functions can be implemented in the first computing unit that enable the reference memory area to be overlaid with the working memory area, so that the software executed in the first computing unit uses the data in the working memory area.

[0024] According to one embodiment, the method further comprises specifying at least one sequence or sequence, grid, or pattern for performing individual accesses, for example the above-explained read and write accesses to the respective memory areas, by the management unit to individual virtual computing units. Furthermore, a priority is specified for each specified sequence. The individual accesses are performed by the management unit to the respective virtual computing units in accordance with the respective specified at least one sequence and the respective specified priority. For example, the sequences of accesses and the associated priorities can be specified by a user for each virtual computing unit and made available to the management unit in a configuration file.In this way, bandwidth management can be implemented, in particular. Data exchange between the virtual computing units and the management unit occurs, in particular, via an interface of the first computing unit, which is common to all virtual computing units. Bandwidth management allows data transmission via this interface to be designed in such a way that the data traffic for one of the virtual computing units does not have negative consequences for the operation and data traffic of the other virtual computing units.

[0025] For example, the predefined sequence can define a regular sequence of accesses that are carried out according to a predefined period duration or period time. In the first processing unit, data, e.g. the data to be read in, can be cyclically generated by tasks. Such data can be generated for different virtual processing units with different period times. With the help of the predefined access sequence, such cyclically generated data from the individual virtual processing units can be retrieved by the management unit in a fixed grid. By prioritizing the access sequences, it can be ensured, in particular, that the management unit retrieves or reads in the corresponding data before this data is cyclically overwritten by the first processing unit.The individual priorities can, for example, be specified according to the respective period duration of the individual access sequences, with faster access sequences receiving higher priority. Prioritization is expediently performed across all virtual computing units. For this purpose, period ranges can be defined, for example, with each period range being assigned a priority and all access sequences whose period duration falls within the respective period range being assigned the same priority. These period ranges can expediently be defined as narrowly as possible in order to achieve optimal utilization of the interface between the management unit and the first computing unit, since access sequences within a period range receive the same priority despite slightly different period durations.

[0026] According to one embodiment, the method further comprises the management unit carrying out individual accesses of a first category or a first level to individual virtual computing units according to first time specifications, and the management unit carrying out individual accesses of a second category or a second level to individual virtual computing units according to second time specifications. For example, these individual accesses of the first and second categories can each comprise the above-explained read and write accesses to the respective memory areas, as well as further accesses by the management unit to the first computing unit. The individual time specifications define, in particular, when the individual accesses are to be carried out relative to one another. In this way, two-stage scheduling ora two-stage schedule can be achieved so that access can be carried out without excessive delays.

[0027] The first time specifications and thus the first access category can, for example, include more time-critical accesses, e.g. non-cyclic accesses with a low frequency and a short execution time. According to the first time specifications, the frequency and execution time can, for example, each be below a predefined threshold. The accesses in the first category can, for example, be carried out according to a round-robin principle, whereby the individual virtual computing units are processed one after the other in a predefined order by the management unit. For example, the individual virtual computing units in this first category can be processed in short temporal succession, and accesses are carried out that should be executed without major delays in order to enable a fast process, e.g. to perform a synchronization or a handshake.This first level can therefore, for example, concern accesses that should not be executed cyclically, such as accesses for reset detection. The number and frequency of accesses can thus be limited in the first category. Combined with a small gap or a short predefined time interval between accesses, this can ensure that these accesses do not place excessive load on the interface between the first processing unit and the management unit.

[0028] The second time specifications and the second access category can, for example, define accesses that are less critical in terms of time, e.g. accesses that are to be carried out cyclically with a long execution time and a high frequency. According to the second time specifications, the frequency and execution time can each be above a predetermined threshold, for example. The accesses in the second category can, for example, also be carried out according to a round-robin principle. In this level, the virtual computing units can, for example, be processed at longer intervals, and accesses can be carried out for individual virtual computing units that may be delayed. In this level, therefore, cyclically executed accesses are also handled, for example. In the second category, the number of accesses is not limited. A larger gap orFor example, a larger interval between individual accesses can ensure that these accesses do not place excessive strain on the interface between the first computing unit and the management unit.

[0029] By performing accesses according to a round-robin procedure, the timing of each virtual processing unit is independent of parallel processes for the other virtual processing units. In particular, this ensures that the maximum impact on other data traffic types is limited and deterministic.

[0030] According to one embodiment, the method further comprises performing a first handshake between the management unit and the first computing unit and performing a second handshake between the management unit and each of the virtual computing units. During these handshakes, in particular, a synchronization can take place, whereby the first computing unit or the respective virtual computing unit can recognize the presence of the management unit and prepare internal resources, e.g. the respective memory areas, for use by the management unit, so that the management unit can use the respective resources after the handshake, in particular without restriction. Furthermore, during these handshakes, an exchange of information can take place, for example in order to exchange basic information between the management unit and the respective computing unit, e.g.enable the management unit to check the software status of the respective computing unit. Such synchronization or such an exchange of information is expediently carried out individually with each individual virtual computing unit, in particular without cross-influence between the individual virtual computing units. The first handshake can be used to establish an initial synchronization between the management unit and the first computing unit and, in particular, to ensure that the management unit can use the interface of the first computing unit without restrictions. Furthermore, the first handshake can be used to prepare for the subsequent second handshakes with the individual virtual computing units, e.g. by initializing mailboxes. After the first handshake has been completed, the second handshakes are carried out in parallel with each individual virtual computing unit.To prevent cross-influence between the virtual processing units, multiple resources of the first processing unit can be used for the second handshakes, e.g. memory in which mailboxes are implemented.

[0031] According to an alternative embodiment, the management unit reads handshake information for performing handshakes with each of the virtual processing units, and a handshake is performed between the management unit and each of the virtual processing units depending on the read handshake information. Thus, if all the necessary handshake information, e.g., addresses, delays, etc., for the second handshakes are made available to the management unit via other means, e.g., via a configuration file, the first handshake with the first processing unit can be omitted.

[0032] According to one embodiment, the method further comprises performing reset accesses by the management unit on each of the virtual computing units to detect a performed reset of the respective virtual computing unit and / or to perform a reset of the respective virtual computing unit. In particular, such reset accesses to detect a performed reset can be performed regularly, so that the management unit can detect a performed reset as quickly as possible in order to resynchronize with the respective virtual computing unit upon the reset and perform a handshake again. Furthermore, the reset accesses enable the management unit to individually trigger a reset of the individual virtual computing units, so that resets can also be initiated, for example, by a user of the second computing unit.Such reset detection and reset triggering by the management unit is expediently carried out separately for each virtual computing unit, e.g. via multiple resources of the first computing unit, e.g. via memory in which mailboxes are implemented.

[0033] The invention is particularly suitable for use in the (motor) vehicle sector. The first computing unit can in particular be a control unit of a vehicle, for example an engine control unit or a control unit for controlling components of a drive train, in particular a so-called development control unit. The virtual computing units can be implemented as virtual control units, each of which can be addressed as an independent logical control unit in the vehicle network. The management unit can, for example, be an ETK interface or an ETK unit or be based on the ETK principle. In the (motor) vehicle sector, ETK (emulator probe) refers to a powerful, high-speed interface between a control unit and a computer in order to enable the computer to access the control unit's memory during a development or calibration process.A special interface hardware ("ETK," management unit) can be integrated into the control unit to connect a control unit to a standard Windows PC via Ethernet using standard protocols such as TCP / IP or LIDP / IP. The present invention particularly expediently provides an ETK firmware architecture.

[0034] An administration unit according to the invention, e.g. an ETK interface, is configured, in particular in terms of programming, to carry out a method according to the invention.

[0035] The implementation of a method according to the invention in the form of a computer program or computer program product with program code for carrying out all method steps is also advantageous, since this entails particularly low costs, in particular if an executing control unit is also used for other tasks and is therefore already present. Finally, a machine-readable storage medium is provided with a computer program stored thereon, as described above. Suitable storage media or data carriers for providing the computer program are, in particular, magnetic, optical, and electrical memories, such as hard disks, flash memories, EEPROMs, DVDs, and others. Downloading a program via computer networks (Internet, intranet, etc.) is also possible. Such a download can be wired or cable-based or wireless (e.g., via a WLAN network, a 3G, 4G, 5G, or 6G connection, etc.).

[0036] Further advantages and embodiments of the invention will become apparent from the description and the accompanying drawings.

[0037] The invention is illustrated schematically in the drawing using exemplary embodiments and is described below with reference to the drawing.

[0038] Short description of the drawings

[0039] Figure 1 schematically shows an embodiment of an administrative unit according to the invention, which is set up to carry out an embodiment of a method according to the invention.

[0040] Embodiment(s) of the invention

[0041] Figure 1 schematically shows an embodiment of an administrative unit according to the invention and is designated by 100, which is designed to carry out an embodiment of a method according to the invention.

[0042] A first processing unit 110 and a second processing unit 120 are connected to each other via the management unit 100. As shown in Figure 1, for example, several second processing units 120 can be provided and connected to the management unit 100. Although two such second processing units 120 are shown in Figure 1, it is understood that more than two or only one second processing unit can be provided.

[0043] The first computing unit 110 is designed, for example, as a control unit of a vehicle, in particular as a development control unit, which serves, in particular, to parameterize and test new functionalities. The second computing units 120 are each designed, for example, as a PC and are provided for configuring the management unit 100, e.g., during a manufacturing or development process of the control unit 110 or software for the control unit 110. The PCs 120, together with the management unit 100, can represent, for example, a configuration system 100' for configuring the control unit 110. The management unit 100 can, for example, be an ETK interface. The configuration system 100' can, for example, be an ETK system.

[0044] Each of the PCs 120 runs application software 121, for example, development software or measurement, calibration, and diagnostic software, to enable measurement, calibration, diagnostics, and programming during the development process of the control unit 110 or the control unit software. The individual second processing units 120 are connected to the management unit 100 via a common, higher-level interface 122.

[0045] A plurality of logical or logically separate virtual processing units 115 are implemented in the control unit 110. These processing units are provided as independent virtual control units and can be addressed as independent units. Although three such virtual control units 115 are shown in Figure 1, it is understood that only two or even more than three virtual control units can be implemented in the control unit 110. The individual virtual control units 115 are connected to the management unit 100 via a higher-level, common interface 112 of the control unit 110.

[0046] The management unit 100 is configured to receive access requests from the individual PCs 120 to access individual virtual control units 115 and, based on these access requests, to access each virtual control unit 115 independently of one another. In this way, the management unit 100 can prevent the PCs 120 from making changes to one of the virtual control units 115 that they are not actually allowed to access, and can prevent the PCs 120 from reading data from one of the virtual control units 115 that should not actually be accessible.

[0047] For this purpose, the management unit 100 manages or configures memory areas of the control unit 110 for each of the virtual control units 115, each independently of one another, for individual accesses to each of the virtual control units 115. Furthermore, the management unit 100 manages or configures access properties for each of the virtual control units 115, e.g., a sequence and priority of the respective accesses, each independently of one another for these individual accesses, as will be explained below. The information about the control unit required for the configuration is provided in configuration files 130 for each of the virtual control units.

[0048] The management unit 100 can independently identify data to be read in for each of the virtual control units 115 and provided to the PCs 120. For example, the PCs 120 can request read access to this data to be read in by issuing corresponding read requests.

[0049] For this purpose, the management unit 100 can configure a configuration memory area and an output memory area of ​​the control unit 110 for each of the virtual control units 115. In response to a read request from the second computing unit 120, the management unit 100 identifies data in a respective configuration memory area for a respective virtual control unit 115 depending on the read request. The control unit 110 then writes this data, which is identified in the respective configuration memory area for the respective virtual control unit 115, into the respective output memory area for this virtual control unit 115. The management unit 100 then reads this data from the respective output memory area for the respective virtual control unit 115 and provides the data to the second computing unit 120.

[0050] For this purpose, the management unit 100 can, for example, have a plurality of units 102 for reading in data, in particular one such unit 102 for each virtual processing unit 115. Each of these units 102 can, for example, interact with specific hardware and software units 116 of the respective virtual processing unit 115, e.g., with specific functions and the respective configuration and output memory area of ​​the respective virtual control unit 115.

[0051] To change data depending on the write requests, the management unit 100 can configure at least one working memory area in a volatile memory unit of the control unit 110 for each of the virtual control units 115 independently of one another, in which data to be changed can be changed according to the access requests of the PCs 120.

[0052] For this purpose, the management unit 100 can configure a respective working memory area 117 of the first computing unit 110 for each of the virtual control units 115. In response to a write request from the second computing unit 120, the management unit 100 writes data to a respective working memory area 117 for a respective virtual control unit 115 depending on the write request. The control unit 110 then uses the data stored in the respective working memory area 117 for the respective virtual control unit 115 during program execution by the respective virtual control unit 115.

[0053] Furthermore, a write request can also be used to specify that data already stored in the control unit 110 be modified. In this case, in response to such a write request, the management unit 100 can read corresponding data to be modified from a reference memory area in a non-volatile memory unit in the control unit 110 for a respective virtual control unit 115 and write it to the respective working memory area of ​​this virtual control unit 115. The management unit 100 can then modify the respective data to be modified in the respective working memory area for the respective virtual control unit 115 independently of one another, in each case depending on the write request.

[0054] For example, in this way, default data from the PCs 120 can be written by the management unit 100 into the working memory areas 117 of the individual virtual control units 115. This default data can be specified individually for the individual PCs 120 for each virtual control unit 15.

[0055] To carry out such write accesses, the management unit 100 has a unit 103 for changing data in one of the virtual control units 115, wherein each of these units 103 can interact with corresponding units 117 of the respective virtual control units 115, e.g. with the respective working memory areas.

[0056] The management unit 100 can also perform handshakes with each of the virtual processing units 115 independently of one another. The management unit 100 first performs a first handshake with the control unit 110, wherein the management unit 100 communicates with a corresponding handshake unit 111 of the control unit 110. The management unit 100 then performs a second handshake with each of the virtual control units 115, wherein the management unit 100 communicates with a respective handshake unit 118 of the respective virtual control unit 115. Synchronization and information exchange can occur during these handshakes. The first handshake can establish a first synchronization between the management unit 100 and the control unit 110, and the execution of the second handshake with the individual virtual control units 115 can be prepared, e.g.by initializing mailboxes. For example, the management unit 100 has a plurality of handshake units 104 for this purpose, wherein each of these units 104 can be configured to perform a specific handshake. The management unit 100 can also perform reset accesses to each of the virtual control units 115 independently of one another in order to detect a performed reset of the respective virtual control unit 115 and / or to trigger a reset of the respective virtual control unit 115. For this purpose, the management unit 100 can have a respective reset unit 105 for each of the virtual control units 115, which interacts with a corresponding unit 119 of the respective virtual control unit 115 for reset detection or reset triggering.

[0057] The management unit 100 further comprises a bandwidth management unit 101 to manage the data traffic between the management unit 100 and the individual virtual control units 115 via the interface 112 of the control unit 110 such that the data traffic for a virtual control unit 115 does not have any negative consequences for the operation and data traffic of the remaining virtual control units 115.

[0058] For this purpose, at least one sequence for performing individual accesses from the management unit 100 to individual virtual control units 115, as well as a priority for each of these sequences, can be specified. The individual accesses are then performed by the management unit 100 or by its bandwidth management unit 101 according to the at least one sequence and the respective specified priority. In this way, for example, regular sequences of accesses can be defined that are to be performed according to a specified period duration or period time. Using such prioritized access sequences, the management unit 100 can, for example, retrieve or read in data that is cyclically generated in the virtual control units 115 before this data is overwritten in a subsequent cycle.

[0059] Furthermore, the bandwidth management unit 100 can specify a first category or a first level of accesses to each of the virtual control units 115 with first time specifications, as well as a second category or a second level of accesses with second time specifications. The bandwidth management unit 100 or the bandwidth management unit 101 can carry out individual accesses of the first category and the second category according to the specified first and second time specifications, respectively. By specifying these two access categories, two-stage scheduling can be enabled. For example, the first category can relate to non-cyclic accesses with a low frequency and a short execution time, so that the individual virtual control units 115 can be processed in short temporal succession.Furthermore, the first category can, for example, relate to accesses that should be executed without significant delays to enable rapid execution, e.g., for performing a handshake or for reset detection. The second category can, for example, relate to cyclic accesses with a long execution time and a high frequency. The accesses in the first and second categories can each be performed, for example, according to a round-robin principle, with the individual virtual control units 115 being processed sequentially in a predetermined order by the management unit 100.

[0060] The management unit 100 thus provides a way to manage access requests from the PCs 120 and to access the individual virtual control units 115 securely, ensuring the data and functional integrity of the control unit 110 or the individual virtual control units 115. The risk of deliberate or unintentional manipulation of the virtual control units 115 can be reduced.

Claims

Claims 1 . A method for performing access from a second computing unit (120) to a first computing unit (110) by means of a management unit (100), wherein a plurality of virtual computing units (115) are implemented in the first computing unit (110), wherein the first computing unit (110) and the second computing unit (120) are connected via the management unit (100), comprising: Configuring (102), by the management unit (100), a configuration memory area and an output memory area of ​​the first computing unit (110) for each of the virtual computing units (115);wherein the first computing unit (110) is configured to write data identified in a respective configuration storage area for one of the plurality of virtual computing units (115) into the respective output storage area for the one of the plurality of virtual computing units (115) in response to a read request from the second computing unit (120), identifying data, by the management unit (100), in a respective configuration storage area for one of the plurality of virtual computing units (115) in response to the read request, reading the data from the respective output storage area for the one of the plurality of virtual computing units (115), and providing the data to the second computing unit (120); and / or; Configuring (103), by the management unit (100), a respective working memory area of ​​the first computing unit (110) for each of the virtual computing units (115); wherein the first computing unit (110) is configured to use data stored in a respective working memory area for one of the plurality of virtual computing units (115) during program execution by the one of the plurality of virtual computing units (115); in response to a write request from the second computing unit (120), writing data by the management unit (100) into a respective working memory area for one of the plurality of virtual computing units (115) in dependence on the write request.

2. The method of claim 1, further comprising, in response to the write request of the second computing unit (120): Reading (103), by the management unit (100), data to be changed from a reference memory area of ​​the first computing unit (110); Writing, by the management unit (100), the data to be changed into the respective working memory area for one of the plurality of virtual computing units (115); Changing, by the management unit (100), the data to be changed in the respective working memory area for the one of the plurality of virtual computing units (115) in dependence on the write request.

3. The method according to claim 1 or 2, further comprising: Predetermining (101) at least one sequence for carrying out individual accesses by the management unit (100) to individual ones of the virtual computing units (115); Specifying (101) a priority for each predetermined sequence; carrying out (101) the individual accesses, by the management unit (100), to the respective virtual computing units (115), in accordance with the respective predetermined at least one sequence and the respective predetermined priority.

4. Method according to one of the preceding claims, further comprising: performing (101), by the management unit (100), individual accesses of a predetermined first category to individual ones of the virtual computing units (115), each in accordance with first time specifications; Carrying out (101), by the management unit (100), individual accesses of a predetermined second category to individual ones of the virtual computing units (115) in each case according to second time specifications.

5. The method according to any one of the preceding claims, further comprising: performing (104) a first handshake between the management unit (100) and the first computing unit (110) and performing a second handshake (104) between the management unit (100) and each of the virtual computing units (115); or Reading in, by the management unit (100), handshake information for performing handshakes with each of the virtual computing units (115) and performing a handshake between the management unit (100) and each of the virtual computing units (115) depending on the handshake information read in.

6. The method according to any one of the preceding claims, further comprising: performing (105), by the management unit (100), reset accesses to each of the virtual computing units (115) to detect a performed reset of the respective virtual computing unit (115) and / or to perform a reset of the respective virtual computing unit (115).

7. Management unit (100) for carrying out accesses from a second computing unit (120) to a first computing unit (110), which is configured to carry out all method steps of a method according to one of the preceding claims.

8. Management unit (100) according to claim 7, which is designed as an ETK interface.

9. Computer program which causes a computing unit (100) to carry out all method steps of a method according to one of claims 1 to 6 when it is executed on the computing unit (100).

10. A machine-readable storage medium having a computer program according to claim 9 stored thereon.

Citation Information

Patent Citations

  • Virtual developmental environment apparatus, method, and recording medium

    EP4134861A2