DE102018210711A1 - Method and computer system for prioritized file access, computer program and computer readable data carrier - Google Patents

Method and computer system for prioritized file access, computer program and computer readable data carrier Download PDF

Info

Publication number
DE102018210711A1
DE102018210711A1 DE102018210711.4A DE102018210711A DE102018210711A1 DE 102018210711 A1 DE102018210711 A1 DE 102018210711A1 DE 102018210711 A DE102018210711 A DE 102018210711A DE 102018210711 A1 DE102018210711 A1 DE 102018210711A1
Authority
DE
Germany
Prior art keywords
priority
file
mount point
storage medium
block device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
DE102018210711.4A
Other languages
German (de)
Inventor
Jürgen Castan
Guy Sagnes
Ulrich Kabatek
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Continental Automotive GmbH
Original Assignee
Continental Automotive GmbH
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Continental Automotive GmbH filed Critical Continental Automotive GmbH
Priority to DE102018210711.4A priority Critical patent/DE102018210711A1/en
Publication of DE102018210711A1 publication Critical patent/DE102018210711A1/en
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/176Support for shared access to files; File sharing support

Abstract

Die Erfindung betrifft ein Verfahren zum priorisierten Dateizugriff in einem Computersystem mit einem Betriebssystem umfassend eine von dem Betriebssystem bereitgestellten Verzeichnisstruktur, ein Speichermedium (1), ein Blockvirtualisierungssystem (2), zumindest ein erstes Blockgerät (A), welches über ein Blockvirtualisierungssystem (2) auf das Speichermedium (1) zugreift, einen ersten Einhängepunkt (X), welcher in die Verzeichnisstruktur eingehängt wird und auf das erste Blockgerät (A) zeigt, wobei zumindest ein zweites Blockgerät (AA), welches über ein Blockvirtualisierungssystem (2) auf das Speichermedium (1) zugreift und ein zweiter Einhängepunkt (Y), welcher in die Verzeichnisstruktur eingehängt wird und auf das zweite Blockgerät (AA) zeigt, umfasst wird, wobei eine erste Datei in dem Speichermedium (1), auf welches das erste Blockgerät (A) und das zweite Blockgerät (AA) zugreift, gespeichert wird, und der Zugriff auf die erste Datei über den ersten Einhängepunkt (X) mit einer ersten Priorität und der Zugriff auf die erste Datei über den zweiten Einhängepunkt (Y) mit einer von der ersten Priorität unterschiedlichen zweiten Priorität erfolgt.
Ferner betrifft die Erfindung ein Computersystem zum priorisierten Dateizugriff, ein Computerprogramm und einen computerlesbaren Datenträger

Figure DE102018210711A1_0000
The invention relates to a method for prioritized file access in a computer system with an operating system comprising a directory structure provided by the operating system, a storage medium (1), a block virtualization system (2), and at least a first block device (A), which is accessed via a block virtualization system (2) accesses the storage medium (1), a first mounting point (X), which is hooked into the directory structure and points to the first block device (A), at least one second block device (AA) which is connected to the storage medium (2) via a block virtualization system (2) 1) and a second mount point (Y), which is hooked into the directory structure and points to the second block device (AA), is included, with a first file in the storage medium (1) to which the first block device (A) and the second block device (AA) accesses, is saved, and access to the first file via the first mount point (X ) with a first priority and access to the first file via the second mount point (Y) with a second priority different from the first priority.
The invention further relates to a computer system for prioritized file access, a computer program and a computer-readable data carrier
Figure DE102018210711A1_0000

Description

Die Erfindung betrifft ein Verfahren zum priorisierten Dateizugriff in einem Computersystem mit einem Betriebssystem umfassend eine von dem Betriebssystem bereitgestellten Verzeichnisstruktur, ein Speichermedium, ein Blockvirtualisierungssystem, zumindest ein erstes Blockgerät, welches über ein Blockvirtualisierungssystem auf das Speichermedium zugreift, einen ersten Einhängepunkt, welcher in die Verzeichnisstruktur eingehängt wird und auf das erste Blockgerät zeigt. Ferner betrifft die Erfindung ein Computersystem zum priorisierten Dateizugriff, ein Computerprogramm und einen computerlesbaren Datenträger.The invention relates to a method for prioritized file access in a computer system with an operating system comprising a directory structure provided by the operating system, a storage medium, a block virtualization system, at least a first block device which accesses the storage medium via a block virtualization system, a first mount point, which is in the directory structure is mounted and points to the first block device. The invention further relates to a computer system for prioritized file access, a computer program and a computer-readable data carrier.

Aktuelle Dateisysteme erlauben es nicht, einen lang anhaltenden und andauernden Zugriff, beispielsweise das Lesen einer großen Datei, anzuhalten, um zuerst einen wichtigeren Prozess durchzuführen.Current file systems do not allow long and persistent access, such as reading a large file, to do a more important process first.

Eingehende Anfragen für Lese- und Schreibzugriffe werden nach der Reihenfolge abgearbeitet, in der sie bei der jeweiligen Dateisystem-Software-Instanz eintreffen. Dies bezeichnet man auch als „FIFO-First In - First Out“- Prinzip. Dabei werden Dateien, die zuerst gespeichert werden, auch zuerst dem Speicher wieder entnommen. Die Warteschlange in der Informatik beruht auf dem FIFO Prinzip. Die Dateien werden genau in der Reihenfolge abgerufen, in der sie vorher abgelegt wurden.Incoming requests for read and write access are processed in the order in which they arrive at the respective file system software instance. This is also known as the “FIFO First In - First Out” principle. Files that are saved first are also removed from memory first. The queue in IT is based on the FIFO principle. The files are retrieved in the order in which they were previously stored.

Es existiert jedoch keine Priorisierung von abzuarbeitenden Zugriffen bzw. Anfragen und keine Unterbrechung der aktuell zu bearbeitenden Anfrage.However, there is no prioritization of accesses or requests to be processed and no interruption of the request currently being processed.

In vielen Fällen ist es jedoch erforderlich, gewisse Zugriffe bzw. Datenströme gegenüber anderen zu bevorzugen.In many cases, however, it is necessary to prefer certain accesses or data streams over others.

Dies ist beispielsweise der Fall für Leseanfragen, die schnellstmöglich oder in einem bestimmten Zeitraster ausgeführt werden sollen, beispielsweise bei sicherheitskritischen Funktionalitäten, wie einer Darstellung eines Fahrzeugumfelds, in Form von einer Abstandswarnung oder aber eine Audio- oder Videowiedergabe des Fahrzeugumfelds. Diese Leseanfragen werden durch bereits wartende Anfragen verzögert, also auch durch Zugriffsanfragen, die keine oder niedrige Anforderungen bezüglich einer zeitnahen Durchführung haben, aber zeitlich früher beim Dateisystem eintreffen. Ferner werden diese Anfragen durch aktuell abzuarbeitende Anfragen verzögert. Dies kann insbesondere bei Lese- oder Schreibzugriffen, die auf große Datenmengen zugreifen, zu einer deutlichen Verzögerung führen.This is the case, for example, for reading inquiries that are to be carried out as quickly as possible or in a certain time grid, for example in the case of safety-critical functionalities, such as a representation of a vehicle environment, in the form of a distance warning or else audio or video playback of the vehicle environment. These read requests are delayed by requests that are already waiting, including access requests that have no or low requirements for prompt execution, but arrive earlier in the file system. Furthermore, these requests are delayed by requests that are currently being processed. This can lead to a significant delay, especially for read or write accesses that access large amounts of data.

Die bisherigen Lösungen für derartige Probleme sind aufwändige Konfigurationen oder Implementierungen, beispielsweise das sogenannte Caching für ein Audio/Video Playback. Dies erfordert jedoch einen höheren RAM-Bedarf. Eine weitere Möglichkeit liegt in der Konfiguration von Aufstart-Zeitpunkten oder der Aufteilung großer Datenmengen zum Lesen/Schreiben in kleinere Einheiten. Dadurch ergeben sich jedoch höhere Kosten.The previous solutions to such problems are complex configurations or implementations, for example the so-called caching for an audio / video playback. However, this requires more RAM. Another option is to configure start times or to split large amounts of data for reading / writing into smaller units. However, this results in higher costs.

Die US 20080126645 A1 offenbart ein Speichersystem und ein Dateneingabe- / Ausgabesteuerverfahren, beispielsweise eines, das zur Verwendung in einem Speichersystem geeignet ist, in dem eine Hostvorrichtung die Verarbeitung für verschiedene Arten von Arbeit unter Verwendung von Anwendungsprogrammen ausführt. Das Speichersystem führt dabei die Dateneingabe- / Ausgabeverarbeitung für die Prioritätsziele und die nicht vorrangige Zielgruppe bei den Frequenzen aus, die den jeweiligen Verarbeitungsprozentsätzen entsprechen, die durch die Verarbeitungsprozentsatzbestimmungseinheit bestimmt werden.The US 20080126645 A1 discloses a memory system and data input / output control method, for example, one suitable for use in a memory system in which a host device performs processing for various types of work using application programs. The storage system performs data input / output processing for the priority targets and the non-priority target group at the frequencies corresponding to the respective processing percentages determined by the processing percentage determination unit.

Die US 6253260 B1 offenbart ein System und ein Verfahren zum Verarbeiten einer Dateizugriffsanforderung (DAR). Eine Verarbeitungseinheit, wie z. B. eine Speichersteuereinheit, empfängt eine DAR, die Daten anzeigt, die auf einem Kanal zurückkehren sollen, beispielsweise einen Kanal, der mit einem Hostsystem verbunden ist, und Prioritätsinformationen für die empfangene DAR. Die Verarbeitungseinheit ruft die angeforderten Daten für die empfangene DAR aus einem Speicherbereich wie einem Cache oder einer Direktzugriffsspeichervorrichtung (DASD) ab und bestimmt, ob es eine Warteschlange von Dateneinträgen gibt, die abgerufene Daten für DARs angeben, die auf dem Kanal übertragen werden sollen. Die in der Warteschlange befindlichen DARs enthalten Prioritätsinformationen. Die Verarbeitungseinheit verarbeitet mindestens einen Dateneintrag in der Warteschlange, die Prioritätsinformation für den Dateneintrag und die Prioritätsinformation für den empfangenen DAR aufweisen, um eine Position in der Warteschlange für den empfangenen DAR zu bestimmen. Die Verarbeitungseinheit zeigt dann an, dass sich der empfangene DAR an der bestimmten Position in der Warteschlange befindet, und verarbeitet die Warteschlange, um abgerufene Daten auszuwählen, die auf dem Kanal an das Hostsystem übertragen werden sollen.The US 6253260 B1 discloses a system and method for processing a file access request (DAR). A processing unit, such as. B. a memory controller receives a DAR indicating data to be returned on a channel, such as a channel connected to a host system, and priority information for the received DAR. The processing unit retrieves the requested data for the received DAR from a memory area, such as a cache or a random access memory device (DASD), and determines whether there is a queue of data entries indicating retrieved data for DARs to be transmitted on the channel. The queued DARs contain priority information. The processing unit processes at least one data entry in the queue which has priority information for the data entry and priority information for the received DAR in order to determine a position in the queue for the received DAR. The processing unit then indicates that the received DAR is in the designated position in the queue and processes the queue to select retrieved data to be transmitted on the channel to the host system.

