Patent ID: 11960890
Assignee: SHANGHAI BAOJIE INTELLIGENT TECHNOLOGY CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 9:
10. The method of claim 8, wherein the method for tabular processing of operation flow further comprises:
the operation flow type comprising a switching branch operation flow, the switching branch operation flow comprises a plurality of branch operation flows, a branch switching instruction for switching the branch operation flow and mutually exclusive branch index conditions corresponding to the branch operation flows;
the flow step combination rule for the switching branch operation flow combining each branch operation flow included in the switching branch operation flow and a corresponding branch index condition into a switching branch type flow step sequence;
the predetermined row generation rule corresponding to the switching branch type flow step sequence comprising:
taking the operation flow table row generated according to the operation instruction type flow step sequence as current operation flow table row if the continuous flow steps before the flow steps of the corresponding branch switching instruction belong to the operation instruction type flow step sequence;
adding the flow steps corresponding to the branch switching instruction as operation instruction to the instruction cell of the current operation flow table row;
generating a branch operation flow table corresponding to the switching branch type flow step sequence and hierarchically embedding the branch operation flow table under the current operation flow table row, the branch operation flow table comprising index columns;
for each of the branch operation flow, sequentially generating, in the branch operation flow table, branch operation flow table rows comprising index cells positioned at the index columns, and adding the branch index conditions to the index cells, meanwhile, generating sub-operation flow tables hierarchically embedded under the branch operation flow table row;
for each of the sub-operation flow tables, sequentially acquiring the flow steps in the corresponding branch operation flow, and sequentially determining operation flow type corresponding to each of the flow steps in the corresponding branch operation flow, respectively combining the continuous flow steps in the branch operation flow into at least one sub-flow step sequence having the corresponding operation flow type according to a predetermined flow step sequence combination rule, and further, 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 type of the flow step sequence;
utilizing the branch switching instruction to determine the corresponding branch index condition according to the target index variable, and switching execution of operation flow table rows having the corresponding branch index value;
the method for executing operation flow of the switching branch operation flow according to operation flow table further 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 in 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 operation instruction in the instruction cell of the current operation flow table row;
determining whether the operation instruction is a branch switching instruction, executing the operation instruction in response to a determination that the operation is not the branch switching instruction, otherwise acquiring the branch operation flow table corresponding to the branch switching instruction embedded under the current operation flow table row, acquiring branch operation flow table row in which branch index value of the index cell is consistent with value of the target index variable from the branch operation flow table rows, acquiring the first operation flow table row of the sub-operation flow table embedded under the branch operation flow table row as current operation flow table row, and returning to the step of determining whether the value of the execution condition in condition cell of the current operation flow table row is true;
determining whether the branch operation flow table is embedded under the current operation flow table row, executing the branch operation flow table until the branch operation flow table has been executed in response to a determination that the branch operation flow table is embedded under the current operation flow raw; and
determining whether the plurality of the flow steps in the operation flow table have all been executed, returning to the step of determining whether the value of the execution condition in condition cell of the current operation flow table row is true in response to a determination that the plurality of flow steps in the operation flow table have all been executed, otherwise acquiring a next operation flow table row whose execution condition is non-mutually exclusive with the execution condition in condition cell of the current operation flow table row as a new current operation flow table row.