The invention relates to a method for ensuring the same order of messages in a plurality of data sinks in accordance with the preamble of claim 1. In the case of multicomputer systems, in particular, it is necessary for the receivers, or data sinks, to receive the data messages originating from a plurality of transmitters, or data sources, in the same order. This requires a constrained synchronization of the data sinks.
The invention is based on the object of specifying a method of the generic type in which the data sinks are synchronized in such a way as to ensure the same message order of the data messages with identical message contents from different data sources.
The object is achieved according to the invention by means of the characterizing features of claim 1. What is achieved by means of the time window for collection of the data messages is that the data messages from all the data sources are processed in the same order in each data sink and thus lead to a synchronous operation of the data sinks. It is only when the time window is closed that the collected messages are forwarded to the data sinks for processing in a manner sorted according to sender.
In accordance with claim 2, the data sinks transmit an SON message to the data sources for the purpose of closing the time window, a reception window of the data sinks simultaneously being opened. In this way, the clapsing of the collection time for the data messages is immediately followed by the issuing of a transmit enable for sending the next data messages to the connected data sinks.
In accordance with claim 3, the length of the reception window is defined by means of an SOFF telegram transmitted to the data sinks by the data sources. The temporal length of the reception window is delimited in such a way as to ensure a uniform loading of the communication media. It is only when the SON messages from all the connected data sinks have been received that the reception window of the data sinks is closed. The cycle then begins anew. The new messages collected during the transmission time, i.e. within the reception window, are enabled for transmission to the data sinks by the sending of the next SON messages.
In order to unambiguously identify the cycle, in accordance with claim 4, a consecutive token number is transmitted to the data sources with the SON message from the data sinks, and is sent back to the data sinks with the SOFF message from the data sources. What is achieved in this way is that double SOFF message that may occur as a result of a data source newly connected in are sorted out, whereby the new data source can be synchronized into current operation. The token number of each cycle is matching for all the data sinks and is incremented by one for each new cycle, i.e. for each new SON message. For the case where a new data source is added, this data source transmits its first SOFF data message with the token number 0 and is updated with regard to the token number by means of the following SON message.
The invention is explained in more detail below on the basis of figurative illustrations, in which:
In order to ensure that the data messages arrive at the data sinks DS in the same order as they are generated by the data sources DQ, a cyclic transmission method is provided, which is illustrated in
The invention is not restricted to the exemplary embodiment mentioned above. Moreover, a number of variants are conceivable which make use of the features of the invention even with an embodiment of a fundamentally different configuration.
Number | Date | Country | Kind |
---|---|---|---|
102 51 654.5 | Oct 2002 | DE | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/DE03/03543 | 10/21/2003 | WO | 4/29/2005 |