Method for automatically adapting and configuring the speed of an ISDN terminal adapter to either 56 KBPS or 64 KBPS

Abstract: Method for automatically adapting and configuring the speed of a terminal adapter (30) to the rate 56Kbps or 64 Kbps which is used by a calling adapter (20). After the sending in the called terminal adapter (30) of the CONNECT message which is sent to the ISDN NETWORK in accordance with CCITT Q.931 Recommendations, the called TA (30) is initialized to a rate of 64 Kbps and then continuously transmits (204) an alignment pattern ALL_ONES while starting a first timing process (T1). This first timing process will cause the called TA to switch to a 56Kbps speed if the 64 Kbps validation process does not succeed. The method then involves the step of checking (206) the reception of a ALL_ZEROS pattern coming from said calling adapter (20) before the end of said first predetermined period (T1). If this case, a 64 Kbps validation process will be performed which comprises the checking whether a ALL_ONES pattern is received within a second period (T2), in which case the 64 Kbps rate configuration will be validated. On the contrary, if the ALL_ZEROS pattern is not received at the end of the first period (T1), a 56 Kbps rate validation process is initiated which is based on the detection of a so-called 56 Kbps pattern within the data flow. The 56 Kbps pattern is defined as being a number of n bytes with the first bit of every byte being set to a one. Additionally, the 64Kbps validation process involves the checking (210) of the continuous receiving of said ALL_ZEROS pattern during said first period (T1) as long as the ALL_ONES pattern is not yet received, and at the end of said first period (T1) validating (209, 213) the 64Kbps rate.

