EP4200728A1 - Verfahren zur protokollierung einer vielzahl von ereignissen in einer codierten tracer-variablen in einem sicherheitsgerichteten computerprogramm - Google Patents
Verfahren zur protokollierung einer vielzahl von ereignissen in einer codierten tracer-variablen in einem sicherheitsgerichteten computerprogrammInfo
- Publication number
- EP4200728A1 EP4200728A1 EP21770255.4A EP21770255A EP4200728A1 EP 4200728 A1 EP4200728 A1 EP 4200728A1 EP 21770255 A EP21770255 A EP 21770255A EP 4200728 A1 EP4200728 A1 EP 4200728A1
- Authority
- EP
- European Patent Office
- Prior art keywords
- tracer
- variable
- events
- coded
- computer program
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/50—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
- G06F21/52—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0766—Error or fault reporting or storing
- G06F11/0775—Content or structure details of the error report, e.g. specific table structure, specific error fields
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/28—Error detection; Error correction; Monitoring by checking the correct order of processing
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2201/00—Indexing scheme relating to error detection, to error correction, and to monitoring
- G06F2201/86—Event-based monitoring
Definitions
- the invention relates to a method for logging a large number of events in a coded tracer variable in a safety-related computer program according to the preamble of patent claim 1, a device for carrying out the method according to the preamble of patent claim 9, and a computer program product for carrying out Conducting the method according to the preamble of patent claim 10.
- coded processing In more advanced safety-related solutions, a hardware-independent variant of coded processing is used. turns. In coded processing, error information is recorded and propagated in each variable. So far, this has meant that complex applications often cannot be adequately mapped.
- Dynamic signature for each variable Each variable receives a dynamic signature. This signature is changed whenever the variable changes.
- the effort involved in managing the dynamic signature increases with the complexity of the user program. Even with individual applications, the administration effort has doubled due to small changes in the control structure.
- the task is solved in that the protection is carried out analogously to arithmetic coding.
- Several events (“criteria”) are stored independently of one another within a tracer variable. For each criterion, the value is arithmetically coded in the “tracer” and stored, with several criteria or events first being combined and can then be saved in one calculation step and thus simultaneously in the tracer variable.
- a method for logging a large number of events in a coded tracer variable in a safety-related computer program is proposed, with each event being logged in the form of a value in the coded tracer variable.
- a total value is first calculated from the values for these events, which is then logged in the coded tracer variable.
- a device and a computer program product for logging a large number of events in a coded tracer variable in a safety-oriented computer program are solved, the device device or the computer program product are set up when it is executed to carry out the above-mentioned method.
- AN, ANB or ANBD coding is used to code the coded variables. These codes have been successfully introduced in safety-oriented computer programs, especially in those used in automation technology.
- the events are logged as a coded value in the coded tracer variable, while in a further advantageous variant the events are logged in a signature of the coded tracer variable.
- Mixed forms are possible, for example by logging the first events in the "payload", i.e. as a value, and other events in the signature.
- a constant is advantageously defined for each event, this constant representing the value for the occurrence of the event.
- Boolean information (true/false) is mapped to a broad bit value in which only exactly one value corresponds to "true”, which increases the security in the event of bit errors.
- the computer program carries out a consistency check of the tracer variables, error handling being carried out at least in the event of an inconsistency. Error handling is thus possible. If each event or each type of event is coded with its own constant, with the constants of the different events or the different types being chosen to be relatively prime, several events or types of events can be stored in a common coded variable, the Tracer variables (or "error variables") are logged.
- An expected value for the event in the encoded tracer variable is advantageously logged in each case with the event. Errors, for example program run errors, can thus be detected simply by evaluating the tracer variables without having to compare the content of the tracer variables with externally stored expected values.
- the only figure shows the protection of an addition to a coded variable and at the same time the protection of the processing of a program section.
- tracer variables are used to control a program run and to log events of all kinds or the like. Logged and can thus be checked.
- the tracer variable Tracer c is used to protect an addition and for the simultaneous processing of a program section of the computer program.
- the present example shows the coded variable x c .
- the variable x c is ANBD-coded according to a rule in the form: x c :—X f *A+Bx+ Dx .
- the complexity of the safety program depends in particular on the protection against errors in the dynamic behavior of the safety program.
- Typical security measures are:
- New information is typically recorded in one of these signatures by adding either a constant or a variable with clear expectations.
- Mixed forms are possible.
- the tracer variable the main purpose of which is traditionally to log the linear program blocks that have been run through, can be used at the same time to propagate error information or status information (e.g. events or "criteria").
- the criteria are mapped in coded form. This means that the sum formed arithmetically in the coded space and the information to be logged is stored as a coded value of the tracer variable, i.e. as a "payload":
- tracer c A i *K i + B tracer + D tracer , i
- ATracer ⁇ K i * A 1 + ⁇ K j * Ai.
- tracer tracer c + ⁇ tracer executed.
- AKi and AKj are constants.
- ATracer is also a constant. If a value AK ⁇ with a clear expectation AKi expected is to be added, then this is done using the generally valid form:
- ATracer n* ⁇ K i + ⁇ K i expected * (A a -n) + AKj + m*AKj expected * (Ai- m)
- n and m are selected in such a way that the error information, which is defined by the criteria, is reliably transmitted. Otherwise there are no restrictions on the choice of n and m.
- the criteria form the signature of a coded value, i.e. they are preferably mapped in the dynamic signature of the tracer variable:
- ⁇ Tracer ⁇ K i * E i + ⁇ K j * E j .
- Tracer c Tracer c + ATracer is now executed in the program.
- n and m are again selected in such a way that the error information, which is defined by the criteria, is reliably transmitted. Otherwise there are no restrictions on the choice of n and m.
- an additional correction can be made after adding an ATracer in order to avoid systematic errors.
- modulo operations can be used to avoid or “remove” overflows that can occur as a result of the repeated addition of information in the coded area.
- the main advantage lies in the simultaneous processing of several independent consistency criteria for detecting and propagating errors. Due to the simultaneity, many dynamic effects in the acquisition and propagation on avoided by mistakes. This enables the necessary reduction in the complexity of safety programs.
- tracep B tracer and D program are not relevant for the invention and are therefore set to 0.
- the second criterion is, for example, a dynamic signature (D signature) and is used to check the correct execution sequence.
- D signature dynamic signature
- a consistency check can then be carried out at the end of the program; this is shown in the last block on the left side of the figure.
- One possibility is to use modulo operations to recover the individual components:
- D Tracer is reliably calculated using known methods in coded processing. In the formation of D tracers , all process-relevant conditions are directly involved.
- a corresponding pre-programmed reaction or error handling can take place.
- the underlying system is transferred to a safe state (e.g. emergency stop) and/or a warning message is issued.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
Claims
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP20199047.0A EP3975017A1 (de) | 2020-09-29 | 2020-09-29 | Verfahren zur protokollierung einer vielzahl von ereignissen in einer codierten tracer-variablen in einem sicherheitsgerichteten computerprogramm |
| PCT/EP2021/074359 WO2022069154A1 (de) | 2020-09-29 | 2021-09-03 | Verfahren zur protokollierung einer vielzahl von ereignissen in einer codierten tracer-variablen in einem sicherheitsgerichteten computerprogramm |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| EP4200728A1 true EP4200728A1 (de) | 2023-06-28 |
Family
ID=72670622
Family Applications (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| EP20199047.0A Withdrawn EP3975017A1 (de) | 2020-09-29 | 2020-09-29 | Verfahren zur protokollierung einer vielzahl von ereignissen in einer codierten tracer-variablen in einem sicherheitsgerichteten computerprogramm |
| EP21770255.4A Pending EP4200728A1 (de) | 2020-09-29 | 2021-09-03 | Verfahren zur protokollierung einer vielzahl von ereignissen in einer codierten tracer-variablen in einem sicherheitsgerichteten computerprogramm |
Family Applications Before (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| EP20199047.0A Withdrawn EP3975017A1 (de) | 2020-09-29 | 2020-09-29 | Verfahren zur protokollierung einer vielzahl von ereignissen in einer codierten tracer-variablen in einem sicherheitsgerichteten computerprogramm |
Country Status (4)
| Country | Link |
|---|---|
| US (1) | US12248362B2 (de) |
| EP (2) | EP3975017A1 (de) |
| CN (1) | CN116569145A (de) |
| WO (1) | WO2022069154A1 (de) |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| DE102010037457B4 (de) * | 2010-09-10 | 2012-06-21 | Technische Universität Dresden | Verfahren zur Datenverarbeitung zum Bereitstellen eines Wertes zum Ermitteln, ob bei einer Ausführung eines Programms ein Fehler aufgetreten ist, Verfahren zur Datenverarbeitung zum Ermitteln, ob bei einer Ausführung eines Programms ein Fehler aufgetreten ist, Verfahren zum Erzeugen von Programm-Code, Datenverarbeitungsanordnungen zum Bereitstellen eines Wertes zum Ermitteln, ob bei einer Ausführung eines Programms ein Fehler aufgetreten ist, Datenverarbeitungsanordnungen zum Ermitteln, ob bei einer Ausführung eines Programms ein Fehler aufgetreten ist, und Datenverarbeitungsanordnungen zum Erzeugen von Programm-Code |
| EP2631802B1 (de) * | 2012-02-22 | 2014-11-19 | Siemens Aktiengesellschaft | Verfahren zur Speicherung und Propagation von Fehlerinforationen in Computer-Programmen |
| DE102013218269B4 (de) * | 2013-09-12 | 2018-08-09 | Beckhoff Automation Gmbh | Verfahren und Vorrichtung zum Erfassen einer Abarbeitungsreihenfolge von Programmanweisungen |
| DE102014117971B4 (de) * | 2014-12-05 | 2017-06-01 | Technische Universität Dresden | Verfahren zur Datenverarbeitung zum Ermitteln, ob bei einer Ausführung eines Programms ein Fehler aufgetreten ist, und Datenverarbeitungsanordnungen zum Erzeugen von Programm-Code |
| DE102015112143B4 (de) * | 2015-07-24 | 2017-04-06 | Infineon Technologies Ag | Ein Verfahren zum Bestimmen einer Integrität einer Ausführung eines Codefragments und ein Verfahren zum Bereitstellen einer abstrahierten Repräsentation eines Programmcodes |
-
2020
- 2020-09-29 EP EP20199047.0A patent/EP3975017A1/de not_active Withdrawn
-
2021
- 2021-09-03 WO PCT/EP2021/074359 patent/WO2022069154A1/de not_active Ceased
- 2021-09-03 US US18/028,846 patent/US12248362B2/en active Active
- 2021-09-03 CN CN202180080130.9A patent/CN116569145A/zh active Pending
- 2021-09-03 EP EP21770255.4A patent/EP4200728A1/de active Pending
Also Published As
| Publication number | Publication date |
|---|---|
| EP3975017A1 (de) | 2022-03-30 |
| CN116569145A (zh) | 2023-08-08 |
| US12248362B2 (en) | 2025-03-11 |
| US20240028440A1 (en) | 2024-01-25 |
| WO2022069154A1 (de) | 2022-04-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0742498A2 (de) | Einbeziehen von einkanaligem Programmcode in eine zweikanalige sicherheitsgerichtete Systemstruktur | |
| EP2422244A1 (de) | Sicherheitssteuerung und verfahren zum steuern einer automatisierten anlage | |
| DE19509150C2 (de) | Verfahren zum Steuern und Regeln von Fahrzeug-Bremsanlagen sowie Fahrzeug-Bremsanlage | |
| DE102016215345A1 (de) | Verfahren und Vorrichtung zur redundanten Datenverarbeitung | |
| EP4235323A2 (de) | Verfahren und vorrichtung zur automatischen validierung von sicherheitsfunktionen an einem modular aufgebauten sicherheitssystem | |
| EP1043641A2 (de) | Fehlersicheres Automatisierungssystem mit Standard-CPU und Verfahren für ein fehlersicheres Automatisierungssystem | |
| EP2631802B1 (de) | Verfahren zur Speicherung und Propagation von Fehlerinforationen in Computer-Programmen | |
| DE102011119585A1 (de) | Verbesserte skalierbare CPU für die codierte Ausführung von Software in hochabhängigen sicherheitsrelevanten Anwendungen | |
| EP3338189A2 (de) | Verfahren zum betrieb eines mehrkernprozessors | |
| EP4200727B1 (de) | Verfahren und einrichtung zur sicherung von zugriffen auf codierte variablen in einem computerprogramm | |
| WO2022069154A1 (de) | Verfahren zur protokollierung einer vielzahl von ereignissen in einer codierten tracer-variablen in einem sicherheitsgerichteten computerprogramm | |
| EP3841439A1 (de) | Automatisierungssystem zur überwachung eines sicherheitskritischen prozesses | |
| EP3540539A1 (de) | Verfahren zur rechnergestützten simulation des betriebs einer automatisiert arbeitenden maschine | |
| EP2902905B1 (de) | Verfahren zur Überprüfung der Abarbeitung von Software | |
| EP1950635B1 (de) | Verfahren zum Betrieb eines Automatisierungssystems | |
| DE102007014478A1 (de) | Sicherheitsgerichtete speicherprogrammierte Steuerung | |
| DE102006012042A1 (de) | Steuervorrichtung zur fehlersicheren Steuerung einer Maschine | |
| DE102010039607B3 (de) | Verfahren zum redundanten Steuern von Prozessen eines Automatisierungssystems | |
| DE10229676B4 (de) | Verfahren zur Steuerung des Ablaufs eines multitaskingfähigen Computerprogramms | |
| EP1459182B1 (de) | Fehlertolerantes automatisierungssystem bzw. verfahren zur fehlerbehandlung bei einem echtzeit-automatisierungssystem | |
| EP3299956A1 (de) | Verfahren und anordnung zur aktualisierung eines computerprogramms | |
| EP4641326A1 (de) | Überwachungssystem für eine speicherprogrammierbare steuerung | |
| DE102013218269A1 (de) | Verfahren und Vorrichtung zum Erfassen einer Abarbeitungsreihenfolge von Programmanweisungen | |
| EP2246761A1 (de) | Schnittstelle und Verfahren zum sicheren Ändern von Parametern einer fehlersicheren industriellen Automatisierungskomponente | |
| EP1774417B1 (de) | Verfahren und vorrichtung zum überwachen des ablaufs eines steuerprogramms auf einem rechengerät |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: UNKNOWN |
|
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE INTERNATIONAL PUBLICATION HAS BEEN MADE |
|
| PUAI | Public reference made under article 153(3) epc to a published international application that has entered the european phase |
Free format text: ORIGINAL CODE: 0009012 |
|
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: REQUEST FOR EXAMINATION WAS MADE |
|
| 17P | Request for examination filed |
Effective date: 20230322 |
|
| AK | Designated contracting states |
Kind code of ref document: A1 Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR |
|
| DAV | Request for validation of the european patent (deleted) | ||
| DAX | Request for extension of the european patent (deleted) | ||
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: EXAMINATION IS IN PROGRESS |
|
| 17Q | First examination report despatched |
Effective date: 20260304 |