RING COMMUNICATION SYSTEM AND METHOD

Abstract: A method of connecting a new end station to a ring communication system for connecting a number of end stations. The method comprises: i) sensing an attempt by the new end station to attach to the ring; ii) determining whether there is a single end station only existing on the ring; and, iiia) if it is determined that there is more than one end station on the ring, allowing the new end station to attach to the ring and maintaining the ring communication configuration; or b) if it is determined that there is a single end station only on the ring, breaking the ring configuration and setting up two separate communication paths between the new end station and the existing end station.

Description: RING COMMUNICATION SYSTEM AND METHOD The invention relates to a method of operating a ring communication system, for example based on a token ring or FDDI communication protocol. In a conventional ring based data communication system a token passing or similar scheme is used to control access to the ring by end stations. These end stations are typically then connected together via a hub containing control systems and the like. Ring communication systems can support large numbers of end stations but for small numbers of end stations, particularly two end stations, the communication protocol can slow down network throughput. Where only two end stations are communicating in the network, it is preferable to establish two way communication between them (known as "full duplex mode") . EP-A-0439008 discloses a method of operating a token ring network. In a first "full duplex auto-configuration" mode the ring is initialized in conventional token ring mode, followed by a "2-station test" which ascertains whether only two stations are active in the network. If more than two stations are active in the network, token ring operation is maintained. If only two stations are active, the network switches to full duplex mode. This is an inefficient way of operating the network, and does not allow a new end station to enter the network in full duplex mode. In a second "full duplex fixed" mode, the network is initialised in full duplex mode without any "2-station test", and without reverting to token ring mode in the event of a third station's presence or cessation of full duplex operation by the other station. This is a fairly crude method, which does not allow conventional token ring operation. In accordance with one aspect of the present invention, a method of connecting a new end station to a ring communication system for connecting a number of end stations comprises: i) sensing an attempt by a new end station to attach to the ring; ii) determining whether there is a single end station only existing on the ring; and, iiia) if it is determined that there is more than one end station on the ring, allowing the new end station to attach to the ring and maintaining the ring communication configuration; or b) if it is determined that there is a single end station only on the ring, breaking the ring configuration and setting up two separate communication paths between the new end station and the existing end station. In accordance with a second aspect of the present invention, a ring communication system comprises communication means for connecting a number of end stations together in a ring configuration; and control means for carrying out a method according to the first aspect of the invention. This invention specifically addresses the case where a new end station wishes to join a ring having only a single end station and enables the aggregate bandwidth of the network in that case to be doubled by setting up two separate or independent communication links between the stations. The negotiation allowing full duplex operation is undertaken before the end station has entered the ring. In some cases, the use of two separate or independent communication links can be used to enable relatively long cables or poorer quality cables to be used. Thus, crosstalk and other interference which can occur between adjacent .links in a cable can be minimised by arranging for only one of the communication paths to be active at any one time. If the system is operating in the "separate path" or full duplex mode, then an additional station can only attach if the system reverts to normal ring based operation. For example, if one of the stations operating in full duplex mode detects an initialisation frame from a third station then it will cause communication to revert to a ring configuration. In many such systems, a hub unit is provided typically with an end station located within the hub unit. In that case, the end station within the hub unit will constitute the existing end station. Preferably, the method further comprises causing the new end station to emit data indicating whether it is capable of operating in the "separate path" mode. This then enables the system to decide whether it should then carry out steps ii) and iii) . The present invention allows the hub unit to be a dual mode hub which can be used with end stations which could be normal token ring stations, full duplex only end stations, or dual mode stations (full duplex and normal token passing) . An example of a ring communication system and method according to the invention will now be described and contrasted with a conventional system with reference to the accompanying drawings, in which:- Figure 1 illustrates a conventional ring topology; Figure 2 illustrates a topology according to an example of the invention; and. Figure 3 illustrates an intermediate stage in the joining of a new end station to an existing ring according to an example of the invention. The example to be described will be based on a token ring implemented on copper cables in a conventional hub based configuration. Figure 1 illustrates a conventional token ring system, for example implementing the IEEE 802.5 protocol. The system comprises a hub unit 1 which controls communication around a ring 2 between end stations 3,4. In practice, single cables will link the stations 3,4 to the hub unit 1 with the ring being defined within the hub unit 1. As can be seen in Figure 1, a connection exists between both stations 3,4 but at any instant data or control information will only be passing between station 3 and station 4 or station 4 and station 3. The invention proposes that in the specific case where there are only two end stations 3,4 on the ring then the ring should be broken to define separate communication paths 5,6 along each of which data can be transmitted. The two links 5,6 operate independently of each other thus doubling the aggregate bandwidth of the network. For convenience of operation, data frames passed between the two end stations could still be formatted as token ring frames so that any end-user applications are unaware of the new mode of operation of the end stations. In some cases, the end stations 3,4 could be manually configured to operate in this "separate path" or "full duplex" mode but in other cases it is desirable to allow individual end stations to signal that they can support the full duplex method of operation in addition to the standard ring based protocol. An end station then may operate automatically in either mode. Figure 3 illustrates an existing ring communication system 7 of which the hub unit 1 forms a part. An end station 8 is to be attached to the system 7. Initially, the end station 8 is connected to the hub unit 1 via a central control system 9 so as to define a subsidiary ring 10. The system then operates as follows: 1) The end station 8 completes all its internal self tests. At this point, the two rings 7,10 are not joined at the hub 1. 2) The station 8 then sends test data to verify that the cable between the end station 8 and the hub 1 is operational. This data is sent around the ring 10 to the control system 9 and back along the ring to the end station 8. This is achieved typically via relays within the control system 9. 3) The end station 8 then sends a DC current along the ring 10 to the control system 9 to command the control system 9 to join the rings 7,10 and the end station 8 then enters the ring 7. In a modified procedure according to an example of the present invention, the process is as follows: 1) The end station 8 completes all its internal self tests and at this stage the two rings 7,10 are not joined. 2) The station 8 sends test data to verify that the cable between the station 8 and the control system 9 is operational. The data is sent around the ring 10 and returns to the end station 8. Within the test data, the end station 8 indicates that it is capable of entering full duplex mode. This can be achieved by including a pre¬ defined series of characters within the test data. Alternatively, the end station could assert a DC phantom drive signal in a non-standard manner to indicate its ability to act as a full duplex end station. 3) The control system 9 within the hub unit 1 may be unwilling to allow full duplex mode operation. This may be because there are already several stations on the ring 7 or it is unable to recognise the pre-defined data pattern. In that case, the end station 8 joins the ring 7 in the conventional manner as described above (see step 3)). 4) If, however, the control system 9 is able to allow the end station 8 to join in the full duplex mode (because there is only one other end station on the ring 7) then the control system 9 modifies the test data from the end station 8 and returns it around the ring 10 to the end station 8. In other words, the test data from the end station 8 is not simply looped at the control system 9 but read, modified and sent back to the end station 8. Alternatively, the control system 9 could send an additional message to the end station 8. 5) The end station 8 then sends a DC current along the transmit side of the ring 10 to the control system 9 to join the rings 7,10 in the full duplex mode similar to that shown in Figure 2. Step 5 is optional rather than necessary, as in most cases in full duplex mode the hub 1 would have to act as a LAN bridge for a full duplex station. Step 4 would then be sufficient to allow the hub to move frames onto the "backbone" ring. The above description is applicable to token ring communication protocols but with suitable modification could be used with other ring communication protocols such as FDDI. A fully automatic system has been described above in connection with Figure 3 but in other configurations the system could be manually transferred to full duplex mode. The end station on the ring 7 is not shown in Figure 3 and in some cases could be located within the hub unit 1.