In der DE 112008003256 T5 wird bestimmt, ob eine Datei auf einem langsameren Laufwerk eines logischen Speichervolumenbereichs oder auf einem schnelleren Laufwerk des logischen Speichervolumenbereichs abgelegt werden soll, wobei ein Nutzer keine Kenntnis darüber zu haben braucht, ob die Datei auf dem langsameren Laufwerk oder auf dem schnelleren Laufwerk abgelegt wurde.In the DE 112008003256 T5 determines whether a file is to be placed on a slower drive in a logical storage volume or on a faster drive in the logical storage volume, and a user need not be aware of whether the file was placed on the slower drive or the faster drive.

In der DE 10032962 A1 wird ein verteiltes Dateisystem mit autonomen Platten beschrieben. Das Dateisystem umfasst autonome Platten, die Applikationsdaten speichern. Legacyattributplatten speichern Metadaten des Dateisystems und die Verzeichnisstruktur. Die Verzeichnisstruktur wird auf den Legacyattributplatten im ursprünglichen Dateisystem abgelegt. Einer der Klienten des Dateisystems wird als Konfigurationsmanager zur Zugriffsüberwachung für das System verwendet. Das verteilte Dateisystem verwendet Agenten um Echtzeitanwendungen und konkurrierende Lese/Schreib-Zugriffe auf Dateien zu unterstützen. In the DE 10032962 A1 describes a distributed file system with autonomous disks. The file system includes autonomous disks that store application data. Legacy attribute disks store file system metadata and directory structure. The directory structure is stored on the legacy attribute disks in the original file system. One of the filesystem clients is used as a configuration manager to monitor access to the system. The distributed file system uses agents to support real-time applications and competing read / write access to files.

Die US 4616338 offenbart eine Einrichtung zur Zwischenspeicherung von Daten, organisiert gemäß einer Warteschlange nach dem Prinzip « first in-first out », umfassend einen Schreib-Lese-Zwischenspeicher mit wahlfreiem Zugriff und ein Regelungssystem, wobei die Einrichtung ein erstes und ein zweites Ausgangs-Pufferregister aufweist, die dem Zwischenspeicher in Reihe nachgeschaltet sind, und wobei sie außerdem ein dem Zwischenspeicher vorgeschaltetes Eingangs-Pufferregister aufweist.The US 4616338 discloses a device for temporarily storing data, organized according to a queue according to the "first in-first out" principle, comprising a read-write buffer with random access and a control system, the device having a first and a second output buffer register, which are connected in series after the buffer, and which also has an input buffer register upstream of the buffer.

Die Aufgabe der Erfindung ist daher die Angabe eines kostengünstigen Verfahrens und eines Computersystems, mit welchen sich ein priorisierter Datei- bzw. Datenzugriff bewerkstelligen lässt, sowie ein entsprechendes Computerprogramm und ein entsprechender computerlesbarer Datenträger.The object of the invention is therefore to provide an inexpensive method and a computer system with which prioritized file or data access can be accomplished, as well as a corresponding computer program and a corresponding computer-readable data carrier.

Die Aufgabe wird durch ein Verfahren zum priorisierten Dateizugriff mit den Merkmalen des Anspruchs 1, ein Computersystem mit den Merkmalen des Anspruchs 10 als auch ein Computerprogramm mit den Merkmalen des Anspruchs 18 sowie ein computerlesbarer Datenträger mit den Merkmalen des Anspruchs 19 gelöst.The object is achieved by a method for prioritized file access with the features of claim 1, a computer system with the features of claim 10 and a computer program with the features of claim 18 and a computer-readable data carrier with the features of claim 19.

In den Unteransprüchen sind weitere vorteilhafte Maßnahmen aufgelistet, die beliebig miteinander kombiniert werden können, um weitere Vorteile zu erzielen.The subclaims list further advantageous measures which can be combined with one another as desired in order to achieve further advantages.

Die Aufgabe wird gelöst durch die Angabe eines Verfahrens zum priorisierten Dateizugriff in einem Computersystem mit einem Betriebssystem umfassend eine von dem Betriebssystem bereitgestellten Verzeichnisstruktur, ein Speichermedium, ein Blockvirtualisierungssystem, zumindest ein erstes Blockgerät, welches über das Blockvirtualisierungssystem auf das Speichermedium zugreift, einen ersten Einhängepunkt, welcher in die Verzeichnisstruktur eingehängt wird und auf das erste Blockgerät zeigt.The object is achieved by specifying a method for prioritized file access in a computer system with an operating system comprising a directory structure provided by the operating system, a storage medium, a block virtualization system, at least a first block device which accesses the storage medium via the block virtualization system, a first mount point, which is attached to the directory structure and points to the first block device.

Im Rahmen der Erfindung wird zumindest ein zweites Blockgerät, welches über das Blockvirtualisierungssystem auf das Speichermedium zugreift und ein zweiter Einhängepunkt, welcher in die Verzeichnisstruktur eingehängt wird und auf das zweite Blockgerät zeigt, umfasst, wobei eine erste Datei in dem Speichermedium, auf welches das erste Blockgerät als auch das zweite Blockgerät zugreift, gespeichert wird, und der Zugriff auf die erste Datei über den ersten Einhängepunkt mit einer ersten Priorität und der Zugriff auf die erste Datei über den zweiten Einhängepunkt mit einer von der ersten Priorität unterschiedlichen zweiten Priorität erfolgt.Within the scope of the invention, at least one second block device, which accesses the storage medium via the block virtualization system, and a second mount point, which is hooked into the directory structure and points to the second block device, is included, with a first file in the storage medium, to which the first Accesses the block device and the second block device, is stored, and the first file is accessed via the first mount point with a first priority and the first file is accessed via the second mount point with a second priority that differs from the first priority.

In anderen Worten wird zwischen Blockvirtualisierungssystem und einer Anwendungsschicht eine Speicherzugriffsschicht, in der die Blockgeräte angeordnet sind, so ausgestaltet, dass für das nur einmal physikalisch vorhandene Speichermedium, das das Dateisystem, beispielsweise das Dateisystem FS_PA, enthält, statt einem Blockgerät mehrere Blockgeräte zur Verfügung gestellt werden. Diese können untereinander in der Speicherzugriffsschicht, in der die Blockgeräte angeordnet sind priorisiert, werden.In other words, a memory access layer, in which the block devices are arranged, is configured between the block virtualization system and an application layer in such a way that, instead of a block device, several block devices are made available for the storage medium that is only physically present and contains the file system, for example the file system FS_PA become. These can be prioritized among one another in the memory access layer in which the block devices are arranged.

Dabei kann als Priorität auch ein Anwendungsfall vorgesehen sein, beispielsweise ein Speichervorgriff, eine normale Anwendungszugriffspriorität oder ein priorisierter Anwendungszugriff. Dabei versteht man unter Speichervorgriff, eine Technik die von Computerprozessoren verwendet wird, um die Ausführungsleistung zu erhöhen, indem Anweisungen oder Daten von ihrem ursprünglichen Speicher im langsameren Speicher zu einem schnelleren lokalen Speicher abgerufen werden, bevor sie tatsächlich benötigt werden. Dateien können auch einzelne Daten sein.In this case, an application can also be provided as a priority, for example a memory prefetch, a normal application access priority or a prioritized application access. Memory anticipation is a technique used by computer processors to improve execution performance by fetching instructions or data from their original slower memory to faster local memory before they are actually needed. Files can also be individual data.

Ein Blockgerät, auch blockorientiertes Gerät genannt, überträgt Daten in vorhandene Speicherblöcke eines Speichermediums und wird daher oft für parallele Datenübertragungen genutzt. Blockgeräte weisen einen betriebssystemeigenen Puffer auf.A block device, also called block-oriented device, transfers data into existing memory blocks of a storage medium and is therefore often used for parallel data transfers. Block devices have their own operating system buffer.

Die Beziehung von Instanzen des Dateisystems zu bestimmten Einhängepunkten innerhalb eines Dateisystems oder eines root-Dateisystems wird normalerweise in der Dateisystemschicht behandelt. Dabei wird dem Speichermedium beispielsweise ein Dateisystem FS_PA zugeordnet. Sind in einer Recheneinheit mehrere Speichermedien vorhanden, so besitzen alle Instanzen ein Dateisystem. Gegebenenfalls kann das Speichermedium in Partitionen aufgeteilt sein, denen ebenfalls jeweils ein eigenes Dateisystem zugeordnet ist.The relationship of file system instances to specific mount points within a file system or a root file system is usually handled in the file system layer. For example, a file system FS_PA is assigned to the storage medium. If several storage media are available in one computing unit, all instances have a file system. If necessary, the storage medium can be divided into partitions, each of which is also assigned its own file system.

Eine Verzeichnisstruktur ist die hierarchische Struktur des Dateisystems von einem einzelnen Computer.A directory structure is the hierarchical structure of the file system from a single computer.

Erfindungsgemäß wurde erkannt, dass lediglich das Einführen von Einhängepunkten innerhalb desselben Dateisystems, beispielsweise des Dateisystems FS PA, nicht zum gewünschten Effekt führen würde. Während des Auflösens des Pfades innerhalb der Dateisystemschicht löst ein virtueller Dateisystem-Switch die Zugriffe auf die gleichen Teile des Speichermediums nur auf, obwohl sie über verschiedene Pfade / Einhängepunkte gegeben sind. Daher erhält das Blockvirtualisierungssystem, beispielsweise der Blocktreiber, unterhalb des Dateisystems keine Informationen über die angeforderte Priorität für den Dateisystemzugriff. Erfindungsgemäß wurde weiter erkannt, dass die Information über die verschiedenen Prioritäten bis zum Speichermedium bereitgestellt werden müssen. Das Verfahren stellt für das Speichermedium verschiedene Blockgeräte bereit, die jedoch alle demselben physikalischen Speichermedium bzw. derselben physikalischen Partition des Speichermediums zugeordnet sind. Dadurch kann auf dieselbe Datei in dem Speichermedium mit unterschiedlicher Priorität zugegriffen werden.According to the invention, it was recognized that only the insertion of suspension points within the same file system, for example the file system FS PA, would not lead to the desired effect. While the path within the file system layer is being resolved, a virtual file system switch only resolves access to the same parts of the storage medium, even though they are given via different paths / mount points. The block virtualization system, for example the block driver, therefore does not receive any information about the requested priority for the file system access below the file system. According to the invention, it was also recognized that the information about the various priorities must be made available as far as the storage medium. The method provides different block devices for the storage medium, but all of them are assigned to the same physical storage medium or the same physical partition of the storage medium. This allows access to the same file in the storage medium with a different priority.

