Search Images Maps Play YouTube News Gmail Drive More »
Sign in
Screen reader users: click this link for accessible mode. Accessible mode has the same essential features but works better with your reader.

Patents

  1. Advanced Patent Search
Publication numberUS5043881 A
Publication typeGrant
Application numberUS 06/847,303
Publication dateAug 27, 1991
Filing dateApr 2, 1986
Priority dateApr 3, 1985
Fee statusLapsed
Publication number06847303, 847303, US 5043881 A, US 5043881A, US-A-5043881, US5043881 A, US5043881A
InventorsTakashi Hamazaki
Original AssigneeHitachi, Ltd.
Export CitationBiBTeX, EndNote, RefMan
External Links: USPTO, USPTO Assignment, Espacenet
Session control method for rewriting information in a session control device in an interactive processing system
US 5043881 A
Abstract
In an interactive processing system, a session between a terminal device and a task is not fixed, but can be changed to another session before it is completed. The interactive processing system stores information representing the session set for each of a plurality of users and the session to be processed by each of the terminal devices. This information is changed by the instruction from the terminal device. When an input-output operation is effected with a terminal device in the execution of a task, it is effected with the terminal device which is designated by the information.
Images(11)
Previous page
Next page
Claims(3)
What is claimed is:
1. A session control method in an interactive processing system including a processor for executing a task while effecting input-output operations with a plurality of terminal devices, said processor having memory means for storing information indicating a corresponding relationship between said task and a terminal device and for effecting an input-output operation related to the execution of said task, said memory means includes a terminal management table having a plurality of areas each of which corresponds to a terminal device, first means for storing one or more sessions corresponding to one or more users, second means for storing data indicating a corresponding relationship between said areas and said users, third means for specifying one of said users ass being active for each of said terminal devices, and fourth means for specifying one of said sessions as being active for each of said users,
said control method comprising steps of:
altering, by said processor said data indicating a corresponding relationship between said areas and said users stored in said second means based on an instruction from one of said terminal devices;
altering, by said processor, said specified user specified by said third means based on an instruction from one of said terminal devices;
altering, by said processor, said specified session specified by said fourth means based on an instruction from one of said terminal devices; and
executing, by said processor, said input-out operation with said terminal device indicated by said information indicating a corresponding relationship between said task and said terminal device during execution of said task.
2. A control method in an interactive processing system including a processor as defined in claim 1 further comprising the step of:
designating, by said processor, a session to be executed first for each of said terminal devices.
3. A control method in an interactive processing system including a processor as defined in claim 1 wherein said first means includes a user table provided for each user, and a session table for storing a session name and being chained to said user table, and said second means includes chaining means for designation a corresponding relationship between said area and said user table.
Description
BACKGROUND OF THE INVENTION

1. Field of the Invention

This invention relates to a control method of sessions in an interactive processing system.

2. Description of the Prior Art

In a conventional interactive processing system, the correspondence relation between a task (user program) and a terminal device used for the execution of the task is fixed on a one-to-one basis. A prior art system disclosed in Japanese Patent Laid-Open No. 40661/1983 makes it possible to execute concurrently a plurality of sessions by introducing the concept "virtual terminal". Though virtual, this concept does not get out from the conventional concept that information specifying a terminal is assigned to a session through the execution of the session. For this reason, it is not possible by this prior art system to achieve the following processing.

1) In a case of one session being processed by using a terminal device, another session is processed instead of the one session by using the terminal device before the processing for the one session has been completed.

2) In a case of a session being processed by using a terminal device, the session is processed by using another terminal device, before the processing for the session has been completed.

SUMMARY OF THE INVENTION

The present invention therefore contemplates to provide a session control system in an interactive processing system which eliminates the problems of the prior art systems described above.

The present invention provides memory means for storing information representing the correspondence relation between a terminal device and a task, updates the information in accordance with the request from a terminal device and specifies a terminal device to be used for the execution of the task in accordance with the information which represents the correspondence relation.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a schematic structural view of an electronic computer system to which the present invention is applied;

FIG. 2 is a block diagram showing one embodiment of the present invention;

FIG. 3 is a diagram showing an outline of processing in one embodiment of the invention;

FIG. 4 is a diagram showing an example of profile tables;

FIG. 5 is a diagram showing an example of interactive control tables;

FIG. 6 is a diagram showing an example of terminal control tables;

FIG. 7 is a flow chart showing the processing of session assignment;

FIG. 8 is an interactive control flow chart for changing sessions;

FIG. 9 is a flow chart showing the processing of the terminal same search;

FIG. 10 is a flow chart showing the processing for the session number search;