Claims: CLAIMS 1. A method of connecting a new end station to a ring communication system for connecting a number of end stations, the method comprising: i) sensing an attempt by the new end station to attach to the ring; ii) determining whether there is a single end station only existing on the ring; and, iiia) if it is determined that there is more than one end station on the ring, allowing the new end station to attach to the ring and maintaining the ring communication configuration; or b) if it is determined that there is a single end station only on the ring, breaking the ring configuration and setting up two separate communication paths between the new end station and the existing end station. 2. A method according to claim 1, wherein the new end station generates pre-defined data to indicate its ability to operate in the "separate path" mode. 3. A method according to claim 1 or claim 2, wherein the single end station is located within a hub unit. 4. A method of operating a ring communication system substantially as hereinbefore described with reference to Figures 2 and 3 of the accompanying drawings. 5. A ring communication system comprising communication means for connecting a number of end stations together in a ring; and control means for carrying out a method according to any of the preceding claims. 6. A system according to claim 5, further comprising a hub unit, the control means being situated within the hub unit. 7. A system according to claim 6, wherein the single end station is located within the hub unit. 8. A system according to claim 5 or claim 6, wherein the hub limit is adapted for use with normal token ring stations, full duplex only end stations or dual mode stations. 9. A ring communication system substantially as hereinbefore described with reference to Figures 2 and 3 of the accompanying drawings.

Inventors: CLARIDGE PHILIP GEOFFREY, PEARCE DAVID ANDREW JAMES, CLARIDGE, PHILIP, GEOFFREY, PEARCE, DAVID, ANDREW, JAMES
Applicants: CLARIDGE PHILIP GEOFFREY, MADGE NETWORKS LTD, PEARCE DAVID ANDREW JAMES, CLARIDGE, PHILIP, GEOFFREY, MADGE NETWORKS LIMITED, PEARCE, DAVID, ANDREW, JAMES
Application year: 1994
Main classification: H04L12
IPC codes: H04L12