Erfindungsgemäß wurde zudem erkannt, dass das Dateisystem Metadaten enthält, die nur einmal vorhanden sind, und die dem Dateisystem von allen Blockgeräten zur Verfügung gestellt werden müssen.According to the invention, it was also recognized that the file system contains metadata that is only available once and that must be made available to the file system by all block devices.

Wird nun ein Zugriff auf eine Datei ausgeführt, beispielsweise wird auf die erste Datei unter dem Einhängepunkt mit niedriger Priorität zugegriffen, und greift das System auf eine zweite Datei mit höherer Priorität als der niedrigen Priorität zu, welche unter dem Einhängepunkt mit hoher Priorität angeordnet ist, so kann das Ausführen der ersten Datei unterbrochen werden und die zweite Datei zuerst ausgeführt werden. Zudem werden unabhängig von der „Warteschlange“ hochpriorisierte Dateizugriffe immer vor niedrigeren Dateizugriffen ausgeführt, unabhängig von dem „ankommen/anfrage“ des Dateizugriffes. Durch die Erfindung kann daher zwischen sicherheitsrelevanten und nicht sicherheitsrelevanten Daten unterschieden werden.If access to a file is now carried out, for example the first file is accessed under the mount point with low priority, and the system accesses a second file with higher priority than the low priority, which is arranged under the mount point with high priority, so the execution of the first file can be interrupted and the second file can be executed first. In addition, regardless of the "queue", high-priority file accesses are always carried out before lower file accesses, regardless of the "arrival / request" of the file access. The invention can therefore differentiate between security-relevant and non-security-relevant data.

Die Erfindung bewirkt, dass das Blockvirtualisierungssystem auf das gesamte Speichermedium zugreift, den darüberliegenden Instanzen bzw. Schichten aber für dasselbe physikalische Speichermedium ein unterschiedliches (virtuelles) Blockgerät zur Verfügung stellen.The invention has the effect that the block virtualization system accesses the entire storage medium, but makes a different (virtual) block device available to the higher-level instances or layers for the same physical storage medium.

Das virtuelle Dateisystem sieht somit die Speichermedien:

  • /dev/virt-blockdevice-A
  • /dev/virt-blockdevice-AA
  • /dev/virt-blockdevice-AAA
The virtual file system thus sees the storage media:
  • / Dev / virt-block device-A
  • / Dev / virt-block device-AA
  • / Dev / virt-block device-AAA

Das Blockvirtualisierungssystem weist bevorzugt eine Tabelle auf, in der festgelegt ist, wie das Blockvirtualisierungssystem Zugriffe, die über die verschiedenen Einhängepunkte hereinkommen, untereinander behandelt.The block virtualization system preferably has a table, in which it is determined how the block virtualization system treats accesses that come in via the various mount points with one another.

Durch die Erfindung ist es möglich eine HMI (Human Maschine Interface) Schnittstelle mit priorisiertem Zugriff auf ein und dieselbe Datei beispielsweise in einer Integrationsplattform bereitzustellen. Dazu greift beispielsweise ein Fahrerassistenzsystem einfach über den ersten Einhängepunkt mit erster Priorität auf diese Datei zu. Ist die Datei ausgeführt und beispielsweise der sicherheitsrelevante Aspekt wieder vorbei, so kann das Fahrerassistenzsystem wieder über einen anderen Einhängepunkt mit niedrigerer Priorität auf diesselbe Datei zugreifen.The invention makes it possible to provide an HMI (Human Machine Interface) interface with prioritized access to one and the same file, for example in an integration platform. For example, a driver assistance system simply accesses this file via the first mount point with first priority. Once the file has been executed and, for example, the safety-relevant aspect has passed, the driver assistance system can again access the same file via another mount point with lower priority.

Dadurch ist es möglich, eine Standard-Dateischnittstelle, beispielsweise POSIX, welche keine Zugriffprioritäten bietet, mit unterschiedlich priorisiertem Dateizugriff, beispielsweise für elektronische Steuergeräte oder Apps etc. bereitzustellen.This makes it possible to provide a standard file interface, for example POSIX, which does not offer access priorities, with differently prioritized file access, for example for electronic control units or apps, etc.

Durch den mehrfachen, redundanten Zugriff ist zudem eine sichere Datenverwendung möglich.The multiple, redundant access also enables secure data use.

Mittels der Erfindung können die Dateizugriffe für den Boot-Vorgang optimiert werden, beispielsweise durch einen verzögerten Start von weniger wichtigen Applikationen etc.By means of the invention, the file accesses can be optimized for the boot process, for example by delaying the start of less important applications, etc.

Weiterhin bevorzugt ist eine zweite Datei vorgesehen, welche über den zweiten Einhängepunkt mit der zweiten Priorität ausgeführt wird, wobei die Ausführung bei Zugriff auf die erste Datei über den Einhängepunkt mit der ersten Priorität unterbrochen wird. Dabei ist die erste Priorität höher als die zweite Priorität. Dadurch kann auf sicherheitsrelevante Daten bevorzugt zugriffen werden und kurzfristig weniger priorisierte Zugriffe mit weniger sicherheitsrelevanten Daten unterbrochen werden, um die sicherheitsrelevanten Daten so schnell wie möglich zu erlangen.Furthermore, a second file is preferably provided, which is executed via the second mount point with the second priority, the execution being interrupted when the first file is accessed via the mount point with the first priority. The first priority is higher than the second priority. As a result, security-relevant data can be accessed preferentially and less prioritized accesses with less security-relevant data can be interrupted in the short term in order to obtain the security-relevant data as quickly as possible.

In bevorzugter Ausgestaltung ist eine erste Datei vorgesehen, die über den zweiten Einhängepunkt mit der zweiten Priorität ausgeführt wird, wobei die Ausführung bei Zugriff auf die erste Datei oder auf Teile der ersten Datei über den ersten Einhängepunkt mit der ersten Priorität unterbrochen wird. Es wird daher bei einem Ausführen einer Datei über einen Einhängepunkt mit niedrigerer Priorität immer die Ausführung unterbrochen, sobald ein höherpriorisierter Dateizugriff ankommt.In a preferred embodiment, a first file is provided, which is executed via the second mount point with the second priority, the execution being interrupted when the first file or parts of the first file are accessed via the first mount point with the first priority. When a file is executed via a mount point with a lower priority, execution is therefore always interrupted as soon as a higher-priority file access arrives.

Bevorzugt wird die Verzeichnisstruktur als eine als Baumstruktur ausgebildete hierarchische Verzeichnisstruktur mit einem Wurzelverzeichnis ausgebildet. Dabei wird die Verzeichnisstruktur zur Ablage von Dateien und/oder Verzeichnissen in jeder Instanz ausgebildet.The directory structure is preferably in the form of a hierarchical directory structure formed as a tree structure with a root directory. The directory structure for storing files and / or directories is formed in each instance.

Weiterhin bevorzugt wird das Speichermedium zumindest als ein Speicherblock ausgestaltet. Ein Speicherblock, auch Datenblock genannt, stellt die kleinste in einem Zugriff lese- oder schreibbare Einheit eines Speichermediums dar. The storage medium is furthermore preferably configured as at least one storage block. A memory block, also called a data block, represents the smallest unit of a storage medium that can be read or written in one access.

In bevorzugter Ausgestaltung weist das Speichermedium zumindest eine Partition auf, wobei der Speicherblock der zumindest einen Partition zugeordnet wird. Auch kann der Speicherblock mehrere Partitionen aufweisen.In a preferred embodiment, the storage medium has at least one partition, the memory block being assigned to the at least one partition. The memory block can also have several partitions.

In weiterer bevorzugter Ausgestaltung wird zumindest ein drittes Blockgerät, welches auf das Speichermedium zugreift, und ein dritter Einhängepunkt, welcher in die Verzeichnisstruktur eingehängt wird und auf das dritte Blockgerät zeigt, umfasst, wobei die erste Datei in dem Speichermedium gespeichert wird, und der Zugriff auf die erste Datei über den dritten Einhängepunkt und das dritte Blockgerät mit einer dritten Priorität erfolgt, wobei die dritte Priorität von der ersten Priorität und der zweiten Priorität unterschiedlich ausgebildet wird. In einer bevorzugten weiteren Ausgestaltung wird die erste Priorität höher als die zweite Priorität und die zweite Priorität höher als die dritte Priorität ausgebildet.In a further preferred embodiment, at least a third block device which accesses the storage medium and a third mount point which is hooked into the directory structure and points to the third block device are included, the first file being stored in the storage medium and the access to the first file is made via the third mount point and the third block device with a third priority, the third priority being designed differently from the first priority and the second priority. In a preferred further embodiment, the first priority is made higher than the second priority and the second priority is made higher than the third priority.

Beispielsweise ist hier die Datei beispiel.sql gegeben. Diese wird durch drei verschiedene Einhängepunkte in die Verzeichnisstruktur eingehängt. Dabei weist der erste Einhängepunkt /highprio/opt/hmi eine erste hohe Priorität auf. Der zweite Einhängepunkt /opt/hmi weist eine zweite Priorität auf, welche niedriger als die erste Priorität ist, und beispielsweise als Standardpriorität gesetzt ist. Der dritte Einhängepunkte /prefetch/opt/hmi ist für Background Anwendungen gedacht und weist eine dritte Priorität auf, welche niedriger als die erste und die zweite Priorität ist. Von einer Anwendungsschicht kann daher auf die Datei mit einer ersten Priorität unter /highprio/opt/hmi/beipsiel.sql, mit einer zweiten Priorität unter /opt/hmi/beispiel.sql und mit einer dritten Priorität unter prefetch/opt/hmi/beispiel.sql zugriffen werden, um die Datei beispiel.sql auszuführen.For example, the file example.sql is given here. This is attached to the directory structure by three different attachment points. The first mount point / highprio / opt / hmi has a first high priority. The second mount point / opt / hmi has a second priority, which is lower than the first priority and is set, for example, as the standard priority. The third mount point / prefetch / opt / hmi is intended for background applications and has a third priority, which is lower than the first and second priority. An application layer can therefore access the file with a first priority under /highprio/opt/hmi/beipsiel.sql, with a second priority under /opt/hmi/beispiel.sql and with a third priority under prefetch / opt / hmi / example .sql can be accessed to run the example.sql file.

