Information
-
Patent Grant
-
6674753
-
Patent Number
6,674,753
-
Date Filed
Friday, July 9, 199925 years ago
-
Date Issued
Tuesday, January 6, 200421 years ago
-
Inventors
-
Original Assignees
-
Examiners
Agents
-
CPC
-
US Classifications
Field of Search
US
- 370 360
- 370 363
- 370 368
- 370 371
- 370 374
- 370 375
- 370 378
- 370 379
- 370 381
- 370 382
- 370 383
- 370 3957
- 370 39571
- 370 39572
- 370 412
- 370 413
- 370 428
- 370 429
- 370 389
- 370 422
-
International Classifications
-
Abstract
A switching apparatus incorporated in a time division multiplying system has a read control memory for storing addresses indicative of parts of different messages to be transferred to different channels, and a read controller checks the read control memory so as to determine the memory areas of a message memory for selectively transferring the parts of different messages to the channels, thereby making the memory structure simple.
Description
FIELD OF THE INVENTION
This invention relates a to a time division multiplexing system and, more particularly, to a switching apparatus incorporated in the time division multiplexing system for controlling the data transmission, a method for controlling the data transmission and an information storage medium storing a program sequence for the method.
DESCRIPTION OF THE RELATED ART
Conventionally, the switching apparatus is connected to a message line, and messages are transferred from the switching apparatus to the message line through a time division multiplexing. Time on the message line is divided into frames, and each frame is further divided into time slots. A time slot starts at a certain timing in one of the frames, and forms a channel together with the time slots at the same timing in the other frames. The messages are not constant in length. A message may require the time slots different from those to be required for another message. The message is divided into pieces, and the pieces of message are assigned to the time slots of a channel.
The prior art switching apparatus includes message memories for storing the messages and message transmitters for delivering the messages to the channels. Each of the message memories is exclusively used for one of the channels, and the message transmitters are also assigned the channels, respectively. Thus, the prior art switching apparatus requires plural combinations of the message memories and the message transmitters equal in number to the channels. This feature is uneconomical. The message memories and the message transmitters increase the production cost of the prior art switching apparatus. Thus, a problem inherent in the prior art switching apparatus is the high production cost.
SUMMARY OF THE INVENTION
It is therefore an important object of the present invention to provide a switching apparatus, which is low in production cost.
It is also an important object of the present invention to provide a method for transferring messages in a time division multiplexing fashion which is repeated in the switching apparatus.
It is also an important object of the present invention to provide an information storage medium for readably storing programmed instructions for the method.
To accomplish the object, the present invention proposes to share a message memory between channels.
In accordance with one aspect of the present invention, there is provided a switching apparatus for supplying pieces of data information to plural channels defined on a data line through a time division multiplexing comprising a first memory having first memory areas storing first pieces of data information to be selectively transferred to the plural channels and responsive to a first address signal for selectively outputting the first pieces of data information, a second memory having second memory areas storing second pieces of data information to be selectively transferred to the plural channels and responsive to a second address signal for selectively outputting the second pieces of data information, a selector connected between the first and second memories and the data line and responsive to a control signal so as to selectively transfer the first pieces of data information and the second pieces of data information to the plural channels, a channel controller including a third memory having third memory areas associated to the plural channels, respectively, and storing pieces of address information each assigned to one of the first memory areas for storing one of the first pieces of data information to be transferred to associated one of the plural channels or one of the second memory areas for storing one of the second pieces of data information to be transferred to the associated one of the plural channels together with first pieces of flag information each used for controlling the data transfer from the first and second memories to associated one of the plural channels and a controller connected to the first memory, the second memory, the third memory and the selector, and sequentially accessing the third memory areas for controlling the data transfer from the first and second memories through the selector to the output line with the control signal, the first address signal and the second address signal.
In accordance with another aspect of the present invention, there is provided a method for transferring pieces of data information to plural channels through a time division multiplexing comprising the steps of a) storing first pieces of data information, second pieces of data information and plural combinations of pieces of address information and first pieces of flag information in first memory areas of a first memory, second memory areas of a second memory and third memory areas of a third memory, respectively, b) deciding a timing to be given for a data transfer to one of the plural channels, c) checking one of the third memory areas assigned to the aforesaid one of the plural channels to see whether the first piece of flag information is indicative of a data transfer from the first memory to the aforesaid one of the plural channels or from the second memory to the aforesaid one of the plural channels and d) instructing either first memory or second memory to transfer one of the first pieces of data information or one of the second pieces of data information to the aforesaid one of the plural channels.
In accordance with yet another aspect of the present invention, there is provided an information storage medium for storing a set of programmed instructions representative of a method for transferring pieces of data information to plural channels through a time division multiplexing comprising the steps of a) storing first pieces of data information, second pieces of data information and plural combinations of pieces of address information and first pieces of flag information in first memory areas of a first memory, second memory areas of a second memory and third memory areas of a third memory, respectively, b) deciding a timing to be given for a data transfer to one of the plural channels, c) checking one of the third memory areas assigned to the aforesaid one of the plural channels to see whether the first piece of flag information is indicative of a data transfer from the first memory to the aforesaid one of the plural channels or from the second memory to the aforesaid one of the plural channels and d) instructing either first memory or second memory to transfer one of the first pieces of data information or one of the second pieces of data information to the aforesaid one of the plural channels.
BRIEF DESCRIPTION OF THE DRAWINGS
The features and advantages of the switching apparatus, the method and the information storage medium will be more clearly understood from the following description taken in conjunction with the accompanying drawings in which:
FIG. 1
is a block diagram showing the arrangement of a switching apparatus incorporated in a time division multiplexing system according to the present invention;
FIG. 2
is a view showing plural memory areas defined in a switch buffer
1
a;
FIG. 3
is a view showing plural memory areas defined in a message memory unit;
FIG. 4
is a view showing plural memory areas defined in a read control memory; and
FIG. 5
is a flow chart showing a program sequence executed by a read controller incorporated in the switching apparatus.
DESCRIPTION OF THE PREFERRED EMBODIMENT
Referring to
FIG. 1
of the drawings, a switching apparatus embodying the present invention largely comprises a memory unit
1
, a data transmitter
2
and a channel controller
3
. The switching apparatus is incorporated in a time division multiplexing system. An input message line
4
is connected to the memory unit
1
, and the data transmitter
2
is connected to an output message line
5
. Input channels and output channels are respectively defined on the input message line
4
and the output message line
5
as similar to the prior art. The input channels are respectively assigned to different messages, and each of the messages is represented by an input data byte or input data bytes. Similarly, the output channels are respectively assigned to the messages, and one of the output messages is represented by output data bytes. The messages are temporarily stored in the memory unit
1
, and are delivered from the data transmitter
2
to the output channels under the control of the channel controller
3
. In this instance, the input message line
4
and the output message line
5
are assumed to have n+1 input channels ICH
0
-ICHn and n+1 output channels OCH
0
-OCHn, respectively.
The memory unit
1
includes a switch buffer
1
a
and a message memory
1
b
. Plural addressable memory areas M
10
/M
11
/ . . . /M
1
n are defined in the switch buffer
1
a
, and are assigned to the input data bytes transferred through the input channels ICH
0
-ICHn, respectively, as shown in FIG.
2
. The data bytes stored in the addressable memory areas M
10
-M
1
n are representative of pieces of different messages “0”-“n”.
The message memory
1
b
includes plural addressable memory areas M
20
/M
21
/ . . . /M
2
k/2K+1/ . . . /M
2
j/ . . . , and each addressable memory areas has a data sub-area
1
c
assigned to the data byte representative of a piece of message and a flag sub-area
1
d
assigned to an end flag bit E representative of the final data byte of a message as shown in FIG.
3
. If the data byte is non-final, the end flag bit E is “0”. When a final data byte is stored, the final data byte is labeled with the end flag bit E of “1”. The input channels ICH
0
/ICH
1
are assumed to supply message “0” represented by k+1 data bytes and the message “1” represented by j+1 data bytes to the memory unit
1
. The data byte
0
to the data byte k are respectively stored in the memory areas M
20
-M
2
k, and data byte
0
to the data byte j are respectively stored in the memory areas M
2
k+1−M
2
j. The data bytes
0
to k−1 representative of the pieces of message “0” are non-final, and the end flag bit E is “0”. However, the data byte k is representative of the final piece of the message “0”, and is labeled with the end flag bit E of “1”. Similarly, the data bytes
0
to j−1 are non-final, and are labeled with the end flag bit E “0”. The data byte j is the final byte for the message “1”, and is labeled with the end flag bit E “1”. Thus, the final data bytes of the messages are discriminative with the end flag bit E of “1”.
If the data bytes are not transferred from the switch buffer
1
a
through the data transmitter
2
to the output message line
5
, they are supplied to the message memory
1
b
upon completion of each frame, and are written into the message memory
1
b
under the control of a controller (not shown) incorporated in the switching apparatus. As a result, the message memory
1
b
stores the data bytes of a message or messages not delivered to the output message line
5
yet.
The data transmitter
2
is implemented by a selector, and the selector
2
is connected to three data sources, i.e., the switch buffer
1
a
, the message memory
1
b
and a pattern generator (not shown). The pattern generator supplies a data byte representative of an idling pattern to the selector
2
. The selector
2
is responsive to a control signal CTL
1
so as to selectively transfer the data byte from the three data sources to the output message line
5
.
Turning back to
FIG. 1
, the channel controller
3
includes a read control memory
3
a
and a read controller
3
b
. The read control memory
3
a
includes plural memory areas M
30
-M
3
n as shown in FIG.
4
. The memory areas M
30
-M
3
n are respectively assigned to the output channels OCH
0
-OCHn, and are divided into a data sub-area
3
c
and a flag sub-area
3
d
. Pieces of address data are stored in the data sub-area
3
c
, and flag bits C/S/I/SYNC are stored in the flag sub-area
3
d
. Each piece of address data is indicative of an address assigned to one of the memory areas M
10
-M
1
n or a memory area for storing the origin of the message such as, for example, the data byte
0
of the message “0”.
The flag bit C is indicative of the permission to access the message memory
1
b
or the prohibition from the access to the message memory
1
b.
The flag bit S is indicative of whether the data byte or bytes stored in the message memory
1
b
are valid or invalid. If the flag bit S is “1”, the data bytes in the message memory
1
b
are valid, and the message has not been delivered to the output channel, yet. On the other hand, if the final data byte is delivered to the output channel, the flag bit S is changed to “0”.
The flag bit I is indicative of the idling pattern to be delivered to the output channel. If the flag bit I is “1”, the read controller
3
b
produces the control signal CTL
1
indicative of the idling pattern, and supplies the control signal CTL
1
to the selector
2
. This means that the read controller
3
b
selects the switch buffer
1
a
on the basis of the remaining combination of the flag bits S and I, i.e., S=0 and I=0. In this instance, the flag bit S has the priority to the flag bit I as will be described hereinlater.
Although the flag bit SYNC is not used in this instance, the flag bit SYNC is changed between an active level and an inactive level. When the flag bit SYNC is in the active level, the read controller
3
b
is requested to make the data transfer in synchronism with an external signal. In other words, the read controller
3
b
ignores the flag bit C until the external signal is changed to active.
The read controller
3
b
accesses the read control memory
3
a
in synchronism with the time slots in each frame, and sequentially fetches the pieces of address data and the flag bits C/S/I from the memory areas M
30
-M
3
n for transferring the data bytes to the time slots of the output channels OCH
0
-OCHn. The pieces of address data and the flag bits C/S/I are supplied from the read control memory
3
a
through an address signal ADD
1
and a flag signal FG
1
to the read controller
3
b
. The read controller
3
b
selectively enables the switch buffer
1
a
and the message memory
1
b
, and supplies the address signal ADD
1
to selected one of the switch buffer
1
a
and the message memory
1
b
. The read controller
3
b
gives the control signal CTL
1
a value representative of one of the three data sources, and causes the selector
2
to connect the selected data source to the output message line
5
. The read controller
3
b
fetches the end flag bit E from the message memory
1
b
, and increments the address by one. The read controller
3
b
writes the new address into the read control memory
3
a
through an address signal ADD
3
. The read controller
3
b
fetches the end flag bit E through a flag signal FG
2
to see whether the data transmission for a message is completed or not. When the data transmission is completed, the read controller
3
b
changes the flag bit S through a flag signal FG
3
.
The read controller
3
b
repeats a program sequence shown in
FIG. 5
so as to deliver the data bytes representative of the messages “0”-“n” to the output channels OCH
0
-OCHn. In other words, the read controller
3
b
once executes the program sequence for one of the output channel, and repeats it for the other output channels. In the following description, the read controller
3
b
is assumed to execute the program sequence for the output channel OCH
0
. In order to make the description simple, the data transmission is described as if all the data bytes
0
to k are transferred to the output channel
0
without any interruption.
The read controller
3
b
checks the time to see whether or not the timing for the output channel OCH
0
comes as by step S
1
. If the answer at step S
1
is given negative, the read controller
3
b
waits for the timing by repeating the step S
1
. When the timing for the output channel OCH
0
comes, the answer at step S
1
is changed to affirmative, and the read controller
3
b
proceeds to step S
2
.
The read controller
3
b
accesses the memory area M
30
at step S
2
, and reads out the piece of address data and the flag bits S/I from the memory area M
30
through an address signal ADD
2
and a flag signal FG
1
. The read controller
3
b
checks the flag bit S to see whether the message “0” in the message memory
1
b
is valid or invalid as by step S
3
. If the flag bit S is “1”, the message “0” is valid, and the answer at step S
3
is given affirmative. Then, the read controller
3
b
makes the message memory
1
b
accessible, and supplies the address signal ADD
2
indicative of the head address of the memory area
20
to the message memory
1
b
. The read controller
3
b
supplies the control signal CTL
1
indicative of the message memory
1
b
to the selector
2
, and the selector
2
becomes ready for transferring the data byte from the message memory
1
b
to the output channel OCH
0
. The message memory
1
b
is responsive to the address signal ADD
2
so as to supply the data byte
0
and the end flag bit E “0” to the selector
2
and the read controller
3
b
, respectively, as by step S
4
. The data byte
0
is transferred to the output channel OCH
0
. The end flag bit E is transferred from the message memory
1
b
to the read controller
3
b
through the flag signal FG
2
.
The read controller checks the end flag bit E to see whether the read-out data byte is final or non-final as by step S
5
. The data byte
0
is labeled with the end flag bit E “0”, and the end flag bit E “0” indicates that the data byte
0
is non-final. Then, the answer at step S
5
is given negative, and the read controller
3
b
increments the address represented by the piece of address data as by step S
6
. The read controller
3
b
writes the piece of address data representative of the new address into the memory area M
30
through the address signal ADD
3
as by step S
7
. The piece of address data is now indicative of the head address of the memory area M
31
.
The read controller
3
b
repeats the loop consisting of steps S
1
to S
7
until the data byte k is transferred to the selector
2
. The data byte k is labeled with the end flag bit E of “1”, and the answer at step S
5
is changed to affirmative. Then, the read controller
3
b
proceeds to step S
8
, and changes the flag bit S to zero through the flag signal FG
3
. The flag bit S indicates that the message “0” is invalid, and does not permit the read controller
3
b
to transfer the message “0” to the output channel OCH
0
twice. Thus, the switching apparatus completes the data transmission of the message “0” from the message memory
1
b
to the output channel OCH
0
through repetition of the loop consisting of steps S
1
to S
8
.
On the other hand, if the flag bit S is zero, the message “0” is invalid, and the answer at step S
3
is given negative. Then, the read controller
3
b
proceeds to step S
9
. The read controller
3
b
checks the flag bit I to see whether or not the idling pattern should be transferred to the output channel OCH
0
. When the flag bit I is “0”, the switch buffer
1
a
stores a data byte to be transferred to the output channel OCH
0
, and the answer at step S
9
is given negative. Then, the read controller
3
b
makes the switch buffer
1
a
accessible, and supplies the address signal ADD
2
representative of the head address of the memory area M
10
to the switch buffer
1
a
. Concurrently, the read controller
3
b
changes the control signal CTL
1
to a value representative of the switch buffer
1
a
, and supplies the control signal CTL
1
to the selector
2
. The switch buffer
1
a
supplies the input data byte from the memory area M
10
to the selector
2
, and the selector
2
transfers the data byte to the output channel OCH
0
as by step S
10
.
On the other hand, if the flag bit I is “1”, there is not any data byte to be transferred to the output channel OCH
0
, and the answer at step S
9
is given affirmative. The read controller
3
b
changes the control signal CTL
1
to a value representative of the pattern generator (not shown), and supplies the control signal CTL
1
to the selector
2
. The selector
2
transfers the idling pattern to the output channel OCH
0
as by step S
11
.
Upon execution of one of the steps S
7
/S
8
/S
10
/S
11
, the read controller
3
b
returns to step S
1
, and repeats the program sequence for the data transfer to the output channel OCH
0
. As described hereinbefore, the above-description is made on the assumption that the data transfer is performed for the output channel OCH
0
. The read controller
3
b
also executes the program sequence S
1
to S
11
for each output channel OCH
1
-OCHn.
A set of instruction codes represents the program sequence shown in
FIG. 5
, and is stored in an information storage medium such as, for example, a hard disk incorporated in or associated with the read controller
3
b
. The set of instruction codes may be supplied to a built-in memory of the read controller
3
b
through a communication network.
As will be understood from the foregoing description, the read controller
3
b
is associated with the read control memory
3
a
, and the control memory
3
a
stores the flags and the addresses for the data bytes to be transferred to the plural output channels OCH
0
-OCHn. This feature is desirable, because the message memory
1
is shared between the output channels OCH
0
-OCHn. This results in the simple memory unit
1
. The simple memory unit
1
reduces the production cost of the switching apparatus.
Even though the messages are different in length, the end flag bit E teaches the read controller
3
b
the final data byte, and the message memory
1
b
can store variable-length messages.
Although a particular embodiment of the present invention has been shown and described, it will be apparent to those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the present invention.
For example, when the final data byte is transferred from the message memory
1
b
to the associated output channel, the read controller
3
b
may terminate the data transmission by using the flag bit C instead of the flag bit S.
The flag C may indicate the data source to be accessed, i.e., the switch buffer
1
a
, the message memory
1
b
or the pattern generator. When the flag C is set to value “1”, the switch buffer
1
a
supplies the data byte to the selector
2
. The message memory
1
b
is indicated by the flag C of “2”, and the pattern generator is indicated by the flag C of “3”.
One than one byte may be stored in the memory area M
20
-M
2
j.
Claims
- 1. A switching apparatus for supplying pieces of data information to plural channels defined on a data line through a time division multiplexing, comprising:a first memory having first memory areas storing first pieces of data information to be selectively transferred to said plural channels, and responsive to a first address signal for selectively outputting said first pieces of data information; a second memory having second memory areas storing second pieces of data information to be selectively transferred to said plural channels, and responsive to a second address signal for selectively outputting said second pieces of data information; a selector connected between said first and second memories and said data line, and responsive to a control signal so as to selectively transfer said first pieces of data information and said second pieces of data information to said plural channels; a channel controller including a third memory having third memory areas associated to said plural channels, respectively, and storing pieces of address information each assigned to one of said first memory areas for storing one of said first pieces of data information to be transferred to associated one of said plural channels or one of said second memory areas for storing one of said second pieces of data information to be transferred to said associated one of said plural channels together with first pieces of flag information each used for controlling the data transfer from said first and second memories to associated one of said plural channels, and a controller connected to said first memory, said second memory, said third memory and said selector, and sequentially accessing said third memory areas for controlling said data transfer from said first and second memories through said selector to said data line with said control signal, said first address signal and said second address signal.
- 2. The switching apparatus as set forth in claim 1, in which said second memory areas further store second pieces of flag information each representative of an end point of a series of second pieces of data information to be transferred to one of said plural channels, and said controller successively changes the address represented by said second address signal until the second piece of data information at said end point is transferred to said one of said plural channels.
- 3. The switching apparatus as set forth in claim 1, in which each of said first pieces of flag information indicates one of said first and second memories to be connected through said selector to one of said plural channels, and said controller checks said first pieces of flag information so as to selectively supply said first address signal and said second address signal to said first memory and said second memory.
- 4. The switching apparatus as set forth in claim 3, in which said each of said first pieces of flag information further indicates a validity of a second piece of data information to be transferred to associated one of said plural channels.
- 5. The switching apparatus as set forth in claim 4, in which said second memory areas further store second pieces of flag information each representative of an end point of a series of second pieces of data information to be transferred to one of said plural channels, and said controller changes associated one of said first pieces of flag information to invalid when the second piece of data information is transferred from said end point through said selector to said associated one of said plural channels.
- 6. The switching apparatus as set forth in claim 5, in which the second pieces of data information of said series are stored in the second memory areas assigned a series of addresses, and said controller sequentially changes associated one of said pieces of address information so as to successively indicate the addresses of said series.
- 7. The switching apparatus as set forth in claim 4, in which said each of said first pieces of flag information further indicates whether or not said data transfer to said associated one of said plural channels is to be synchronous to an external signal.
- 8. The switching apparatus as set forth in claim 1, in which said controller sequentially accesses said third memory areas at timings when said plural channels selectively becomes connectable to said first and second memories in said time division multiplexing.
- 9. The switching apparatus as set forth in claim 1, further comprising a pattern generator connected to said selector and generating an idling pattern, wherein each of said first pieces of flag information indicates one of said first memory, said second memory and said pattern generator to be connected through said selector to one of said plural channels, and said controller checks said first pieces of flag information so as to instruct said selector to connect said one of said first memory, said second memory and said pattern generator to said one of said plural channels with said control signal.
- 10. A method for transferring pieces of data information to plural channels through a time division multiplexing, comprising the steps of:a) storing first pieces of data information, second pieces of data information and plural combinations of pieces of address information and first pieces of flag information in first memory areas of a first memory, second memory areas of a second memory and third memory areas of a third memory, respectively; b) deciding a timing to be given for a data transfer to one of said plural channels; c) checking one of said third memory areas assigned to said one of said plural channels to see whether the first piece of flag information is indicative of a data transfer from said first memory to said one of said plural channels or from said second memory to said one of said plural channels; and d) instructing either first memory or second memory to transfer one of said first pieces of data information or one of said second pieces of data information to said one of said plural channels.
- 11. The method as set forth in claim 10, in which one of said first pieces of flag information indicates a validity of the second piece of data information to be transferred to said one of said plural channels, and said step c) includes the sub-steps ofc-1) reading said one of said first pieces of flag information together with associated one of said pieces of address information from said third memory, c-2) checking said one of said first pieces of flag information to see whether said second pieces of data information is valid or invalid, and c-3) making one of said first and second memories responsive to an address signal representative of said associated one of said pieces of address in formation.
- 12. The method as set forth in claim 10, in which said one of said first pieces of flag information further indicates an existence of the first piece of data information to be transferred to said one of said plural channels, and an idling pattern is transferred to said one of said plural channels in said step d) when said one of said first pieces of flag information indicates that said first piece of data information and said second piece of data information are absent and invalid, respectively.
- 13. An information storage medium for storing a set of programmed instructions representative of a method for transferring pieces of data information to plural channels through a time division multiplexing comprising the steps ofa) storing first pieces of data information, second pieces of data information and plural combinations of pieces of address information and first pieces of flag information in first memory areas of a first memory, second memory areas of a second memory and third memory areas of a third memory, respectively, b) deciding a timing to be given for a data transfer to one of said plural channels, c) checking one of said third memory areas assigned to said one of said plural channels to see whether the first piece of flag information is indicative of a data transfer from said first memory to said one of said plural channels or from said second memory to said one of said plural channels and d) instructing either first memory or second memory to transfer one of said first pieces of data information or one of said second pieces of data information to said one of said plural channels.
Priority Claims (1)
Number |
Date |
Country |
Kind |
10-210299 |
Jul 1998 |
JP |
|
US Referenced Citations (14)
Foreign Referenced Citations (7)
Number |
Date |
Country |
61-236297 |
Oct 1986 |
JP |
63-37754 |
Feb 1988 |
JP |
64-46398 |
Feb 1989 |
JP |
3-188796 |
Aug 1991 |
JP |
4-239254 |
Aug 1992 |
JP |
7-154883 |
Jun 1995 |
JP |
9-168057 |
Jun 1997 |
JP |