Method for managing logical channels for ISDN packet service

Abstract: A method for management of logical channels essen­ tial for packet communication between an ISDN and subscribers. An ISDN cannot maintain details on each of the number of pieces of data terminal equipment in each subscriber. Therefore, the data terminal equipment returns to the ISDN the logical channel group number (LCGN) which has been allotted to itself upon receipt of a package at the ISDN. The ISDN then refers to the logical channel management memory corresponding to the specified data terminal equipment using that LCGN, while the data terminal equipment refers to the logical channel management memory in its own terminal adapter, with both thus obtaining the information required for the start of the packet communication. Further, when forming in the ISDN a logical channel management memory corresponding to a newly established data terminal equipment, direct registration is performed directly between the ISDN and data terminal equipment automatically for the LCGN, etc.

Description: The present invention relates to a method for managing logical channels for packet service in an integrated service digital network (ISDN) used for packet communications. In an integrated service digital network, an ISDN logical channel management memory is provided at the ISDN side for logical channel management. Each subscriber has a number of pieces of data termial equipment, for example a package mode terminal. Each data terminal equipment is provided with a terminal adapter for handling packets with the ISDN according to a transmitting/receiving procedure and with logical management memory. Each data terminal equipment has the same number of logic channel numbers. A conventional data packet switched network and concentrator is known from DE-A-32 10 462. The system comprises terminals routed into the concentrator with a common circuit exchange. Each terminal is connected by dedicated line to the concentrator and uses its address code to obtain a virtual channel over the concentrator to exchange line into the packet switch exchange. Each terminal has its individual address which is added to the transmitted user data in form of a header. The concentrator uses a comparator circuit to respond and assign channels to a data sourse for the concentrator to the exchange by means of virtual channels selection. As the invention is related in particular to a D-channel and/or B-channel packet handling method in ISDN, it has to be understood that herefore a packet handler was used for packet processing interworking with a main exchange via the common channel signaling method. When seen from the exchange, logical channel number areas (LCN) are managed for each subscriber independently. That is, in the ISDN, LCN's are allotted in correspondence to the subscribers, e.g. 10 LCN's for one subscriber and 15 LCN's for another. The exchange side does not maintain information on how many LCN's are alloted to individual pieces of data terminal equipment in the case of each subscriber being provided with a number of pieces of data termial equipment. The omission by the exchange side of such management of characteristics of individual terminals is approved in CCITT recommendations. The exchange side need not know what the terminal equipment on the subscriber side is comprised of. In the final analysis, it is impossible to separately define logical channels for each data terminal equipment and impossible to allot the optimal number of LCN's for each data terminal equipment under the same access interface. This is disadvantageous when shifting to a full-scale ISDN and when the pieces of data terminal equipment of each subscriber become increasingly complicated. Further, each data terminal equipment must have the same number of LCN's and the "logical channel range" as spoken of in the CCITT recommendation X.25 for determining methods of use of LCN's must also be the same. It is therefore an object of the present invention to provide a method for managing logic channels for a packet service in integrated services digital network (ISDN) free from the restrictions of the above-mentioned conditions and separate allotement of LCN's for each of a number of pieces of data terminal equipment of each subscriber. It is a further object of the invention to provide a method for managing of logical channels for packet service in an ISDN wherein the ISDN side and terminal side can both be realized by some minor design modifications to current constructions. To solve the above object the method according to the invention is characterized in that a ISDN logical channel management memory is provided at the ISDN side for logical channel management, and wherein each subscriber has a number of pieces of data terminal equipment, each data terminal equipment being a paket mode terminal, each data terminal equipment being provided with a terminal adapter for handling packets with the ISDN according to a transmitting/receiving procedure and with a logical channel management memory, and each data terminal equipment having the same number of logic channel numbers. In a preferred embodiment the transmitting/receiving procedure is the call offering procedure based on CCITT X.31 at layer 3 of the ISDN. Furthermore it is preferred that it is indicated in a first memory area of the logical channel management area whether or not the data terminal equipment can perform packet communication. In a further preferred embodiment the number of idle virtual circuits is used as an indication in the first memory area and reduced by one each time a packet communication enable signal is sent to the ISDN. Moreover, it is preferred that the number of idle virtual circuits is reduced by one each time a termination request packet is received from the ISDN. Preferably, the registration of logical channel group number takes place in a second memory area of the logical channel management memory and virtual circuit attributes of the data terminal equipment are registered in a third memory area of the logical channel management memory. In a further prefered embodiment the state of logical channel numbers is registered by a busy/idle flag provided in said ISDN logical channel management memory, in particular the state of use, and addreses corresponding to the logical channel numbers being used are registered in a memory area, said addresses designating working areas of the logical channel memories in a main memory unit, said working areas storing control information necessary for call processing in packet communications. Preferably, one of the logical channel numbers flag idle is selected by the ISDN to be designated as a new logical channel number and is flagged busy. It is furthermore prefered when a data terminal equipment is newly installed in a subscriber, information regarding the logical channel group number alloted to said newly installed data terminal equipment and the number of logical channel numbers in the logical channel group number is notified to the ISDN and registered in said logical channel management memory. In another prefered embodiment the direct registration in the ISDN is performed by transmission of a specific registration message and at least the logical channel group number, virtual circuit attributes, and available number of virtual circuits are written in a facility information element of the registration message. Preferably, the virtual circuit management at the ISDN side is performed in a packet handler of the ISDN. BRIEF DESCRIPTION OF THE DRAWINGS The above object and features of the present invention will be more apparent from the following description of the preferred embodiments with reference to the accompanying drawings, wherein: Fig. 1 is a view illustrating an example of an ISDN to which the present invention is applied; Fig. 2 is a view illustrating a specific example of a known construction of a logical channel; Fig. 3 is a view explaining the principle of the process of the present invention; Fig. 4 is a view illustrating an example of the construction of a logical channel management memory 42 for each terminal adapter; Fig. 5 is a view illustrating an example of the construction of a logical channel management memory on the ISDN side; Fig. 6A is an arrow diagram showing the processing when originating a D-channel packet; Fig. 6B is an arrow diagram showing the processing when terminating a D-channel packet; Fig. 7 is a view illustrating an example of the format of a connect (LCGN) message in Fig. 6B; Fig. 8 is a flow chart of the termination processing performed by the packet handler in the ISDN; Fig. 9 is a flow chart for termination processing performed by a terminal adapter; Fig. 10 is a view illustrating an example of the format of a registration message; Fig. 11 is an arrow diagram showing an example of the automatic registration procedures; Fig. 12 is a flow chart showing the processing in a terminal adapter in automatic registration; and Fig. 13 is a flow chart showing the processing in a packet handler in automatic registration. DESCRIPTION OF THE PREFERRED EMBODIMENTS Before describing the embodiments of the present invention, the related art and the disadvantages therein will be described with reference to the related figures. Figure 1 is a view showing an example of an ISDN to which the present invention is applied. In the figure, the left side section set apart by the dotted line Q represents the data terminal equipment side 11, i.e., the subscriber side, and the right side the ISDN side 12. The data terminal equipment side 11 and ISDN side 12 are connected by subscriber lines 13. In the middle of the subscriber lines 13 are inserted network termination units (NT) 14, which terminate the physical layer of the subscriber lines. Each subscriber is provided with a plurality of pieces of data terminal equipment 15. On the other side, the ISDN side 12 is provided with, mainly, an exchange (EX) 21 and packet handler (PH) 22. The PH performs the interwork with the packet network. The exchange 21 is, for example, comprised of digital line cards (DLC) 24 which terminate the digital lines, a frame multiplexer (FMX) 25 which receives D-channel information from the DLC's 24, determines which permanent path 23 should be used for the packet handler 22, and performs frame multiplexing on the packet information for the path decided on, a line concentrator time switch (LTSW) which receives as input the D-channel information from the FMX 25 and B-channel information from the DLC's 24 and switches each, and a central processing unit (CPU) 27 which executes the ISDN protocol and controls the FMX together with a main memory (MEM) 28. Since it is assumed that each piece of data terminal equipment is an existing packet terminal, it is necessary to modify the protocol for the ISDN and therefore a terminal adapter (TA) 29 is provided. However, logical channels are important means for packet communication service, with a logical channel allotted to each of the permanent virtual circuits or the logical channels dynamically allotted like virtual calls. The main memory (MEM) 28 is used to reserve various call control information related to B-channel switching and D-channel permanent path. Figure 2 shows a specific example of a known construction of logical channels, comprised of a maximum 16 (LCGN-0 to LCGN-15) number of logical channel group number (LCGN) areas 31. Each LCGN area 31 consists of a maximum 256 number of LCN's 32 and therefore each subscriber can use logically the total 4096 (256 x 16) LCN's as desired. As mentioned above, when seen from the exchange 21, the LCN's are managed for each subscriber 41. That is, in the ISDN, LCN's are allotted in correspondence to the subscribers, e.g., 10 LCN's for a subscriber S1 and 15 LCN's for a subscriber S2. The exchange side does not maintain information on how many LCN's are allotted to individual pieces of data terminal equipment in the case of each subscriber being provided with a number of pieces of data terminal equipment. Thus, as mentioned above, the exchange side need not know what the terminal equipment on the subscriber side is comprised of. In the final analysis, it is impossible to separately define logical channels for each data terminal equipment and impossible to allot the optimal number of LCN's for each data terminal equipment. This is disadvantageous when shifting to a full-scale ISDN and when the pieces of data terminal equipment of each subscriber become increasingly complicated. Further, as mentioned above, each data terminal equipment must have the same number of LCN's and the "logical channel range" as spoken of in the CCITT recommendation X.25 for determining methods of use of LCN's must also be the same. Figure 3 is a view for explaining the principle of the method according to the present invention. In the figure, each subscriber 41 is provided with a logical channel management memory 42 for each terminal adapter. It defines the LCGN areas 31 (Fig. 2) used by the corresponding data terminal equipment 15 to avoid coincidence of the same, registers this in the memory 42, and registers the number of idle virtual circuits in the LCGN area in the memory 42. The defined LCGN and the number of LCN's used are notified in advance when a subscriber enters the ISDN and a corresponding area is secured in the ISDN logical channel management memory. On the other hand, when there is a request for termination in one piece of data terminal equipment at the subscriber, the subscriber side notifies the ISDN side of the LCGN which said data terminal equipment uses in accordance with the contents of the memory 42. The ISDN side, as mentioned above, does not have to be aware of each of the pieces of data terminal equipment in the subscribers and need only, at the time of entry, secure in the ISDN enough area for the LCGN for which use is desired and enough area for the necessary number of LCN's. For call origination of a data terminal equipment, the subscriber notifies the ISDN side of the LCGN which the data terminal equipment is using and then uses the LCGN. Conversely, in a request, for termination at a data terminal equipment, since the ISDN side cannot recognize the LCGN which the data terminal equipment uses, the subscriber notifies the ISDN side of the LCGN used, whereupon the ISDN sets an idle LCN in the LCGN area and starts the packet communication. At this time, the content of a first memory area in the memory 42 in the terminal adapter is viewed to confirm that packet communication is now possible and then the termination packet is received. Therefore, the work at the terminal adapter consists solely of notification of the LCGN to the ISDN side and updating of the contents of the first memory area in the memory 42. Achievement of the object of the present invention does not place that much of a load on the terminal adapter. That is, the terminal adapter does not completely terminate the packet layer, but just manages the memory area. When there is a termination request, just the first memory area is viewed, a judgment made on whether termination is possible, and a response made to the ISDN side with corresponding LCGN defined in the second memory area 52 in the memory 42. Further, since the memory 42 is provided to define the LCGN at the subscriber, no burden is placed on the ISDN either. Figure 4 is a view showing an example of the construction of a logical channel management memory 42 of each terminal adapter. In the figure, the aforementioned first memory area in the memory 42 is shown by reference numeral 51. Indication as to whether packet communication is possible is performed using the number of idle virtual circuits as a parameter. When the number of idle virtual circuits is not zero, packet communication is possible. Zero number of idle virtual circuits means all the LCN's for packet communication are being used. Note that each time a communication packet is received, the number of idle virtual circuits is reduced by 1 (-1). When one call is completed, it is increased by 1 (+1). The LCGN to be used is registered in the second memory area 52 in the memory 42. The number of idle virtual circuits in the LCGN is shown by the above-mentioned idle virtual circuit number memory area 51. Further, there is a third memory area 53 for showing the attributes of the virtual circuits of the LCGN. The attributes of the virtual circuits correspond to the LCN range of the CCITT recommendation X.25. For example, it is possible to define the following: 1) All LCN's in the LCGN are permanent virtual circuits. 2) All in the LCGN are exclusively for incoming calls. 3) All in the LCGN are for two-way communications. 4) All in the LCGN are exclusively for outgoing calls. Figure 5 is a view illustrating an example of the construction of a logical channel management memory on the ISDN side. The LCGN area 31 of Fig. 2 is comprised of the LCGN-0 to LCGN-15, each of which is provided with an area showing the virtual circuit attributes, an LCN busy/idle flag area, and an address area. The LCN busy/idle flag area has a number of flags showing the busy or idle state of the LCN's exactly corresponding to the number of LCN's. Each address area has written in it an address for accessing the logical channel memory at the right side of the figure. The logical channel memory is in the memory area (in the packet handler) and is a working area in which is registered control information required for actual call processing. Note that the control information is registered upon entry into the ISDN. Figure 6A is an arrow diagram showing the processing when originating a D-channel packet. Figure 6B is an arrow diagram showing the processing when terminating a D-channel packet. In Fig. 6A, the three vertical lines indicate the data terminal equipment (DTE), terminal adapter (TA), and ISDN, respectively. The ISDN is, specifically, the packet handler. In the figure, CR at the top left is a call request. The data terminal equipment is allotted, for example, "LCGN = i". The terminal adapter updates the logical channel management memory. That is, it reduces the number of idle virtual circuits (number of available virtual circuits) by 1. Subsequently, it notifies the call request (CR) to the packet handler in the ISDN. The packet handler checks the logical channel management memory 31 (Fig. 5) to confirm if there is an available logical channel and notifies the call termination (CN) through the terminal adapter to the data terminal equipment. At this time, the packet handler updates the busy/idle flag in the memory 31. Therefore, the data terminal equipment can originate a packet. In Fig. 6B, upon termination of the D-channel, the packet handler of the ISDN first starts the call offering procedure (CCITT recommendation X.31). The message at that time is UI [SET UP]. UI is an unnumbered information frame at layer 2 (CCITT Q.932). Receiving UI, the terminal adapter returns I [CONNECT (LCGN = i)] to the packet handler. I is an information frame at layer 2 (CCITT Q.921). One of the characteristics of the present invention is the insertion of this LCGN = i. The packet handler checks the logical channel management memory 31, selects an idle LCN, and rewrites a corresponding bit in the busy/idle flag as busy. Using the selected LCN, an I [CONNECT ACK] message (ACK: acknowledge) is returned to the terminal adapter. The terminal adapter further waits for the CN packet to be transmitted. Finally, I'[CN]' is transmitted from the packet handler. The apostrophe is given since a previous procedure corresponded to layer 3 of the ISDN (CCITT Q.931) and now layer 3 of the packet (CCITT X.25) is being shifted to. Receiving the I'[CN]' message, the terminal adapter updates the memory 42. That is, it reduces the number of idle virtual circuits (number of available virtual circuits) by 1. Figure 7 is a view illustrating an example of the format of a connect (LCGN) message in Fig. 6B. In the facility information in the figure is accommodated LCGN information which is returned to the packet handler, a characteristic of the present invention. Figure 8 is a flow chart of the termination processing performed by the packet handler in the ISDN. Note that the "no" route in the second step is normally almost never activated, since this check must have already be done at terminal side. Figure 9 is a flow chart for termination processing performed by the terminal adapter. When there is no terminal (compatible terminal) which can receive a terminated call or when the virtual circuit attributes are not suitable, the incoming call is neglected. Returning to Fig. 3, exchange of a registration message (solid line) is newly performed between the subscriber 41 and the ISDN 12. In the working of the present invention, in the ISDN, it is essential that there be an accurate logical channel management memory 31 in each subscriber. Therefore, when a data terminal equipment is newly installed in some subscriber, the characteristics of the newly established data terminal equipment must be registered in the ISDN. Clearly, it would be very convenient if this registration could be directly performed by user. Therefore, a technique for direct registration is proposed. Figure 10 is a view showing an example of the format of a registration message. The elements of the facility information in the message are shown in greater detail. Especially important among the facility information elements are the LCGN allotted to the newly established data terminal equipment, the virtual circuit attributes, and the number of available virtual circuits. Figure 11 is an arrow diagram showing an example of the registration procedure. The meaning of the abbreviations in the figure are as follows: FAC means facility information elements, DISP display information elements, INFO information message, and RELEASE COM release complete message. Figure 12 is a flow chart showing the processing in the terminal adapter in the registration. As shown in the figure, the terminal adapter sends the LCGN information to the packet handler, receives an "accept" signal from the packet handler, then completes the contents of the memory 42 in it (Fig. 4). Figure 13 is a flow chart showing the processing in a packet handler in registration. As shown in the figure, packet handler confirms that there is space in the logical channel management memory 31 (Fig. 5), then newly allocates a busy/idle flag in the memory 31, and initializes the content of the said busy/idle flag. Later, it sends back an "accept" signal to the newly established data terminal equipment. Here, the registration procedure ends and the newly established data terminal equipment is substantially activated. As explained above, according to the present invention, it is possible to manage logical channels separately, even to each of the plurality of pieces of data terminal equipment connected to the subscribers, without any major design modifications on either the terminal adapter side or ISDN side.