Auch können mehrere Einhängepunkte mit mehreren Prioritäten vorgesehen sein.Multiple mount points with multiple priorities can also be provided.

Besonders bevorzugt ist eine dritte Datei vorgesehen, die über den dritten Einhängepunkt mit der dritten Priorität ausgeführt wird, wobei die Ausführung bei Zugriff auf die erste Datei über den ersten Einhängepunkt mit der ersten Priorität oder bei Zugriff auf die erste Datei über den zweiten Einhängepunkt mit der zweiten Priorität unterbrochen wird. Die Ausführung einer Datei wird immer unterbrochen, wenn ein höherer priorisierter Zugriff auf eine andere Datei erfolgt. A third file is particularly preferably provided, which is executed via the third mount point with the third priority, the execution when accessing the first file via the first mount point with the first priority or when accessing the first file via the second mount point with the second priority is interrupted. The execution of a file is interrupted whenever there is a higher priority access to another file.

Weiterhin bevorzugt wird das Speichermedium als embedded Multimedia Card (eMMC), also als eingebettete Mutlimediakarte ausgebildet. Eine eMMC (embedded Multimedia Card) ist eine auf einem Flash-Speicher basierender Standard für einen universell einsetzbaren, integrierten Massenspeicher. Diese sind besonders kostengünstig.Furthermore, the storage medium is preferably designed as an embedded multimedia card (eMMC), that is to say as an embedded multimedia card. An eMMC (embedded multimedia card) is a standard based on flash memory for a universally applicable, integrated mass storage device. These are particularly inexpensive.

In zusätzlicher bevorzugter Ausgestaltung ist ein VFS (Virtual file system, VFS) Switch vorgesehen, welcher die Einhängepunkte in die Verzeichnisstruktur einhängt. Ein VFS-Switch stellt hier auf einer VFS-Schicht Programmen eine einheitliche Schnittstelle zur Anwendungsprogrammierung zur Verfügung, um auf die unterschiedlichen Einhängepunkte zuzugreifen. Der VFS-Switch ist auf einer VFS-(Layer)schicht angeordnet.In an additional preferred embodiment, a VFS (Virtual File System, VFS) switch is provided, which hooks the suspension points into the directory structure. A VFS switch provides programs on a VFS layer with a uniform interface for application programming in order to access the different mounting points. The VFS switch is arranged on a VFS (layer) layer.

Das Blockvirtualisierungssystem weist bevorzugt eine Tabelle auf, in der festgelegt ist, wie das Blockvirtualisierungssystem Zugriffe, die über die verschiedenen Einhängepunkte hereinkommen, untereinander behandelt und legt dadurch die Prioritäten fest. Die VFS-(Layer)schicht bleibt bevorzugt unangetastet.The block virtualization system preferably has a table in which it is determined how the block virtualization system treats accesses which come in via the various mount points with one another and thereby defines the priorities. The VFS (layer) layer preferably remains untouched.

Weiterhin bevorzugt wird das Betriebssystem als ein unix- oder liunxbasiertes Betriebssystem ausgestaltet.The operating system is further preferably configured as a Unix or Linux-based operating system.

Es kann vorteilhaft gesehen werden, dass bei einem Schreibzugriff auf das Speichermedium durch einen ersten Einhängepunkt der Schreibzugriff auf das Speichermedium durch einen zweiten Einhängepunkt blockiert wird. Dies gilt auch umgekehrt, das heißt, dass bei einem Schreibzugriff auf das Speichermedium durch einen zweiten Einhängepunkt der Schreibzugriff auf das Speichermedium durch einen ersten Einhängepunkt blockiert wird.It can advantageously be seen that when a write access to the storage medium is blocked by a first mount point, the write access to the storage medium is blocked by a second mount point. This also applies the other way round, that is to say that in the event of a write access to the storage medium by a second mounting point, the writing access to the storage medium is blocked by a first mounting point.

Weiter kann vorteilhafterweise vorgesehen sein, dass bei einem Schreibzugriff auf das Speichermedium durch einen ersten Einhängepunkt ein jeweils anderer, zweiter Einhängepunkte ausgehängt wird. Dies heißt, dass beim Senden oder beim Empfangen von Daten einer Datei immer gewartet (blockiert) wird, bis der jeweilige Schreibzugriff abgeschlossen ist.Furthermore, it can advantageously be provided that when a write access to the storage medium is made, a different, second mount point is unmounted by a first mount point. This means that when sending or receiving data from a file, the system always waits (blocks) until the respective write access is completed.

Zur anschließenden Synchronisation des Speichermediums werden bevorzugt Synchronisationsmechanismen angewandt.For the subsequent synchronization of the storage medium, synchronization mechanisms are preferably used.

Ferner wird die Aufgabe gelöst durch die Angabe eines Computersystems mit einem Betriebssystem zum Ausführen eines wie oben beschriebenen Verfahrens, zum Ausführen eines priorisierten Dateizugriffs, umfassend eine von dem Betriebssystem bereitgestellten Verzeichnisstruktur, ein Speichermedium, ein Blockvirtualisierungssystem, zumindest ein erstes Blockgerät, welches über das Blockvirtualisierungssystem auf das Speichermedium zugreift, ein erster Einhängepunkt, welcher in die Verzeichnisstruktur eingehängt ist und auf das erste Blockgerät zeigt, wobei
zumindest ein zweites Blockgerät, welches über das Blockvirtualisierungssystem auf das Speichermedium zugreift, und ein zweiter Einhängepunkt, welcher in die Verzeichnisstruktur eingehängt ist und auf das zweite Blockgerät zeigt, vorgesehen ist, wobei eine erste Datei in dem Speichermedium, auf welches das erste Blockgerät als auch das zweite Blockgerät zugreift, gespeichert ist, und der Zugriff auf die erste Datei über den ersten Einhängepunkt mit einer ersten Priorität und der Zugriff auf die erste Datei über den zweiten Einhängepunkt mit einer von der ersten Priorität unterschiedlichen zweiten Priorität erfolgt.
Furthermore, the object is achieved by specifying a computer system with an operating system for executing a method as described above, for executing a prioritized file access, comprising a directory structure provided by the operating system, a storage medium, a block virtualization system, at least one first block device which accesses the storage medium via the block virtualization system, a first mount point which is hooked into the directory structure and points to the first block device, wherein
at least a second block device, which accesses the storage medium via the block virtualization system, and a second mount point, which is hooked into the directory structure and points to the second block device, is provided, with a first file in the storage medium, to which the first block device as well the second block device accesses, is stored, and the first file is accessed via the first mount point with a first priority and the first file is accessed via the second mount point with a second priority different from the first priority.

Das Computersystem ist wie das Verfahren, mit frei auf dem Markt verfügbaren Dateisystemen nutzbar, ohne dass diese angepasst oder geändert werden müssen. Die Erfindung ist damit unabhängig vom verwendeten Dateisystem und für bestehende Standarddateisysteme und Standardbetriebssysteme für Dateisystemzugriffe, z.B. POSIX nutzbar.Like the process, the computer system can be used with file systems which are freely available on the market without having to be adapted or changed. The invention is therefore independent of the file system used and for existing standard file systems and standard operating systems for file system access, e.g. POSIX can be used.

Bevorzugt ist eine zweite Datei vorgesehen, welche über den zweiten Einhängepunkt mit der zweiten Priorität ausgeführt ist, wobei die Ausführung bei Zugriff auf die erste Datei über den Einhängepunkt mit der ersten Priorität unterbrochen ist.A second file is preferably provided, which is executed with the second priority via the second mount point, the execution being interrupted when the first file is accessed via the mount point with the first priority.

Weiterhin bevorzugt umfasst das Speichermedium zumindest einen Speicherblock. In weiterer bevorzugter Ausgestaltung ist zumindest ein drittes Blockgerät, welche auf das Speichermedium zugreift, und ein dritter Einhängepunkt, welcher in die Verzeichnisstruktur eingehängt ist und auf das dritte Blockgerät zeigt, umfasst, wobei die erste Datei auf dem Speichermedium gespeichert ist, und der Zugriff auf die erste Datei über den dritten Einhängepunkt und das dritte Blockgerät mit einer dritten Priorität erfolgt, wobei die dritte Priorität von der ersten Priorität und der zweiten Priorität unterschiedlich ist. Weiter bevorzugt ist die erste Priorität höher als die zweite Priorität und die zweite Priorität höher als die dritte Priorität.The storage medium further preferably comprises at least one storage block. In a further preferred embodiment, at least a third block device, which accesses the storage medium, and a third mount point, which is hooked into the directory structure and points to the third block device, are included, the first file being stored on the storage medium, and the access to the first file is made via the third mount point and the third block device with a third priority, the third priority being different from the first priority and the second priority. More preferably, the first priority is higher than the second priority and the second priority is higher than the third priority.

Vorteilhafterweise ist eine dritte Datei vorgesehen, die über den dritten Einhängepunkt mit der dritten Priorität ausgeführt ist, wobei die Ausführung bei Zugriff auf die erste Datei über den ersten Einhängepunkt mit der ersten Priorität oder bei Zugriff auf die erste Datei über den zweiten Einhängepunkt mit der zweiten Priorität unterbrochen ist.A third file is advantageously provided, which is executed with the third priority via the third mount point, the execution having access to the first file via the first mount point with the first priority or when accessing the first file via the second mount point with the second priority Priority is interrupted.

In weiterer bevorzugter Ausgestaltung ist bei einem Schreibzugriff auf das Speichermedium durch einen ersten Einhängepunkt der Schreibzugriff auf das Speichermedium durch einen zweiten Einhängepunkt blockiert. Bevorzugt ist bei einem Schreibzugriff auf das Speichermedium durch einen ersten Einhängepunkt der jeweils andere, zweite Einhängepunkte ausgehängt.In a further preferred refinement, write access to the storage medium is blocked by a second mounting point in the event of write access to the storage medium by a first mounting point. In the case of write access to the storage medium, the other, second mount point is preferably unmounted by a first mount point.

Die Vorteile des Verfahrens können auch auf das Computersystem angewendet werden.The advantages of the method can also be applied to the computer system.

Ein weiterer Gegenstand der Erfindung betrifft ein Computerprogramm, umfassend Befehle, die bei der Ausführung des Programms durch den Computer diesen veranlassen, das wie oben beschriebene Verfahren auszuführen.Another object of the invention relates to a computer program comprising commands which, when the program is executed by the computer, cause the computer to carry out the method as described above.

Ein weiterer Gegenstand der Erfindung betrifft einen computerlesbaren Datenträger, auf dem das wie oben beschriebene Computerprogramm gespeichert ist.Another object of the invention relates to a computer-readable data carrier on which the computer program as described above is stored.