Description: Technical field of the invention This invention relates to data transmission and more particularly to equipments which are designed to be connected to an Integrated Services Digital Network (ISDN). Background art ISDN is expected to be a rapidly expanding branch in the data communicating field as it allows the possibility of high-rate communications of the near future, particularly for sending voice, data etc... Figure 1 shows an example of ISDN connection. A calling terminal adapter 20 allows the connection of a Data Terminating Equipment (DTE) to I.S.D.N. telecommunication network 50. In the considered example, a calling terminal adapter 20, assumed to be a telecommunication equipment located within the United States of America is designed to be connected to the well-known AT&T ACCUNET network. With this assumption, Terminal adapter 20 is capable of handling 56Kbps links and utilizes the well known I.S.D.N numbering plan. A second Terminal Adapter 60 is also connected to the network 50 and is assumed to be an I.S.D.N. terminal adapter capable of handling 64Kbps. At last, a third terminal adapter 30 allows the connection of a DTE 40 to the network. Therefore, it appears that when one call is received by one terminal Adapter, e.g. adapter 30, the latter needs to recognize the rate and accordingly adapts its own speed to that used by the calling party. Indeed, assuming that adapter 20 is the calling one, the called adapter 30 needs to be adapted to a 56Kbps rate. Conversely, in the case where the calling adapter is adapter 60, the called adapter needs to switch its operating speed to a rate of 64Kbps. In the prior art, the switching between the two operating rates was performed manually by the user prior to the call or, a user was compelled to buy a series of two distinctive equipments, each one being dedicated to one particular speed. EP 0 461 859 A discloses a Facsimile terminal that communicates with an opposite facsimile terminal, even if the communication speed of the facsimile terminal is different from that of the opposite terminal. GLOBECOM'89, Session 54, Paper 3, Vol .3, 27.11.1989, Texas, US; pages 1-7; W.D.Grover et al. discloses hardware and control protocols circuits that automatically maximize the transmission rate of individual subscriber loops. Therefore, a need has appeared in the telecommunication field for an ISDN equipment which is capable of automatically recognizing and adapting its own speed to either 56Kbps or 64 Kpbs. Summary of the invention The problem to be solved by the present invention is to provide an ISDN terminal adapter which is capable of recognizing the rate used by a calling adapter, either 56Kbps or 64 Kbps, and adapts its own speed to this rate. This problem is solved by the method (and corresponding apparatus) according to the present invention for automatically adapting and configuring the speed of a terminal adapter (TA) being called to the rate 56Kbps or 64 Kbps which is used by a calling adapter. After the sending of the CONNECT message to the ISDN network in accordance with CCITT Q.931 Recommendations, the called TA is initialized to a rate of 64 Kbps and then, continuously transmits (204) an alignment pattern ALL_ONES while starting a first timing process (T1). This first timing process will cause the called TA to switch to a 56Kbps speed if the 64 Kbps validation process does not succeed at the end of the first period T1. The method involves the step of checking (206) the reception of a ALL_ZEROS pattern coming from said calling adapter (20) before the end of said first predetermined period (T1). If this case, a 64 Kbps validation process is performed which comprises the checking whether a ALL_ONES pattern is actually received within a sec-ond period (T2) of a second timing process. Depending on the success of this checking, the validation of the 64 Kbps rate will be confirmed. On the other hand, if the ALL_ZEROS pattern is not received at the end of the first period T1, the called TA initiates a 56Kbps rate validation process which is based on the continuous detection of a so-called 56 Kbps pattern in the data flow. The 56 Kbps pattern is assumed to be detected on the occurrence of a sequence of n bytes, with each byte having its first bit being set to a ONE. Preferably, the 64Kbps validation process involves the checking (210) of the continuous receiving of said ALL_ZEROS pattern during said first period (T1) as long as the ALL_ONES pattern is not yet received, and at the end of said first period (T1) validating (209, 213) the 64Kbps rate configuration. This avoids the failing of the rate determination process in some circumstances involving long distance calls where the transmission of the ALL_ONES pattern to the calling TA may require a great deal of time which therefore might delay the receiving of the ALL_ONES pattern in the called adapter. In a more preferred embodiment of the invention, the 56 Kbps rate validation process comprises the steps of starting a third timing process based on a third period T3 and checking the detection of said 56Kbps pattern within this third period T3. If this 56 Kbps pattern cannot be detected at the end of this third period T3, the rate configuration is switched back to the 64 Kbps rate configuration. However, in the contrary case, a fourth period T4 is used in order to check whether the 56 Kbps pattern remains present in the data flow for at least the fourth period T4 before the final validation of the 56 Kbps is performed. Description of the drawings Figure 1 shows an example of an ISDN connection Figure 2 and 3 are flow charts illustrating the basic steps which are involved in the method according to the present invention. Description of the preferred embodiment of the invention The process which is used in accordance with the present invention for determining which speed is used by a calling adapter, is initiated during the establishment of the link between the two terminal adapters, and more accurately during the signalling phase prior to any communication of data. It should be noticed that such a signalling phase is well-known to the skilled man and will not be described with further details. The reader will find more information in the appropriate CCITT Recommendations, and particularly in the Fascicule VIII.2, Rec. X.30. Basically, the detection of the right rate which is used by the calling adapter is achieved by an appropriate use of a combination of timing processes which will be performed in the OSI layer 1 procedures. Therefore, this allows the possibility to carry out the desired speed detection even in the case where the particular network to which is connected the Terminal Adapter being considered does not provide any information element concerning the speed. With respect to figures 2 and 3, there is described the succession of steps which are performed for achieving the rate detection. The process is initiated in step 201 on the occurrence of a CONNECT message sent by the called adapter 30. Then an appropriate software routine or primitive, called SYNCHRO REQUEST, which is performed within terminal adapter 30 is called, step 202. It should be understood that the calling process of the latter routine will result in the execution of the technical steps which will be described hereinafter with reference to figures 2 and 3. Then step 203, terminal adapter 30 initializes its own registers and its own operating speed to a 64 Kbps. Then, step 204 and in accordance with the CCITT X.30 Recommendations, the terminal adapter 30 performs the continuous sending of the alignment pattern ALL_ONES on the B-Channel. Simultaneously with the beginning of the latter sending of the ALL_ONES pattern, the terminal adapter 30 starts an internal timing process in step 205. As it will appear hereinafter, this timing process will be used for switching the rate detcction process to a 56Kbps when no positive result occurs after a predetermined period T1. Then, step 206, a test is performed to determine whether the ALL_ZERO pattern is received as expected within the above mentioned predetermined period T1. If the ALL_ZERO pattern is actually received by the the TA 30 on his allocated B-channel, then the process proceeds to step 207 where the terminal adapter starts a second internal timing process. This timing process will be used for confirming that the received pattern is actually a ALL_ZERO pattern. In the reverse case, the process proceeds to step 302 where the rate detection process is switched to a 56 Kbps as will appear below. Step 207 and as mentioned above, the terminal adapter 30 starts a second predetermined timing process T2 which will be used for confirming the receiving of ALL_ONES coming from the Terminal Adapter 20 on the allocated B-channel which, in accordance to the above mentioned CCITT X.30 recommendations, switches to the transmission of a ALL_ONES pattern as soon as it receives the ALL_ONE pattern which was generated in the called terminal adapter (30) in step 204. From this instant adapter 20 continuously transmits the ALL_ONES pattern. Then, step 208, a test is performed to determine whether the terminal adapter 30 has received the first ONES elements of the continuous ALL_ONES synchronization pattern generated by the terminal adapter 20 within the above mentioned predetermined period T2. If this case, the process proceeds to step 213 where the 64kbps synchronization is confirmed. In the reverse case, however, where the ALL_ONES pattern is still expected, a test is performed in step 209 to determine whether the above mentioned T1 period is elapsed, in which case the 64Kbps synchronization process is confirmed. It should be noticed that this case generally occurs for international telecommunications which requires a non-negligible delay before the called terminal adapter 30 receives the ALL_ONES synchronization pattern coming from the calling party. In the timing period T1 has not yet elapsed, a test is performed in step 210 to determine whether the ALL_ZEROS pattern is received within the predetermined period T2. If the latter ALL_ZEROS is received, the process stops the second internal timing process T2, in step 212, and then proceeds to step 207 again for the initiation of a new confirmation process. In the reverse case, i.e. if the ALL_ZEROS is not received during the period T2, the process proceeds to step 206 again. This loop is used for eliminating the occurrence of patterns which might be interpreted by the terminal adapter 30 as being the expected ALL_ZEROS pattern and which are not confirmed. Now, it will be described the process which is performed after the test 206 in the case where the first predetermined period T1 is elapsed and the expected ALL_ZEROS pattern has not been received. As mentioned above, the process proceeds to step 302 where the terminal adapter 30 is initialized in a 56Kpbs. Then, step 303, a third timing process based on a period T3 is started. As it will appear below, this third period is used for determining the maximum time which will be allowed for confirming the 56 Kbps configuration. In step 304, an analysis is performed on the data received on the allocated B-channel to ascertain that the received framed is structured on the basis of a 56 Kbps. To achieve this, the received framed is checked on every first bit of each byte composing the frame. If the frame appears to be containing a number of n bytes, each one having a first bit being set to a ONE, the latter frame will be considered by the terminal adapter 30 has comprising a 56 bpbs pattern. Therefore, in step 304, a test is performed to determine whether the above mentioned 56Kbps pattern is received during the third period T3. In this case, the process proceeds to step 306 where an additional confirmation will be performed in order to ascertain that the 56Kbps pattern is still received during a fourth period T4. If this is true, then the 56kpbs assumption can be confirmed and the corresponding initialization is validated, step 307. If the 56Kbps pattern has not been received after the elapse of the T3 period, the process proceeds to step 311 where the terminal adapter 30 is switched back to a 64 Kbps configuration. Therefore, it should be noticed that the method in accordance with the present invention processes the 56Kbps pattern in order to distinguish the actual transmission rate which is effective. This results in the following advantage: no further information, particularly provided by the higher layers is needed to provide the rate adaptation as the lower physical layer is sufficient to achieve this result. In the preferred embodiment of the invention, the timing T1, T2, T3 and T4 are respectively set on a period of 3 seconds ; 80 milliseconds ; 2,5 seconds and 1 second approximately.

