Background of the Invention
The present invention relates to methods that enable the management of the transmission of messages coming from a set of transmitters to a single receiver that is common to them, when the transmission channel is formed by a single channel through which all these messages have to travel.
In a system of transmission comprising several transmitters and a single receiver connected together by a single channel, it is essential to manage the transmission of the messages so as not to bring about any confusion between them. In a radiotelephony network for example, an essentially oral procedure is used, relying basically on the operators' intelligence. In a data transmission system that generally works automatically, a more set procedure is used, applied by logic devices located both in the transmitters and in the receiver. These methods are known, for example, by the names of ALOHA, CSMA, CSMA/CD, etc.
Most of these methods use a system for the dispatch of acknowledgment messages carried out by the transmission of data elements from the single main receiver to the transmitters. These transmitters therefore must comprise a data reception system that necessarily has a certain degree of complexity.
This is also the case in CSMA type anti-collision methods where the transmission channel is listened to in order to detect a possible collision or else an indication of collision is sent from the receiver when such a collision has taken place. Here too, the receivers must have a data reception system of non-negligible complexity.
Systems are currently being developed, comprising transmitters connected to a single receiver by a single channel. For example, reference may be made to microwave badges which are designed for many uses, for example checking access and highway tollgate payment. It is being attempted to make these badges in the form of a card, preferably having the size and weight of a credit card, possibly integrating a cell that must last several years. It can easily be seen that, in this case, the addition of a data receiver and the complexity of the management of transmission could be prohibitive in every respect.
Since, furthermore, these cards necessarily work at only one frequency as they have to be made in several copies and have to capable of functioning in a large number of distinct places spread out over a territory, it is absolutely imperative to manage the collision of the messages that they transmit almost simultaneously towards one and the same receiver. It is important that the data reception system as well as the management procedures should be extremely simplified, for these transmitters must be small and must cost little.
This problem has not been resolved satisfactorily up till now.
Objects and Summary of the Invention
To resolve this problem, the invention proposes a method for managing the transmission of the messages from a set of transmitters to a single receiver on a single channel, chiefly characterized in that as soon as the receiver receives the transmission from one of the transmitters, it sends all the receivers, at least throughout the period of transmission by the active transmitter, a binary information element indicating that the channel is busy, and in that the reception of this binary information element inhibits any attempted transmission by the other transmitters.
Brief Description of the Drawings
Other particular features and advantages of the invention shall appear more clearly in the following description, given by way of a non-restricted example with reference to the appended figures of which:
FIG. 1 shows a drawing of a set of transmitters connected to a single receiver;
FIG. 2 shows a first timing diagram;
FIG. 3 shows a simplified drawing of a transmitter; and
FIG. 4 shows a second timing diagram;
FIG. 5 shows a timing diagram in the case of a full-duplex transmission.
Description of the Preferred Embodiment
In the following description, to simplify matters, the term "receiver" shall be used for the unit responsible for receiving data elements transmitted by a set of transmitters working on a single frequency, it being understood that all these elements are transceivers. A system such as this has been shown schematically in FIG. 1. Thus, the receiver 100 is capable of receiving data elements from a set of transmitters, and four transmitters 101 to 104 are shown in this figure.
According to the invention, when one of the transmitters, 101 for example, starts sending data elements to the receiver 100, the latter makes a return retransmission of an extremely simple busy signal. It may be a non-modulated carrier for example in the case of microwave transmission, and this signal is received by all the transmitters. This busy signal therefore transmits a binary information element. The transmitters 102 to 104, which are not sending data elements to the receiver, interpret this signal as a signal indicating that the channel common to all the transmitters is busy and then refrains, throughout the period when this busy signal is received, from transmitting data elements that it might possibly have to transmit. When the transmitter 101 has finished sending its message, it stops transmission and the receiver then stops sending the busy signal, thus disengaging the channel and thus enabling another of the transmitters to have this channel available to make transmission in turn.
The device for implementing this method may comprise for example, again in the example of microwave transmission, in the receiver, a simple oscillator connected to a transmission antenna and put into operation by the detection of the reception of the signal from the transmitter. Furthermore, the transmitter may for example, as shown in a very simplified way in FIG. 3, be a microwave badge 301 carrying a transmitter 302 connected to a tuned transmission loop 302. This badge then, according to the invention, has a reception loop 304 tuned to the frequency of the busy signal received from the receiver 100. The signal received on this loop is rectified by a diode 305. This delivers a DC voltage applied to the transmitter 302 which, when it is not in a state of transmission, is turned off by this voltage. Non-deactivation when the transmitter is already transmitting may be obtained by a very simple logic system 306 as shown in FIG. 3.
This example, which is simplified to the utmost degree, enables an understanding of the principle of the invention but leaves the resolution of a certain number of problems pending.
The first of these problems consists of the management of the acknowledgments of the messages, namely the informing of the transmitter that the data received in the receiver is accurate so that the transmitter can, if necessary, retransmit this data until it is received accurately, at least within certain time limits.
For this purpose, in a very simplified way, the receiver will analyze the data elements received and verify their validity according to known methods, for example by methods of parity. When these data elements are recognized as being accurate, within the usual limits provided by these systems, the receiver will stop the transmission of the channel busy signal. If, on the contrary, these data elements are not recognized as being accurate, this signal will continue to be transmitted and the transmitter 101 will interpret the absence of stopping of this transmission as the indication of wrong reception and as a request to retransmit the message. The process will then be repeated for a sufficient number of times until the reception is accurate.
However, to prevent the channel from being permanently busy because of a routine error, for example very poor transmission, this retranmsission will be limited to an adequate number of times determined essentially as a function of the number of transmitters likely to be awaiting their turn to make transmission.
This sequencing has been shown symbolically in FIG. 2 where the periods of transmission of the transmitter, represented by shaded rectangles, can be seen on the top line and the free or busy states of the channel, represented by high and low signals, can be seen on the bottom line.
When the transmitter starts sending its message for a first time, the signal goes from the free state to the busy state, corresponding to the transmission of the busy signal at the instant t1. The transmitter ends its first transmission at the instant t2, and in the example shown in the figure, the receiver determines the fact that the received message is incorrect. It therefore continues to send its channel busy signal, thus continuing to block transmission from the other transmitters but informing the operating transmitter that the message has been poorly received. This operating transmitter therefore retransmits its message starting from the instant t3 up to the instant t4. At this instant t4, in this example, the receiver determines the fact that the message is properly received and therefore stops sending the busy signal. The state of the channel then becomes free again. This enables the other transmitters to take over.
It is also desirable to deal with the problem of collisions in transmission when several transmitters seek to start operating simultaneously. In simple systems, this could be dealt with implicitly, firstly by counting on the fact that this situation will be relatively rare because the system does not have many transmitters and, secondly, because if several transmitters start transmitting simultaneously, the reception will be necessarily poor and they will therefore stop transmitting after the prescribed number of retransmissions to avoid jamming.
This approach, however, is not very satisfactory in itself and soon becomes ineffective when the number of transmitters attains a minimally important level.
To resolve this problem, the invention proposes in addition to use a slightly more complicated sequencing system as illustrated for example in FIG. 4.
First of all, each transmitter, before making transmission, tests the busy state of the channel for a period Tt that may be relatively short and have an identical value for each of the transmitters.
There are then two possibilities:
if the channel is busy, the transmitter goes into a state of standby for a fairly lengthy period Tv, which is preferably longer than the maximum period of transmission planned for a message;
if the channel is free, this means that no other transmitter is transmitting but then there is a risk that several transmitters may start transmitting at the same time at the end of the period Tt. To avoid this, the transmitter then goes into a state of standby for a random period Ta and then again tests the state of engagement of the channel for a period Tt and then starts transmitting if the channel is still free at the end of this period.
If, on the contrary, at the end of this period Ta, the channel is engaged by a transmitter that has started transmitting in the meantime, the system is in the first possible situation and the sequence starts again. The distribution of random elements in the period Ta, both between the transmitters and between the successive periods of one and the same transmitter, is such that the risk of having two simultaneous transmissions start on two different transmitters is almost zero.
In the very rare cases where this happens, there would be a reception error and an exit would be made from the state of collision after the prescribed number of repetitions, as in the case of the system not protected against collisions as explained further above.
Referring to FIG. 4, it can be seen that by assuming that, at the instant t0, the four transmitters are seeking to make transmission, all four of them test the channel for the period Tt and then go into standby for the periods Ta1, Ta2, Ta3 and Ta4. Since Ta2 is the shortest period, when the transmitter 2 again tests the state of the channel during the period Tt, it finds it free and then starts making transmission at the instant t1: this is represented by the shaded rectangle.
Depending on the lengths of the other random standby periods, at the instant t1 the transmitter 1 is in a duration Tt for testing the channel and the transmitters 3 and 4 are still in their random standby periods Ta3 and Ta4.
Assuming, in this example, for simplicity's sake that reception is good, the transmission from the transmitter 2 ends at the time t2 and the channel becomes free again. To then enable a maximum number of the other transmitters to send the messages that they would have to send, the transmitter 2 then goes into a state of standby for a relatively lengthy period Tl to enable, for example, the other three transmitters to have the time to transmit their messages, taking into account also the standby and testing periods.
In this example, at this instant t2, it can be seen in the figure that the system is in the standby period Td of each of the transmitters 1, 3 and 4. At the end of this standby period, these three transmitters go into a test period Tt and the test/random-standby/test sequence starts again for each of them. Given the random standby periods, it is this time the transmitter 1 that first finds the free channel at the instant t3 located at the end of the period Tt that follows the second random period Ta1', while the transmitter 3 for its part is in the random period Ta3' and the transmitter 4 is still in a testing period Tt following a standby period Tv.
The transmitter 1 therefore starts transmitting its message and stops at the time t4 to go into a lengthy period of standby Tl.
At this time, the system is in a standby period Tv for the transmitter 3 and in a testing period Tt following a standby period Tv for the transmitter 4. This test/random-standby/test sequence then takes place for the transmitter 4 and ends before the same sequence, which has started later for the transmitter 3, ends too. It is therefore the transmitter 4 that starts transmitting at the instant t5 up to the instant t6 when it goes into a lengthy period of standby Tl.
At this time, the three transmitters 1, 2 and 4 are in a lengthy period of standby and the transmitter 3 is in a standby period Tv.
It is then the transmitter 3 that starts sending its message at the instant t7 after a sequence Tt-Ta3"-Tt. The latter sequence takes place automatically, even though it is not necessary here, because it is quite possible to have configurations where there is need of it, depending on the random succession of messages and given the fact that the duration Tl has a necessarily finite length.
The message from the transmitter 3 stops at the instant t8, starting from which it goes into a lengthy period of standby Tl. It is then the first of the transmitters that reaches the end of its lengthy standby period and needs to send a new message that starts again in a sequence for testing the channel. In the figure, it is the transmitter 2 that is in this situation.
In order to enable the transmission of a maximum number of messages, it may be useful to see to it that the sum of the periods Tt+Ta+Tt is always smaller than the minimum time taken to transit the message. It will be observed that this condition is not met in the figure so as to make the figure easier to read.
The invention can be applied to any radiofrequency system or to induction coupling systems. The invention can also be applied to a half-duplex transmission. In this case, the transceiver 100 sends out a modulated signal on a carrier. When a transmitter (badge) is in the field of transmission of the transceiver 100, the transmitter (badge) tests the channel during the period Tt to find out if this channel is free or busy.
The channel is free when the activation signal is present (when the carrier is present). The channel is busy when the activation frequency is absent. Listening windows are inserted within the activating frequency (free channel). As soon as the start of a message is received (in the form of an ATR frame), the transceiver 100 declares the channel to be busy (when there is no carrier). Reference could be made to the diagram of FIG. 5 which illustrates this example.