Claims: A method for managing logical channels for packet service in an integrated services digital network (ISDN) used for packet communications, wherein an ISDN logical channel management memory (28,31) is provided at the ISDN side (12) for logical channel management, and wherein each subscriber (41) has a number of pieces of data terminal equipment (DTE, 15), -- each data terminal equipment (15) being a packet mode terminal, -- each data terminal equipment (15) being provided --- with a terminal adapter (TA, 29) for handling packets with the ISDN according to a transmitting/receiving procedure and --- with a logical channel management memory (42) and -- each data terminal equipment (15) having the same number of logical channel numbers (LCN), said method being characterized in that a logical channel group number (LCGN) and the number of logical channel numbers, used by the respective data terminal equipment, are defined and registered in said logical channel management memory (42) of the corresponding terminal adapter (29), and the defined logical channel group number and the number of used logical channel numbers are notified to the ISDN side by said terminal adapter (29), when a subscriber (41) enters the ISDN, by inserting the defined logical channel group number (LCGN) into the transmitting/receiving procedure, and securing the defined logical channel group number in the ISDN logical channel management memory (28) in advance for each piece of data terminal equipment (15). Method according to claim 1, wherein said transmitting/receiving procedure is the call offering procedure based on CCITT X.31 at layer 3 of the ISDN. Method according to claim 1 or 2, wherein it is indicated in a first memory area (51) of said logical channel management area (42) whether or not said data terminal equipment (15) can perform packet communication. Method according to claim 3, wherein the number of idle virtual circuits is used as an indication in said first memory area (51) and reduced by 1 each time a packet communication enable signal is sent to the ISDN. Method according to claim 4, wherein the number of idle virtual circuits is reduced by 1 each time a termination request packet (CN) is received from the ISDN. Method according one of the preceding claims, wherein the registration of said logical channel group number takes place in a second memory area (52) of said logical channel management memory (42) and virtual circuit attributes of said data terminal equipment are registered in a third memory area (53) of said logical channel management memory. Method according one of the preceding claims, wherein the state of logical channel numbers is registered by a busy/idle flag provided in said ISDN logical channel management memory (31), in particular the state of use, and addresses corresponding to the logical channel numbers being used are registered in a memory area, said addresses designating working areas of the logical channel memories in a main memory unit, said working areas storing control information necessary for call processing in packet communications. Method according to claim 7, wherein by the ISDN one of the logical channels numbers flagged idle is selected to be designated as a new logical channel number and is flagged busy. Method according to one of the preceding claims, wherein when a data terminal equipment (15) is newly installed in a subscriber (41), information regarding the logical channel group number allotted to said newly installed data terminal equipment and the number of logical channel numbers in the logical channel group number is notified to the ISDN and registered in said logical channel management memory. Method according to claim 9, wherein the direct registration in the ISDN is performed by transmission of a specific registration message and at least the logical channel group number, virtual circuit attributes, and available number of virtual circuits are written in a facility information element of the registration message. Method according to one of the preceding claims, wherein the virtual circuit management at the ISDN side is performed in a packet handler (PH) of the ISDN.

Inventors: HIDEO YUNOKI, HIDEO, YUNOKI
Applicants: FUJITSU LTD, FUJITSU LIMITED
Application year: 1988
Main classification: H04Q11
IPC codes: H04Q11