ADAPTABLE USER INTERFACE

Abstract: The invention relates to a user interface for a telecommunication exchange. The user gives control commands via the interface from an external terminal (DT) to the telecommunication exchange of which commands at least some are associated with parameters. The user interface comprises a control software which forwards the control command supplied by the user to the exchange for execution and gives to the user instructions relating to the commands. In order that the user interface could be transferred more easily than before into a changed environment, the data on the types and the allowed value ranges of the parameters of the commands used in the user interface and the alphanumerical data relating to the instructions given to the user are separated from a program code of the control software (32) into a separate database (DB). The control software further comprises a server program block (33) communicating with said database (DB) which block, as a response to a check request it has received, checks the data the user has supplied to the exchange and as a response to an instruction request, generates instruction to be given to the user at each time.

Description: Adaptable user interface The present invention relates to a method according to the preamble of appended claim 1 for forming a user interface and a user interface according to the preamble of appended claim 4. The user interface according to the invention is especially intended for exchanges, but the same basic solution can also be applied to other objects of use. In accordance with appended Figure 1 exchanges comprise an Operations and Maintenance Unit OMU which handles operations related to the use and maintenance of the exchange. Exchanges may be connected via an OM unit to an operations and maintenance network (O&M network) through which the operator may administer several physically remote exchanges in a centralized way from one place. The OM unit of the exchange collects alarms and generates alarm reports and it also co-operates with the main memory (not shown) of the exchange into which files on subscribers, charging, signalling, routing and exchange configuration are stored, whereby the operator can read and change the contents of these files. In practice the hardware of the OM unit comprises a central processing unit CPU and one or more hard disk units as a separate mass memory and one or more diskette units. The programmes of the OM unit and the data terminal of the operator connected directly to the OM unit or via the O&M network form a user interface between the exchange and the operator known as MMI (Man Machine Interface) . This user interface comprises the components shown in Figure 1 which include e.g. said data terminal DT which communicates with the OM unit OMU of ar. exchange EX, several MML controllers 12 which are program blocks located in the memory/on the disk of the OM unit and a processor block 13 which is a program block located in the memory/on the disk of the OM unit (or possibly of another computer unit of the exchange) and connected to the actual call control. A single MML controller 12 attends to the execution of specified commands, whereby information is encoded into the MML controller concerning these commands as to how to instruct the user, what kind of values the parameters given by the user should have, in what way an execution command is transmitted to the processor block and in what way the values given by the user should be expressed in said execution command. The operator issues commands via the data terminal DT to the exchange by using a command language MML (Man-Machine Language) known per se the I/O syntax of which is specified in recommendations Z.317-Z.341 of ITU-T (former CCITT) . In MML language there is a command for each function. The software is hierarchial; at the beginning of a session it is on a main level, whereby a list of command classes appears on the display screen. The command classes form a command class level, whereby by selecting one command class from the main level, a menu is displayed for the user of the command groups of that class (which form the next level) . Each command group comprises 4 to 8 commands, whereby by selecting the desired command group, the desired command can be realized. The division is functional so that a command class is responsible for one function block, such as the commands for subscriber management or routing (cf. S or R in Figure 2) . A command group is responsible for a smaller selection of commands related to one other, such as commands relating to the abbreviated number selection of a subscriber. The software is based on menus and the operator is instructed step by step by means of the menu towards the right command. The MMI user control interface enables several simultaneous command sessions into the same system. The sessions are totally independent of one other, but so that the simultaneous manipulation of the same information from different sessions is barred. Figure 2 shows the menu on the main level. It discloses the name of the command class in plain text form next to the letter, whereby one can enter the command group menu of the command class by selecting the letter and there similarly one enters the commands of the group by selecting the letter of the desired command group. After this the command may be written out . The command form could be for example "ZRC :GSW:NCGR=OUTGRP; " . The command comprises the command letters, here ZRCI and the parameter blocks following them separated by a colon. One parameter block may comprise more than one parameter, these parameters being separated by a comma. When the user supplies only the command letters, which ends by pressing the return key, the MML controller gives in text form information as to what kinds of parameters can possibly be used. After giving each parameter, it is also possible to obtain instructions relating to the next parameter. The MML program gives instructions to the operator on all levels, wherefore the operator very seldom needs to consult a manual. Giving commands does not require any special skills, but the only requirement is naturally that the operator understands the language in which the on-line instructions in text form are on the display screen. The known user interface of Figure 1 operates as follows. When the user gives an MML command as described above, the MLL controller 12 responsive to the given character sequence is initiated and starts communicating with the user via the terminal DT. The help menus displayed by the terminal DT and the information required for checking the values of the parameters have been encoded into the MML controller (into a program code) . When the MML controller is "satisfied" with the parameters it has received from the user, it generates a message on the basis of the parameters it has received and sends it to the processor block 13. The processor block updates the data contained in the message it received from th«: MML controller into its own parameter data to be used in connection with call control. After having updated the data, the processor sends an acknowledgement to the MML controller that will further notify the user. A disadvantage of the known user interface described above is its poor flexibility in situations of change. This disadvantage is especially apparent in an intelligent network environment in which new services are constantly being created for the subscribers. The addition of a new service requires corresponding additions to the user interface so that the service could be controlled. At present MML controllers are part of a larger software of the exchange which means that changes in the user interface require changes in the software . When some changes are to be made to the user interface (that is, to a MML command intended for the control of the exchange) , for example, only some parameters are to be added or the allowed value range cf the parameters or the help texts for the user are to be changed, the MML command has to be re-encoded and recompiled along with the rest of the software package. If it is necessary for example to enable a new command letter, the whole software package has to be updated. The object of the present invention is to obviate the disadvantages mentioned above and to implement a more flexible user interface than before that can easily be adapted to a new operational environment or situation. This object is achieved with the solutions according to the invention in which the method is characterized by what is described in the characterizing part of appended claim 1 and the user interface is characterized by what is described in the characterizing part of appended claim 4. The idea of the invention is to transfer the "intelligence" of the user interface (that is, the information connected to the operation of the user interface) into a separate database, whereby the operationality of the user interface can be changed without changes in the program code. In practice this "intelligence" means that at least the types and the allowed value ranges of the used parameters (i.e., the semantics of the parameters) and the texts related to the help texts displayed for the user are stored into the database. In addition to this, the database also preferably contains execution instructions informing the part of the user interface conducting the database inquiry what should be done in response to each command. On account of the solution according to the invention, the changes or new features of the user interface can be implemented as changes/additions to the database. The operation of the user interface can thus be changed by means of definitions made into the database, whereby programming can be left out. Heavy software changes can therefore be replaced by changes in the information stored into the database, which changes are essentially easier to carry out. The solution according to the invention affords new services to the exchange during operation as the additions of services may be realized only as additions of information to the database. The solution according to the invention is also advantageous in that the user interface can be very flexibly transferred to a different environment. The database may even during operation control the forming of a user interface into several environments (e.g. Unix and PC based environments) . In the following, the invention and its preferred embodiments are described in more detail with reference to the examples of Figures 3a, 3b and 4 in the accompanying drawings in which Figure 1 illustrates a known user interface of an exchange, Figure 2 shows a main menu displayed for a user in a user interface according to Figure 1, Figure 3a illustrates a user interface according to Figure 1 when it is implemented in the manner disclosed in the present application, Figure 3b illustrates the logical structure of the database shown in Figure 3a, and Figure 4 shows one preferred embodiment of the user interface. Figure 3a illustrates how the user interface shown in Figure 1 changes when implemented in accordance with the invention. In accordance with the invention, the "intelligence" contained in known MML controllers has been transferred to a separate database DB containing at present information on what kind of user interface it concerns and how it operates. Data is stored into the database relating to the services the user interface provides and the commands and parameters associated with each service and the allowed values of each parameter. Alphanumerical data needed for displaying the help texts for the user via the terminal DT is also stored into the database. The read and write procedures conducted into the database are attended by a separate server program block 33 which on the basis of the data it has received from the database on the one hand communicates with MML controllers 32 and on the other hand with (one or more) processor blocks 13. The MML controllers 32 are implemented as general program blocks attending in one traffic direction only to the display of messages received from the server program block for the user and in the other traffic direction transmit service requests to the server program block. The MML controllers are thus made into as simple blocks as possible due to which the user interface can easily be changed into another equipment environment (by changing the MML controller into a user interface block suitable for said environment) . In addition to the semantic checks of help texts and parameters in accordance with the preferred embodiment of the invention, data is stored into the database relating to which processor block and what data should be sent by the server in response to a specified MML command. Depending on the implementation, there may be several separate processor blocks 13; typically there is one for each service. (The basic idea of invention can also be implemented in a case of only one processor block.) In accordance with the preferred embodiment of the invention there is data in the database not only on how a MML command is given correctly but also data on what to do in response to the command. When a new command is introduced into the exchange, records having said command (or letters identifying it) as their key are added into the database. The records contain information on the help texts and semantics of the new command and what should be done as a response to the new command (generally a message is sent to some process and an acknowledgement is received. ) Figure 3b illustrates one possible logical structure of the database DB. The database is in this example case divided into seven different blocks (object assortments) A...G. The relations between the blocks are shown with arrows in the figure so that the direction of an arrow illustrates the progress of information retrieval inside the database. Conmand specific data is stored into block A, that is, data on the available command letters. Block B breaks the generic MML command into parts, that is, this block has the identification data by means of which the service concerned at each time is identified so that the correct parameter blocks may be requested (a parameter block refers to the parameters between two colons in the MML command) of the next block (block C) which contains data specific for each parameter block on the used commands. Parameter block D contains all the data specific for each parameter. (This can be e.g. the types of parameters and their locations in the block.) After this, the process moves onto block E which contains data on the allowed value ranges of the parameters. The next block (block F) comprises the alphanumerical data (help texts) needed for forming help messages. This block may be entered even before from blocks A to D depending on which stage the user should be instructed. Block G comprises the necessary execution instructions. When the user has given the complete command, information is received from block G on what to do next. This block contains information on what kind of message should be formed and where it should be sent to. The server program block 33 (which will in the following be referred to as a server) can in practice be implemented (in a manner known per se) so that it comprises one master and one slave. The master reserves one slave for a MML session. Several slaves may be reserved at the same time, but their number may not exceed the number of open MML sessions. The user interface according to the invention operates so that the required information is retrieved from the database on the basis of the parts of the MML commands supplied by the user. For example, in connection with the command "KUA:A_VALID: 1234567; " the database is checked to see whether the command corresponding to the command letters KUA exists, a service A_VALID exists and that the telephone number 1234567 is within a certain interval specified in the database. In the following the operation of the user interface disclosed in Figure 3a is described in more detail by using as an example a situation in which the user enters the command "XYZ:ID:56:" from the terminal (the entered character sequence is shown in quotation marks) . The events are shown in a chronological order starting with a situation in which the first part of the command "XYZ:ID: " has already been given and the value of the last parameter (56) is yet to be given. 1. The user enters "XYZ: ID: <ret>" (the sign <ret> illustrates the pressing of the return or enter key which in the case of MML command language signifies a need for help) onto the MML terminal, whereby the correct (relating to the command) MML controller is initiated. The correct controller is identified by the letters "XYZ" . 2. The MML controller generates and sends to the server a request message for help which shows the data the user has already supplied. The MML controller requests by this message instruction for the data to be supplied after XYZ:ID. If the user had only entered the characters "XYZ:<ret>" , the MML controller would have requested instruction for the data to be given after XYZ. 3. The server forms an inquiry from the database DB on the basis of the help request message it has received. As a result of the inquiry, the server receives the text elements to be sent to the MLL controller and the restrictions which relate to the parameters shown in the text elements which are to be requested from the user (the data types and the allowed value ranges) . 4. The server forms a help text and sends it to the MML controller on the basis of the data the server has received from the database. 5. The MML controller prints out the help text it has received as such on the terminal DT, whereby the user will see the text. 6. The user supplies additional data on the keyboard of the terminal on the basis of the received help text. (In this case the user gives the character sequence "XYZ: ID:56<ret>" . ) 7. On the basis of the data given by the user, the MML controller generates a check request message which shows the locations of the parameters to be checked and their values, and sends the message to the server. 8. The server carries out an inquiry from the database DB on the basis of the check request message it has received. As a result of the inquiry, the server receives information on the type of parameter and the restrictions on the parameter values. By using this information the server checks the validity of the parameter supplied by the user (the semantics check of the parameter) . 9. The server notifies the MML controller of the result of the check it has carried out . 10. If the supplied parameter has passed the check, the MML controller prints out the given character sequence and replaces the <ret> sign at the end by a colon. 11. The user shows his/her acceptance for the execution of the checked character sequence by entering a semi-colon at the end of the character sequence (whereby the final character sequence is in the form "XYZ:ID:56: ; ") . 12. The MML controller forms an execution request message on the basis of the character sequence which message it sends to the server requesting the server to carry out the command indicated by the character sequence. 13. The server forms an inquiry from the database DB on the basis of the execution request message the server has received. As a result of the inquiry, the server receives the information it needs for carrying out the command. On the basis of this information, the server sends a message to the processor block requesting it to carry out the command. The processor block can send an acknowledgement to the message it has received. 14. The server generates a message with which the execution is acknowledged and sends it to the MML controller. The acknowledgement message also contains the possible execution printouts. The MML controller transmits the data to the user and gives an end of execution notification. It should be noted that if the user had originally or at step 6 written the character sequence "XYZ: ID: 56 : ; " in its correct form, the user interface would have started the execution from step 7 and would have moved onto steps 12 to 14 directly after step 9. The checking described above at step 8 is carried out so that the ASCII character sequence sent by the MML controller is first converted into a (numerical) value according to the type of parameter in question. If the conversion is successful (whereby the given parameter is of the desired type) , a value range check is performed on the basis of the value range stored into the database. There are four types of messages MML controllers send to the servers: session initialization messages, instruction request messages, check request messages and execution request messages. A session initialization message contains a command identifier. The server responds to the message by command authorization data it retrieves from the database. An instruction request message contains data on which parameter instruction is requested. The server responds by sending a help text . A check request message contains data on which parameter the check is requested for and the value of the parameter. A message may have several of these pairs or each parameter value can be checked by its own message. Specific parameters need not be sent in an execution request message. If the server does not know the values of all the necessary parameters, it sends an error code dependent on the command (otherwise it sends the command into execution) . One example of a command to be given could be e.g. the addition of a subscriber to a given service. In practice this command could be of the form "KUA:SERVICE1:1000, 3; " which means that a subscriber with a subscriber identifier 1000 and a subscriber class 3 is added to the service SERVICEl. When data on the type and value range of each parameter of the service is stored into the database, in this case it could be as shown in the following table: Parameter type Value range Parameterl alphanumerical servicel- serviceN Parameter2 numerical 0...9999 Parameter3 numerical 1...3 In this example case the texts to be stored into the database could include e.g. the following error texts: "given subscriber identifier is already in use", "the given subscriber class is incorrect", "the database is not in the normal mode, try again after a while", etc. A user interface may be easily formed in several equipment environments in the manner described above. This takes place in such a way that a program block (user interface block) of its own is created for each equipment environment corresponding in its operation to the MML controllers shown in Figure 3. This embodiment is illustrated in Figure 4 in which the program block of the first user environment (e.g. Unix environment) is indicated by reference 42a, the program block of the next user environment (e.g. PC environment) by reference 42b, etc. The database DB and the server block 33 can be maintained common for all these environments. Each block communicates with a server via a message interface. As was mentioned earlier, the database may control during operation the forming cf the user interface into each environment. Although the invention is above explained with reference to the examples of the accompanying drawings, it is evident that the invention is not restricted thereto, but it can be modified within the scope of the inventive idea shown above and in the appended claims . For example, in some cases the server could also attend to the tasks of the MML controller/user interface block, but then some of the advantages of the invention would be lost .

