发明名称 METHOD, APPARATUS AND STATE MACHINE SYSTEM FOR CONTROLLING A STATE MACHINE
摘要 The invention discloses a state machine control method, a state machine control device and a state machine system. The state machine control method comprises the following steps of: A, updating the current active state of a state machine into the initial state of the state machine; B, acquiring a base event inputting the state machine, and matching the base event and each transition condition of the current active state; C, performing state transition on the state machine according to a successfully matched transition condition, and updating the current active state according to a transition result; and D, judging whether the current active state is the final state of the state machine or not, finishing the running of the state machine if the current active state is the final state of the state machine, otherwise returning to the step B. The state machine control method is applied to various state machine definitions, and can be implemented by various program languages without the limitation of hardware and software environments. The development difficulty and development cost of a state-machine-based application system are greatly decreased.
申请公布号 HK1166534(A1) 申请公布日期 2015.10.16
申请号 HK20120107183 申请日期 2012.07.23
申请人 ALIBABA GROUP HOLDING LIMITED 发明人 CAI, XUEYONG
分类号 G06F 主分类号 G06F
代理机构 代理人
主权项
地址