A method for executing an operation flow according to an operation flow table, used for executing the operation flow according to the operation flow table obtained by a method for tabular processing of the operation flow, the method for tabular processing of the operation flow comprising:
- generating an operation flow table;
- sequentially acquiring the plurality of flow steps of the operation flow and sequentially determining operation flow types corresponding to each of the plurality of flow steps in the operation flow;
- combining, according to a predetermined flow step sequence, continuous flow steps in the operation flow into at least one flow step sequence corresponding to the operation flow types;
- sequentially acquiring a flow step sequence from the operation flow, according to the operation flow type of the flow step sequence, based on a predetermined row generation rule corresponding to said at least one flow step sequence having the operation flow types;
- sequentially generating, in the operation flow table, operation flow table rows corresponding to the flow step sequence;
- determining whether the plurality of flow steps have all been acquired, obtaining and outputting the operation flow table in response to a determination that the plurality of flow steps have been acquired, otherwise sequentially acquiring the plurality of flow steps of the operation flow;
- wherein the operation flow table comprises a condition column and an instruction column, each of the operation flow table rows comprises a condition cell positioned at the condition column and an instruction cell positioned at the instruction column;
- wherein the condition cell is at least used for adding a first flow step to execute a determination in the operation flow and taking the first flow step as an execution condition corresponding to the instruction cell in a same operation flow table row;
- wherein the instruction cell is at least used for adding a second flow step to execute an operation in the operation flow as an operation instruction, the operation flow types comprise at least an instruction type operation flow and a conditional branch operation flow, the instruction type operation flow comprises at least one continuous flow step as the operation instruction, a flow step combination rule for the corresponding instruction type operation flow is combining said at least one continuous flow step into an operation instruction type flow step sequence;
- wherein the conditional branch operation flow comprises at least one branch operation flow and mutually exclusive execution conditions corresponding to each of the branch operation flow, continuous flow steps in said at least one branch operation flow are combined into at least one sub-flow step sequence corresponding to the operation flow type;
- sequentially adding each flow step in said at least one sub-flow step sequence as an operation instruction to the instruction cell of the operation flow table row of a corresponding branch operation flow if the first sub-flow step sequence is an instruction type flow step sequence;
- if the sub-flow step sequence is a conditional branch type flow step sequence, generating a sub-operation flow table corresponding to the branch operation flow, embedding the sub-operation flow table hierarchically under the operation flow table rows corresponding to the branch operation flow, and sequentially generating operation flow table rows corresponding to the sub-flow step sequence in the sub-operation flow table based on the predetermined row generation rule corresponding to the conditional branch type flow step sequence;
- generate operation flow table rows in the sub-operation flow table according to the predetermined row generation rule corresponding to the operation instruction type flow step sequence if the sub-flow step sequence is an operation instruction type flow step sequence and is not the conditional branch type flow step sequence;
- wherein the method for executing the operation flow of the instruction type operation flow according to the operation flow table comprises:
- sequentially acquiring operation flow table rows from the operation flow table as a current operation flow table row;
- determining whether a value of an execution condition of the condition cell of the current operation flow table row is true, returning to the step of sequentially acquiring the operation flow tables in response to a determination that the value of the exaction condition is not true;
- acquiring and executing operation instructions in instruction cell of the current operation flow table row;
- and
- determining whether the plurality of flow steps in the operation flow table have all been executed, returning to the step of sequentially acquiring operation flow tables in response to a determination that all of the plurality of flow steps have not been executed, otherwise the operation flow has been executed.