FIG. 11 is a flow chart showing the processing for terminal control for changing sessions;

FIG. 12a is a flow chart showing an example of session alteration; and

FIG. 12b is a flow chart showing another example of session alteration.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings.

FIG. 1 shows the overall construction of an electronic computer system to which the present invention is adapted. The system consists of a central processing unit 1, a communication control processor 2, terminal controllers 3 and 4 connected to the communication control processor 2 through lines 9 and 10, respectively, and terminal devices 5, 6, 7, and 8 connected to the terminal controllers 3 and 4, respectively.

In the electronic computer system having the construction described above, processings are executed while the input-output operation are being effected in the processing control unit 1 (CPU) with respect to the terminal devices 5 to 8. Such processings are referred to as "interactive processing" and a bunch of processings are referred to as a "task".

FIG. 2 is a schematic functional block diagram of CPU 1 in the embodiment of the present invention. A plurality of tasks are executed in CPU 1. A session which is a processing between one of the terminal devices and a task for which the interactive processing is to be made, is ,assigned in order to execute the input-output operation with the terminal device. Conventionally, this session has been fixed and cannot be re-assigned before the processing of the task is completed. The present invention makes it variable.

In FIG. 2, a communication control program 11 controls the data transmission and reception between CPU 1 and the terminal devices, and has the same function as that of the prior art system. A terminal control program 12 and an interactive control program 13 control the input-output operations between CPU 1 and the terminal devices that occur during the process of execution of the task, while using a profile table 14, a conversational control table 15 and a terminal control table 16.

Since the present invention relates essentially to the control of sessions in the interactive processing, the description of the other unassociated constructions will be omitted.

FIG. 3 schematically shows the processing of the present invention in relation to the session control.

A command relating to a session is inputted from an terminal device in response to the input instruction from the interactive control program or the terminal control program. The description on input of other commands and data will be hereby omitted.

A session name and a user name are applied to the command "SESSION START" and then inputted or applied to the interactive control program 13 through the communication control program 11 and the terminal control program 12 and are accepted there. In a status of the session start, the session start command is inputted in response to activation of the interactive control program with designation of a terminal device so, the interactive control program can know from which terminal device the command is issued. Therefore, the interactive control program sends the terminal name to the terminal control program and inquires the session number set to the terminal device at the time. Since the terminal control program stores therein the upper limit value of the session number as will be described below, it replies on the basis of this memory content. As will be described below, the interactive control program stores also the upper limit value of the session number that can be assigned to each of the terminal devices, and compares this number of sessions with the stored value. If further assignment is possible, the interactive control program sends the session name, the user name and the terminal name and issues session assignment. The terminal control program rewrites the table managing the sessions and sets a new session.

If an input-output requirement is raised, data is displayed on the corresponding terminal device in accordance with the assigned session, or the data is inputted from the terminal device.

Next, an explanation will be made for the cases where a "SESSION ALTER" command is inputted together with the session name and the user name and where a "SESSION STOP" command is inputted together with the session name and the user name. Since these cases correspond to the status where the session has already been assigned, input-output activation is generated from the terminal control program. Upon receiving the commands, the interactive control program inquires the terminal name of the terminal control program while inputting the user name and the session name.

The terminal control program searches the terminal control table for the terminal name and returns the terminal name. The subsequent processings are the same as those of the "SESSION START" command before an alteration requirement or a cancel requirement is generated. Thereafter, the alteration requirement and the cancel requirement are generated on the interactive control program, and the terminal control program updates the table in response thereto.

The above explains the overall construction and an example of the operations relating to the session control method of the present invention.

Hereinafter, the present invention will be explained in further detail.

FIG. 4 shows a profile table 14 inside CPU 1. This table is prepared at the time of constituting the system. The table stores the user name, the competence level (general or privileged) given to that user, and other control information.

FIG. 5 shows in detail the conversational control table 15. A common table 51 is a table to which direct reference is made by the conversational control program, and stores the upper limit value 52 described above, the start pointer 53 for a first user management table 55 and end pointer 54 for a last user management table 55. The user management table 55 has the user name, the assigned number of sessions and other user attributes, a pointer 57 to the other user management tables and a pointer 58 to a session control table. The user management tables are chained to one another by the pointers 57. The session control tables 56 are pointed to from the user management tables 55, are mutually chained and store the session name, the user name, the task ID and other attributes.