Claims: Claims 1. A method for forming a user interface for a telecommunication exchange via the interface of which the user gives control commands from an external terminal (DT) to the telecommunication exchange of which commands at least some are associated with parameters, whereby the commands given from the above- mentioned external terminal are checked and the user is instructed by giving instruction messages to the external terminal (DT) , c h a r a c t e r i z e d in that - a separate database (DB) is formed into the user interface into which database is stored (a) data on the types and the allowed value ranges of parameters of the commands used in the user interface, whereby the commands supplied by the user and the parameters associated with them can be checked by means of said data, and (b) alphanumerical data needed for forming said instruction messages, and that - the user interface is provided with a server program block (33) which by means of inquiries made into said database checks the data supplied by the user and generates the instruction messages to be given to the user. 2. A method according to claim 1, c h a r a c¬ t e r i z e d in that a separate program block is also formed into the user interface which block - receives the instruction messages from the server program block (33) and prints them out essentially as such onto said external terminal (DT) , and - generates service requests for said server block on the basis of the data supplied by the user. 3. A method according to claim 1, c h a r a c¬ t e r i z e d in that execution instructions (G) are also stored into the database (DB) indicating what will be done as a response to the command given by the user. 4. A user interface for a telecommunication exchange in which a user gives control commands via the interface from an external terminal (DT) to the telecommunication exchange of which commands at least some are associated with parameters which user interface comprises a control software which forwards the control command supplied by the user to the exchange for execution and gives to the user instructions relating to the commands, c h a r a c t e r i z e d in that - the data on the types and the allowed value ranges of the parameters of the commands used in the user interface and the alphanumerical data relating to the instructions given to the user are separated from a program code of the control software (32) into a separate database (DB) , and the control software comprises a server program block (33) communicating with said database (DB- which block, as a response to a check request it has received, checks the data the user has supplied to the exchange and as a response to an instruction request, generates instruction to be given to the user at each time. 5. A user interface according to claim 4, c a r a c t e r i z e d in that it also comprises a separate program block (32; 42a, 42b) which receives instruction messages from the server program block (33) and prints them out essentially as such onto said external terminal (DT) , and - generates service requests to said server block on the basis of the data supplied by the user. 6. A user interface according to claim 5, c h a r a c t e r i z e d in that there are several parallel program blocks in such a manner that they are connected to mutually different equipment environments. 7. A user interface according to claim 4, c h a r a c t e r i z e d in that data (G) is also stored into the database (DB) on what is to be done as a response to the command used in the user interface.

Inventors: HARTIKAINEN EEVA, SIVOLA LEENA, SUORSA ASKO, HARTIKAINEN, EEVA, SIVOLA, LEENA, SUORSA, ASKO
Applicants: HARTIKAINEN EEVA, NOKIA TELECOMMUNICATIONS OY, SIVOLA LEENA, SUORSA ASKO, HARTIKAINEN, EEVA, SIVOLA, LEENA, SUORSA, ASKO
Application year: 1996
Main classification: H04L12
IPC codes: G06F13, H04Q3