The invention relates to a method for dynamic modification of the schedules in a time-controlled switch for relaying time-controlled messages in a real-time computer system.
The present invention lies in the field of computer technology. The invention describes an innovative method for consistently modifying, in a time-controlled real-time system, the schedules in a communication system.
In a distributed real-time system, for example the smart grid, in which periodic sensor data has to be transmitted over long physical distances, the transmission duration between the decentral sub-systems and the central control room determines, to a significant extent, the dead time of a control circuit closed via the communication system and therefore the quality of the control. The transmission times can be minimised when, in a time-controlled network, the times of data capture, the transmission, the relaying by the switches, and the processing with use of a schedule based on a global time are synchronised in such a way that no waiting times of the messages occur in the communication system. A schedule specifies the periodically recurring times at which a time-controlled action, for example the transmission of a message, is to be performed by a switch.
When an anomaly occurs in a distributed facility, such as the smart grid, it is thus often necessary to monitor more closely the remote sub-system in which the anomaly occurred. For this purpose, the currently active schedule of the transmission has to be replaced by a new schedule, which enables the close monitoring of the sub-system in which the anomaly occurred. The critical control circuits necessary for maintaining the network quality must continue to be continuously supported in this new schedule.
A changeover from an active schedule to a new schedule is referred to as consistent when all critical time requirements sent to the communication system in the new schedule are satisfied and when there is no phase shift of a periodic message, which is sent both in the active and in the new schedule, within the scope of the changeover.
When the changeover is inconsistent, a fault may thus occur in the application that at least adversely affects the quality of the application. When, for example in a distributed multimedia system, in which audio and video signals are transmitted, the changeover from one camera to another camera leads to a phase shift in the audio signal, a temporary fault thus occurs in the acoustic playback, which reduces the quality of the audio playback.
The object of the invention is to disclose a method for generating, in a distributed time-controlled real-time system, new schedules for the time-controlled switches and for finding consistent changeover points at which these new schedules have to be activated so that the system as a whole can be harmonically transferred from the active schedule into the new schedule.
This object is achieved with a method of the type mentioned in the introduction in that, in accordance with the invention, at least one active schedule and at least one new schedule are stored at a point in time in a switch, wherein, at a specified changeover time in the active interval of a sparse time base, the active schedule is deactivated and a new schedule is activated.
Due to the changeover in the active interval of the sparse time base, a consistent changeover to a new schedule occurs in the switches.
The methods described in the literature for establishing schedules for time-controlled communication systems [3-5] do not detail the creation of a consistent changeover time of schedules.
The present invention discloses an innovative method for generating, in a distributed time-controlled real-time system, new schedules for the time-controlled switches and for finding consistent changeover times at which these new schedules must be activated so that the system as a whole can be harmonically transferred from the active schedule into the new schedule.
The invention also relates to a switch (distribution unit) for use in an above-described method, wherein the switch is preferably configured to deactivate an active schedule and to activate a new schedule at a specified changeover time in the active interval of a sparse time base.
The invention additionally relates to a real-time system for carrying out an above-described method.
Further advantageous embodiments of the invention and in particular of the method according to the invention are described hereinafter and can be provided additionally, alternatively or in any combination with one another. Here, it may be that
The present invention will be explained in greater detail on the basis of the following drawing, in which
One active schedule and two or more new schedules are located in the switches 110 and 120 during operation at any moment in time. Before a new schedule is activated, it is passive and does not play any role in the course of the current communication.
The transport of a message from the end system 151 to the end system 153 of
When an end user wishes to additionally transmit other real-time data, the end user thus sends a corresponding request to the scheduler 160 by means of an ET message. The scheduler 160 creates new schedules and sends these in a cryptographically secured ET message to the switches 110 and 120. The switches 110 and 120 check these messages in order to ensure the authenticity and integrity thereof and activate the new schedule at a changeover time predetermined precisely by the scheduler 160. In the present example of
The creation of a schedule by the scheduler 160 is significantly facilitated and accelerated when the different periods in a schedule are arranged in a harmonic relationship relative to one another [9, p. 9] such that the longest period is the smallest common multiple of all periods. In such a harmonic schedule, a distinguished period is freely selectable, whereas all other periods are dependent on this freely selected period. In accordance with the invention, this distinguished period may be the physical second or a key interval, which is predefined by the specific application.
When, in a system, some messages occur in the active and new schedule with the same period and the same phase position, no phase is therefore to be caused between two of these messages due to the changeover. This is achieved in a harmonic schedule when the changeover occurs at the start of the longest period in all switches simultaneously. Simultaneity is then given in a system that supports a sparse time when actions are performed within the same active interval of the sparse time. Absolute simultaneity of remote actions cannot be achieved in principle in a distributed computer system.
When, in a system, safety-critical messages have to be transported, wherein the periods and phases of these safety-critical messages have been checked within the scope of a certification of the system, the periods and phases of these safety-critical messages thus may not be changed in any schedule. In such a situation, the switch checks whether all safety-critical requirements of the schedule are met in a new schedule. When this is not the case, the switch does not perform a changeover from the active to the new schedule and sends a fault message to the diagnosis system 170.
The active and new schedules can be stored in the switch with use of fault-identifying codes or fault-correcting codes.
The method disclosed here for consistent changeover of schedules in a distributed time-controlled real-time system improves the flexibility and quality and therefore the field of application of the time-controlled communication and therefore brings large economic advantages.
The present invention discloses an innovative method for generating, in a distributed time-controlled real-time system, new schedules for the time-controlled switches, and for finding consistent changeover times at which these new schedules have to be activated so that the system as a whole can be harmonically transferred from the active schedule into the new schedule.
[1] U.S. Pat. No. 5,694,542 Kopetz, H. Time-triggered communication control unit and communication method. Granted Dec. 2, 1997.
[2] U.S. Pat. No. 7,839,868. Kopetz, H. Communication method and system for the transmission of time-driven and event-driven Ethernet messages. Granted Nov. 23, 2010.
[3] US 20100220744, Ungerman, J., Intelligent Star Coupler for time-triggered communication protocol and method for communicating between nodes with a network using a time triggered protocol. Publication Date Sep. 2, 2010.
[4] US 20060242252, Jiang, S., Extensible Scheduling of Messages on Time-Triggered Busses. Publication Date Oct. 26, 2006.
[5] US 20110066854; Poledna, S., Method for Secure Dynamic Bandwidth Allocation in TT Ethernet. Publication Date Mar. 17, 2011
Kopetz, H. Real-Time Systems, Design Principles for Distributed Embedded Applications. Springer Publishing House. 2011.
[7] SAE Standard AS6802 von TT Ethernet. URL: http://standards.sae.org/as6802
IEEE 1588 Standard for a Precision Clock Synchronization Protocol for Network Measurement and Control Systems. URL: http://www.ieee1588.com/
[9] Kopetz, H., The complexity challenge in embedded system design, Proc. of ISORC, May 2008. pp. 3-12, IEEE Press.
Number | Date | Country | Kind |
---|---|---|---|
A475/2012 | Apr 2012 | AT | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/AT2013/050095 | 4/19/2013 | WO | 00 |