FIG. 6 shows in detail a terminal control table. A common management table 61 is a table to which direct access is made from the terminal control program, and which contains a pointer for the terminal management table 62. The terminal management table 62 has areas (WS1, WS2, WS3, . . . ) for the terminal devices, and these areas store the user table pointer 63, a queue management pointer 64, an active user pointer 65 representing the session that utilizes the terminal device at present, a session number 66 assigned to that terminal, and terminal attributes (such as identification of printer, display, and the like) 67. The user table 69 is pointed to by the pointer 63 and the session table 72 is pointed by the pointer 71. The session tables store the session name and are mutually chained by the pointer 73.

When two or more sessions of a plurality of users are assigned to one terminal device, the user tables 69 are chained by the pointer 70. On the other hand, a queue management table 68 is provided. This table 68 has areas corresponding to the terminal devices, respectively, and points to an input-output queue 74. The input-output queue 74 represents the execution of the input-output processing executed by the terminal device or the waiting sequence, and is chained to the other queues 74 by the pointer 76. The session table 72 is pointed to by the pointer 75 from each table of the input-output queue, thereby designating the session to be executed.

The above explains the constructions of the tables used for the main processing. Next, the session control processing using these tables will be described in detail.

Initially, the session alteration processing will be described. When the "SESSION ALTER" command is generated as shown in FIG. 3, the conversational control program 13 starts processing shown in FIG. 8. First, the "SESSION ALTER" command is received (801) and the competence level is searched from the given user name by referring to the profile table shown in FIG. 4 so as to check the competence for use of the terminal device by that user (802). Next, the conversational control table shown in FIG. 5 is referred to by referring to the common table 51 and searching the user management table 55 by the pointer 53. The pointer is the first address of the table that is to be referred to next. The table storing the same user name as the user name given by the pointer 57 is searched. Then, the session control table 56 is searched by the pointer 58 and the existence of the table storing the same session name as the session name given by the session control table is confirmed (803). If not, it is an error. If the session exists, the user name and the session name are sent to the terminal control program, and the name of the terminal used by the user is inquired (804).

FIG. 9 shows the processing of the terminal control program for this inquiry. Initially, reference is made to the area WS1 for the first terminal device of the terminal management table, and the user table 69 pointed by it is searched (901). Then, it is checked whether the table having the given user name is there (902). If not, the same processing is executed for the area WS2 relating to the next terminal device (903). If the table having the same session name is found, the session table 72 connected to that user table is searched (904). Whether or not the session name is in agreement with the given session name is in agreement checked, and if it is, the terminal device name at that time is sent to the conversational control program. If the table having the same session name does not exist, the processing returns to step 903.

Turning back again to the processing shown in FIG. 8, the conversational control program inquires the current session number of the terminal control program on the basis of the terminal name it receives (805).

Here, the processing of the terminal control program shown in FIG. 10 is executed. When the inquiry described above is received, the terminal management table 62 is searched (1001), and when the area corresponding to the given terminal name is found, the session number stored therein is read (1002, 1004). If the area is not the corresponding area, the next area is searched (1003). The session number that is read and is assigned currently to that terminal is sent to the conversational control program. Returning to FIG. 8, whether the session number exceeds the upper limit value 52 in the common table 51 in FIG. 5 is checked (806). If all the checks at steps 802, 803 and 806 prove to be YES, the session name, the user name and the terminal device name are designated and a session alteration request is issued to the terminal control program (007). If they are not YES, it is an error.

How the session alteration request occurs will be explained before the description of the session alteration processing. FIG. 12a shows an example of such cases. The session alteration occurs when the user A executes processing relating to the session 1 using the terminal a and executes the processing for another session 2 before the task is completed for the session 1, and returns again the processing to the processing for the session 1. FIG. 12b shows a case where the problem occurs at the terminal a and the session 1 must be transferred to the terminal b when the user A executes processing for the session 1 using the terminal a.

FIG. 11 shows the processing of the terminal control program in response to the session alteration request.

Initially, whether the terminal device which sends the command is in agreement with the terminal device given, by the conversational control program is determined (1101). If the former is in agreement with the latter, it is the case such as shown in FIG. 12a and if they are not in agreement, it is the case such as shown in FIG. 12b. If they are in agreement, the terminal management table 62 shown in FIG. 6 is searched (1102). If the area corresponding to the given terminal is found, the user table is searched by the pointer 63 to search the user table which is in agreement with the given user name (1103).

Next, whether this user table is active is checked (1104). The term "active" hereby means that the terminal device is used by the user. In the case of FIG. 12a, the user table is active. When one terminal device is to be used in common by at least two users and the other users are active, the user in question is not active. If the user is not active, an active pointer is changed. In the example shown in FIG. 6, the pointer 65 points to the user table as represented by the solid line. When the table name of the user table represented by a dotted line is designated, the pointer is changed from a solid line to a dotted line as represented by symbol a (1105).

