System for testing the use registration function in a telecommunication system

Abstract: Test system for testing a telecommunication system (1) for reliability of the usage registration. A number of simulation units (8) is connected via normal subscriber lines (7). Each comprises a control unit (9) which is controlled by a control program (13) with a number of program steps (1...n). Each of these comprises a start code (S1...Sn). A program step is executed after the control unit detects a start code signal (SCS) which is identical to the start code valid for that program step. Simultaneously, the corresponding program steps in the other simulation units are executed, by means of which the simultaneous behaviour of different subscribers is simulated. In all the simulation units, the start code signals and the various start codes are identical to one another. Preferably, the program start codes and the start code signal comprise a time code. The start code signal can be an externally generated radio signal, such as the DCF77 radio time signal.

Description: A. BACKGROUND OF THE INVENTION The invention relates to a system for testing a telecommunication system, according to the preamble of claim 1. A similar test system is known from prior art, e.g. from DE-A-3212006. The disclosed test system comprises a single simulation unit connected to an telecommunication exchange under test via a number of subscriber lines for the simulation of subscriber traffic in order to generate various load circumstances for the telecommunication exchange under test. The known test system has the limitation that in fact only a single telecommunication exchange is tested, and moreover under subscriber traffic which originates only at the exchange itself. B. SUMMARY OF THE INVENTION The present invention provides a test system which does not have the above mentioned limitation. The test system has according to the invention the characteristic of claim 1. The simulation units simulate subscribers, either A subscribers or B subscribers. The system is intended to test the telecommunication system, for example, the reliability thereof with respect to the registration of the usage costs. In particular, the system has been developed by the applicant in order to test whether a new service such as "itemized billing" functions correctly in all circumstances. Thus it may be important to know how such provisions function in practice, if, for example, an A subscriber calls a B subscriber who, in the same instant, has himself started a call. It is also possible, apart from such status changes (in this case of the B subscriber) for settings of A or B subscribers to play a part in the functioning of the cost registration function, for example a setting to "call forwarded to another subscriber number". Each of the simulation units is therefore provided with a control means (the control unit together with the control program) by means of which successively different statuses and/or settings can be simulated. Thus it is possible to simulate successively the statuses "B subscriber engaged", "B subscriber free but does not pick up", "B subscriber free but picks up at the same instant that a call reaches him", "A subscriber wants to dial but is called at the same instant" etc. The same simulation unit can alternately simulate an A or a B subscriber set. It is also possible to simulate different settings of the subscriber set, such as "call forwarded to another subscriber number", and so on. The entire test consists of a number of test scenarios which each consist of a number of subscenarios matched to one another, which are distributed over the various simulation units and are stored therein. Such a subscenario comprises a sequence of instructions (an instruction set) which one simulation unit has to execute. The entire program of the simulation unit comprises a number of those subscenarios or program steps which together with the subscenarios in the various other simulation units form the test scenarios. The test scenarios together form the test to which the telecommunication system is subjected. The execution of the subscenarios which belong to the same test scenario takes place simultaneously, and the start thereof (and in some scenarios also one or more very time-critical instructions within such a scenario) has to be synchronized. That synchronization takes place by means of the start code signal. That start code signal can be generated internally or externally. It is important that the start code signal in all the simulation units at each instant is identical, and that the start codes of all the subscenarios belonging to the same test scenario - which subscenarios are therefore executed simultaneously in the various simulation units - are identical. As soon as the control unit of a simulation unit detects that, at a certain moment, the start code signal (whose value has changed) is identical to the start code of one of its subscenarios (program steps), the control unit starts execution of that subscenario. Simultaneously, the control units in the remaining simulation units detect identity between the start code signal and the start code of their subscenario belonging to the same test scenario (after all, the start code signal is identical in all the simulation units, and the start codes of all the program steps belonging to the same test scenario are identical). Preferably, both the start code signal and the start codes comprise a time code. The start code signal is, for example, a time code signal (changing with time) and the subscenarios are started as soon as the time code of the start code signal is identical to the (fixed) time code of the start code. All the subscenarios thus commence at precisely the same moment, previously laid down in the test scenario. As the ability is required to position the various simulation units at large distances from each other, given the large extensiveness of the telecommunication system, the start code signal or an auxiliary signal for the internal generation, by the simulation units, of the start code signal is preferably transmitted without the use of wires. To this purpose, for example, a radio time signal such as the DCFF77 signal is used. The start code signal can be generated internally or externally. For example, in each simulation unit during an initialization step an internal clock is set to the DCF77 clock. If the internal clocks of all the simulation units are sufficiently accurate, the internal clock signal, after this initialization step, can serve as the time-coded start code signal. Another option is, as stated earlier, to derive the start code signal at all times from an external signal such as the DCF77 signal to be received without the use of wires. C. REFERENCE DE-A-3212006 D. ILLUSTRATIVE EMBODIMENT Figure 1 shows a telecommunication system and, connected thereto, a number of simulation units which can receive a wireless time code signal. Figure 2 shows, in diagrammatic form, an illustrative embodiment of a simulation unit. Figure 3 shows an example of a complete test, consisting of n test scenarios. Figure 4 shows a program, derived from the complete test from Figure 3, for a first simulation unit, Figure 5 for a second simulation unit and Figure 6 for a third simulation unit, all consisting of various program steps (subscenarios) to be carried out simultaneously. Figure 7 shows a compilation of the program steps of the first, the second and the third simulation unit which belong to the second test scenario. Figure 8 shows, in diagrammatic form, the relationship between the complete test, the test scenarios, the programs of the simulation units, the subscenarios and program steps. Figure 1 presents, in diagrammatic form, the mode of operation of the invention. In a network 1, for example a public telephone network, comprising a transmission network with switching centres and subscriber exchanges 2, the usage cost registration is carried out by a "mediation" 4 calling up (via a transmission path 5) at set times from the various subscriber exchanges 2 "call records" in which the data are stored of calls and connections which have been initiated by A subscribers connected to that exchange 2. The call records collected by the mediation 4 are then processed by a "billing centre" 6 into (specified) bills which are presented to the A subscribers. All this is described more extensively in a Patent Application already filed earlier by Applicant, which application in particular deals with an improved method for transmitting the call records to the mediation. Subscribers can communicate with one another via the subscriber exchanges 2, which are connected to one another via the transmission network, presented in the figure by transmission path 3. Both connections, 3 and 5, can be implemented via the same transmission network, but it is also possible to let the transmission path 5 run via the so-called signalling network; the choices made in this context are of no importance for the understanding of the present invention. Connected to all the subscriber exchanges 2 there are a large number of subscribers, via subscriber lines 7. It is important that each connection or connection attempt between subscribers is registered in a completely correct manner. For that reason it is necessary, in the case of far-reaching changes, for example installation of new control software or changes in the parameter settings in the exchanges 2 or in the event of changes in the specifications of the connection paths 7 or 3, the telecommunication system 1 has to be subjected to stringent tests. As a wide range of possibilities may arise when connections are made between subscribers, both on the part of the A subscriber and on the part of the B subscriber, it is necessary to take all those possibilities into account for a stringent test of this type; in other words, the actual mode of operation of the registration system must be examined for all those different conditions. This then is done by making use of a number of simulation units 8 (PC1, PC2, PC3) which are able to simulate various behaviours, statuses and set-tings of subscriber sets. Said simulation units 8 are each formed by a PC which is provided with a simulation program which consists of various program steps. The complete test consists (see also Figure 8) of a (large) number of test scenarios which are executed consecutively. Each test scenario consists of a number of program steps (subscenarios, sub-programs), to be executed simultaneously, in the various PCs. In other words, test scenario x comprises program step x of the simulation program of PC1, program step x of the simulation program of PC2, program step x of the simulation program of PC3 etc. All the program steps x, -together with the distributed test scenario x - must be executed simultaneously, i.e. they must start at the same moment (in some cases, even single instructions within such a scenario must start at the same time, which can be specified by a (preceding) WRt or WAT instruction, which are described later). All the program steps x are therefore preceded by a start code Sx. A transmitter 12 transmits start code signals SCS which can be received by all the PCs, via a small receiver. The transmitted start code signals are compared in the PCs with start codes incorporated in their simulation program. If there is agreement between the received start code signal and one of the start codes (Sx) from the simulation program, the program step (x) which follows that start code is executed. It should be noted that the term program step is therefore used here for a part of the simulation program as loaded into the PC; a program step thus consists (generally) of several instructions and then comprises several lines of source code text. During the execution of a program step, each PC simulates a particular subscriber set with particular behaviour, settings etc. The complete test therefore consists of a succession of test scenarios which each determine the behaviour of the various simulation units and thus each simulate the simultaneous behaviour of different subscribers. The test scenarios are described by means of a formal description language, developed for this purpose by the applicant, which consists of a number of instructions. Each instruction corresponds to an elementary action during phoning. The instructions can be executed independently by the simulation units. The most important instructions are: Sx(T) Start (sub)scenario x at time T(yy-mm-dd;hh:mm:ss.xx) 0 pick up receiver N put down receiver Dxxx.. dial "number" xxx..; (x=0...9, *, #) Wn wait for n sec. (default n = 1) WAT wait for time T(yy-mm-dd;hh:mm:ss.xx) WDi wait for dialling tone WBu wait for engaged tone WCo wait for congestion tone WBe wait for ringing tone WDT wait for DTMF tone WRt wait for t msec. after commencement of (sub)scenario x end of subscenario Q end of scenario Note: The instruction Sx(T) in fact has the same syntax as the instruction WAT, namely the time designation yy-mm-dd;hh:mm:ss.xx; in the first case (Sx(T)) used to specify the starting moment for executing an instruction set (program step, (sub)scenario), in the last case (WAT) to record the exact (absolute) starting moment for the execution of an instruction within such an instruction set. Often it will be possible, however, within the instruction sets to make use of the instruction WRt which specifies a starting moment for an instruction which is related to the starting moment of the current instruction set. Using the above instructions - by means of which subroutines can be called in a lower programming language - test scenarios can be described which can be executed independently by the PCs, such as, for example, the following test scenarios: TEST SCENARIO 1: Specification: Conversation of 30 sec. between subscribers A and B; subscriber B breaks the connection first. Instructions PC1: S1; 0; WDi; D(tel. no. PC2); WBu; N; X Meaning: Wait for time S1, i.e. for the moment when the internal or external clock time is equal to the time value of S1; Pick up receiver; Wait for dialling tone; Dial tel. no. of B subscriber (PC2); Wait for engaged tone (owing to B breaking the connection); Put down receiver. Instructions PC2: S1; WBe; O; W30; N; X; Q Meaning: Wait for time S1; Wait for ringing tone; Pick up receiver; Wait for 30 sec.; Put down receiver; TEST SCENARIO 2: Specification: Wrong activation of call-forwarding service (*21 service) from A to B. Instructions PC1: S2; 0; WDi; D*21*(tpno PC2)888#; N; W5; 0; WDi; D(tpno PC1); WBu; N; X; Meaning: Wait for time S2; Pick up receiver; Wait for dialling tone; Dial *21* (tpno. B subscriber (PC1)888 # (as a result of the suffix 888 after own telephone number, the *21 action, the intended call forwarding from the own telephone number, must not take place); Put down the receiver; Wait for 5 sec.; Pick up the receiver again; Wait for dialling tone; Dial own telephone number (PC1); Wait for engaged tone (if PCl's own number should be subject to call-forwarding, PC1 does not get an engaged tone); Put down the receiver. Instructions: PC2: S2; WBe; 0; ; W10; N; X; Q Meaning: Wait for time S2; Wait for ringing signal (if the call-forwarding action of PC1 had been successful, ringing signal would be detected at PC2 when PC1 dials its own number whose calls have been forwarded to PC2); Pick up receiver; Wait for 10 sec.; Put down receiver. TEST SCENARIO 3: Specification: A subscriber rings B subscriber; A puts down his receiver 0.1 sec. before B picks up the receiver. Instructions PC1: S3; 0; WDi; D(PC2); WR39900; N; X Meaning: Wait for time S3; Pick up receiver; Wait for dialling tone; dial subscriber B (PC2); Wait until 39.9 sec. after the start of this scenario; Put down receiver. Instructions PC2: S3; WR40000; 0; W10; N; X; Q Meaning: Wait for time S3; Wait until 40.0 sec. after the start of this scenario; Pick up receiver; Wait for 10 sec.; Put down receiver. TEST SCENARIO 4 Specification: subscriber A and subscriber B each ring subscriber C. Instructions PC1: S4; 0; WDi; D(PC3); W200; N; X Meaning: Wait for time S4; Pick up receiver; Wait for dialling tone; dial subscriber C (PC3); Wait for 200 sec.; Put down receiver. Instructions PC2: S4; 0; WDi; D(PC3); W500; N; X Meaning: Wait for time S4; Pick up receiver; Wait for dialling tone; dial subscriber C (PC3); Wait for 500 sec.; Put down receiver. Instructions PC3: S4; WBe; O; W530; N; X; Q Meaning: Wait for time S4; Wait for ringing signal; Pick up receiver; Wait for 530 sec.; Put down receiver. In Figure 2, one of the simulation units 8 is represented in diagrammatic form. The simulation unit 8 is formed by a PC, with a control unit 9 (CPU), an instruction file 13 held in a memory, a PC-telephone interface 10 to the telephone network 1 and an interface (including radio receiver) 11 to transmitter 12. The abovementioned instructions are incorporated in the instruction file 13. If the simulation unit presented in this figure is PC2, it would be sufficient to incorporate only those instructions which are intended for PC2 into the file 13. In practice, however, it is more convenient to incorporate the complete test scenario into the file (copy it to file 13) and, when it is being executed, to have only those instructions executed which are intended for PC2. In Figure 3 et seq. all this is illustrated in more detail. In addition to the instruction file 13, provision is also made for a log file 14 in which, when the simulation program of file 13 is executed, both the signals transmitted to the network by the PC and the signals transmitted by the network, as a reaction thereto, to the PC are registered. The log files 14 of the various PCs on the one hand, and the call-record files in the subscriber exchanges 2 (or in the mediation 4 which, after all, collects the call records generated in the exchanges 2) on the other hand, may, after the PCs have executed all the test scenarios belonging to the test, be compared with one another by system experts, and the registration system can thus be evaluated and improved, if desired. Figure 3 shows a complete test described in formal language and consisting of n test scenarios, beginning with the test scenarios 1, 2, 3 and 4, described above in more detail, each consisting of actions to be carried out by PC1, PC2 and PC3. Figure 4 shows the same scenarios as they have been incorporated into the instruction file 13 of PC1. It has been indicated, by means of a pointer, which instruction sets (subscenarios) have to be executed by PC1; these instructions are selected, read in and executed by the control unit 9. Figure 5 shows the same test scenarios 1...n, as incorporated into the file 13 of PC2; Figure 6 shows these scenarios as incorporated into file 13 of PC3. The complete test scenario is thus at all times executed by all (three) PCs, each PC being provided with that complete scenario, but selecting therefrom and executing its own "part". Figure 7, perhaps unnecessarily, once more shows that (for example) scenario 2 consists of a task for PC1, a task for PC2 and a (non-active) task for PC3. As can be seen in Figures 3-6, PC3 has not been assigned an active part in the first three test scenarios, but it has been in the fourth test scenario. The execution of the test scenarios on the various PCs is synchronized by a start code signal SCS which is emitted by transmitter 12. Use is made of a time-signal transmitter such as the known German DCF77 transmitter. This signal is intercepted by the receivers 11 in the PCs and passed to the control units 9. The start code S1 has a certain time value T1. As soon as the control unit 13 establishes agreement between, on the one hand, the received (DCF77) time code signal (start code signal SCS) and, on the other hand, the time value of the start code S1 incorporated in the file 13 (read out by the control unit 9), there is executed in each PC the subscenario valid for that PC. Together, the PCs thus execute the first test scenario. Both the instructions (code signals) passed to the telephone network 1 and the signals received from that network 1 are registered and written to the log file 14, so that afterwards, during the evaluation of the registration function of the telecommunication system, the entire course of the simulation process on the user side can be observed and compared with the course of the same process on the network side. When the scenario 1 has terminated ("Q"), all the PCs wait for reception of a DCF77 code which is identical to the time value of start code S2, whereupon execution of test scenario 2 commences. After reception of a DCF77 time code signal which corresponds to the time value of start code S3, scenario 3 is started etc. It should be noted that it is not strictly necessary to have all the scenarios started by the external DCF77 signal. If the PCs themselves have accurate internal clocks, it is also possible to compare the time values of the start codes S2...Sn with the internal clock values, after those internal clocks have, though, been set to that external clock, for example when receiving the DCF77 code signal which is identical to the value of start code S1. It is also possible to synchronize the PC clocks prior to executing the first test scenario; in that case it is indeed possible to start scenario 1 with the aid of an internal clock signal. The results of the executed test scenarios are found in the call records which have been produced in the various exchanges 2 to which the PCs are connected, and which are collected by the "mediation" 4. Based on this collection of call records on the one hand, and the interactions, consisting of the signals exchanged between the PCs and the telephone network 1, and written to the log file 14 of the PCs 8, on the other hand, system experts are able to make an assessment of the reliability of the telecommunication system 1 and, in particular, of the usage registration function thereof which, with the aid of the test system described hereinabove, can be assessed and, if necessary, improved.

Claims: Test system for testing a telecommunication system, in particular a public telephone system, for correct registration of the usage by subscribers, the test system comprising simulation means for simulating subscriber functions of a number of subscribers, the simulation means being connected to the public telephone system via subscriber lines, characterized in that the simulation means comprise a plurality of simulation units (8), each simulation unit comprising: a separate connection to the telecommunication system (1) via a subscriber line (7), and an independent control unit (9) which is controlled by a control program (13) including a number of program steps (1...n), each program step (x) being provided with a start code (Sx) for starting the program step concerned, the program steps (x) included in the control programs in the various simulation units and provided with the same start code (Sx) being executed by the control units substantially simultaneously after detection of an internally or externally generated start code signal (SCS) which corresponds to the said same start code. Test system according to Claim 1, CHARACTERIZED IN THAT the various start codes (S1...Sn) and the start code signal (SCS) comprise a time code (T). Test system according to Claim 1, CHARACTERIZED IN THAT the start code signal (SCS) is an externally generated radio signal and in that each simulation unit is provided with a receiving device (11) for receiving and passing to the control unit (9) that wireless transmitted start code signal. Test system according to Claim 2 and 3, CHARACTERIZED IN THAT the external start code signal is a DCF77 signal.

Inventors: DE CALUWE IWAR, HENSBERGEN MARK ALEXANDER, HUITEMA GREGORIUS BONIFATIUS, KLEEREBEZEM JAAP, MEIJER GEERT JAN, POL KORNELIS EGBERT, DE CALUWE, IWAR, HENSBERGEN, MARK ALEXANDER, HUITEMA, GREGORIUS BONIFATIUS, KLEEREBEZEM, JAAP, MEIJER, GEERT JAN, POL, KORNELIS EGBERT
Applicants: KONINKL KPN NV, KONINKLIJKE KPN N.V.
Application year: 1993
Main classification: H04M3
IPC codes: H04M3, H04M15