Graphical functions
First Claim
Patent Images
1. A computer-implemented method comprising:
- providing a graphical user interface for defining a function to be used in a graphical representation of a finite state machine, where the graphical representation is an executable model of the finite state machine in a statechart system and includes at least one state and at least one transition;
representing the function graphically such that the function is graphically represented separately from the at least one state and at least one transition in the graphical representation of the finite state machine, wherein the function that is represented graphically has a function prototype that specifies a syntax for invoking the function, the function prototype specifying a function name for the function, and the function is defined in the statechart system in a graphical language; and
calling the function that is represented graphically by the function name according to the syntax specified by the function prototype from within the graphical representation of the finite state machine.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, system and computer program product to define and utilize functions graphically is provided which may be used in the simulation of finite state machines. The functions may combine mathematical, logical, non-linear and comparative operations. The graphical elements of the function may be hidden for ease of display of various portions of a model.
19 Citations
61 Claims
-
1. A computer-implemented method comprising:
-
providing a graphical user interface for defining a function to be used in a graphical representation of a finite state machine, where the graphical representation is an executable model of the finite state machine in a statechart system and includes at least one state and at least one transition; representing the function graphically such that the function is graphically represented separately from the at least one state and at least one transition in the graphical representation of the finite state machine, wherein the function that is represented graphically has a function prototype that specifies a syntax for invoking the function, the function prototype specifying a function name for the function, and the function is defined in the statechart system in a graphical language; and calling the function that is represented graphically by the function name according to the syntax specified by the function prototype from within the graphical representation of the finite state machine. - View Dependent Claims (2, 3, 5)
-
-
4. A computer-implemented method, said method comprising:
-
providing a graphical user interface for defining a function to be used in a graphical representation of a finite state machine, where the graphical representation is an executable model of the finite state machine in a statechart system and includes at least one state and at least one transition; representing the function graphically such that the function is graphically represented separately from the at least one state and the at least one transition in the graphical representation of the finite state machine, wherein the function is represented graphically in the statechart system as a diagram comprising graphical elements and has a function prototype that specifies a syntax for invoking the function, the function prototype specifying a function name for the function; and calling the function that is represented graphically by the function name according to the syntax specified by the function prototype from within the graphical representation of the finite state machine.
-
-
6. A computer program product, stored in a computer readable storage medium, comprising instructions to cause a computer to:
-
receive input defining a graphical function for use in a finite state machine in a statechart system, the graphical function having a function prototype in the statechart system that specifies a syntax for invoking the graphical function, the function prototype specifying a function name for the graphical function; and use the graphical function in a simulation of a system represented by the finite state machine, wherein the instructions to use the graphical function further comprise instructions to call the graphical function by the function name according to the syntax specified by the function prototype from at least one state or transition in the finite state machine, the graphical function being represented graphically such that the graphical function is graphically represented separately from the at least one state or transition in the finite state machine. - View Dependent Claims (7, 8, 9)
-
-
10. A system for modeling at least one finite state machine, said system comprising:
-
a computer comprising a graphical user interface, a memory, a storage, and at least one input device; means to receive input to define a graphical function, the graphical function having a function prototype that specifies a syntax for invoking the graphical function, the function prototype specifying a function name for the graphical function; means to represent the graphical function as an executable state flow diagram in a statechart system; and means to call the graphical function by the function name according to the syntax specified by the function prototype from the at least one finite state machine in a simulation of the at least one finite state machine, the at least one finite state machine including at least one state and at least one transition, the graphical function being represented graphically such that the graphical function is graphically represented separately from the at least one state and the at least one transition in the finite state machine in the statechart system. - View Dependent Claims (11, 12, 13, 14)
-
-
15. A method of operating a data processing system having a graphical user interface, said method comprising:
-
creating a graphical representation of a finite state machine and a graphical representation of a function for use in the graphical representation of the finite state machine in a statechart system, the function having a function prototype represented in the statechart system that specifies a syntax for invoking the function, the function prototype specifying a function name for the function, the graphical representation of the finite state machine including at least one state and at least one transition, the graphical representation of the function being represented graphically such that the function is graphically represented separately from the at least one state and the at least one transition in the graphical representation of the finite state machine; simulating a system represented by the finite state machine in the statechart system, wherein the graphical representation of the finite state machine is an executable model of the system; and calling the function by the function name according to the syntax specified by the function prototype from the executable model of the system during the act of simulating the system represented by the finite state machine. - View Dependent Claims (16, 17, 18)
-
-
19. A computer readable storage medium having encoded thereon:
-
instructions for causing a computer system to receive through a graphical user interface a graphical representation of a finite state machine for use in a statechart system and a graphical representation of a function for use in the graphical representation of the finite state machine, the function having a function prototype that is represented in the statechart system that specifies a syntax for invoking the function, the function prototype specifying a function name for the function, the graphical representation of the finite state machine including at least one state and at least one transition, the function being represented graphically such that the function is graphically represented separately from the at least one state and the at least one transition in the graphical representation of the finite state machine; and instructions for simulating a system represented by the finite state machine, where the graphical representation of the finite state machine is an executable model of the system; and instructions for calling the function by the function name according to the syntax specified in the function prototype from at least one place in the executable model during the system simulation.
-
-
20. In an electronic device, a method of graphically representing an event-driven system, said method comprising:
-
providing one or more block components representing one or more states in an executable model in a event-driven system modeling environment; providing one or more transition components representing transitions between the one or more states; and providing a function having a function prototype that specifies a syntax for invoking the function, the function prototype specifying a function name for the function, said function comprising at least two graphical components in the event driven-system modeling environment and being referenced by at least one of the states or at least one of the transitions to call the function by the function name according to the syntax specified by the function prototype at the at least one of the states or the at least one of the transitions, the function being represented graphically such that the function is graphically represented separately from the at least one of the states and the at least one of the transitions in the executable model. - View Dependent Claims (21, 22, 23, 24, 25, 26, 27)
-
-
28. In a graphical representation environment, a system for graphically representing an event-driven system, said system comprising:
-
one or more block components representing one or more states in an executable model in an event-driven system environment; one or more transition components representing transitions between the one or more block components representing the one or more states; and a component representing a graphical function having a function prototype that specifies a syntax for invoking the function, the function prototype represented in the event-driven system environment and specifying a function name for the graphical function, and referenced by at least one of the states or at least one of the transitions to call the graphical function by the function name according to the syntax specified by the function prototype at one of the states or one of the transitions, the graphical function being represented graphically such that the graphical function is graphically represented separately from the at least one of the states and the at least one of the transitions in the executable model. - View Dependent Claims (29, 30, 31, 32, 33, 34, 35)
-
-
36. A computer-readable storage medium for use in a graphical representation environment on an electronic device, the medium holding instructions executable using the electronic device for graphically representing an event-driven system, said instructions comprising instructions for:
-
providing one or more block components representing one or more states in an executable model in an event-driven system environment; providing one or more transition components representing transitions between the one or more block components representing the one or more states; and providing a block component in the event-driven system environment representing a graphical function defined in the event-driven system environment having a function prototype that specifies a syntax for invoking the graphical function, the function prototype specifying a function name for the graphical function and referenced by at least one of the states or at least one of the transitions to call the graphical function by the function name according to the syntax specified by the function prototype at one of the states or one of the transitions during execution of the event-driven system, the graphical function being represented graphically such that the graphical function is graphically represented separately from the at least one of the states and the at least one of the transitions in the executable model. - View Dependent Claims (37, 38, 39, 40, 41, 42, 43)
-
-
44. A computer-implemented method for modeling a system using a graphical block diagram environment, said method comprising:
-
graphically representing a function defined in the graphical block diagram environment having a function prototype that specifies a syntax for invoking the function, the function prototype specifying a function name for the function for use in an executable model within the graphical block diagram environment, the executable model including at least one state and at least one transition, the function being represented graphically such that the function is graphically represented separately from the at least one state and the at least one transition in the executable model; and textually referencing the graphically represented function by the function name according to the syntax specified by the function prototype within the model to cause an invocation of the graphically represented function during execution of the model. - View Dependent Claims (45, 46, 47, 48)
-
-
49. A computer-readable storage medium holding instructions executable using an electronic device for modeling a system using a graphical block diagram environment, said instructions comprising instructions for:
-
graphically defining a function in the graphical block diagram environment having a function prototype that specifies a syntax for invoking the function, the function prototype specifying a function name for the function for use in an executable model within the graphical block diagram environment, the executable model including at least one state and at least one transition, the function being represented graphically such that the function is graphically represented separately from the at least one state and the at least one transition in an executable model; and textually referencing the graphically represented function by the function name according to the syntax specified by the function prototype within the model to cause an invocation of the graphically represented function during execution of the model. - View Dependent Claims (50, 51, 52)
-
-
53. A computer-implemented system for modeling using a graphical block diagram environment, said system comprising:
-
means for representing a function defined in the graphical block diagram environment having a function prototype that specifies a syntax for invoking the function, the function prototype specifying a function name for the function, the function being defined graphically for use in an executable model within the graphical block diagram environment, the executable model including at least one state and at least one transition, the function being represented graphically such that the function is graphically represented separately from the at least one state and the at least one transition in the executable model; and means for textually referencing the function defined graphically by the function name according to the syntax specified by the function prototype within the model to cause an invocation of the function during execution of the model. - View Dependent Claims (54, 55, 56)
-
-
57. A graphical block diagram modeling system comprising:
-
a graphical function for use in an executable model in a graphical block diagram modeling environment, the graphical function having a function prototype that specifies a syntax for invoking the graphical function, the function prototype specifying a function name for the graphical function, wherein at least a subset of commands of the graphical function are defined through a graphical representation in the graphical block diagram modeling environment, the executable model including at least one state and at least one transition, the graphical function being represented graphically such that the graphical function is graphically represented separately from the at least one state and the at least one transition in the executable model; and a graphical representation of the model including a textual reference of the graphical function by the function name according to the syntax specified by the function prototype within the graphical representation of the model to cause an invocation of the graphical function during an execution of the model. - View Dependent Claims (58, 59, 60, 61)
-
Specification