More definitely, the value of the pointer 65 is rewritten from the start address of the user table represented by a solid line to the start address of the user table represented by a dotted line. Next, the session table connected to that table is searched to find out the session table having the given session name (1106). Next, if it is active is checked (1107). Whether it is active is represented by a user table active pointer 77. If the first session table is designated from the second session table that has been pointed to, for example, the pointer is changed so as to establish the connection represented by a dotted line in the drawing (1108).

Returning to the start of processing, the case where the requiring terminal device is not in agreement with the designated terminal device will be described.

The area relating to the terminal device designated from the conversational control program is searched on the terminal management table (1109). As can be understood clearly from the description given above, the designated terminal device is one that corresponds to the user name and the session name before the change. Next, the pointer for the input-output queue of the queue management table corresponding to the area is saved (1110), the user table pointer 63 is saved (1111) and the chain is cut (1112). Next, the area in the terminal management table corresponding to the requiring terminal device (generating the command) is searched (1113). The queue pointer saved in the queue management table corresponding to that terminal device is set (1114). If the designated user name exists in the user table connected to the terminal device area searched in step 1113, it is examined (1115), and if it does not exist, a new user table is prepared and a chain to the table is prepared (1118). If the user name exists or after the new user table is prepared, the session table having the give session name is searched and is changed to the user table described above (1117). Thus, the change represented by symbol b is executed in FIG. 6, for example.

The session alteration control is completed in the manner described above. Next, the opening of the session will be described. FIG. 7 shows the processing of the terminal control program when the session is opened. The operation starts when the request for opening is received from the conversational control program. The procedures up to the reception of the session opening request are the same as those of the session alteration.

When the opening request is received, the area of the terminal management table corresponding to the requesting terminal is searched (701). Next, the user table connected to the terminal device is searched, and the user table having the same user name as the given user name is searched (702). If the user table is already registered, the session table connected to the user table is searched (705) to examine whether the session table having the given session name exists (706). If the registration exists, it is an error (707), and if not, the session is registered anew and chaining is made from the user table (708). If the user table does not exist, it is made anew and chained (704). Then, the procedure shifts to step 708. Thereafter, the session number 66 of the area in the corresponding terminal management table is updated.

Though not shown in the drawings, when the session is registered, the conversational control program updates the session number corresponding to the user name of the user management table shown in FIG. 5.

Detailed description on the cancellation of the sessions will be omitted.

In the embodiment of the present patent described above, if an input-output operation occurs in the processing of a certain task, the user management table is searched by the conversational control program and the session control table storing the task ID representing that task is searched. Then, the session name corresponding to the task ID is searched. This table may be searched for each input-output operation, but in this embodiment, the correspondence between the task ID thus searched and the session name is stored in a memory in CPU and is used from the second processing and so forth.

Next, the session name thus searched is transferred to the terminal control program, where the terminal control table is searched. This search is to find out the session table to which the given session name is registered. The terminal device name of the area of the terminal management table to which the session table thus searched is connected is examined in order to know which terminal device the session uses. Therefore, the correspondence relation between the task and the terminal device is determined, and the input-output operation is made for this terminal device. Though the task ID and the session name has a fixed relation, the correspondence relation between the session name and the terminal device is variable in accordance with the present invention, so that the search of the terminal control table is made whenever the input-output operation is made.

In the manner described above, the correspondence relation between the task and the terminal device can be made variable.

According to the present invention, the session can be altered before the completion of the task and hence greater freedom can be obtained when using the terminal devices.