Weitere Merkmale, Eigenschaften und Vorteile der vorliegenden Erfindung ergeben sich aus der nachfolgenden Beschreibung unter Bezugnahme auf die beiliegenden Figuren. Darin zeigen schematisch:

  • 1: ein erstes Ausführungsbeispiel der Erfindung,
  • 2: ein zweites Ausführungsbeispiel gemäß der Erfindung,
  • 3: ein drittes Ausführungsbeispiel gemäß der Erfindung.
Further features, properties and advantages of the present invention will become apparent from the following description with reference to the accompanying figures. It shows schematically:
  • 1 : a first embodiment of the invention,
  • 2 : a second embodiment according to the invention,
  • 3 : a third embodiment according to the invention.

Obwohl die Erfindung im Detail durch das bevorzugte Ausführungsbeispiel näher illustriert und beschrieben wurde, ist die Erfindung nicht durch die offenbarten Beispiele eingeschränkt. Variationen hiervon können vom Fachmann abgeleitet werden, ohne den Schutzumfang der Erfindung, wie er durch die nachfolgenden Patentansprüche definiert wird, zu verlassen.Although the invention has been illustrated and described in detail by the preferred exemplary embodiment, the invention is not restricted by the disclosed examples. Variations on this can be derived by those skilled in the art without departing from the scope of the invention as defined by the following claims.

1 zeigt ein erstes Ausführungsbeispiel der Erfindung. Das erfindungsgemäße Computersystem und Verfahren weist eine hierarchische Verzeichnisstruktur sowie - hier beispielhaft eine Datei mit einem Dateinamen animationxyz.mp4 - auf. Dabei ist eine hierarchische Verzeichnisstruktur die hierarchische Gestalt eines Dateisystems. 1 shows a first embodiment of the invention. The computer system and method according to the invention has a hierarchical directory structure and - here, for example, a file with a file name animationxyz.mp4. A hierarchical directory structure is the hierarchical form of a file system.

1 zeigt ein Speichermedium 1. Das Speichermedium 1 kann als eMMC (emmedded MultiMedia Card) oder als Festplatte oder als ein anderes Speichermedium ausgebildet sein. Das Speichermedium 1 weist in diesem Beispiel eine Partition K mit dem Filesystem FS_PA auf. Dabei kann das Filesystem auch als Dateisystem bezeichnet werden. Die Partition K umfasst mehrere Datenblöcke auch Speicherblöcke genannt. 1 shows a storage medium 1 , The storage medium 1 can be designed as an eMMC (emmedded MultiMedia Card) or as a hard disk or as another storage medium. The storage medium 1 assigns a partition in this example K with the file system FS_PA. The file system can also be referred to as a file system. The partition K comprises several data blocks also called memory blocks.

Ferner ist ein erstes Blockgerät A, vorgesehen, welches auf das Speichermedium 1 bzw. auf die Speicherblöcke der Partition K zeigt. Das heißt, das Blockgerät A wird auf die physikalische Adresse, hier auf die Speicherblöcke der Partition K abgebildet. Dies wird mit einem Blockvirtualisierungssystem 2, das heißt einer Speicherverwaltungseinheit/Gerätetreiber realisiert. Bei der Blockvirtualisierung werden die Speicherblöcke eines Speichermediums 1 in einer Tabelle gespeichert, welche auch als „Mapping Table“ bezeichnet wird. Dieser ist zu entnehmen, wo genau sich bestimmte Speicherblöcke befinden. Die Blockvirtualisierung trennt somit das Blockgerät von dem physikalischen Speicher, so dass auf diesen Speicher zugegriffen werden kann, ohne Rücksicht auf das physikalische Speichermedium. Das Blockvirtualisierungssystem 2 ist auf der Speicherzugriffsschicht 7 angeordnet.Furthermore, a first block device A , which is provided on the storage medium 1 or on the memory blocks of the partition K shows. That is, the block device A is on the physical address, here on the memory blocks of the partition K displayed. This is done with a block virtualization system 2 , that is, a memory management unit / device driver. With block virtualization, the memory blocks of a storage medium 1 stored in a table, which is also referred to as a "mapping table". This shows where exactly certain memory blocks are located. The block virtualization thus separates the block device from the physical memory, so that this memory can be accessed regardless of the physical storage medium. The block virtualization system 2 is on the memory access layer 7 arranged.

Die physikalische Adresse der Speicherblöcke der Partition K wird daher anhand des „Blockgerätes A“ festgehalten. Weiterhin ist ein zweites Blockgerät AA, vorgesehen, welches auf das Speichermedium 1 bzw. auf die Speicherblöcke der Partition K zeigt. Zudem ist ein drittes Blockgerät AAA, vorgesehen, welches auf das Speichermedium 1 bzw. auf die Speicherblöcke der Partition K zeigt. Das erste Blockgerät A, das zweite Blockgerät AA und das dritte Blockgerät AAA werden mit drei Einhängepunkten, sogenannten MountPoints X, Y, Z verknüpft.The physical address of the partition's memory blocks K is therefore based on the "block device A "Held. There is also a second block device AA , which is provided on the storage medium 1 or on the memory blocks of the partition K shows. There is also a third block device AAA , which is provided on the storage medium 1 or on the memory blocks of the partition K shows. The first block device A , the second block device AA and the third block device AAA are with three mount points, so-called MountPoints X . Y . Z connected.

Durch einen VFS-Switch 3 (engl. virtual File System, virtuelles Dateisystem) auf einer VFS-(Layer)schicht 4, werden die Einhängepunkte X, Y, Z in der hierarchischen Verzeichnisstruktur eingehängt und sind dort sichtbar. Der VFS-Switch 3 kann die Verknüpfung der Blockgeräte A, AA, AAA mit den Einhängepunkten X, Y, Z, bewerkstelligen.Through a VFS switch 3 (Engl. Virtual File System, virtual file system) on a VFS (layer) layer 4 , the mount points X . Y . Z mounted in the hierarchical directory structure and are visible there. The VFS switch 3 can link the block devices A . AA . AAA with the mount points X . Y . Z , accomplish.

VFS-Switches 3 sind Anwendungsprogrammierschnittstellen, welche das „unmounten“ und „mounten“ der Einhängepunkte X, Y, Z übernehmen. Die Einhängepunkte X, Y, Z werden somit in einer Verzeichnisstruktur des Rechners eingehängt, das heißt die vorherige Verzeichnisstruktur wird also um die Einhängepunkte X, Y, Z erweitert. Die Einhängepunkte X, Y, Z werden in einer Filesystem Table angegeben, in der auch Eigenschaften vordefiniert werden können. Hier werden über die jeweiligen Einhängepunkte X, Y, Z die verschiedenen Prioritäten oder die verschiedenen Anwendungsfälle (use-cases) zugeordnet, das heißt dass durch das Einhängen (Mounten) auf einen bestimmten Einhängepunkt X,Y,Z, die Zuordnung zu den Prioritäten / Anwendungsfällen erfolgt. Das VFS-Switch 3 und die Zuordnung von Dateisystem-Instanzen zu verschiedenen Einhängepunkten X, Y, Z bleiben aber unverändert, so wie vom jeweiligen Betriebssystem zur Verfügung gestellt, das heißt, gibt keine Änderung in der Dateisystem-Funktionalität und keine Änderung durch das VFS-Switch 3. Dies bedeutet, dass die ganze VFS-(Layer)schicht 4 unangetastet bleibt. Die Priorisierung erfolgt in dem Blockvirtualisierungssystem 2 und der Speicherzugriffsschicht 7.VFS Switches 3 are application programming interfaces which “unmount” and “mount” the mount points X . Y . Z take. The mount points X . Y . Z are thus mounted in a directory structure of the computer, that is, the previous directory structure is therefore around the mount points X . Y . Z extended. The mount points X . Y . Z are specified in a filesystem table, in which properties can also be predefined. Here are about the respective mount points X . Y . Z The different priorities or the different use cases are assigned, that is to say that by mounting on a specific mounting point X . Y . Z , the assignment to the priorities / use cases. The VFS switch 3 and the assignment of file system instances to different mount points X . Y . Z remain unchanged, however, as provided by the respective operating system, that is, there is no change in the file system functionality and no change by the VFS switch 3 , This means that the whole VFS (layer) layer 4 remains untouched. The prioritization takes place in the block virtualization system 2 and the memory access layer 7 ,

Ein Anwendungsfall bündelt alle Möglichkeiten, die eintreten können, wenn ein Nutzer versucht, mit Hilfe eines Verfahrens / Computersystems ein bestimmtes Ziel zu erreichen, d.h. ein Anwendungsfall beschreibt beispielsweise, wie ein Nutzer ein System verwendet, um ein bestimmtes Ziel zu erreichen.One use case bundles all possibilities that can arise when a user tries to achieve a certain goal with the help of a method / computer system, i.e. For example, one use case describes how a user uses a system to achieve a specific goal.

Dem ersten Einhängepunkt X wird eine erste Priorität, dem zweiten Einhängepunkt Y eine zweite Priorität und dem dritten Einhängepunkt Z eine dritte Priorität zugewiesen, wobei die erste Priorität größer als die zweite Priorität und die zweite Priorität größer als dritte Priorität ist.The first mount point X becomes a first priority, the second mount point Y a second priority and the third mount point Z a third priority is assigned, the first priority being greater than the second priority and the second priority being greater than third priority.

Hier wird die Datei animationxyz.mp4 im Verzeichnispfad „/res/video/ animationxyz.mp4“ nun auf die Einhängepunkte X, Y, Z gemounted. Dadurch ergeben sich nun drei unterschiedliche Verzeichnispfade mit drei unterschiedlichen Prioritäten:

  • /X/res/video/animationxyz.mp4
  • /Y/res/video/animationxyz.mp4
  • /Z/res/video/animationxyz.mp4
Here the file animationxyz.mp4 in the directory path "/ res / video / animationxyz.mp4" is now on the mount points X . Y . Z mounted. This now results in three different directory paths with three different priorities:
  • /X/res/video/animationxyz.mp4
  • /Y/res/video/animationxyz.mp4
  • /Z/res/video/animationxyz.mp4

Durch diese Pfade kann der Anwender oder ein System, beispielsweise ein Fahrerassistenzsystem, mit verschiedenen Prioritäten auf die Datei animationxyz.mp4 zugreifen. Auf die Datei kann von einer Anwendungsschicht 5 durch eine Anwendungsprogrammierschnittstelle 6 (API) zugriffen werden.Through these paths, the user or a system, for example a driver assistance system, can access the animationxyz.mp4 file with different priorities. The file can be accessed from an application layer 5 through an application programming interface 6 (API) can be accessed.

