Background of the Invention
1. Field of the Invention
The present invention generally relates to information transferring systems, and in particular to a system which transfers information to a plurality of circuit packages.
2. Description of the Related Art
A system having a complicated function is frequently a combination of many circuit units each having a relatively simple function. Such an arrangement causes the design and maintenance of the system to be simplified, and further the changing and addition of functions can easily be made. Hereinafter, the above circuit unit each having a relatively simple function is referred to as a circuit package. A typical example is a communication system such as a switching system. The switching system is designed to transfer respective signals from incoming lines to designated outgoing lines through a lot of circuit packages.
In order to control all the circuit packages incorporated in the communication system, it is necessary to transfer control signals to the respective circuit packages. Therefore, a conventional system is provided with a lot of control signal lines in addition to data lines within the system frame.
However, a wiring problem arises with the conventional arrangement were complicated communication systems are involved, such as with the increasingly widespread use of communication terminals, in that the number of circuit packages and control signal lines are increased.
Summary of the Invention
An object of the present invention is to provide a information transfer system which enables the information transfer to circuit packages with simplified wiring.
Another object of the present invention is to provide an information transfer system which can reduce the number of signal lines included therein.
Still another object of the present invention is to provide an information transfer method which enables supplying information to a cascade-connected circuit packages while transferring the information from the input circuit package to the output circuit package through a single transmission line.
According to the present invention, idle blocks of an information block stream are used to transfer necessary information to a predetermined collection of circuit packages provided in an communication apparatus through a single transmission line.
More specifically, an information transfer system comprises a plurality of circuit packages each performing a predetermined operation according to first information and being provided with predetermined identification number. Further, the circuit packages are connected in cascade through the transmission line. An input information block stream including idle blocks is transferred through the transmission line from an input circuit package to an output circuit package.
The input circuit package is provided with an information generator which generates an information set comprising a predetermined number of signals each including a first information for a single circuit package and second information for specifying the single circuit package. The first information set is inserted into an idle block detected from the input information block stream to produce an internal information block stream. The internal information block stream is transferred through the transmission line from the input circuit package to an output circuit package. An information detector provided in the input circuit package detects the first information for the input circuit package from the internal information block stream by comparing the predetermined identification data to the second information. Similarly, the respective other circuit packages are also provided with information detectors each detecting the first information for the circuit package in question from the internal information block stream by comparing the its own identification data to the second information.
The system is further comprised of a restoring circuit for restoring the internal information block stream to an original state of the input information block stream. More specifically, the restoring circuit may be an information eraser for erasing the first information set from the idle block. Alternatively, the restoring circuit is a converter for converting the first information set into the original idle block.
Brief Description of the Drawings
FIG. 1 is a block diagram showing the configuration of an information transfer system according to an embodiment of the present invention;
FIG. 2 is a detailed block diagram showing an example of the input circuit package in the embodiment as shown in FIG. 1;
FIG. 3 is a schematic diagram showing an example of a cell stream and idle cell detection timing of the cell stream;
FIG. 4 is a schematic diagram showing a first example of the idle cell format according to the embodiment; and
FIG. 5 is a schematic diagram showing a second example of the idle cell format according to the embodiment.
Detailed Description of the Preferred Embodiments
Taking a communication apparatus used in an ATM (Asynchronous Transfer Mode) system as an example, an embodiment of the present invention will be described hereinafter.
Referring to FIG. 1, the communication apparatus is comprised of a plurality of circuit packages PKG.sub.1 -PKG.sub.m which are connected in cascade through a transmission line. A cell stream is received by the input circuit package PKG.sub.1 and is sequentially transferred to the output circuit package PKG.sub.m through the circuit packages PKG.sub.2 -PKG.sub.m-1. The cell stream includes valid cells, OM (Operation and Maintenance) control cells, and idle cells, where the OM control cells are used to manage the network between communication apparatuses.
The respective circuit packages PKG.sub.1 -PKG.sub.m are provided with processing circuits each performing a predetermined function under the control of a system controller (not shown). The control signals generated by the system controller are provided to the input circuit package PKG.sub.1 and travel over the transmission line to the output circuit package PKG.sub.m by using idle cells included in the cell stream.
According to this embodiment, the input circuit package PKG.sub.1 is comprised of an idle cell detector 101, a cell multiplexer 102, a control cell generator 103, and a control signal detector CSD.sub.1. The idle cell detector 101 receives the cell stream including idle cells each having no valid data in its payload, and outputs the cell stream and an idle detection signal to the cell multiplexer 102. The idle detection signal indicates the detection timing of idle cells in the cell stream. The cell multiplexer 102 multiplexes the valid cells of the cell stream and PKG control cells together according to the idle detection signal to output a multiplex cell stream CS.sub.MUX to the control signal detector CSD.sub.1. The control cell generator 103 receives the control signals S.sub.cl -S.sub.cm from the system controller and assembles the PKG control cells from the control signals to output them to the cell multiplexer 102. The respective control signals S.sub.cl -S.sub.cm are to be provided to the circuit packages PKG.sub.1 -PKG.sub.m. Each PKG control cell is designed to have a predetermined number of control signals each accompanied with a predetermined package identification number ID.sub.i on its payload (see FIGS. 4 and 5). The header of each PKG control cell may be identical to that of an idle cell. Alternatively, the header of each PKG control cell may be a unique pattern so as to be discriminated from other cells. In this embodiment, the header of each PKG control cell is assumed to be identical to that of an idle cell.
The control signal detector CSD.sub.1 detects the control signal S.sub.cl from the multiplex cell stream CS.sub.MUX using a predetermined package identification number ID.sub.1 and transfers the multiplex cell stream CS.sub.MUX to the next circuit package PKG.sub.2. The circuit package PKG.sub.2 is also provided with a control signal detectors CSD.sub.2 having the same function as the control signal detector CSD.sub.1. Similarly, the circuit packages PKG.sub.3 -PKG.sub.m following the control signal detectors CSD.sub.2 are provided with control signal detectors CSD.sub.3 -CSD.sub.m having the same function, respectively. Therefore, the respective control signal detectors CSD.sub.2 -CSD.sub.m of the circuit packages PKG.sub.2 -PKG.sub.m detect the control signals S.sub.c2 -S.sub.cm from the multiplex cell stream CS.sub.MUX using the predetermined package identification numbers ID.sub.2 -ID.sub.m.
The output circuit package PKG.sub.m is comprised of an idle cell detector 104 and an idle cell payload restorer 105 in addition to the control signal detector CSD.sub.m. The idle cell detector 104 detects the timing of idle cells from the multiplex cell stream CS.sub.MUX. According to the idle detection signal received from the idle cell detector 104, the idle cell payload eraser 105 erases the contents of the payload of each idle cell. In other words, the idle cell payload eraser 105 converts each idle cell of the multiplex cell stream CS.sub.MUX into its original state.
In this manner, the control signals packed into the payload of an idle cell at the input circuit package PKG.sub.1 travel over the transmission line while being detected at the respective circuit packages PKG.sub.2 -PKG.sub.m-1, and finally are erased at the output circuit package PKG.sub.m.
Referring to FIG. 2, a more detailed description about the input circuit package PKG.sub.1 will be provided. The idle cell detector 101 is comprised of a cell detector 201, a latch 202, and an idle cell pattern detector 203. The cell detector 201 detects the timing of cells from the input cell stream and outputs a cell detection timing signal to the latch 202. The latch 202 stores a bit pattern of the header of each cell at the timing of the cell detection timing signal received from the cell detector 201. The idle cell pattern detector 203 reads the bit pattern from the latch 202 and compares it with a predetermined bit pattern of the header of an idle cell. When the bit pattern stored in the latch 202 coincides with the predetermined bit pattern of an idle cell, the idle cell pattern detector 203 outputs the idle detection signal of the value `0` to the cell multiplexer 102 (see FIG. 3).
The cell multiplexer 102 is comprised of a selector 204 which normally selects the cell stream but a control cell only when receiving the idle detection signal from the idle cell detector 101. In other words, the control cells generated by the control cell generator 103 are inserted one by one into the time slots of idle cells and thereby the multiplex cell stream CS.sub.MUX is produced.
The control signal detector CSD.sub.1 is comprised of an idle cell detector 205, a latch 206, a PKG control signal extractor 207, and a control signal assembler 208. The idle cell detector 205 is the same circuit configuration as the idle cell detector 101. It should be noted that the idle cell detectors 104 also have the same circuit as the idle cell detector 101. The latch 206 stores the payload data of an idle cell from the multiplex cell stream CS.sub.MUX at the time when receiving the idle detection signal from the idle cell detector 205. The PKG control signal extractor 207 reads the payload data from the latch 206 and searches for a control signal for this circuit package PKG.sub.1 using the package identification number ID.sub.1 as a keyword. When finding the control signal of its own, the PKG control signal extractor 207 outputs the control signal to the control signal assembler 208. If the control signal S.sub.cl is divided into two or more pieces or cells, the control signal assembler 208 assembles the received control signals to form the control signal S.sub.c1.
Since the other control signal detectors CSD.sub.2 -CSD.sub.m have the same circuit configuration as the control signal detectors CSD.sub.1, each control signal detectors CSD.sub.i detects a control signal S.sub.ci for the circuit package PKG.sub.i from the multiplex cell stream CS.sub.MUX using the package identification number Id.sub.i as described above.
As shown in FIG. 3, the input cell stream includes valid cells, OM control cells, and idle cells. The idle cell detector 101 of the input circuit package PKG1 detects idle cells from the cell stream to produce the idle detection signal which is normally high but goes low when an idle cell is detected. Therefore, the selector 204 of the cell multiplexer 102 selects a control cell when the idle detection signal is low.
The 48-byte payload of an idle cell may be divided into a desired number of areas depending on the amount of control data or the number of control signals.
As illustrated in FIG. 4, the 48-byte payload of an idle cell may be divided into 48 8-bit areas, where each area of the payload corresponds to a single control signal. For instance, the i-th byte consists of 3-bit PKG identification number, 4-bit control signal identification, and 1-bit control data. The PKG control signal extractor 207 of each control signal detector CSD.sub.i extracts the control signal ID and the control data for the circuit package PKG.sub.i from the latch 206 when the 3-bit PKG identification number coincides with the predetermined package identification number ID.sub.i.
As shown in FIG. 5, the 48-byte payload of an idle cell may be divided into 24 16-bit areas, where each area of the payload corresponds to a single control signal. For instance, the i-th area consists of 5-bit PKG identification number, 8-bit control signal identification, and 3-bit control data. The PKG control signal extractor 207 of each control signal detector CSD.sub.i extracts the control signal ID and the control data for the circuit package PKG.sub.i from the latch 206 when the 5-bit PKG identification number coincides with the predetermined package identification number ID.sub.i. As descrived above, the number of areas for storing control signals may be determined as necessary.
It should be noted that the header of each PKG control cell may be a unique pattern so as to be discriminated from other cells, that is, valid cells, control cells, and idle cells. In this case, the respective control signal detectors CSD.sub.2 -CSD.sub.m have a PKG control cell detector instead of the idle cell detector 205. The PKG control cell detector is easily made by replacing the idle cell pattern detector 203 with a PKG control cell pattern detector.