Abstract:
Buffer memory systems are utilized in communication systems for the transmission of data that arise irregularly over time. These data are stored in memory areas and are subsequently transmitted block-by-block via a data line. The capacity limit of those memory areas is often exhausted, even though an adequate amount of free memory space is still present in the buffer memory system. A buffer distribution method, which is based on a combination of a fixed and of a dynamic buffer allocation method, solves this problem.

Description:
BACKGROUND OF THE INVENTION 
     The complexity of communications systems has steadily increased during development processes. This is particularly true because the communication needs as well as the modes of communication of man have fundamentally changed as a consequence of new organizational structures and, consequently, new performance features and services must be implemented in the communication systems. For example, communication systems that are utilized for office communication have thus opened up possibilities for the connected subscribers in recent years to communicate with one another on different levels upon utilization of a multitude of performance features and services. The &#34;VOICE&#34; mode of communication existing up to then thus was expanded by performance features such as &#34;REDIAL&#34;, &#34;CALL REROUTING&#34;, &#34;ABBREVIATED DIALING&#34;, etc., and new services such as &#34;TELEFAX&#34;, &#34;VIDEO TRANSMISSION&#34;, etc. have been introduced. Offering new performance features and services, however, usually requires an extensive and detailed interplay of the procedure residing in the respective communication systems. With an increasing degree of complexity for the procedures being executed, however, this interplay becomes more and more intractable. Problems thus arise in practice that make a faultless communication between two or more subscribers more difficult. High demands must thus be made of communication systems with respect to their faultless operation. The corresponding parameters have been defined world-wide by international standardization committees--for example, the CCITT--whereby special significance is accorded to the parameter of &#34;probability of failure&#34;. These demands made of communication systems, however, thereby generally differ from those that are made of traditional data processing systems. Consequently, the interplay of the procedures of a communication system also occurs fundamentally differently than in a data processing system. 
     The procedures of the switching technology are accorded special significance insofar as they form the devices for the performance features and services. In order to be able to influence and control this interplay from the outside, data processing systems in the field of office communications are connected to the communication systems employed therein via appropriate connecting lines. Such communication systems employed for office communication purposes are already known from, among others, two articles in the publication &#34;ISDN im Buero &#34;, special edition of &#34;Telcom Report&#34; and Siemens-Magazin &#34;COM&#34; of Siemens AG, Berlin and Munich, 1985, (ISBN 3-8009-3846-4); &#34;Hardware-Struktor des HICOM-Kommunikationscomputers&#34;, pages 58-66; &#34;HICOM-SOFTWARE von Heute fuer Morgen&#34;, pages 67-75, and from German Published Applications DE 37 27 952 A1, DE 34 07 215 A1, all incorporated herein. Furthermore, systems wherein data processing systems are connectable to communication systems of the type set forth above are known from U.S. Pat. No. 5,007,080 as well as from the article by M. Doll &#34;Computer Supported Telephony Application--Telekommunikation und DV im Duett&#34;, in NTZ, Vol. 43 (1990), No. 11, pages 820-824, both incorporated herein. 
     On the one hand, such data processing systems are used as storage systems for specific switching-oriented data of the communication system such as, for example, call charge data, subscriber data, etc. On the other hand, extensive procedures and processes that offer the user possibilities of intervening in the switching-oriented procedures of the communication system run on those data processing systems. It is particularly the presentations in the last-cited prior art that disclose a plurality of examples thereof. Thus, performance features and services can be linked both with one another as well as with external procedures, i.e. procedures running in those connected data processing systems, and can have their operational sequence automated. Such automated operational sequences are generally referred to as applications or functions. The programs that realize an application are deposited on the connected data processing system. The performance features that can be realized by the communication system are stored in the communication system itself and each have a respective external interface. As a result of their modular structure, the performance features can be selected and used by the applications of the data processing system via these interfaces. Thus, for example, the applications can access an electronic telephone book stored in the data processing system and can select the performance feature of &#34;SELECT&#34; in the communication system in accordance with their internal algorithm. Dependent on the respective result (for example, B-subscriber is busy), further subscribers deposited in the electronic telephone book can be selected in an alphabetical sequence upon utilization of this performance feature. The &#34;TELEMARKETING&#34; application or function represents an example of such automated operational sequences. TELEMARKETING represents an especially high-capacity function of marketing support for a customer consultant. 
     Thus, in the case of an intentional telephone contact by the customer consultant, the respective customers are selected according to a customer list deposited in the connected data processing system, and the telephone contact is set up between consultant and customer. Parallel thereto, specific, customer-associated data such as, for example, address, age, sales in the most recent fiscal year, etc. are displayed via a data display means at the work station of the customer consultant or service representative. When the terminal equipment of the customer, however, is busy, a renewed, automatic dialing by the system occurs at regular chronological intervals. The example of the &#34;TELEMARKETING&#34; function shows the interplay of the procedures of the data processing system with the switching-oriented procedures of the communication system. Information data as well as status data are thus bidirectionally exchanged via the trunks existing between the communication system and the data processing system. The data transmission usually occurs according to an acknowledgement method (&#34;handshaking&#34;) universally known in the technology. 
     What are referred to as buffer memories are generally introduced in these systems, given data transmission problems. These are set forth in detail, for example, in the Enzyklopaedie Naturwissenschaft und Technik, Landsberg am Lech, 1980 Verlag Moderne Industrie, page 3469 (ISBN 3-478-41830-5) or P. R. Gerke, &#34;Rechnergesteuerte Vermittlungssysteme&#34;, Berlin-Heidelberg-New York, 1972 (ISBN:3-540-05770-6), page 184, incorporated herein. What are thereby involved are memory systems for the chronological coordination of communication processes. A coordination is particularly required when data arise irregularly, and thus in an unpredictable time span. In this case, those data are collected in a buffer memory and are subsequently transmitted block-by-block via the respective trunk. 
     One example of irregularly arising data are status data, particularly status data of subscriber terminal equipment. An example of such status data is that the subscriber terminal equipment is a busy, free, initiation of a call request on the part of the subscriber terminal equipment. The status data provide information about the status or about status changes of the subscriber terminal equipment connected to a communication system, and thus arise irregularly in time and potentially in great numbers. For example, they are analyzed and evaluated by the &#34;TELEMARKETING&#34; function. For this purpose, they are transmitted via the trunk to the data processing system since the analysis and evaluation processes of the status data occur on the basis of procedures running thereat. Buffer memories are arranged at the ends of the trunk for the chronological coordination of the transmission processes. The status data arising in a chronologically irregular sequence are collected in the buffer memory and are subsequently transmitted block-by-block via the trunk. 
     In the prior art, the transmission processes are realized such that memory capacity in the buffer memory--in the form of sub-areas--is permanently allocated to the functions running in the data processing system--such as, for example, the &#34;TELEMARKETING&#34; function--, and the access of those functions to sub-areas of the buffer memory is thus enabled. What is problematical, however, is that those status data must be transmitted in extremely great numbers at times of high traffic load, and consequently the capacity of the sub-areas of the buffer memory is very rapidly exhausted. In this case, procedures of the dependability system must be provided that see to it that the trunk is immediately deactivated since, given overflow, only a part of the status data are transmitted, and thus an incomplete picture of the subscriber terminal equipment would arise in the data processing system. It also turns out that only some sub-areas have rapidly proceeded to their capacity limit in peak load times, whereas others still have adequate storage capacity available. 
     The abort of a connection is necessarily involved with a loss of all status data. As a consequence, this means that the procedures and functions running on the data processing system no longer have any information about statuses or status changes of the subscriber terminal equipment connected to the communication system. 
     The status data are usually transferred to an external storage medium so that they are available again at a later time via corresponding loading procedures. In the prior art, the buffer memory is usually dimensioned with a liberally dimensioned reserve in relationship to the arising data sets, an overflow being thus usually avoided. Narrow economical limits, however, are placed on such a liberally designed dimensioning. In practice, this means that even a buffer memory equipped with a reserve can no longer handle the data arising in peak load times and thus has its capacity exhausted--even though correspondingly slower than a buffer memory without reserve. Ultimately, a deactivation of the trunk can also not be avoided here. The outage of the trunk, of course, represents an undesirable limitation of the operating mode of the communication system in terms of its interplay with the data processing system. 
     SUMMARY OF THE INVENTION 
     It is an object of the invention to specify a method for a communication system which divides memory capacity present in a buffer memory system arranged therein in such a way that an overflow of the buffer memory system is precluded to a larger degree, or is largely avoided. 
     According to the invention, a method is provided for buffer allocation in a communication system. The communication system is connected to a data processing system via a trunk line. In the data processing system, applications are run or executed. These applications comprise first applications which require memory locations and a buffer memory system at a defined execution or running time, and second applications that do not require memory location in the buffer memory system at the defined execution time, but at a later execution time. The buffer memory system is provided in the communication system and is connected to the trunk. Data, and particularly status data of the communication system are collected in the buffer memory system. Memory locations in the buffer memory system are allocated via a fixed buffer allocation function to said second applications at said defined execution time. The fixed buffer allocation function assigns first sub-areas of the buffer memory system to the second applications. In combination therewith a dynamic buffer allocation function is provided in combination with the fixed buffer allocation function. This dynamic buffer allocation function assigns second sub-areas of the buffer memory system to said first applications. 
     What is critical for the invention is a combination of a fixed and of a dynamic buffer allocation method. The fixed buffer allocation method contributes thereto such that each of the functions running or executing in the data processing system has memory capacity in the form of sub-areas in the buffer memory system allocated to it at every point in time. This has the particular advantage that memory capacity is available for every function at all times. The dynamic buffer allocation method contributes thereto such that only the functions running in the data processing system receive memory capacity in the form of sub-areas in the buffer memory system when they in fact require it. The combination of the two buffer allocation methods thereby does justice to the different needs of the respective functions running in the data processing system. The combination can be defined in such a way that the fixed or the dynamic buffer allocation method is differently weighted, dependent upon whether the fixed or the dynamic buffer allocation method should predominate. To what extent the point of view of the currently required memory capacity or the reserve should take effect is also thus taken into consideration. 
     The combination is particularly formed by the average of the two methods. 
     The averaging of the two allocation methods occurs in the same way as in the averaging of fixed numbers. The average m thus derives for the two functions f 1  and f 2 , i.e. two functions at m=1/2×(f 1  +f 2 ) in this case. 
     The advantage of such an averaging of the two buffer allocation methods is that an optimum between the dynamic assigning of memory capacity for the functions that require memory capacity at the moment and the reserve for the functions that do not yet require any memory capacity at the moment results. 
     The invention shall be set forth in greater detail below with reference to an exemplary embodiment shown in the figures, as well as with reference to a table serving the purpose of better understanding. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a block diagram of a modularly structured communication system KS connected via a trunk L to a data processing system, and wherein a buffering system according to the invention is provided in the communication system; and 
     FIG. 2 is a table for explaining buffer allocation according to the invention. 
    
    
     DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     FIG. 1 shows a modularly structured communication system KS that is connected via a trunk L to a data processing system DVA. Subscriber terminal equipment B.sup.(1) 1  . . . B.sup.(N) 1 , A.sup.(1) 1  . . . A.sup.(N) 1  that are employed for internal office communication purposes as well as video display terminals PCKS are connected to the communication system KS. Furthermore, external subscriber terminal equipment Ba are brought in via interface elements S. What are to be particularly understood by external subscriber terminal equipment are the terminal equipment of the public communication networks. The communication system KS is composed of a switching unit SWU as well as of an integrated server ADS. The switching unit SWU comprises a central controller CC, whereas the integrated server ADS is provided with a sub-controller TS that collaborates with the central controller CC. The server ADS is responsible for the editing of the system procedures needed for the operation of the communication system KS. The buffer memory P is located in the integrated server ADS. The trunk L at the output side is connected to the buffer memory P. This trunk L forms the connection to a data processing system DVA. The functions F 1  . . . F x , F y  . . . F N  --referred to as applications below--are deposited in the data processing system DVA, the user driving the switching-oriented procedures of the communication system KS therefrom. Video display terminals PCDVA are also connected to the data processing system DVA. Together with at least one subscriber terminal equipment A.sup.(N) i  connected to the communication system KS, they form a work station A designed for a customer service representative. An allocation table T is deposited in the switching unit SWU. The applications F 1  . . . F N  running in the data processing system DVA are allocated to the subscriber terminal equipment B i .sup.(N), A i .sup.(N), Ba thereat. Which application F 1  . . . F N  that processes the status data of which of the subscriber terminal equipment B 1 .sup.(N), A i .sup.(N), Ba, is thus defined. This allocation is communicated to the buffer allocation procedures F, D deposited in the integrated server ADS via specific transmission procedures. 
     An active data exchange between communication system KS and data processing system DVA occurs via the trunk L. For this purpose, procedures for the data transmission as well as procedures for further processing of the data formats of the transmitted data are offered in the data processing system DVA. The status data are loaded in the buffer memory P by the subscriber terminal equipment B i .sup.(N), A i .sup.(N), Ba in an irregular sequence and are transmitted block-by-block into the data processing system DVA by the applications F 1  . . . F N  via the trunk L. The access of the applications F 1  . . . F N  to the buffer memories P is controlled via the buffer allocation functions F, D that offer the application F 1  . . . F N  sub-areas in the buffer memory system P. Thus, the fixed buffer allocation function F allocates the first sub-areas of the buffer memory system P to the second applications F 1  . . . F x , and the dynamic buffer allocation function D allocates second sub-areas of the buffer memory system P to the first applications F y  . . . F.sub. N. 
     In order to explain the combination of the fixed buffer allocation method (realized by the fixed buffer allocation function F), and the dynamic buffer allocation method (realized by the dynamic buffer allocation function D), only the fixed buffer allocation function F shall be discussed first. The dynamic buffer allocation function D shall be discussed later. 
     The memory locations available in the buffer memory P are distributed onto the applications F 1  . . . F x  by the fixed buffer allocation function F. The applications F 1  . . . F x  are those applications that do not yet require any memory capacity in the buffer memory system P. This allocation method is mathematically represented by the equation ##EQU1## where: P a  : allocated memory area per application A a   
     P s  : total plurality of memory locations in the buffer memory P, and 
     A a  : plurality of applications that do not yet require any memory capacity at time t o  in the buffer memory P, with A a  =F 1  . . . F x . 
     Memory areas of the buffer memory P are distributed onto the applications F y  . . . F N  that require memory space at a specific time t o  by the dynamic buffer allocation function D. This allocation method is mathematically represented by the equation ##EQU2## wherein: P a  : allocated memory area per application A p , 
     P s  : total number of memory locations in the buffer memory P, and 
     A p  : number of applications that now require memory space in the buffer memory, with A p  =F y  . . . F N . 
     A solution that does justice to both demands is comprised, as already mentioned, in the formation of the average of the buffer allocation function F and of the buffer allocation function D. f 1  =F and f 2  =D are thus introduced in the recited equation with the averaging. Deriving therefrom is: ##EQU3## 
     This relationship is also shown in tabular form in FIG. 2, whereby the number of memory locations (P s  =100) recited therein is respectively rounded up. This table was calculated with a total buffer memory capacity P s  of 100 memory locations. Let a few other examples be recited for improved readability of the table: 
     1. A a  =1, A p  =1 
     Only one application (A a  =1) is present in the data processing system DVA and this one application (A p  =1) requires memory locations. In this case, all 100 memory locations (&#34;second sub-areas&#34;) of the buffer memory system P are made available to this application. 
     2. A a  =2, A p  =1 
     Two applications (A a  =2) are present in the data processing system DVA. However, only one requires memory locations (A p  =1). 
     The latter application has 75 memory locations (&#34;second sub-areas&#34;) of the buffer memory system P made available to it according to the table. 
     When another application needs memory locations (A p  =2), then adequate reserves are present, that is 25 memory locations in the specific instance (&#34;first sub-areas of the buffer memory system P&#34;). This reserve memory location is made available to the second application immediately after it requests a memory location. However, the buffer memory locations B made available are fundamentally recalculated since A a  =A p  =2 is now valid. After a defined &#34;response time&#34; in which this calculation is implemented, 50 memory locations of the buffer memory system P are then made available to each application. 
     3. A a  =4, A p  =2 
     At time t o , two applications (A p  =2) of four applications (A a  =4) present in the data processing system DVa need memory locations in the buffer memory system P; the other two applications do not yet initially need memory locations. According to the table shown in FIG. 2, 38 memory locations are made available to each of the two first applications. At time t o  +1, the third application (A a  =4, A p  =3) requires memory locations. The allocation of the memory locations of the applications, however, thus also changes. As a sequel, 30 memory locations are thus made available to each of the three applications. The allocation of the memory capacity is particularly facilitated when the two first applications have not yet fully exhausted the memory locations allocated to them at time t o . In this case, the capacity that is still free in the memory locations allocated to these can be assigned to the newly added applications. When, however, the capacity of the memory locations--, i.e. 38 in the present case--allocated to the two first applications is fully exhausted (which is still allowable at time t o ), then free memory locations cannot yet be assigned to the newly added applications at this time. When, however, the allocated memory locations are not fully exhausted or, on the other hand, the originally fully exhausted memory locations become free after a short time, then this free capacity is allocated to the newly arising applications. Even after a relatively short time span, the status according to the table is thus restored. When, however, the practically irrelevant special case arises that every allocation has fully exhausted the memory location assigned to it, and a further application requires at least that memory location that is its right according to the table, procedures of the dependability systems must see to the abort of the connection between communication system KS and the data processing system DVA. 
     The method of the invention for buffer distribution thus represents an optimum utilization of the buffer memory system P. Although there is also a residual probability here that the overflow of a memory area allocated to an application will lead to an abort of the connection, this residual probability is far, far lower than in traditional low distribution methods in communication systems, as simulation tests of typical operational sequences in practice have demonstrated. 
     The capacity limit of the buffer memory P in the method of the invention is reached only in a far, far longer time span than is the case in the prior art. This advantage also appears in the &#34;TELEMARKETING&#34; function whose execution is directly dependent on the processing of the status data of the subscriber terminal equipment B i .sup.(N) . . . B i .sup.(N) , A i .sup.(1) . . . A i .sup.(N), Ba which is assisted by such a buffer distribution method. 
     Although various minor changes and modifications might be proposed by those skilled in the art, it will be understood that we wish to include within the claims of the patent warranted hereon all such changes and modifications as reasonably come within our contribution to the art.