Claims: Method for automatically adapting and configuring the speed of a terminal adapter (30) to the rate 56Kbps or 64 Kpbs which is used by a calling adapter (20), said method involving the steps of: detecting (201) in the called terminal adapter (30) the sending of a CONNECT message to the ISDN network in accordance with CCITT Q. 931 Recommendations; initializing (203) the speed of said called adapter to a rate of 64 Kpbs; continuously transmitting (204) an alignment pattern ALL_ONES to said calling adapter (30) and starting a first timing process (T1); said first timing process causing said called adapter to switch to a 56 Kbps speed after a first predetermined period (T1); checking (206) the reception of a ALL_ZEROS pattern coming from said calling adapter (20) before the end of said first predetermined period (T1); and responsive to the reception of said ALL_ZEROS pattern within said first timing period (T1), initiating a 64 Kbps rate validation process comprising the step of starting a second timing process (T2) and checking (208) the reception of a ALL_ONES pattern within said second period (T2) in which case the 64 Kbps rate is confirmed; and responsive to the lack of reception of said ALL_ZEROS pattern within said first timing period (T1), initiating a 56 Kbps rate validation process based on the detection of a 56 Kbps pattern in the data flow, said 56 Kbps pattern including a plurality of bytes with the prescribed format, with each first bit being set to a one. Method according to claim 1 therein said 64 Kbps rate validation process further comprises the steps of: checking (210) the continuous receiving of said ALL_ZEROS pattern during said first period (T1) as long as the ALL_ONES pattern is not yet received, and at the end of said first period (T1) validating (209, 213) the 64 Kbps. Method according to claim 1 or 2 wherein said 56 Kbps rate validation process comprises the steps of: initializing the speed of said called adapter (30) to a rate of 56 Kbps; starting a third timing process based on a third period (T3) and checking (304) the detection of said 56 Kbps pattern within said third period (T3), said 56 Kbps pattern is being defined as a succession of n bytes with each byte having its first bit set to ONE, and responsive to the absence of detection of said 56 Kbps pattern within said third period (T3), switching back (311) the speed of said called adapter to a 64 Kbps rate; and responsive to the detection of said 56 Kbps pattern within said third period (T3), determining (306) whether said 56 Kbps pattern is still present in the data flow during a fourth period (T4) before validating the 56 Kbps rate. Terminal Adapter (30) comprising means for automatically adapting and configuring the speed to the rate 56Kbps or 64 Kpbs which is used by a calling adapter (20), characterized in that it comprises: means for detecting (201) in the called terminal adapter (30) the sending of a CONNECT message to the ISDN network in accordance with CCITT Q. 931 Recommendations; means for initializing (203) the speed of said called adapter to a rate of 64 Kpbs; means for continuously transmitting (204) an alignment pattern ALL_ONES to said calling adapter (30) and starting a first timing process (T1); said first timing process causing said called adapter to switch to a 56 Kbps speed after a first predetermined period (T1); means for checking (206) the reception of a ALL_ZEROS pattern coming from said calling adapter (20) before the end of said first predetermined period (T1); and means, responsive to the reception of said ALL_ZEROS pattern within said first timing period (T1), for initiating a 64 Kbps rate validation process comprising the step of starting a second timing process (T2) and checking (208) the reception of a ALL_ONES pattern within said second period (T2) in which case the 64 Kbps rate is confirmed; and means, responsive to the lack of reception of said ALL ZEROS pattern within said first timing period (T1), for initiating a 56 Kbps rate validation process based on the detection of a 56 Kbps pattern in the data flow, said 56 Kbps pattern including a plurality of bytes with the prescribed format, with each first bit being set to a one. Apparatus according to claim 4 therein said means for performing said 64 Kbps rate validation process further comprises: means for checking (210) the continuous receiving of said ALL_ZEROS pattern during said first period (T1) as long as the ALL_ONES pattern is not yet received, and at the end of said first period (T1) validating (209, 213) the 64 Kbps. Apparatus according to claim 4 or 5 wherein said means for performing said 56 Kbps rate validation process comprises: means for initializing the speed of said called adapter (30) to a rate of 56 Kbps; means for starting a third timing process based on a third period (T3) and checking (304) the detection of said 56 Kbps pattern within said third period (T3), said 56 Kbps pattern is being defined as a succession of n bytes with each byte having its first bit set to ONE, and means, responsive to the absence of detection of said 56 Kbps pattern within said third period (T3), for switching back (311) the speed of said called adapter to a 64 Kbps rate; and means, responsive to the detection of said 56 Kbps pattern within said third period (T3), for determining (306) whether said 56 Kbps pattern is still present in the data flow during a fourth period (T4) before validating the 56 Kbps rate.

Inventors: CHAUFFOUR PASCAL, FROISSART MICHEL, VINOIT DOMINIQUE, CHAUFFOUR, PASCAL, FROISSART, MICHEL, VINOIT, DOMINIQUE
Applicants: IBM, INTERNATIONAL BUSINESS MACHINES CORPORATION
Application year: 1994
Main classification: H04Q11
IPC codes: H04L29, H04Q11