Dabei hat ein Zugriff über den Einhängepunkt /X/res/video/ animationxyz.mp4 die höchste Priorität. Zugriffe auf andere Dateien oder dieselbe Datei werden unterbrochen, sofern diese mit einem Zugriff mit niederer Priorität ausgeführt werden.Access via the mount point / X / res / video / animationxyz.mp4 has the highest priority. Access to other files or the same file is interrupted if it is carried out with a lower priority access.

Der Zugriff wird von der Speicherzugriffsschicht 7 aus priorisiert.Access is from the storage access layer 7 prioritized out.

Da die Dateien der verschiedenen Blockgeräte A, AA, AAA auf die verschiedenen Einhängepunkte X, Y, Z gesetzt werden, bzw. die Blockgeräte A, A, AAA den verschiedenen Einhängepunkten X, Y, Z zugeordnet werden, landen Anwendungszugriffe auf die Datei animationxyz.mp4 durch die verschiedenen Einhängepunkte X, Y, Z mit den korrespondierenden Blockgeräten A, AA, AAA auf der Partition K des Speichermediums 1. Der Zugriff auf das Speichermedium 1 unterliegt somit den verschiedenen Prioritäten.Because the files of the various block devices A . AA . AAA to the different mount points X . Y . Z be set, or the block devices A . A . AAA the different mount points X . Y . Z assigned, access to the animationxyz.mp4 file ends up through the various mount points X . Y . Z with the corresponding block devices A . AA . AAA on the partition K of the storage medium 1 , Access to the storage medium 1 is therefore subject to different priorities.

Ein Schreibzugriff auf das Speichermedium 1 erfolgt durch ein Blockgerät A oder AA oder AAA. Wenn ein Schreibzugriff durch verschiedene Blockgeräte möglich ist, wird der Schreibzugriff entweder ganz blockiert oder es werden bis auf das eine Blockgerät, durch das der Schreibzugriff erfolgen soll, alle anderen Blockgeräte mittels ihres Einhängepunktes X, Y, Z ausgehängt.A write access to the storage medium 1 done by a block device A or AA or AAA , If write access by different block devices is possible, write access is either blocked entirely or there is one exception Block device through which write access is to take place, all other block devices using their mount point X . Y . Z unmounted.

In diesem Beispiel ist das Speichermedium 1 hier als eMMC ausgebildet.In this example, the storage medium is 1 trained here as eMMC.

Es können auch mehr als drei Blockgeräte mit mehr als drei Einhängepunkten, welche auf die Partition K des Speichermedium 1 zugreifen, vorgesehen sein.You can also have more than three block devices with more than three mount points on the partition K of the storage medium 1 access, be provided.

Wird nun ein Zugriff auf eine Datei mit niedriger Priorität ausgeführt, also wird beispielsweise auf eine erste Datei unter dem dritten Einhängepunkt Z zugegriffen, und greift das System auf eine zweite Datei zu, welche unter dem ersten Einhängepunkt X angeordnet ist, so wird das Ausführen der ersten Datei unterbrochen und die zweite Datei wird zuerst ausgeführt.If access to a file with low priority is now carried out, for example to a first file under the third mount point Z accessed, and the system accesses a second file, which is under the first mount point X is arranged, the execution of the first file is interrupted and the second file is executed first.

Somit kann beispielsweise ein Fahrerassistenzsystem priorisiert auf die Datei animationxyz.mp4 über den Dateinamen und den Pfadnamen, hier also über den ersten Einhängepunkt X und den Pfadnamen /X/res/video/animationxyz.mp4 zugreifen, wenn diese Datei bzw. Daten für sicherheitsrelevante Aspekte gerade von Bedeutung sind. Andere weniger hoch priorisierte Zugriffe werden dann unterbrochen.Thus, for example, a driver assistance system can prioritize the animationxyz.mp4 file via the file name and the path name, in this case via the first mount point X and access the path name /X/res/video/animationxyz.mp4 if this file or data is currently important for security-related aspects. Other less highly prioritized accesses are then interrupted.

2 zeigt ein zweites Ausführungsbeispiel der Erfindung. Hier wird über eine Anwendungsprogrammierschnittstelle 6 eine Datei wichtig.sql aufgerufen. Die Datei wurde, wie unter 1 beschrieben, über die Einhängepunkte X, Y, Z und die Blockgeräte A, A, AAA in einer Partition K des Speichermediums 1 gespeichert. 2 shows a second embodiment of the invention. Here is an application programming interface 6 called a file important.sql. The file was created as below 1 described, via the mount points X . Y . Z and the block devices A . A . AAA in one partition K of the storage medium 1 saved.

Die Datei wird von einem beispielsweise Fahrerassistenzsystem über die Anwendungsprogrammierschnittstelle 6 mit höchster Priorität aufgerufen. Der VFS-Switch 3 greift (8) über den ersten Einhängepunkt X auf das Blockgerät A zu. Dieses wiederum greift (8) über das Blockvirtualisierungssystem 2 auf die Partition K zu, und die Datei wichtig.sql wird ausgeführt. Die Zugriffe von der Anwendungsprogrammierschnittstelle 6 bis zur Partition K über den ersten Einhängepunkt X sind mit dem Bezugszeichen 8 gekennzeichnet. Das heißt, solange der Zugriff andauert, werden Daten der ausgeführten Datei wichtig.sql zu der Anwendungsprogrammierschnittstelle 6 zurückgeliefert, dies ist mit dem Bezugszeichen 9 gekennzeichnet.The file is generated by a driver assistance system, for example, via the application programming interface 6 called with highest priority. The VFS switch 3 reaches (8) over the first mounting point X on the block device A to. This in turn accesses (8) via the block virtualization system 2 to the partition K and the file important.sql is executed. Access from the application programming interface 6 to the partition K over the first mount point X are with the reference symbol 8th characterized. That is, as long as access continues, data from the executed file becomes important.sql to the application programming interface 6 returned, this is with the reference number 9 characterized.

Während des Zugriffs des Fahrerassistenzsystems über die Anwendungsprogrammierschnittstelle 6 und den ersten Einhängepunkt X, greift die Anwendungsprogrammierschnittstelle 6 erneut auf eine Datei wenigerwichtig.sql zu. Die Datei wird von dem Fahrerassistenzsystem über die Anwendungsprogrammierschnittstelle 6 mit niedrigster Priorität aufgerufen. Der VFS-Switch 3 greift (10) über den dritten Einhängepunkt Z auf das Blockgerät AAA zu. Dieses versucht, über das Blockvirtualisierungssystem 2 auf die Partition K, zuzugreifen, um die Datei wenigerwichtig.sql auszuführen; es wird jedoch vom Blockvirtualisierungssystem 2, das heißt der Speicherzugriffsschicht 7, der Zugriff verweigert. Dieser Zugriff, hier mit dem Bezugszeichen 10 gekennzeichnet, wird solange verweigert bis das Ausführen der Datei wichtig.sql beendet worden ist; hier als Beendigungspunkt 11 gekennzeichnet. Anschließend wird die Datei wenigerwichtig.sql ausgeführt und Daten der ausgeführten Datei wenigerwichtig.sql werden zurückgeliefert, hier mit dem Bezugszeichen 12 gekennzeichnet.While the driver assistance system is being accessed via the application programming interface 6 and the first mount point X , grabs the application programming interface 6 again to a file less important.sql. The file is generated by the driver assistance system via the application programming interface 6 called with lowest priority. The VFS switch 3 reaches (10) over the third mount point Z on the block device AAA to. This tries, via the block virtualization system 2 to the partition K to access to run the less important.sql file; however, it is from the block virtualization system 2 , that is, the memory access layer 7 who denied access. This access, here with the reference symbol 10 is denied until the execution of the important.sql file has ended; here as an ending point 11 characterized. Then the file less important.sql is executed and data of the executed file less important.sql are returned, here with the reference symbol 12 characterized.

3 zeigt ein drittes Ausführungsbeispiel der Erfindung. Hier wird über eine Anwendungsprogrammierschnittstelle 6 eine Datei wenigerwichtig.sql aufgerufen. Die Datei wurde, wie unter 1 beschrieben, über die Einhängepunkte X, Y, Z und die Blockgeräte A, A, AAA in einer Partition K des Speichermediums 1 gespeichert. 3 shows a third embodiment of the invention. Here is an application programming interface 6 called a file less important.sql. The file was created as below 1 described, via the mount points X . Y . Z and the block devices A . A . AAA in one partition K of the storage medium 1 saved.

Die Datei wird beispielsweise von einem Fahrerassistenzsystem über die Anwendungsprogrammierschnittstelle 6 mit niedrigster Priorität aufgerufen. Der VFS-Switch 3 greift über den dritten Einhängepunkt Z auf das Blockgerät AAA zu. Dieses wiederum greift über das Blockvirtualisierungssystem 2 auf die Partition K zu, und das Programm wenigerwichtig.sql wird ausgeführt. Die Zugriffe von der Anwendungsprogrammierschnittstelle 6 bis zur Partition K über den dritten Einhängepunkt Z sind mit dem Bezugszeichen 10 gekennzeichnet.The file is generated, for example, by a driver assistance system via the application programming interface 6 called with lowest priority. The VFS switch 3 reaches over the third mount point Z on the block device AAA to. This in turn accesses the block virtualization system 2 to the partition K and the program less important.sql is executed. Access from the application programming interface 6 to the partition K over the third mount point Z are with the reference symbol 10 characterized.

Das heißt, die Daten der ausgeführten Datei wenigerwichtig.sql werden zu der Anwendungsprogrammierschnittstelle 6 zurückgeliefert, dies wird mit dem Bezugszeichen 12 gekennzeichnet.That is, the data of the executed file less important.sql becomes the application programming interface 6 returned, this is with the reference number 12 characterized.

Während der Ausführung wird über die Anwendungsprogrammierschnittstelle 6 eine Datei wichtig.sql aufgerufen. Die Datei wurde, wie unter 1 beschrieben, über die Einhängepunkte X, Y, Z und die Blockgeräte A, A, AAA in einer Partition K des Speichermediums 1 gespeichert. Die Datei wird von dem Fahrerassistenzsystem über die Anwendungsprogrammierschnittstelle 6 mit höchster Priorität über den ersten Einhängepunkt X und das Blockgerät A aufgerufen. Der VFS-Switch 3 greift über den ersten Einhängepunkt X auf das Blockgerät A zu. Dieses greift über das Blockvirtualisierungssystem 2 auf die Partition K zu, um die Datei wichtig.sql auszuführen. Das Speichermedium 1, das heißt die Partition K unterbricht an einem Unterbrechungspunkt 13 in diesem Fall sofort die Ausführung der Datei wenigerwichtig.sql und beginnt mit der Ausführung der Datei wichtig.sql. Dieser Zugriff, hier mit dem Bezugszeichen 8, wird solange ausgeführt bis die Ausführung der Datei wichtig.sql beendet worden ist; hier als Endzeitpunkt 14 gekennzeichnet. Anschließend wird wieder die Datei wenigerwichtig.sql ausgeführt.During execution, the application programming interface 6 called a file important.sql. The file was created as below 1 described, via the mount points X . Y . Z and the block devices A . A . AAA in one partition K of the storage medium 1 saved. The file is generated by the driver assistance system via the application programming interface 6 with the highest priority over the first mount point X and the block device A called. The VFS switch 3 reaches over the first mount point X on the block device A to. This reaches over the block virtualization system 2 to the partition K to run the important.sql file. The storage medium 1 , that is the partition K pauses at a break point 13 in this case, the execution of the file less important.sql starts immediately and starts the execution of the Important.sql file. This access, here with the reference symbol 8th , is executed until the execution of the important.sql file has ended; here as the end time 14 characterized. Then the file less important.sql is executed again.

