Method, system and computer program product for generating program
First Claim
1. A method for generating a control program that implements a plurality of practical means in a computer by using a generation program comprising the steps of:
- reading correspondence information that specifies allocation of an action to a process state stored in a storage medium in the computer;
determining whether the process state in the correspondence information is either of an exceptional process state or a normal process state based on an exception attribute of the process state in the correspondence information; and
generating the control program based on the correspondence information, wherein the control program implements the practical means to the computer, the practical means includes;
a process state detection means for detecting the process state in process state information stored in the storage medium in the computer;
a normal process handling means for performing the action allocated to the normal process state specified in the correspondence information if the process state is the normal process state; and
an exceptional process handling means for performing the action allocated to the exceptional process state specified in the correspondence information if the process state is not the normal process state.
1 Assignment
0 Petitions
Accused Products
Abstract
A program generation program used in a personal computer processes information on relationship between an action and a pair of a state of a system and an event to create a program for incorporating a new state in a state transition table. The computer reads the state transition table in a storage medium and selects the state specified in the state transition table. The computer generates a program that determines whether the selected state is an exceptional state or a normal state on the basis of state information in the state transition table. Based on the result of the determination, the program performs an action including a state transition or a process allocated to the exceptional state specified in the state transition table when the state is the exceptional.
18 Citations
25 Claims
-
1. A method for generating a control program that implements a plurality of practical means in a computer by using a generation program comprising the steps of:
-
reading correspondence information that specifies allocation of an action to a process state stored in a storage medium in the computer;
determining whether the process state in the correspondence information is either of an exceptional process state or a normal process state based on an exception attribute of the process state in the correspondence information; and
generating the control program based on the correspondence information, wherein the control program implements the practical means to the computer, the practical means includes;
a process state detection means for detecting the process state in process state information stored in the storage medium in the computer;
a normal process handling means for performing the action allocated to the normal process state specified in the correspondence information if the process state is the normal process state; and
an exceptional process handling means for performing the action allocated to the exceptional process state specified in the correspondence information if the process state is not the normal process state. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A program generation system implemented in a computer comprising:
-
a reading means for reading correspondence information that specifies allocation of an action to a process state;
a determining means for determining whether the process state specified in the correspondence information is either of an exceptional process state or a normal process state on the basis of an exception attribute in the correspondence information; and
a generating means for generating a program based on the correspondence information read by the reading means, wherein the program implements the practical means in the computer, the practical means includes;
a process state detection means for detecting the process state in process state information stored in a storage medium in the computer;
a normal process handling means for performing the action allocated to the normal process state specified in the correspondence information if the process state is the normal process state; and
an exceptional process handling means for performing the action allocated to the exceptional process state specified in the correspondence information if the process state does not corresponds to any of the normal process state. - View Dependent Claims (12, 13, 14, 15, 16, 17)
-
-
18. A computer program product comprising a computer usable medium having computer program logic recorded thereon for enabling generation of a control program in a computer, the computer program logic comprising:
-
a reading procedure for reading correspondence information that specifies allocation of an action to a process state stored in a storage medium in the computer;
a determining procedure for determining whether the process state specified in the correspondence information is either of an exceptional process state or a normal process state on the basis of an exception attribute in the correspondence information; and
a generating procedure for generating a program based on the correspondence information, wherein the control program implements practical means in the computer, the practical means includes;
a process state detection means for detecting the process state in process state information stored in the storage medium in the computer;
a normal process handling means for performing the action allocated to the normal process state specified in the correspondence information if the process state is the normal process state; and
an exceptional process handling means for performing the action allocated to the exceptional process state specified in the correspondence information if the process state does not correspond to any of the normal process state.
-
-
19. A method for generating a program for implementing a plurality of practical means in a computer comprising the steps of:
-
reading correspondence information that specifies allocation of an action to a process state stored in a storage medium in the computer;
determining whether the correspondence information read by the reading means includes the action for an exceptional process state; and
generating the program based on the correspondence information, wherein the program implements the practical means in the computer, the practical means includes;
a process state detection means for detecting the process state in process state information stored in the storage medium in the computer;
a normal process handling means for performing the action allocated to the process state in the correspondence information; and
an exceptional process handling means for performing the action allocated to the exceptional process state specified in the correspondence information if the process state does not correspond to any of the process state in the correspondence information. - View Dependent Claims (20, 21, 22)
-
-
23. A program generation system in a computer comprising:
-
a reading means for reading correspondence information that specifies allocation of an action to a process state in a storage medium in the computer;
a determining means for determining whether the correspondence information read by the reading means includes the action for an exceptional process state; and
a generating means for generating a program based on the correspondence information read by the reading means, wherein the program implements the practical means in the computer, the practical means includes;
a process state detection means for detecting the process state in process state information stored in the storage medium in the computer;
a process handling means for performing the action allocated to the process state in the correspondence information; and
an exceptional process handling means for performing the action allocated to the exceptional process state specified in the correspondence information if the process state does not correspond to any process state in the correspondence information. - View Dependent Claims (24)
-
-
25. A computer program product comprising a computer usable medium having computer program logic recorded thereon for enabling generation of a control program in a computer, the computer program logic comprising:
-
a reading procedure for reading correspondence information that specifies allocation of an action to a process state;
a determining procedure for determining whether the correspondence information read by the reading means includes the action for an exceptional process state; and
a generating procedure for generating the control program based on the correspondence information read by the reading means, wherein the control program implements the practical means in the computer, the practical means includes;
a process state detection means for detecting the process state in process state information stored in the computer;
a process handling means for performing the action allocated to the process state in the correspondence information; and
an exceptional process handling means for performing the action allocated to the exceptional process state specified in the correspondence information if the process state does not correspond to any of the process state in the correspondence information.
-
Specification