首页> 外国专利> System, method, and program for utilizing a software state machine carrying out the process flow of a software program

System, method, and program for utilizing a software state machine carrying out the process flow of a software program

机译:用于利用执行软件程序的处理流程的软件状态机的系统,方法和程序

摘要

A system, method, and program utilizes a software state machine for carrying out the processes and functions of a program. The components of a program, e.g., the process flow, functions, dialogs, etc., are implemented using various states. A value of a state variable indicates a corresponding state. A method checks for a current value of the state variable. Any given function within any given state, or input received from a user, such as through “next” or “previous” buttons on a dialog box, can return a value for the state variable. When the method determines a new value of the state variable, an object corresponding to the state indicated by the new value is brought up and enabled. A vector keeps track of the sequence of states being executed so that a value indicating a previous state will return the program to the previous state without having program logic built into a state of how the program arrived at that state. A program utilizing a software state machine is easily customized by merely adding or deleting states or by changing a value of the state variable returned for a given function within a state or for any given input received. As such, new functions can be added to a program by adding new states; functions can be deleted by deleting states; and the flow of the program can be changed by changing a value of the state variable that is returned.
机译:系统,方法和程序利用软件状态机来执行程序的过程和功能。程序的组件,例如处理流程,功能,对话框等,是使用各种状态实现的。状态变量的值指示相应的状态。一种方法检查状态变量的当前值。在任何给定状态内的任何给定功能,或从用户接收的输入(例如通过“下一步”或“上一个”对话框上的按钮可以返回状态变量的值。当该方法确定状态变量的新值时,将启动并启用与该新值指示的状态相对应的对象。向量跟踪正在执行的状态序列,以便指示先前状态的值将使程序返回至先前状态,而无需将程序逻辑内置到程序如何到达该状态的状态中。通过仅添加或删除状态,或通过更改状态或接收到的任何给定输入中为给定功能返回的状态变量的值,可以轻松地定制利用软件状态机的程序。这样,可以通过添加新状态将新功能添加到程序中。可以通过删除状态来删除功能;并且可以通过改变返回的状态变量的值来改变程序的流程。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号