BezugszeichenlisteLIST OF REFERENCE NUMBERS

11
Speichermediumstorage medium
22
BlockvirtualisierungssystemBlock virtualization system
33
VFS-SwitchVFS switch
44
VFS-LayerschichtVFS layer structure
55
Anwendungsschichtapplication layer
66
Anwendungsprogrammierschnittstelleapplication programming
77
SpeicherzugriffsschichtMemory access layer
88th
ZugriffeViews
99
Zurückgelieferte Daten von 8Returned data from 8
1010
ZugriffeViews
1111
Beendigungspunkttermination point
1212
Zurückgelieferte Daten von 10Returned data from 10
1313
Unterbrechungspunktbreakpoint
1414
Endzeitpunktend time
X,Y,ZX, Y, Z
EinhängepunkteMount Points
A,AA, AAAA, AA, AAA
Blockgeräteblock devices
KK
Partitionpartition
FS PAFS PA
Dateisystemfile system

ZITATE ENTHALTEN IN DER BESCHREIBUNG QUOTES INCLUDE IN THE DESCRIPTION

Diese Liste der vom Anmelder aufgeführten Dokumente wurde automatisiert erzeugt und ist ausschließlich zur besseren Information des Lesers aufgenommen. Die Liste ist nicht Bestandteil der deutschen Patent- bzw. Gebrauchsmusteranmeldung. Das DPMA übernimmt keinerlei Haftung für etwaige Fehler oder Auslassungen.This list of documents listed by the applicant has been generated automatically and is only included for the better information of the reader. The list is not part of the German patent or utility model application. The DPMA assumes no liability for any errors or omissions.

Zitierte PatentliteraturPatent literature cited

  • US 20080126645 A1 [0008]US 20080126645 A1 [0008]
  • US 6253260 B1 [0009]US 6253260 B1 [0009]
  • DE 112008003256 T5 [0010]DE 112008003256 T5 [0010]
  • DE 10032962 A1 [0011]DE 10032962 A1 [0011]
  • US 4616338 [0012]US 4616338 [0012]

Claims (19)

Verfahren zum priorisierten Dateizugriff in einem Computersystem mit einem Betriebssystem umfassend eine von dem Betriebssystem bereitgestellten Verzeichnisstruktur, ein Speichermedium (1), ein Blockvirtualisierungssystem (2), zumindest ein erstes Blockgerät (A), welches über ein Blockvirtualisierungssystem (2) auf das Speichermedium (1) zugreift, einen ersten Einhängepunkt (X), welcher in die Verzeichnisstruktur eingehängt wird und auf das erste Blockgerät (A) zeigt, dadurch gekennzeichnet, dass zumindest ein zweites Blockgerät (AA), welches über ein Blockvirtualisierungssystem (2) auf das Speichermedium (1) zugreift und ein zweiter Einhängepunkt (Y), welcher in die Verzeichnisstruktur eingehängt wird und auf das zweite Blockgerät (AA) zeigt, umfasst wird, wobei eine erste Datei in dem Speichermedium (1), auf welches das erste Blockgerät (A) und das zweite Blockgerät (AA) zugreift, gespeichert wird, und der Zugriff auf die erste Datei über den ersten Einhängepunkt (X) mit einer ersten Priorität und der Zugriff auf die erste Datei über den zweiten Einhängepunkt (Y) mit einer von der ersten Priorität unterschiedlichen zweiten Priorität erfolgt.Method for prioritized file access in a computer system with an operating system comprising a directory structure provided by the operating system, a storage medium (1), a block virtualization system (2), at least a first block device (A) which is connected to the storage medium (1) via a block virtualization system (2) ) accesses a first mount point (X), which is hooked into the directory structure and points to the first block device (A), characterized in that at least one second block device (AA) which is connected to the storage medium (1) via a block virtualization system (2) ) and a second mount point (Y), which is hooked into the directory structure and points to the second block device (AA), is included, with a first file in the storage medium (1) to which the first block device (A) and the second block device (AA) accesses, is stored, and access to the first file via the first mount point (X) m it with a first priority and the first file is accessed via the second mount point (Y) with a second priority different from the first priority. Verfahren nach Anspruch 1, dadurch gekennzeichnet, dass eine zweite Datei vorgesehen ist, welche über den zweiten Einhängepunkt (Y) mit der zweiten Priorität ausgeführt wird, wobei die Ausführung bei Zugriff auf die erste Datei über den ersten Einhängepunkt (X) mit der ersten Priorität unterbrochen wird.Procedure according to Claim 1 , characterized in that a second file is provided, which is executed with the second priority via the second mount point (Y), the execution being interrupted when the first file is accessed via the first mount point (X) with the first priority. Verfahren nach Anspruch 1 oder 2, dadurch gekennzeichnet, dass eine erste Datei vorgesehen ist, die über den zweiten Einhängepunkt (Y) mit der zweiten Priorität ausgeführt wird, wobei die Ausführung bei Zugriff auf die erste Datei oder auf Teile der ersten Datei über den ersten Einhängepunkt (X) mit der ersten Priorität unterbrochen wird.Procedure according to Claim 1 or 2 , characterized in that a first file is provided which is executed via the second mount point (Y) with the second priority, the execution when the first file or parts of the first file are accessed via the first mount point (X) with the first priority is interrupted. Verfahren nach einem der vorhergehenden Ansprüche, dadurch gekennzeichnet, dass zumindest ein drittes Blockgerät (AAA), welches auf das Speichermedium (1) zugreift, und ein dritter Einhängepunkt (Z), welcher in die Verzeichnisstruktur eingehängt wird und auf das dritte Blockgerät (AAA) zeigt, umfasst wird, wobei die erste Datei in dem Speichermedium (1) gespeichert wird, und der Zugriff auf die erste Datei über den dritten Einhängepunkt (Z) und das dritte Blockgerät (AAA) mit einer dritten Priorität erfolgt, wobei die dritte Priorität von der ersten Priorität und der zweiten Priorität unterschiedlich ausgebildet wird.Method according to one of the preceding claims, characterized in that at least one third block device (AAA), which accesses the storage medium (1), and a third mount point (Z), which is hung in the directory structure and on the third block device (AAA) shows, is included, the first file being stored in the storage medium (1) and the first file being accessed via the third mount point (Z) and the third block device (AAA) with a third priority, the third priority of the first priority and the second priority are formed differently. Verfahren nach Anspruch 4, dadurch gekennzeichnet, dass die erste Priorität höher als die zweite Priorität und die zweite Priorität höher als die dritte Priorität ausgebildet wird.Procedure according to Claim 4 , characterized in that the first priority is formed higher than the second priority and the second priority higher than the third priority. Verfahren nach einem der Ansprüche 4 bis 5, dadurch gekennzeichnet, dass eine dritte Datei vorgesehen ist, die über den dritten Einhängepunkt (Z) mit der dritten Priorität ausgeführt wird, wobei die Ausführung bei Zugriff auf die erste Datei über den ersten Einhängepunkt (X) mit der ersten Priorität oder bei Zugriff auf die erste Datei über den zweiten Einhängepunkt (Y) mit der zweiten Priorität unterbrochen wird.Procedure according to one of the Claims 4 to 5 , characterized in that a third file is provided which is executed via the third mount point (Z) with the third priority, the execution when accessing the first file via the first mount point (X) with the first priority or when accessing the first file is interrupted with the second priority via the second mount point (Y). Verfahren nach einem der vorhergehenden Ansprüche, dadurch gekennzeichnet, dass das Betriebssystem als ein unix- oder liunxbasiertes Betriebssystem ausgestaltet wird.Method according to one of the preceding claims, characterized in that the operating system is designed as a Unix or Liunx-based operating system. Verfahren nach einem der vorhergehenden Ansprüche, dadurch gekennzeichnet, dass bei einem Schreibzugriff auf das Speichermedium (1) durch einen ersten Einhängepunkt (X) der Schreibzugriff auf das Speichermedium (1) durch einen zweiten Einhängepunkt (Y) blockiert wird.Method according to one of the preceding claims, characterized in that in the event of a write access to the storage medium (1) by a first mount point (X), the write access to the storage medium (1) is blocked by a second mount point (Y). Verfahren nach einem der vorhergehenden Ansprüche, dadurch gekennzeichnet, dass bei einem Schreibzugriff auf das Speichermedium (1) durch einen ersten Einhängepunkt ein jeweils anderer, zweiter Einhängepunkte (Y) ausgehängt wird.Method according to one of the preceding claims, characterized in that in the case of write access to the storage medium (1), a different, second attachment point (Y) is removed by a first attachment point. Computersystem mit einem Betriebssystem zum Ausführen eines Verfahrens, zum Ausführen eines priorisierten Dateizugriffs, nach einem der vorhergehenden Ansprüche umfassend eine von dem Betriebssystem bereitgestellten Verzeichnisstruktur, ein Speichermedium (1), ein Blockvirtualisierungssystem (2), zumindest ein erstes Blockgerät (A), welches über ein Blockvirtualisierungssystem (2) auf das Speichermedium (1) zugreift, ein erster Einhängepunkt (X), welcher in die Verzeichnisstruktur eingehängt ist und auf das erste Blockgerät (A) zeigt, dadurch gekennzeichnet, dass zumindest ein zweites Blockgerät (AA), welches über ein Blockvirtualisierungssystem (2) auf das Speichermedium (1) zugreift, und ein zweiter Einhängepunkt (Y), welcher in die Verzeichnisstruktur eingehängt ist und auf das zweite Blockgerät (AA) zeigt, vorgesehen ist, wobei eine erste Datei in dem Speichermedium (1), auf welches das erste Blockgerät (A) und das zweite Blockgerät (AA) zugreift, gespeichert ist, und der Zugriff auf die erste Datei über den ersten Einhängepunkt (X) mit einer ersten Priorität und der Zugriff auf die erste Datei über den zweiten Einhängepunkt (Y) mit einer von der ersten Priorität unterschiedlichen zweiten Priorität erfolgt.Computer system with an operating system for executing a method for executing a prioritized file access, according to one of the preceding claims, comprising a directory structure provided by the operating system, a storage medium (1), a block virtualization system (2), at least a first block device (A), which a block virtualization system (2) accesses the storage medium (1), a first mount point (X), which is hooked into the directory structure and points to the first block device (A), characterized in that at least one second block device (AA), which via a block virtualization system (2) accesses the storage medium (1), and a second mount point (Y), which is hooked into the directory structure and points to the second block device (AA), is provided, a first file in the storage medium (1) , which the first block device (A) and the second block device (AA) access, is stored, u nd access to the first file via the first mount point (X) with a first priority and access to the first file via the second Mount point (Y) with a second priority different from the first priority. Computersystem nach Anspruch 10, dadurch gekennzeichnet, dass eine zweite Datei vorgesehen ist, welche über den zweiten Einhängepunkt (Y) mit der zweiten Priorität ausgeführt ist, wobei die Ausführung bei Zugriff auf die erste Datei über den ersten Einhängepunkt (X) mit der ersten Priorität unterbrochen ist.Computer system after Claim 10 , characterized in that a second file is provided which is executed with the second priority via the second mount point (Y), the execution being interrupted when the first file is accessed via the first mount point (X) with the first priority. Computersystem nach einem der Ansprüche 10 bis 11, dadurch gekennzeichnet, dass das Speichermedium (1) zumindest einen Speicherblock umfasst.Computer system according to one of the Claims 10 to 11 , characterized in that the storage medium (1) comprises at least one storage block. Computersystem nach einem der vorhergehenden Ansprüche 10 bis 12, dadurch gekennzeichnet, dass zumindest ein drittes Blockgerät (AAA), welches auf das Speichermedium (1) zugreift, und ein dritter Einhängepunkt (Z), welcher in die Verzeichnisstruktur eingehängt ist und auf das dritte Blockgerät (AAA) zeigt, umfasst ist, wobei die erste Datei in dem Speichermedium (1) gespeichert ist, und der Zugriff auf die erste Datei über den dritten Einhängepunkt (Z) und das dritte Blockgerät (AAA) mit einer dritten Priorität erfolgt, wobei die dritte Priorität von der ersten Priorität und der zweiten Priorität unterschiedlich ist.Computer system according to one of the preceding Claims 10 to 12 , characterized in that at least a third block device (AAA), which accesses the storage medium (1), and a third mount point (Z), which is hooked into the directory structure and points to the third block device (AAA), is included, whereby the first file is stored in the storage medium (1) and the first file is accessed via the third mount point (Z) and the third block device (AAA) with a third priority, the third priority being the first priority and the second Priority is different. Computersystem nach Anspruch 13, dadurch gekennzeichnet, dass die erste Priorität höher als die zweite Priorität und die zweite Priorität höher als die dritte Priorität ist.Computer system after Claim 13 , characterized in that the first priority is higher than the second priority and the second priority is higher than the third priority. Computersystem nach Anspruch 13 oder 14, dadurch gekennzeichnet, dass eine dritte Datei vorgesehen ist, die über den dritten Einhängepunkt (Z) mit der dritten Priorität ausgeführt ist, wobei die Ausführung bei Zugriff auf die erste Datei über den ersten Einhängepunkt (X) mit der ersten Priorität oder bei Zugriff auf die erste Datei über den zweiten Einhängepunkt (Y) mit der zweiten Priorität unterbrochen ist.Computer system after Claim 13 or 14 , characterized in that a third file is provided which is executed via the third mount point (Z) with the third priority, the execution when accessing the first file via the first mount point (X) with the first priority or when accessing the first file is interrupted with the second priority via the second mount point (Y). Computersystem nach einem der vorhergehenden Ansprüche 10 bis 15, dadurch gekennzeichnet, dass bei einem Schreibzugriff auf das Speichermedium (1) durch einen ersten Einhängepunkt (X) der Schreibzugriff auf das Speichermedium (1) durch einen zweiten Einhängepunkt (Y) blockiert ist.Computer system according to one of the preceding Claims 10 to 15 , characterized in that in the event of write access to the storage medium (1) by a first mount point (X), write access to the storage medium (1) is blocked by a second mount point (Y). Computersystem nach einem der vorhergehenden Ansprüche 10 bis 16, dadurch gekennzeichnet, dass bei einem Schreibzugriff auf das Speichermedium (1) durch einen ersten Einhängepunkt (X) ein jeweils anderer, zweiter Einhängepunkte (Y) ausgehängt ist.Computer system according to one of the preceding Claims 10 to 16 , characterized in that in the case of write access to the storage medium (1), a different, second attachment point (Y) is removed by a first attachment point (X). Computerprogramm, umfassend Befehle, die bei der Ausführung des Programms durch den Computer diesen veranlassen, das Verfahren nach einem der Ansprüche 1 bis 9 auszuführen.Computer program, comprising instructions which cause the computer to execute the program, the method according to one of the Claims 1 to 9 perform. Computerlesbarer Datenträger, auf dem das Computerprogramm nach Anspruch 18 gespeichert ist.Computer-readable data medium on which the computer program according Claim 18 is saved.
DE102018210711.4A 2018-06-29 2018-06-29 Method and computer system for prioritized file access, computer program and computer readable data carrier Ceased DE102018210711A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
DE102018210711.4A DE102018210711A1 (en) 2018-06-29 2018-06-29 Method and computer system for prioritized file access, computer program and computer readable data carrier

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
DE102018210711.4A DE102018210711A1 (en) 2018-06-29 2018-06-29 Method and computer system for prioritized file access, computer program and computer readable data carrier

