In an interface module for connecting user terminals of the carrier sense multiple access collision detection (CSMA/CD) local area network (LAN) to a different access mode switching network, a transmit buffer is connected at one end through a transmit data channel to a user terminal and connected at the other end to a desired swtching system. A receive buffer is connected at one end to the switching system to store a receive packet supplied from it. An or gate is provided having a first input connected to the transmit data channel, a second input connected to the other end of the receive buffer and an output connected through a receive data channel to the user terminal. A detector circuit detects when a transmit packet is received from the user terminal. A control circuit responds to the output of detector circuit to enable the transmit buffer to store the transmit packet from the user terminal and further enables the receive buffer to forward the stored receive packet to the or gate in the absence of a transmit packet detected by the detector circuit. The control circuit detects a simultaneous occurrence of a receive packet being forwarded from the receive buffer and a transmit packet being detected by the detector means and causes a collision-presence signal to be supplied to the user terminal through a signalling channel.
|
1. An interface module for a user terminal of the type which is adapted to be connected to a collision detection local area network, comprising:
a transmit buffer connected at one end through a transmit data channel to said user terminal and connected at the other end to a switching system; a receive buffer connected at one end to said switching system to store a receive packet therefrom; an or gate having a first input connected to said transmit data channel, a second input connected to the other end of said receive buffer, and an output connected through a receive data channel to said user terminal; detector means for detecting when a transmit packet is received from said user terminal; control means for enabling said transmit buffer to store said transmit packet therein when same is detected by said detector means, enabling said receive buffer to forward the stored receive packet to said second input of said or gate in the absence of a transmit packet detected by said detector means and for detecting a simultaneous occurrence of a receive packet being forwarded from said receive buffer and a transmit packet being detected by said detector means; and means for supplying a collision-presence signal through a signalling channel to said user terminal in response to the detection of said simultaneous occurrence of said receive and transmit packets.
10. An interface module for a user terminal of the type which is adapted to be connected to a collision detection local area network, comprising:
a transmit buffer connected to a switching system; a receive buffer connected to said switching system to store a receive packet transmitted therefrom; a first or gate having a first input connected to an output of said receive buffer; a second or gate; an interface adapter means having: first data input port connected to said user terminal through a transmit data channel; a first data output port connected to said user terminal through a receive data channel; a second data input port connected to an output of said first or gate; a second data output port connected to a second input of said first or gate and to an input of said transmit buffer; a control input port connected to an output of said second or gate for receiving a receive enable pulse applied thereto; and a control output port connected to a first input of said second or gate, said interface adapter means receiving a transmit packet having a line code format through said first data input port, converting the line code format of the received packet to a binary logic code and applying the converted packet to said second data output port and for simultaneously applying a transmit enable pulse to said control output port, said interface adapter means being responsive to said receive enable pulse applied to said control input port for converting a binary logic code format of a packet supplied to said second data input port into a line code format and supplying the converted packet to said first output port; a collision signalling circuit connected through a signalling channel to said user terminal for generating a collision-presence signal; and a control circuit for causing said transmit buffer to operate in a write mode to store the packet appearing at said second data output port in response to said transmit enable pulse and for causing said receive buffer to forward a packet therefrom to said first or gate in the absence of said transmit enable pulse and simultaneously supplying said receive enable pulse to a second input of said second or gate, and for causing said collision signalling circuit to supply said collision-presence signal to said signalling channel when said transmit enable pulse occurs in the presence of a receive packet being forwarded by said receive buffer to said first or gate.
2. An interface module as claimed in
3. An interface module as claimed in
4. An interface module as claimed in
5. An interface module as claimed in
6. An interface module as claimed in
7. An interface module as claimed in
8. An interface module as claimed in
9. An interface module as claimed in
11. An interface module as claimed in
12. An interface module as claimed in
13. An interface module as claimed in
14. An interface module as claimed in
15. An interface module as claimed in
16. An interface module as claimed in
17. An interface module as claimed in
18. An interface module as claimed in
|
The present invention relates to an interface module for connecting user terminals of a collision detection local area network to a switching network having a different access mode.
When it is desired to connect a user terminal of a collision detection local area network having an IEEE 802.3 standard access interface, for example, to a switching network having different access protocols, the simplest approach that minimizes modifications of the terminals would be to construct an interface module with transmit and receive buffers which are connected to a desired switching network, an access controller connected to the transmit and receive buffers, and a serial interface adapter connected thereto. A pair of transceivers are connected in a coaxial cable bus. One of the transceivers is connected to the user terminal and the other transceiver to the serial interface adapter.
However, such a solution would result in a bulky and expensive interface module.
The object of the present invention is therefore to provide an interface module for a collision detection local area network which is simple and inexpensive and does not require the user terminal to modify its structure to adapt it to a different access system.
According to a first aspect of the present invention, the interface module comprises a transmit buffer connected at one end through a transmit data channel to a user terminal and connected at the other end to a desired switching system. A receive buffer is connected at one end to the switching system to store a receive packet supplied from it. An OR gate is provided having a first input connected to the transmit data channel, a second input connected to the other end of the receive buffer and an output connected through a receive data channel to the user terminal. A detector circuit detects when a transmit packet is received from the user terminal. A control circuit responds to the output of detector circuit to enable the transmit buffer to store the transmit packet from the user terminal and further enables the receive buffer to forward the stored receive packet to the OR gate in the absence of a transmit packet detected by the detector circuit. The control circuit detects a simultaneous occurrence of a receive packet being forwarded from the receive buffer and a transmit packet being detected by the detector means and causes a collision-presence signal to be supplied to the user terminal through a signalling channel.
Collision detection type LAN user terminals can therefore be connected to a switching network of non-collision detection type without expensive transceivers and access controllers which would otherwise be needed. The interface module can be implemented by simple logic circuitry and so it can be kept small. Flow control can also be provided between the transmit buffer and the user terminal. A further advantage is that when a data collision occurs between a transmit packet from the user and a receive packet from the switching network, repeated collisions can be avoided by informing the user of the occurrence of a collision. Further, the packet's dwell time in the receive buffer can be shortened, improving the buffer utilization efficiency.
According to another aspect, the interface module of the present invention comprises a transmit buffer connected to a switching system, a receive buffer connected to the switching system to store a receive packet transmitted therefrom, a first OR gate having a first input connected to an output of the receive buffer, and a second OR gate. An interface adapter is provided having a first data input port connected to the user terminal through a transmit data channel, a first data output port connected to the user terminal through a receive data channel, a second data input port connected to the output of the first OR gate, a second data output port connected to a second input of the first OR gate and to the input of the transmit buffer, a control input port connected to the output of the second OR gate for receiving a receive enable pulse applied thereto, and a control output port connected to a first input of the second OR gate. The interface adapter receives a transmit packet having a line code format through the first data input port and converts the line code format of the received packet to a binary logic code and applies the converted packet to the second data output port. Simultaneously, a transmit enable pulse is supplied from the interface adapter to the control output port. The interface adapter is responsive to the receive enable pulse applied to the control input for converting a binary logic code format of a packet supplied to the second data input port into a line code format and supplying the converted packet to the first output port. A collision signalling circuit is connected through a signalling channel to the user terminal for generating a collision-presence signal in response to a signal supplied from a control circuit. This control circuit causes the transmit to operate in a write mode to store the packet appearing at the second data output port in response to the transmit enable pulse and causes the receive buffer to forward a packet therefrom to the first OR gate in the absence of the transmit enable pulse and simultaneously supplies the receive enable pulse to a second input of the second OR gate, and supplies a control signal to the collision signalling circuit to cause it supply the collision-presence signal to the signalling channel when the transmit enable pulse occurs in the presence of a receive packet being forwarded by the receive buffer to the first OR gate.
The present invention will be described in further detail with reference to the accompanying drawings, in which:
FIG. 1 is a block diagram of a terminal interface module according to a first embodiment of the present invention;
FIG. 2 is a block diagram of a terminal interface module according to a second embodiment of the present invention;
FIG. 3 is a data format used in the first embodiment of the invention;
FIG. 4 is a block diagram of a terminal interface module according to a third embodiment of the present invention; and
FIG. 5 is a data format used in the embodiment of FIG. 4.
FIG. 1 is an illustration of a packet-switched system in which terminal interface modules 2-1 and 2-2 of the present invention are shown to permit user terminals 1-1 and 1-2 of carrier sense multiple access collision detection (CSMA/CD) local area network (LAN) to be connected to a packet switching network 3 of non-collision detection access mode. The user terminal 1-1 is located remote from the switching network 3 and connected thereto via the interface module 2-1 which is located adjacent the user terminal 1-1. The connection between the module 2-1 and the switching network 3 is by means of subscriber loops 7 and 8. The other user terminal 1-2 is located adjacent the switching network 3 and is directly connected to an interface module 2-2 which is located within the switching network 3. Each of the interface modules 2 comprises a controller 11, a transmit buffer 12 having an input port connected to the associated user terminal 2 via a transmit data channel 4 and an output port connected via the subscriber loop 7 to the switching network 3. A receive buffer 13 is provided having an input port connected from the switching network 3 via the subscriber loop 8 and an output port connected through an OR gate 14 and a receive data channel 5 to the associated user terminal 1. Via the OR gate 14, the transmit data channel 4 is connected to the receive data channel 5. The transmit and receive buffers 12 and 13 are both controlled by the controller 11 to which a delimiter detector 16 supplies a an output in response to the detection of a delimiter from a transmit packet received from the associated user terminal 1. Controller 11 detects a collision between packets and directs a collision-presence signal generator 15 to supply a collision-presence signal through a signalling channel 6 to the associated user terminal 1. As shown in FIG. 3, each packet comprises a starting delimiter SD for signifying the beginning of the packet, an ending delimiter ED signifying the end of the packet, a destination address DA, a source address SA, a user information field INFO and a frame check sequence FCS.
In FIG. 1, a transmit packet from a user terminal 1 is sent on the transmit data channel 4 and stored into the transmit buffer 12 on the one hand and fed back through OR gate 14 to the receive data channel 5. The transmission of the signal back to the user terminal is to conform to the access mode of the cable-bus local area network. The starting delimiter of the transmit packet is detected by the delimiter detector 16 and is communicated to the control circuit 11. Control circuit 11 enables the transmit buffer 12 in a write mode to store the transmit packet. This write mode of operation is continued until the delimiter detector 16 detects the ending delimiter ED of the received transmit packet. Controller 11 switches the transmit buffer 12 to a read mode to read the stored transmit packet out of the buffer 12 onto the subscriber loop 7. On the other hand, a receive packet from the switching network 3 is supplied through the subscriber loop 8 and is stored into the receive buffer 13 and is communicated to the control circuit 11. If a transmit packet is not received from the user terminal simultaneously with the arrival of the receive packet, controller 11 proceeds to read the receive packet from the receive buffer 13 and supplies it through OR gate 14 to the receive data channel 5.
If the delimiter detector 16 detects the starting delimiter of a transmit packet while a receive packet is being transmitted to the user terminal, control circuit 11 recognizes this situation as a collision and activates the collision-presence signal generator 15 to communicate this fact to the associated user terminal by way of the signalling channel 6.
In the event of a collision, the remainder of the transmit packet in the transmit buffer 12 is discarded to prevent it from being occupied with useless data, while the receive buffer 13 is given priority to retransmit the receive packet to the user terminal following a predetermined delay from the time of occurrence of the collision. In this way, loss of receive data is prevented. The predetermined delay time is equal to or smaller than the minimum amount of time required for the associated user terminal 1 to retransmit a packet. This not only prevents packets from encountering collision again but also reduces the packet's dwell time in the receive buffer 13 to improve the utilization efficiency of the receive buffer 13. If the transmit buffer 12 is overflowed, control circuit 11 detects this condition and causes the receive buffer 13 to apply a dummy (carrier) signal through OR gate 14 to the receive data channel 5. The associated user terminal detects a "carrier sense" mode (with the cable bus system the carrier sense mode corresponds to a condition in which another terminal is transmitting a packet) and takes no further action to transmit a packet. As soon as the transmit buffer 12 becomes ready to receive packets, controller 11 senses this condition and causes the receive buffer 13 to discontinue the transmission of the dummy signal. In this way, flow control between the user terminal and the interface module can be achieved. For user terminals designed to detect collision-presence signals following the transmission of a packet, control circuit 11 activates the collision-presence signal generator 15 in response to the detection of an ending delimiter ED by the delimiter detector 16.
FIG. 2 is a block diagram of a terminal interface module 20 according to a second embodiment of the present invention which is suitable for a network where no delimiters are used between buffers and the switching network 3. In this embodiment, the starting and ending delimiters of every transmit packet from the user terminal 1 are removed by a delimiter detector 26 and a receive packet stored in a receive buffer 23 is appended by starting and ending delimiters generated by a delimiter generator 27. A pulse generator 28 is provided which responds to the detection of an ending delimiter detected by the delimiter detector 26 by generating a single pulse. During the presence of this pulse, a collision-presence signal generator 25 sends a collision-presence signal to the user terminal through the signalling channel 6 if enabled by a controller 21 upon detection of a collision. If the packet exchanged between the terminal and the interface module is in serial form, the provision of a serial-to-parallel converter in a delimiter detector 26 and the provision of a parallel-to-serial converter in the delimiter generator 27 allow transmit buffer 22 and receive buffer 23 to reduce their memory access speeds.
FIG. 4 is a block diagram of an interface module according to a third embodiment of the present invention which handles packets of the format specified in accordance with the IEEE 802.3 standard. As shown in FIG. 5, the packet used in this embodiment comprises a preamble PA, a destination address DA, a source address SA, a user information field INFO and a frame check sequence FCS. As illustrated in FIG. 4, the interface module 30 includes a serial interface adapter 50 constructed of known interface LSI chips. A transmit packet on transmit data channel 4 is supplied through transformer 59 to an input port 55 of the serial interface adapter 50. Serial interface adapter 50 converts the line code format of the transmit packet to a binary logic code format (non return-to-zero), feeds an output port 51 and applies a logic-1 transmit enable pulse of the same duration as the packet (see FIG. 5) to an output control port 53. When the serial interface adapter 50 is supplied with a logic-1 receive enable 60 (FIG. 5) at an input control port 54 and a receive packet at a data input port 52, it converts the binary logic code of the latter into a line code format and feeds a data output port 56 which is coupled through transformer 59 to the receive data channel 5. Transmit packets from the output port 51 are supplied to a shift register 45 on the one hand and through an OR gate 57 to an input port 52 of the serial interface adapter 50. The transmit enable pulse is supplied to control circuit 31 and a pulse generator 38 which in turn supplies a single pulse in response to the trailing edge of this transmit enable pulse through an OR gate 48 to a collision-presence signal generator 35. Collision-presence signal generator 35 responds to the pulse from pulse generator 38 and to a collision detection signal from controller 31 by applying a collision-presence signal to the signalling channel 6 via transformer 59. The transmit packet stored into the shift register 45 is converted to parallel form and supplied to a latch 44 and to a preamble detector 46. The preamble detector 46 is enabled in response to the transmit enable pulse from the serial interface adapter 50 to detect a preamble PA contained in the transmit packet stored in the shift register 45. A counter 47 is initialized in response to an output signal from the preamble detector 46 to start a count operation and supplies a clock pulse to the latch 44 in synchronism with each word of the transmit packet. The transmit packet in the latch 44 is stored into transmit buffer 32 in the form of a wordorganized structure. If the preamble PA is not required by the switching network 3, it can be eliminated from the packet by switching the transmit buffer 32 to a write mode immediately after the packet leaves the buffer 32. During the time no transmit enable pulse is supplied to the control circuit 31 from the output control port 53, packets are read out of the receiver buffer 33 into a preamble generator 32 where a preamble is generated and appended to the receive packet leaving the buffer 33. The receive packet is then supplied to a shift register 41 where it is converted to serial form and fed through the OR gate 57 to the input port 52 of the serial interface adapter 50. Control circuit 13 supplies a receive enable pulse through OR gate 58 to an input port 54 of the adapter 50 in response to the receive packet being supplied to the input port 52 of the serial interface adapter 50. If the control circuit 31 receives a transmit enable pulse during the time it sends a receive enable pulse to the serial interface adapter 50, it recognizes that a collision has occurred and activates the collision-presence signal generator 35 through OR gate 48. When this occurs, the control circuit 31 stops reading the contents of the receive buffer 32, causes a receive buffer pointer 42 to return to a read address point immediately prior to the occurrence of the collision and activates a timer 40. When the timer 40 generates an output indicating that a predetermined retransmit time interval has elapsed, the control circuit 31 reactivates the receive buffer 33 for retransmission of the receive packet. In a similar manner, the control circuit 31 causes a transmit buffer pointer 43 to return to a write address point immediately prior to the occurrence of the collision to discard the transmit packet stored in the transmit buffer 32 at the instant the collision occurred. If the amount of data stored in the transmit buffer 32 exceeds beyond a prescribed level and is thus not ready to receive packets and if no receive packets are being sent to the user terminal, the control circuit 31 applies a receive enable pulse to the serial interface adapter 50 to cause it to transmit a dummy (carrier) signal indicating that the transmit buffer is not ready to receive to the user terminal to prevent it from transmitting a packet.
It will be seen from the above description that the collision detection type LAN user terminals can be connected to a switching network of noncollision detection type without expensive transceivers and access controllers which would otherwise be needed. In addition, since the interface module can be implemented by simple logic circuitry, it can be kept small and flow control can also be provided between the transmit buffer and the user terminal. A further advantage is that since priority is given to the interface module when a data collision occurs between the user terminal and the interface module, repeated collisions can be avoided and the packet's dwell time in the receive buffer can be shortened, improving the buffer utilization efficiency.
Shimizu, Hiroshi, Sakamoto, Hidenori, Katsura, Yoshihiko, Kawatoko, Tsurayuki, Obayashi, Akihiko
Patent | Priority | Assignee | Title |
5023870, | Jun 22 1989 | AG Communication Systems Corporation | Interface circuit for data transmission between a microprocessor system and a time-division-multiplexed system |
5079766, | Nov 08 1988 | BULL, S A | Access unit to a local network transmission medium |
5107489, | Oct 30 1989 | INTERNATIONAL BUSINESS MACHINES CORPORATION, A CORP OF NY | Switch and its protocol for making dynamic connections |
5235592, | Aug 13 1991 | International Business Machines Corporation | Dynamic switch protocols on a shared medium network |
5289458, | Mar 30 1992 | Intel Corporation | Apparatus for accomplishing autoport selection |
5414817, | Nov 30 1992 | HEWLETT-PACKARD DEVELOPMENT COMPANY, L P | Adapter unit for connecting a mobile computer to a network and for simulating the presence of the mobile computer when the mobile computer is not present |
5448566, | Nov 15 1993 | International Business Machines Corporation | Method and apparatus for facilitating communication in a multilayer communication architecture via a dynamic communication channel |
5535211, | May 30 1991 | Ricoh Company, LTD | Communications network control method |
5546543, | Mar 26 1993 | ENTERASYS NETWORKS, INC | Method for assigning priority to receive and transmit requests in response to occupancy of receive and transmit buffers when transmission and reception are in progress |
6002675, | Jan 06 1997 | Extreme Networks, Inc | Method and apparatus for controlling transmission of data over a network |
6097705, | Jan 07 1997 | Extreme Networks, Inc | Buffered repeater with independent ethernet collision domains |
6442170, | Jan 07 1997 | Extreme Networks, Inc | Adaptive addressing filtering |
6885217, | Jun 20 2002 | OKI SEMICONDUCTOR CO , LTD | Data transfer control circuitry including FIFO buffers |
7567517, | May 25 2004 | Intel Corporation | Performing channel analysis over a link |
7917906, | Jul 02 2004 | Seagate Technology LLC | Resource allocation in a computer-based system |
8000278, | May 12 2003 | Intel Corporation | De-activation, at least in part, of receiver, in response, at least in part, to determination that an idle condition exists |
8761035, | Aug 21 2009 | SMSC Europe GmbH | System and method for multiple timing masters in a network |
8776049, | Oct 20 2004 | Seagate Technology LLC | Address aligned resource set allocation in a memory space |
9071374, | Oct 04 2007 | SMSC Europe GmbH | System and method of real time synchronization through a communication system |
Patent | Priority | Assignee | Title |
3843834, | |||
4259663, | Jun 07 1979 | Ford Motor Company | Contention interference detection by comparison of transmitted and received signal information |
4282512, | Feb 04 1980 | Xerox Corporation | Data communication system |
4292623, | Jun 29 1979 | International Business Machines Corporation | Port logic for a communication bus system |
4519074, | May 31 1983 | Lockheed Martin Corporation | Transceiver having collision detection capability for contention-formatted FDM local area networks |
4617565, | Oct 08 1982 | Yagi Antenna Co., Ltd.; Hitachi, Ltd. | Method and device for data communication |
4706082, | Feb 24 1986 | SIEMENS VDO AUTOMOTIVE ELECTRONICS CORPORATION | Serial data bus for intermodule data communications |
4736394, | Mar 28 1985 | Ing. C. Olivetti & C., S.p.A. | Interface circuit for transmitting and receiving data |
4742349, | May 22 1986 | SIEMENS VDO AUTOMOTIVE ELECTRONICS CORPORATION | Method for buffered serial peripheral interface (SPI) in a serial data bus |
4751701, | Nov 14 1985 | Hughes Electronics Corporation | TDM collision detector |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Sep 07 1988 | SHIMIZU, HIROSHI | NEC Corporation | ASSIGNMENT OF ASSIGNORS INTEREST | 005175 | /0199 | |
Sep 07 1988 | KAWATOKO, TSURAYUKI | NEC Corporation | ASSIGNMENT OF ASSIGNORS INTEREST | 005175 | /0199 | |
Sep 07 1988 | SAKAMOTO, HIDENORI | NEC Corporation | ASSIGNMENT OF ASSIGNORS INTEREST | 005175 | /0199 | |
Sep 07 1988 | KATSURA, YOSHIHIKO | NEC Corporation | ASSIGNMENT OF ASSIGNORS INTEREST | 005175 | /0199 | |
Sep 07 1988 | OBAYASHI, AKIHIKO | NEC Corporation | ASSIGNMENT OF ASSIGNORS INTEREST | 005175 | /0199 | |
Sep 19 1988 | NEC Corporation | (assignment on the face of the patent) | / |
Date | Maintenance Fee Events |
Aug 20 1993 | M183: Payment of Maintenance Fee, 4th Year, Large Entity. |
Sep 01 1993 | ASPN: Payor Number Assigned. |
May 05 1997 | ASPN: Payor Number Assigned. |
May 05 1997 | RMPN: Payer Number De-assigned. |
Sep 19 1997 | M184: Payment of Maintenance Fee, 8th Year, Large Entity. |
Dec 01 1998 | RMPN: Payer Number De-assigned. |
Dec 02 1998 | ASPN: Payor Number Assigned. |
Aug 30 2001 | M185: Payment of Maintenance Fee, 12th Year, Large Entity. |
Date | Maintenance Schedule |
Mar 20 1993 | 4 years fee payment window open |
Sep 20 1993 | 6 months grace period start (w surcharge) |
Mar 20 1994 | patent expiry (for year 4) |
Mar 20 1996 | 2 years to revive unintentionally abandoned end. (for year 4) |
Mar 20 1997 | 8 years fee payment window open |
Sep 20 1997 | 6 months grace period start (w surcharge) |
Mar 20 1998 | patent expiry (for year 8) |
Mar 20 2000 | 2 years to revive unintentionally abandoned end. (for year 8) |
Mar 20 2001 | 12 years fee payment window open |
Sep 20 2001 | 6 months grace period start (w surcharge) |
Mar 20 2002 | patent expiry (for year 12) |
Mar 20 2004 | 2 years to revive unintentionally abandoned end. (for year 12) |