Patent Citations
Cited PatentFiling datePublication dateApplicantTitle
US4178476 *May 26, 1978Dec 11, 1979Frost Edward GAutomatic nationwide paging system
US4262283 *Mar 1, 1978Apr 14, 1981The Post OfficeSystem for transmitting alarm information over telephone lines
US4313035 *Jan 18, 1980Jan 26, 1982Bell Telephone Laboratories, IncorporatedMethod of providing person locator service
US4451705 *May 28, 1982May 29, 1984Bell Telephone Laboratories, IncorporatedCall completion circuit and method
US4503499 *Sep 14, 1982Mar 5, 1985Eaton CorporationComputer system
US4586134 *Feb 15, 1984Apr 29, 1986International Business Machines Corp.Computer network system and its use for information unit transmission
US4658351 *Oct 9, 1984Apr 14, 1987Wang Laboratories, Inc.Task control means for a multi-tasking data processing system
US4658416 *Feb 11, 1985Apr 14, 1987Nec CorporationAutomatic call transfer system capable of carrying out call transfer without manual operation
US4718005 *May 3, 1984Jan 5, 1988International Business Machines CorporationDistributed control of alias name usage in networks
JPS6014342A * Title not available
Referenced by
Citing PatentFiling datePublication dateApplicantTitle
US5127087 *Dec 27, 1988Jun 30, 1992International Business Machines CorporationMethod of allowing the transmission of electronic messages between enrolled and unenrolled users of computer systems
US5283888 *Aug 27, 1991Feb 1, 1994International Business Machines CorporationVoice processing interface unit employing virtual screen communications for accessing a plurality of primed applications
US5307500 *Jan 23, 1991Apr 26, 1994Sharp Kabushiki KaishaIntegrated circuit device with stand-by cancellation
US5339450 *Dec 7, 1992Aug 16, 1994Fujitsu LimitedComputer system including a terminal operable as a service processor and a work station
US5392426 *Jan 21, 1993Feb 21, 1995Nynex Corporation, Inc.Method and apparatus for use in program operation, control and control block management and storage
US5394554 *Mar 30, 1992Feb 28, 1995International Business Machines CorporationInterdicting I/O and messaging operations from sending central processing complex to other central processing complexes and to I/O device in multi-system complex
US5414845 *Jun 26, 1992May 9, 1995International Business Machines CorporationNetwork-based computer system with improved network scheduling system
US5499342 *May 1, 1992Mar 12, 1996Hitachi, Ltd.System for dynamically switching logical sessions between terminal device and a processor which stops its operation to another working processor under control of communication control processor
US5519874 *Mar 12, 1991May 21, 1996Hitachi, Ltd.Application execution control method and system for servicing subscribers via a switchboard connected to a computer using an application management table
US5553242 *Nov 3, 1993Sep 3, 1996Wang Laboratories, Inc.Client/server connection sharing
US5615339 *Feb 24, 1992Mar 25, 1997Nec CorporationOnline system having session control information table in a host computer for establishing or disconnecting session with multiple terminals in accordance with processing performance
US5619649 *Jun 12, 1995Apr 8, 1997Xerox CorporationNetwork printing system for programming a print job by selecting a job ticket identifier associated with remotely stored predefined document processing control instructions
US5652908 *Jun 7, 1995Jul 29, 1997International Business Machines CorporationMethod and apparatus for establishing communications sessions in a remote resource control environment
US5696895 *Jun 19, 1995Dec 9, 1997Compaq Computer CorporationFault tolerant multiple network servers
US5764914 *Sep 7, 1994Jun 9, 1998Fujitsu LimitedNetwork system for connecting to a network node from terminal
US5822532 *Dec 20, 1994Oct 13, 1998Fuji Xerox Co., Ltd.Centralized resource supervising system for a distributed data network
US5825865 *Oct 4, 1991Oct 20, 1998Motorola, Inc.Temporary message routing and destination selection
US5831860 *Apr 28, 1995Nov 3, 1998At&T Corp.Package special delivery service
US6212269 *Jun 28, 1996Apr 3, 2001Nec CorporationVirtual terminal control device for switching system
US6366262Mar 7, 1997Apr 2, 2002International Business Machines CorporationMethod and apparatus for supporting multiple NPT display sessions on a single address
US6400996 *Feb 1, 1999Jun 4, 2002Steven M. HoffbergAdaptive pattern recognition based control system and method
WO1997048050A1 *Jun 3, 1997Dec 18, 1997Vdonet Corp LtdIp name resolution system
Classifications
U.S. Classification718/102, 710/8, 709/227
International ClassificationG06F15/00, G06F15/17, G06F9/46, G06F13/38
Cooperative ClassificationG06F15/17, G06F13/387
European ClassificationG06F15/17, G06F13/38A4
Legal Events
DateCodeEventDescription
Oct 21, 2003FPExpired due to failure to pay maintenance fee
Effective date: 20030827
Aug 27, 2003LAPSLapse for failure to pay maintenance fees
Mar 12, 2003REMIMaintenance fee reminder mailed
Feb 1, 1999FPAYFee payment
Year of fee payment: 8
Dec 30, 1994FPAYFee payment
Year of fee payment: 4
May 17, 1991ASAssignment
Owner name: HITACHI, LTD. A CORP. OF JAPAN, JAPAN
Free format text: ASSIGNMENT OF ASSIGNORS INTEREST.;ASSIGNOR:HAMAZAKI, TAKASHI;REEL/FRAME:005707/0497
Effective date: 19860304