Publications (1)

Publication Number Publication Date
DE102018210711A1 true DE102018210711A1 (en) 2020-01-02

Family

ID=68886029

Family Applications (1)

Application Number Title Priority Date Filing Date
DE102018210711.4A Ceased DE102018210711A1 (en) 2018-06-29 2018-06-29 Method and computer system for prioritized file access, computer program and computer readable data carrier

Country Status (1)

Country Link
DE (1) DE102018210711A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4616338A (en) 1982-11-15 1986-10-07 Andre Helen FIFO arrangement for temporary data storage
US6157963A (en) * 1998-03-24 2000-12-05 Lsi Logic Corp. System controller with plurality of memory queues for prioritized scheduling of I/O requests from priority assigned clients
DE10032962A1 (en) 1999-07-06 2001-03-15 Matsushita Electric Ind Co Ltd Distributed file system with real-time capability for multi-media applications, has scheduling structure system located in host system for establishing logic organization of the data files corresponding to information filed in memory system
US6253260B1 (en) 1998-10-22 2001-06-26 International Business Machines Corporation Input/output data access request with assigned priority handling
US20080126645A1 (en) 2006-09-01 2008-05-29 Yasuhiko Yamaguchi Storage system and data input/output control method
DE112008003256T5 (en) 2007-11-30 2010-09-30 Intel Corporation, Santa Clara Distribution and storage volume on drive spaces with intelligent file storage and / or reordering

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4616338A (en) 1982-11-15 1986-10-07 Andre Helen FIFO arrangement for temporary data storage
US6157963A (en) * 1998-03-24 2000-12-05 Lsi Logic Corp. System controller with plurality of memory queues for prioritized scheduling of I/O requests from priority assigned clients
US6253260B1 (en) 1998-10-22 2001-06-26 International Business Machines Corporation Input/output data access request with assigned priority handling
DE10032962A1 (en) 1999-07-06 2001-03-15 Matsushita Electric Ind Co Ltd Distributed file system with real-time capability for multi-media applications, has scheduling structure system located in host system for establishing logic organization of the data files corresponding to information filed in memory system
US20080126645A1 (en) 2006-09-01 2008-05-29 Yasuhiko Yamaguchi Storage system and data input/output control method
DE112008003256T5 (en) 2007-11-30 2010-09-30 Intel Corporation, Santa Clara Distribution and storage volume on drive spaces with intelligent file storage and / or reordering

Similar Documents

Publication Publication Date Title
DE112018002951B4 (en) USING A TRACK FORMAT CODE IN A CACHE CONTROL BLOCK FOR A TRACK IN A CACHE TO PROCESS READ AND WRITE REQUESTS REGARDING THE TRACK IN THE CACHE
DE69924039T2 (en) METHOD AND DEVICE FOR ARBITRATION IN A UNIFORM STORAGE ARCHITECTURE
DE112017005868T5 (en) MANAGING I / O FLOWS FOR DATA OBJECTS IN A STORAGE SYSTEM
DE60316141T2 (en) REAL-TIME STORAGE AREA NETWORK
DE102009061252B3 (en) Apparatus, method and system for processing a transaction on a PCI bus using a root complex
DE102019124450A1 (en) BANDWIDTH LIMITATION IN SOLID STATE DRIVES
DE202010017668U1 (en) Command and interrupt grouping on a data storage device
DE112006001167T5 (en) Simulate multiple virtual channels in switching fabric networks
DE10348326A1 (en) Permanent storage device connected to a communication link
DE112017005063T5 (en) Manage a lowest-coherence-point memory (LPC) using a service-layer adapter
DE112018003524T5 (en) DYNAMIC DATA MOVEMENT USING LIBRARIES ON A CLOUD BASE
WO2013110736A1 (en) Memory controller for providing a plurality of defined areas of a mass storage medium as independent mass memories to a master operating system core for exclusive provision to virtual machines
DE112010005609T5 (en) Storing data in one of a plurality of buffers in a memory controller
DE112018003133T5 (en) STORAGE MANAGEMENT
DE102004013635B4 (en) Method for allocating bus access rights in multimaster bus systems, and multimaster bus system for carrying out the method
DE112021003441T5 (en) Retrieving cache resources for awaiting writes to tracks in a write set after the cache resources for the tracks in the write set have been freed
DE112018005359T5 (en) Prevent record locks from being held by long-term transactions
DE112012002562T5 (en) Accommodate data in partitions on a storage device
DE102015119202A1 (en) Interface unit for forwarding prioritized input data to a processor
EP3693856A1 (en) Computer system and method for transmitting a message in a computer system
DE102018210711A1 (en) Method and computer system for prioritized file access, computer program and computer readable data carrier
EP3368975B1 (en) Method and device for the accelerated execution of applications
DE112021005128T5 (en) MANAGE A LONG-LASTING DATA CACHE WITH A PERSISTENT MAIN
DE102018218628A1 (en) Method for managing access to a storage area
DE4301117A1 (en) Multi-tasking processor for control of automation systems - has register block stalk for tasks controlled by selector unit providing highest priority selection

Legal Events

Date Code Title Description
R012 Request for examination validly filed
R002 Refusal decision in examination/registration proceedings
R003 Refusal decision now final