Method, system and program product for closing a communication session with outstanding data commands on a transport communication system
First Claim
1. A method for managing a communication session on a Transport Communication System (TCS), comprising:
- receiving a data command in a TCS for the communication session, the TCS being a series of channels, every channel being a layer of software that implements a specific function, the channels being linked together for processing a piece of data, the data flowing bi-directionally between channels in the series, the data command comprising one of;
a read, write or close command;
before executing the data command, requesting permission from a permission system to execute the data command; and
,receiving a response to the request from the permission system, wherein the permission system determines whether to grant the permission by applying a set of rules to a current setting of a state variable associated with the TCS, wherein, if data command is a close command, the set of rules grant permission when the state variable indicates one of;
that the TCS is not in use, that a previous read or write data command is done, or that the session is allowed to close and wherein, if data command is a close command, the set of rules do not grant permission when the state variable indicates one of;
that the TCS is processing another read or write data command or the session is closing; and
wherein, if the data command is a read or write command, the set of rules denies permission when the state variable indicates a close command is pending or has been allowed and grants permission when the state variable indicates that no close command is pending or has been allowed;
wherein the setting is selected from the group consisting of not in use, read pending, close allowed, close pending, read command finishing, read done, write pending, write finishing and write done.
1 Assignment
0 Petitions
Accused Products
Abstract
Under the present invention, when a TCS receives a data command (e.g., a read or write command) pursuant to a communication session between the TCS and an application, it will first request permission from a permission system to execute the data command. By applying a set of rules to a setting of a state variable associated with the TCS, the permission system will determine whether to grant the permission. If so, the TCS will execute the data command and change the setting of the state variable. If a close command is later received by the TCS to close the communication session, permission will once again be requested from the permission system, which will again apply a set of rules to the current setting of the state variable to determine if the session can be safely closed.
-
Citations
20 Claims
-
1. A method for managing a communication session on a Transport Communication System (TCS), comprising:
-
receiving a data command in a TCS for the communication session, the TCS being a series of channels, every channel being a layer of software that implements a specific function, the channels being linked together for processing a piece of data, the data flowing bi-directionally between channels in the series, the data command comprising one of;
a read, write or close command;before executing the data command, requesting permission from a permission system to execute the data command; and
,receiving a response to the request from the permission system, wherein the permission system determines whether to grant the permission by applying a set of rules to a current setting of a state variable associated with the TCS, wherein, if data command is a close command, the set of rules grant permission when the state variable indicates one of;
that the TCS is not in use, that a previous read or write data command is done, or that the session is allowed to close and wherein, if data command is a close command, the set of rules do not grant permission when the state variable indicates one of;
that the TCS is processing another read or write data command or the session is closing; and
wherein, if the data command is a read or write command, the set of rules denies permission when the state variable indicates a close command is pending or has been allowed and grants permission when the state variable indicates that no close command is pending or has been allowed;wherein the setting is selected from the group consisting of not in use, read pending, close allowed, close pending, read command finishing, read done, write pending, write finishing and write done. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A system for managing a communication session on a Transport Communication System (TCS), comprising:
-
a TCS for receiving and executing commands from an application pursuant to a communication session between the TCS and the application, the TCS being a series of channels, every channel being a layer of software that implements a specific function, the channels being linked together for processing a piece of data, the data flowing bi-directionally between channels in the series, and the TCS being configured to request permission to execute the commands, the commands comprising one of;
read, write or close command; anda permission system for determining, before the TCS executes the commands, whether to grant permission to execute the commands by applying a set of rules to a setting of a state variable associated with the TCS, wherein, if data command is a close command, the set of rules grant permission when the state variable indicates one of;
that the TCS is not in use, that a previous data command is done, or that the session is allowed to close and wherein if data command is a close command, the set of rules do not grant permission when the state variable indicates one of;
that the TCS is processing another read or write data command or the session is closing; and
wherein if the data command is a read or write command, the set of rules denies permission when the state variable indicates a close command is pending or has been allowed and grants permission when the state variable indicates that no close command is pending or has been allowed;wherein the setting is selected from the group consisting of not in use, read pending, close allowed, close pending, read command finishing, read done, write pending, write finishing and write done. - View Dependent Claims (7, 8, 9)
-
-
10. A method for managing a communication session on a Transport Communication System (TCS), comprising:
-
receiving a request from a TCS for permission to execute a data command received on the TCS, the TCS being a series of channels, every channel being a layer of software that implements a specific function, the channels being linked together for processing a piece of data, the data flowing bi-directionally between channels in the series, the data command comprising one of;
a read, write or close command;before executing the data command, determining whether to grant the permission by applying a set of rules to a setting of a state variable associated with the TCS, wherein, if data command is a close command, the set of rules grant permission when the state variable indicates one of;
that the TCS is not in use, that a previous read or write data command is done, or that the session is allowed to close and wherein, if data command is a close command, the set of rules do not grant permission when the state variable indicates one of;
that the TCS is processing another read or write data command or the session is closing; and
wherein if the data command is a read or write command, the set of rules denies permission when the state variable indicates a close command is pending or has been allowed and grants permission when the state variable indicates that no close command is pending or has been allowed;wherein the setting is selected from the group consisting of not in use, read pending, close allowed, close pending, read command finishing, read done, write pending, write finishing and write done; and outputting a result of the determining to the TCS. - View Dependent Claims (11, 12)
-
-
13. A system for managing a communication session on a Transport Communication System (TCS), comprising:
-
a system for receiving a request from a TCS for permission to execute a data command received on the TCS, the TCS being a series of channels, every channel being a layer of software that implements a specific function, the channels being linked together for processing a piece of data, the data flowing bi-directionally between channels in the series, the data command comprising one of;
a read, write or close command;a system for determining, before the TCS executes the data command, whether to grant the permission by applying a set of rules to a setting of a state variable associated with the TCS, wherein, if data comand is a close command, the set of rules grant permission when the state variable indicates one of;
that the TCS is not in use, that a previous read or write data command is done, or that the session is allowed to close and wherein, if data command is a close command, the set of rules do not grant permission when the state variable indicates one of;
that the TCS is processing another data read or write command or the session is closing; and
wherein, if the data command is a read or write command, the set of rules denies permission when the state variable indicates a close command is pending or has been allowed and grants permission when the state variable indicates that no close command is pending or has been allowed;wherein the setting is selected from the group consisting of not in use, read pending, close allowed, close pending, read command finishing, read done, write pending, write finishing and write done; and a system for outputting a result of the permission processing system to the TCS. - View Dependent Claims (14, 15)
-
-
16. A program product stored on a recordable storage media for closing managing a communication session on a Transport Communication System (TCS), which when executed, comprises:
-
program code for receiving a request from a TCS for permission to execute a data command received on the TCS, the TCS being a series of channels, every channel being a layer of software that implements a specific function, the channels being linked together for processing a piece of data, the data flowing bi-directionally between channels in the series, the data command comprising one of;
a read, write or close command;program code for determining, before the TCS executes the data command, whether to grant the permission by applying a set of rules to a setting of a state variable associated with the TCS, wherein, if data command is a close command, the set of rules grant permission when the state variable indicates one of;
that the TCS is not in use, that a previous read or write data command is done, or that the session is allowed to close and wherein, if data command is a close command, the set of rules do not grant permission when the state variable indicates one of;
that the TCS is processing another data read or write command or the session is closing; and
wherein, if the data command is a read or write command, the set of rules denies permission when the state variable indicates a close command is pending or has been allowed and grants permission when the state variable indicates that no close command is pending or has been allowed;wherein the setting is selected from the group consisting of not in use, read pending, close allowed, close pending, read command finishing, read done, write pending, write finishing and write done; and program code for outputting a result of the permission processing system to the TCS. - View Dependent Claims (17, 18)
-
-
19. A method for deploying an application for managing a communication session on a Transport Communication System (TCS), comprising:
providing a computer infrastructure being operable to; receive a request from a TCS for permission to execute a data command received on the TCS, the TCS being a series of channels, every channel being a layer of software that implements a specific function, the channels being linked together for processing a piece of data, the data flowing bi-directionally between channels in the series, the data command comprising one of;
a read, write or close command;determine, before the TCS executes the data command, whether to grant the permission by applying a set of rules to a setting of a state variable associated with the TCS, wherein, if data comand is a close command, the set of rules grant permission when the state variable indicates one of;
that the TCS is not in use, that a previous read or write data command is done, or that the session is allowed to close and wherein, if data command is a close command, the set of rules do not grant permission when the state variable indicates one of;
that the TCS is processing another data read or write command or the session is closing; and
wherein, if the data command is a read or write command, the set of rules denies permission when the state variable indicates a close command is pending or has been allowed and grants permission when the state variable indicates that no close command is pending or has been allowed;wherein the setting is selected from the group consisting of not in use, read pending, close allowed, close pending, read command finishing, read done, write pending, write finishing and write done; and output a result of the permission processing system to the TCS.
-
20. Computer software embodied in a physical computer readable storage media for managing a communication session on a Transport Communication System (TCS), the computer software comprising instructions to cause a computer system to perform the following functions:
-
receive a request from a TCS for permission to execute a data command received on the TCS, the TCS being a series of channels, every channel being a layer of software that implements a specific function, the channels being linked together for processing a piece of data, the data flowing bi-directionally between channels in the series, the data command comprising one of;
a read, write or close command;before executing the data command, determining whether to grant the permission by applying a set of rules to a setting of a state variable associated with the TCS, wherein, if data command is a close command, the set of rules grant permission when the state variable indicates one of;
that the TCS is not in use, that a previous read or write data command is done, or that the session is allowed to close and wherein, if data command is a close command, the set of rules do not grant permission when the state variable indicates one of;
that the TCS is processing another read or write data command or the session is closing; and
wherein if the data command is a read or write command, the set of rules denies permission when the state variable indicates a close command is pending or has been allowed and grants permission when the state variable indicates that no close command is pending or has been allowed;wherein the setting is selected from the group consisting of not in use, read pending, close allowed, close pending, read command finishing, read done, write pending, write finishing and write done; and output a result of the determining to the TCS.
-
Specification