CN114371873B - Data structure processing method, device, equipment and storage medium of business process - Google Patents

Data structure processing method, device, equipment and storage medium of business process Download PDF

Info

Publication number
CN114371873B
CN114371873B CN202210279641.XA CN202210279641A CN114371873B CN 114371873 B CN114371873 B CN 114371873B CN 202210279641 A CN202210279641 A CN 202210279641A CN 114371873 B CN114371873 B CN 114371873B
Authority
CN
China
Prior art keywords
execution
definition
matrix
flow
frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210279641.XA
Other languages
Chinese (zh)
Other versions
CN114371873A (en
Inventor
石自军
于鹏
朱建华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Jinzheng Software Technology Co ltd
Original Assignee
Shenzhen Jinzheng Software Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Jinzheng Software Technology Co ltd filed Critical Shenzhen Jinzheng Software Technology Co ltd
Priority to CN202210279641.XA priority Critical patent/CN114371873B/en
Publication of CN114371873A publication Critical patent/CN114371873A/en
Application granted granted Critical
Publication of CN114371873B publication Critical patent/CN114371873B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/74Reverse engineering; Extracting design information from source code

Abstract

The invention relates to the field of process generation, and discloses a method, a device, equipment and a storage medium for processing a data structure of a business process. The method comprises the following steps: judging whether the definition data has an Excel-like form or not; if the similar Excel form exists, performing conversion processing on the similar Excel form according to a preset conversion algorithm to obtain a flow execution matrix; if the Excel-like form does not exist, acquiring preset flow frame setting, and generating a frame execution matrix according to the flow frame setting; acquiring preset process definition setting, and performing definition adding processing on the frame execution matrix according to the authority definition setting to obtain a definition execution matrix; acquiring preset process authority setting, and performing authority addition processing on the definition execution matrix according to the process authority setting to obtain a process execution matrix; and writing the flow execution matrix into the flow execution assembly to generate the service flow with the self-defined parameters.

Description

Data structure processing method, device, equipment and storage medium of business process
Technical Field
The present invention relates to the field of process generation, and in particular, to a method, an apparatus, a device, and a storage medium for processing a data structure of a business process.
Background
The workflow engine is used as a part of the application system and provides a core solution which has decision effect on each application system and decides information transfer routing, content level and the like according to different roles, division and conditions. The workflow engine comprises important functions of flow modeling, flow arrangement, node management, flow direction management, flow sample management, form management, related pre-post event management and the like. The most critical part of developing a system is not the interface of the system and the information exchange between the system and the database, but how to develop program logic according to the actual needs and ensure the stability, maintainability and flexible management of the system according to the business logic, and easily make changes on the program according to the changes of the actual business logic, such as the change of decision right, the change of organization structure, and the brand new business logic generated by the change of business direction, etc.
Currently, mainstream open-source workflow engines in the industry include ACTIVITI, floable, camelda and the like, the above process engines provide related designs/organizers based on a WEB end or a rich client end in terms of process modeling and process arrangement, and specific operation users need to design a process link and a process flow direction through the designers and synchronously generate corresponding files meeting BPMN2.0 process specification. This mode requires the business system operator to have a deep understanding of the workflow engine related knowledge, and invisibly increases the deployment, implementation difficulty and workload of the business software system. Meanwhile, in the process modeling design link, if a related process node is lacked, the process execution is abnormal and the process processing fails, and the existing maintenance and processing are very difficult due to the complexity of the data of the business process, so that the business process data can be quickly maintained and processed by aiming at the characteristics of the data structure of the business process.
Disclosure of Invention
The invention mainly aims to solve the technical problem that the existing maintenance and processing are very difficult due to the complexity of the data of the business process.
The first aspect of the present invention provides a method for processing a data structure of a business process, including the steps of:
judging whether the definition data has an Excel-like form or not;
if the similar Excel form exists, carrying out conversion processing on the similar Excel form according to a preset conversion algorithm to obtain a flow execution matrix;
if the Excel-like form does not exist, acquiring preset flow frame settings, and generating a frame execution matrix according to the flow frame settings;
acquiring preset process definition setting, and performing definition addition processing on the frame execution matrix according to the process definition setting to obtain a definition execution matrix;
acquiring preset process authority setting, and performing authority addition processing on the definition execution matrix according to the process authority setting to obtain a process execution matrix;
and writing the flow execution matrix into a flow execution assembly to generate a parameter-defined business flow.
Optionally, in a first implementation manner of the first aspect of the present invention, the converting the Excel-like form according to a preset conversion algorithm to obtain a flow execution matrix includes:
And replacing elements of a preset blank matrix with the Excel-like form data according to the data structure of the Excel-like form to obtain a flow execution matrix.
Optionally, in a second implementation manner of the first aspect of the present invention, the obtaining a preset process frame setting, and generating a frame execution matrix according to the process frame setting includes:
acquiring a preset process frame setting;
and generating an execution parameter according to the geometric topology set by the flow frame, and erasing the execution parameter into a preset blank matrix to obtain a frame execution matrix.
Optionally, in a third implementation manner of the first aspect of the present invention, the execution parameter includes: the parameter sequence number, the judgment logic option, the logic execution option and the iteration execution sequence number, wherein the step of writing the execution parameters into the elements of the preset blank matrix to obtain the frame execution matrix comprises the following steps:
based on the size of the parameter serial number, filling the parameter serial number into elements of a preset blank matrix according to columns/rows to obtain a preliminary frame execution matrix;
erasing and writing the judgment logic option corresponding to the parameter serial number, the logic execution option corresponding to the parameter serial number and the iteration execution serial number corresponding to the parameter serial number into the preliminary frame execution matrix according to the sequence of rows/columns to obtain a frame execution matrix.
Optionally, in a fourth implementation manner of the first aspect of the present invention, the obtaining a preset flow definition setting, and performing definition addition processing on the frame execution matrix according to the flow definition setting to obtain a definition execution matrix includes:
acquiring preset process definition settings, wherein the authority definition settings comprise: defining parameter serial numbers and defining character strings corresponding to the parameter serial numbers;
and inserting the definition character strings corresponding to the definition parameter serial numbers into the frame execution matrix according to the matching relation between the definition parameter serial numbers and the parameter serial numbers to obtain a definition execution matrix.
Optionally, in a fifth implementation manner of the first aspect of the present invention, the obtaining a preset process permission setting, and performing permission addition processing on the definition execution matrix according to the process permission setting to obtain a process execution matrix includes:
acquiring preset process permission settings, wherein the process permission settings comprise: the authority parameter serial number and the authority data corresponding to the authority parameter serial number;
and erasing the authority data corresponding to the authority parameter serial numbers into the rows/columns of the defined execution matrix according to the matching relation between the authority parameter serial numbers and the parameter serial numbers to obtain a process execution matrix.
Optionally, in a sixth implementation manner of the first aspect of the present invention, the writing the flow execution matrix into a flow execution component, and the generating a parameter-defined business flow includes:
judging whether the flow execution matrix has unmodified matrix elements or not;
and if the unmodified matrix elements do not exist, writing the flow execution matrix into a flow execution assembly to generate a parameter-defined business flow.
A second aspect of the present invention provides a data structure processing apparatus for a business process, where the data structure processing apparatus for a business process includes:
the judging module is used for judging whether the definition data has an Excel-like form or not;
the conversion module is used for converting the similar Excel form according to a preset conversion algorithm if the similar Excel form exists to obtain a flow execution matrix;
the framework generation module is used for acquiring preset flow framework settings if the Excel-like form does not exist, and generating a framework execution matrix according to the flow framework settings;
the framework definition module is used for acquiring preset process definition settings and performing definition addition processing on the framework execution matrix according to the process definition settings to obtain a definition execution matrix;
The authority setting module is used for acquiring preset process authority setting and performing authority adding processing on the definition execution matrix according to the process authority setting to obtain a process execution matrix;
and the flow generation module is used for writing the flow execution matrix into a flow execution component to generate a parameter-defined business flow.
A third aspect of the present invention provides a data structure processing device for a business process, including: a memory having instructions stored therein and at least one processor, the memory and the at least one processor interconnected by a line; the at least one processor calls the instructions in the memory to enable the data structure processing equipment of the business process to execute the data structure processing method of the business process.
A fourth aspect of the present invention provides a computer-readable storage medium having stored therein instructions, which, when run on a computer, cause the computer to execute the above-mentioned data structure processing method of a business process.
In the embodiment of the invention, the data is processed by adopting the standard flow model and the self-defined Excel-like form, so that the whole flow setting can solve the complex lines and convenience of the traditional industry mainstream workflow engine in flow modeling and flow arrangement, and simultaneously can realize zero change of business implementation codes and adaptation to a plurality of mainstream open-source workflow engines, thereby solving the technical problem that the traditional maintenance and processing are very difficult due to the complexity of the data of the flow.
Drawings
FIG. 1 is a diagram of an embodiment of a data structure processing method of a business process in an embodiment of the present invention;
FIG. 2 is a schematic diagram of an embodiment of a data structure processing apparatus of a business process in an embodiment of the present invention;
FIG. 3 is a diagram of another embodiment of a data structure processing apparatus of a business process in an embodiment of the present invention;
fig. 4 is a schematic diagram of an embodiment of a data structure processing device of a business process in the embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a method, a device, equipment and a storage medium for processing a data structure of a business process.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," or "having," and any variations thereof, are intended to cover non-exclusive inclusions, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
For convenience of understanding, a specific process of the embodiment of the present invention is described below, and referring to fig. 1, an embodiment of a data structure processing method of a business process in the embodiment of the present invention includes:
101. judging whether the definition data has an Excel-like form or not;
in this embodiment, the definition data is a series of data such as the authority of the process, the flow logic, and the related definition information (including the table field corresponding to the data model and the database name information) of the data model field, and determines the whole content of the business process. And the Excel-like form designer designs the form pages required by each flow node. The similar Excel FORM design supports the specification of basic HTML FORM elements, floating lines, data validation formulas and functions, supports the binding of the FORM elements and relevant fields of data modeling information, and is data capable of freely defining a flow. Judging whether the definition data adopts a form of an Excel-like form is free definition, and solves the problem that the existing fixed flow logic is not flexible enough.
102. If the similar Excel form exists, performing conversion processing on the similar Excel form according to a preset conversion algorithm to obtain a flow execution matrix;
in this embodiment, the form of table 1 and an example of the form of a class Excel form may be adopted as the class Excel form:
TABLE 1, Excel-like form example table
Figure 964092DEST_PATH_IMAGE002
On the execution of the Excel-like form in table 1, the processing steps are set, that is, the parameter numbers 1-6 are the flow step numbers, the judgment logic option of 0 indicates that the step is a normal one-way processing step, and the judgment logic option of 1 indicates that the step is a bifurcation processing step. The logic execution option is an approval execution standard, when the execution judgment is 0, the logic execution option is 0, which means that the step has no logic judgment, and the iterative execution serial number can be entered only if the approval results are consistent, and the iterative execution serial number is a direction for the flow to flow into the next step, if the iterative execution serial number of serial number 1 is 2, and if the approval result 1 (indicating that the confirmation is passed), the step of serial number 2 will be entered. When the execution judgment of the serial number 2 is 1, the logic execution option is (1, 0), which indicates that the approval result is 1, the logic execution option executes to enter the serial number 3 step in the iterative execution serial number for 1, and the approval result is 0 (which indicates that the confirmation is not passed), the execution logic is 0, and the step enters the serial number 3 step in the iterative execution serial number for 3. Access authority a is user a who enters the flow step and approval authority B is user B who performs the audit step, A, B may also represent the associated linked list, users in table a and users in table B.
In step 6, if the logic option is judged to be 0, it means that step 6 is a one-way processing step, the logic execution option is 0 to indicate closing, the iterative execution sequence number E indicates ending the process, and the approval result of the approval authority B process that needs to end the process is 0, that is, the confirmation is failed.
Table 1 converts a conventional graphic flow into a data table, and designers can also freely define the flow trend and layout through an Excel-like form, so that the use of a graphic is not required, the computer reading is easy, the calculation speed is ensured, the complexity of the flow is reduced, and the free universality of the common flow can be expanded.
The data structure of table 1 holds, pulls data, generates a matrix of 6 x 7 that can be processed, and the matrix is a process execution matrix, and when a computer executes, reads the process execution matrix to process the process data.
Further, in step 102, the following steps may also be performed:
1021. and replacing the elements of the preset blank matrix with the Excel-like form data according to the data structure of the Excel-like form to obtain a flow execution matrix.
In step 1021, extract the table 1 data of the Excel-like form, and keep the data structure form of the related table, generate the flow execution matrix
Figure 412391DEST_PATH_IMAGE003
Flow execution matrix
Figure 988866DEST_PATH_IMAGE003
The data structure of (a) is the same as the data structure of table 1 of the Excel-like form.
103. If the Excel-like form does not exist, acquiring preset flow frame setting, and generating a frame execution matrix according to the flow frame setting;
in this embodiment, if there is no Excel form, a process frame setting is preset, the process frame setting is a standard process frame setting, specific data such as a parameter serial number, a judgment logic option, a logic execution option, an iteration execution serial number and the like are written on a related process processing frame, and referring to the data format of table 1, the frame execution matrix is as follows:
1 0 0 2 F F F
2 1 (1,0)(3,4)F F F
3 1 (1,0)(5,6)F F F
4 0 1 E F F F
5 0 0 E F F F
6 0 0 E F F F
the process flow is also similar to that of table 1, and the access right, approval right, and approval result are null, where F denotes blank data.
Further, the following steps may also be performed in step 103:
1031. acquiring preset process frame setting;
1032. and generating execution parameters according to the geometric topology set by the process framework, and erasing the execution parameters into a preset blank matrix to obtain a framework execution matrix.
In step 1031-.
Further, the execution parameters include: the following steps can be executed in the step of writing the execution parameters into the elements of the preset blank matrix to obtain the frame execution matrix:
10321. based on the size of the parameter serial numbers, filling the parameter serial numbers into elements of a preset blank matrix according to columns/rows to obtain a preliminary frame execution matrix;
10322. and erasing and writing the judgment logic option corresponding to the parameter serial number, the logic execution option corresponding to the parameter serial number and the iteration execution serial number corresponding to the parameter serial number into the preliminary frame execution matrix according to the sequence of rows/columns to obtain the frame execution matrix.
In the 10321-10322 step, the parameter numbers 1-6 are filled in first, and then the parameter numbers 1-6 are correspondingly filled in the blank matrix case according to the same row or column manner, so as to obtain the frame execution matrix.
104. Acquiring preset process definition setting, and performing definition adding processing on the frame execution matrix according to the process definition setting to obtain a definition execution matrix;
in this embodiment, the process model design module is mainly used for defining process modeling information. The process modeling information comprises process link nodes, process flow direction information, process gateway information, pre-event and post-event information and binding of the process links and the data processing custom form. The information of the to-do and already-done record list fields of the process can be dynamically configured through data model management. In addition to basic information of the fields, field enumeration values, field display order, and the like are included. The button information corresponding to the list can be dynamically configured through data model management. In addition to basic information of the button, a button event and the like are included. And specifying the flow link nodes, flow direction information, flow gateway information, flow network management circulation conditions, pre-post events corresponding to the flow link nodes and the like of the business flow. And appointing corresponding flow processing authority (supporting appointing to specific person, appointing to role and appointing to specific identity) at the flow link node. And reversely deducing and generating a BPMN2.0 flow specification description file according to the defined flow modeling information, and synchronously importing the description file into a corresponding workflow engine. Extending definition information, extending new definition content of a framework execution matrix, and obtaining a definition execution matrix after the extension is completed:
1 0 0 2 F F F M
2 1 (1,0)(3,4)F F F M
3 1 (1,0)(5,6)F F F M
4 0 1 E F F F M
5 0 0 E F F F M
6 0 0 E F F F M
Here, M is a new extension definition, and this step may be extended to zero, or may be further extended without extension, and extension to zero is a meaning included in this step.
Further, at 104, the following steps may be performed:
1041. acquiring preset process definition settings, wherein the authority definition settings comprise: defining parameter serial numbers and defining character strings corresponding to the parameter serial numbers;
1042. and inserting the definition character strings corresponding to the definition parameter serial numbers into the frame execution matrix according to the matching relation between the definition parameter serial numbers and the parameter serial numbers to obtain the definition execution matrix.
In the 1041-1042 step, all the parameter sequence numbers 1-6 are defined character strings M, and the defined character strings are inserted into the frame execution matrix according to the defined character strings M, i.e. the defined execution matrix is obtained:
1 0 0 2 F F F M
2 1 (1,0)(3,4)F F F M
3 1 (1,0)(5,6)F F F M
4 0 1 E F F F M
5 0 0 E F F F M
6 0 0 E F F F M
the definition character string M is the inserted extension definition information, and the definition character string M in the definition execution matrix is the new extension data.
105. Acquiring preset process authority setting, and performing authority addition processing on the definition execution matrix according to the process authority setting to obtain a process execution matrix;
in this embodiment, similar to the access authority, the approval authority, and the approval result in table 1, the authority parameter numbers 1 to 6 and the authority data related to the corresponding access authority, the approval authority, and the approval result, the authority addition process is performed on the definition execution matrix to completely replace the blank elements of F, so as to obtain the flow execution matrix.
Further, at 105, the following steps may be performed:
1051. acquiring preset process permission settings, wherein the process permission settings comprise: the authority parameter serial number and authority data corresponding to the authority parameter serial number;
1052. and erasing the authority data corresponding to the authority parameter serial numbers into rows/columns of a defined execution matrix according to the matching relation between the authority parameter serial numbers and the parameter serial numbers to obtain a process execution matrix.
In the 1051-1052 step, similar to the access permission, the approval permission, and the approval result in table 1, permission data is added, and the permission data corresponding to the permission parameter numbers 1-6 is erased and written into the row defining the execution matrix to obtain a flow execution matrix:
1 0 0 2 A B 1 M
2 1 (1,0)(3,4)A B (1,0) M
3 1 (1,0)(5,6)A B (1,0) M
4 0 1 E A B 1 M
5 0 0 E A B 0 M
6 0 0 E A B 0 M
where a is the user a who enters the flow step, and the approval authority B is the user B who performs the audit step, A, B may also represent the user in the related linked list, table a, and table B.
106. And writing the flow execution matrix into the flow execution assembly to generate the business flow with the self-defined parameters.
In this embodiment, the flow execution matrix is transmitted into the flow execution component, and the flow execution component is a component constructed according to the matrix execution logic, and can read the flow logic of the analysis flow execution matrix and generate the service flow with customized parameters.
Further, at 106, the following steps may be performed:
1061. judging whether the flow execution matrix has unmodified matrix elements or not;
1062. and if the unmodified matrix elements do not exist, writing the flow execution matrix into the flow execution assembly to generate the service flow with the self-defined parameters.
In step 1061-1062, each element of the flow execution matrix needs to be defined, and F cannot exist, determining whether the flow execution matrix has F characters, if not, it indicates that the flow execution matrix has a correct format, writing the flow execution matrix into the flow execution component, and generating a business flow with customized parameters, that is, the business processing flow may run according to the logic of the flow execution matrix.
In the embodiment of the invention, the data is processed by adopting the standard flow model and the self-defined Excel-like form, so that the whole flow setting can solve the complex lines and convenience of the traditional industry mainstream workflow engine in flow modeling and flow arrangement, and simultaneously can realize zero change of business implementation codes and adaptation to a plurality of mainstream open-source workflow engines, thereby solving the technical problem that the traditional maintenance and processing are very difficult due to the complexity of the data of the flow.
Referring to fig. 2, in the foregoing, a method for processing a data structure of a service flow in an embodiment of the present invention is described, and a device for processing a data structure of a service flow in an embodiment of the present invention is described below, where the device for processing a data structure of a service flow in an embodiment of the present invention includes:
the judging module 201 is used for judging whether the definition data has an Excel-like form or not;
the conversion module 202 is used for performing conversion processing on a similar Excel form according to a preset conversion algorithm if the similar Excel form exists, so as to obtain a flow execution matrix;
the frame generation module 203 is used for acquiring preset flow frame settings if the Excel-like form does not exist, and generating a frame execution matrix according to the flow frame settings;
the framework definition module 204 is configured to obtain preset process definition settings, and perform definition addition processing on the framework execution matrix according to the process definition settings to obtain a definition execution matrix;
the authority setting module 205 is configured to obtain a preset process authority setting, and perform authority addition processing on the definition execution matrix according to the process authority setting to obtain a process execution matrix;
And the flow generation module 206 is configured to write the flow execution matrix into a flow execution component, and generate a business flow with customized parameters.
In the embodiment of the invention, the data is processed by adopting the standard flow model and the self-defined Excel-like form, so that the whole flow setting can solve the complex lines and convenience of the traditional industry mainstream workflow engine in flow modeling and flow arrangement, can realize zero change of service realization codes and adaptation to a plurality of mainstream open source workflow engines, and solves the technical problem that the traditional maintenance and processing are very difficult due to the complexity of the data of the flow.
Referring to fig. 3, in another embodiment of the data structure processing apparatus of a business process in an embodiment of the present invention, the data structure processing apparatus of a business process includes:
the judging module 201 is used for judging whether the definition data has an Excel-like form or not;
the conversion module 202 is used for performing conversion processing on a similar Excel form according to a preset conversion algorithm if the similar Excel form exists, so as to obtain a flow execution matrix;
the frame generation module 203 is used for acquiring preset flow frame settings if the Excel-like form does not exist, and generating a frame execution matrix according to the flow frame settings;
The framework definition module 204 is configured to obtain preset process definition settings, and perform definition addition processing on the framework execution matrix according to the process definition settings to obtain a definition execution matrix;
the authority setting module 205 is configured to obtain preset process authority settings, and perform authority addition processing on the definition execution matrix according to the process authority settings to obtain a process execution matrix;
and the flow generation module 206 is configured to write the flow execution matrix into a flow execution component, and generate a business flow with customized parameters.
Wherein the conversion module 202 comprises:
an obtaining unit 2021, configured to obtain preset process frame settings;
the replacing unit 2022 is configured to replace, according to the data structure of the class Excel form, an element of a preset blank matrix with the class Excel form data, so as to obtain a flow execution matrix.
Wherein the execution parameters include: the parameter sequence number, the judgment logic option, the logic execution option, and the iteration execution sequence number, and the replacement unit 2022 is specifically configured to:
based on the size of the parameter serial number, filling the parameter serial number into elements of a preset blank matrix according to columns/rows to obtain a preliminary frame execution matrix;
Erasing and writing the judgment logic options corresponding to the parameter serial numbers, the logic execution options corresponding to the parameter serial numbers and the iteration execution serial numbers corresponding to the parameter serial numbers into the preliminary frame execution matrix according to the sequence of rows/columns to obtain a frame execution matrix.
The framework definition module 204 is specifically configured to:
acquiring preset process definition settings, wherein the authority definition settings comprise: defining parameter serial numbers and defining character strings corresponding to the parameter serial numbers;
and erasing and writing the definition character strings corresponding to the definition parameter serial numbers into the frame execution matrix according to the row/column according to the matching relation between the definition parameter serial numbers and the parameter serial numbers to obtain a definition execution matrix.
The permission setting module 205 is specifically configured to:
acquiring preset process permission settings, wherein the process permission settings comprise: permission parameter serial number and permission data corresponding to the permission parameter serial number
And erasing the authority data corresponding to the authority parameter serial numbers into the rows/columns of the defined execution matrix according to the matching relation between the authority parameter serial numbers and the parameter serial numbers to obtain a process execution matrix.
The process generation module 206 is specifically configured to:
judging whether the flow execution matrix has unmodified matrix elements or not;
and if the unmodified matrix elements do not exist, writing the flow execution matrix into a flow execution assembly to generate a parameter-defined business flow.
In the embodiment of the invention, the data is processed by adopting the standard flow model and the self-defined Excel-like form, so that the whole flow setting can solve the complex lines and convenience of the traditional industry mainstream workflow engine in flow modeling and flow arrangement, can realize zero change of service realization codes and adaptation to a plurality of mainstream open source workflow engines, and solves the technical problem that the traditional maintenance and processing are very difficult due to the complexity of the data of the flow.
Fig. 2 and fig. 3 describe the data structure processing apparatus of the business process in the embodiment of the present invention in detail from the perspective of the modular functional entity, and the data structure processing device of the business process in the embodiment of the present invention is described in detail from the perspective of hardware processing.
Fig. 4 is a schematic structural diagram of a data structure processing apparatus of a business process according to an embodiment of the present invention, where the data structure processing apparatus 400 of the business process may generate a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 410 (e.g., one or more processors), a memory 420, and one or more storage media 430 (e.g., one or more mass storage devices) for storing an application 433 or data 432. Memory 420 and storage medium 430 may be, among other things, transient storage or persistent storage. The program stored on the storage medium 430 may include one or more modules (not shown), each of which may include a sequence of instruction operations in the data structure processing device 400 for a business process. Still further, processor 410 may be configured to communicate with storage medium 430 to execute a sequence of instruction operations in storage medium 430 on data structure processing device 400 of a business process.
Business-process-based data structure processing apparatus 400 may also include one or more power supplies 440, one or more wired or wireless network interfaces 450, one or more input-output interfaces 460, and/or one or more operating systems 431, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, and the like. Those skilled in the art will appreciate that the data structure processing device architecture of the business process illustrated in FIG. 4 does not constitute a limitation of business process-based data structure processing devices, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium, and which may also be a volatile computer-readable storage medium, having stored therein instructions, which, when executed on a computer, cause the computer to execute the steps of the data structure processing method of the business process.
It can be clearly understood by those skilled in the art that, for convenience and simplicity of description, the specific working process of the system, the apparatus, and the unit described above may refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is substantially or partly contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a portable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, an optical disk, or other various media capable of storing program codes.
The above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; although the present invention has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (7)

1. A data structure processing method of a business process is characterized by comprising the following steps:
judging whether the definition data has an Excel-like form or not;
if the similar Excel form exists, performing conversion processing on the similar Excel form according to a preset conversion algorithm to obtain a flow execution matrix;
if the Excel-like form does not exist, acquiring preset flow frame settings, and generating a frame execution matrix according to the flow frame settings;
acquiring preset process definition setting, and performing definition adding processing on the frame execution matrix according to the process definition setting to obtain a definition execution matrix;
acquiring preset process authority setting, and performing authority addition processing on the definition execution matrix according to the process authority setting to obtain a process execution matrix;
writing the flow execution matrix into a flow execution assembly to generate a parameter-defined business flow;
wherein, the obtaining a preset process frame setting, and the generating a frame execution matrix according to the process frame setting comprises:
acquiring a preset process frame setting;
generating execution parameters according to the geometric topology set by the process frame, and erasing the execution parameters into a preset blank matrix to obtain a frame execution matrix;
Wherein the execution parameters include: the step of writing the execution parameters into the elements of a preset blank matrix to obtain a frame execution matrix comprises the following steps:
based on the size of the parameter serial numbers, filling the parameter serial numbers into elements of a preset blank matrix according to columns/rows to obtain a preliminary frame execution matrix;
erasing and writing the judgment logic options corresponding to the parameter serial numbers, the logic execution options corresponding to the parameter serial numbers and the iteration execution serial numbers corresponding to the parameter serial numbers into the preliminary frame execution matrix according to the sequence of rows/columns to obtain a frame execution matrix;
the obtaining of the preset process definition setting and the definition adding processing of the frame execution matrix according to the process definition setting include:
acquiring preset process definition settings, wherein the process definition settings comprise: defining parameter serial numbers and defining character strings corresponding to the parameter serial numbers;
and inserting the definition character strings corresponding to the definition parameter serial numbers into the frame execution matrix according to the matching relation between the definition parameter serial numbers and the parameter serial numbers to obtain a definition execution matrix.
2. The business process data structure processing method of claim 1, wherein the converting the Excel-like form according to a preset conversion algorithm to obtain a process execution matrix comprises:
and replacing elements of a preset blank matrix with the Excel-like form data according to the data structure of the Excel-like form to obtain a flow execution matrix.
3. The method for processing the data structure of the business process according to claim 1, wherein the obtaining of the preset process permission setting and the permission addition processing of the definition execution matrix according to the process permission setting, and the obtaining of the process execution matrix include:
acquiring preset process permission settings, wherein the process permission settings comprise: the authority parameter serial number and the authority data corresponding to the authority parameter serial number;
and erasing and writing the authority data corresponding to the authority parameter serial numbers into the rows/columns of the defined execution matrix according to the matching relation between the authority parameter serial numbers and the parameter serial numbers to obtain a process execution matrix.
4. The business process data structure processing method of claim 1, wherein the writing of the process execution matrix into a process execution component generates a parameter-customized business process comprising:
Judging whether the flow execution matrix has unmodified matrix elements or not;
and if the unmodified matrix elements do not exist, writing the flow execution matrix into a flow execution assembly to generate a parameter-defined business flow.
5. A data structure processing apparatus of a business process, wherein the data structure processing apparatus of the business process comprises:
the judging module is used for judging whether the definition data has the Excel-like form or not;
the conversion module is used for converting the similar Excel form according to a preset conversion algorithm if the similar Excel form exists to obtain a flow execution matrix;
the framework generation module is used for acquiring preset flow framework settings if the Excel-like form does not exist, and generating a framework execution matrix according to the flow framework settings;
the framework definition module is used for acquiring preset process definition settings and performing definition addition processing on the framework execution matrix according to the process definition settings to obtain a definition execution matrix;
the authority setting module is used for acquiring preset process authority setting, and performing authority addition processing on the definition execution matrix according to the process authority setting to obtain a process execution matrix;
The flow generation module is used for writing the flow execution matrix into a flow execution component to generate a service flow with self-defined parameters; wherein the framework generation module comprises:
acquiring a preset process frame setting;
generating execution parameters according to the geometric topology set by the process frame, and erasing the execution parameters into a preset blank matrix to obtain a frame execution matrix;
wherein the execution parameters include: parameter serial number, judgment logic option, logic execution option and iteration execution serial number;
based on the size of the parameter serial number, filling the parameter serial number into elements of a preset blank matrix according to columns/rows to obtain a preliminary frame execution matrix;
erasing the judgment logic options corresponding to the parameter serial numbers, the logic execution options corresponding to the parameter serial numbers and the iteration execution serial numbers corresponding to the parameter serial numbers into the preliminary frame execution matrix according to the sequence of rows/columns to obtain a frame execution matrix;
wherein the framework definition module is specifically configured to:
acquiring preset process definition settings, wherein the process definition settings comprise: defining parameter serial numbers and defining character strings corresponding to the parameter serial numbers;
And erasing the definition character strings corresponding to the definition parameter serial numbers into the frame execution matrix according to the matching relation between the definition parameter serial numbers and the parameter serial numbers to obtain a definition execution matrix.
6. A data structure processing device of a business process, characterized in that the data structure processing device of the business process comprises: a memory having instructions stored therein and at least one processor, the memory and the at least one processor interconnected by a line;
the at least one processor invoking the instructions in the memory to cause the business process data structure processing device to perform the business process data structure processing method of any of claims 1-4.
7. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements a data structure processing method of a business process according to any one of claims 1 to 4.
CN202210279641.XA 2022-03-22 2022-03-22 Data structure processing method, device, equipment and storage medium of business process Active CN114371873B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210279641.XA CN114371873B (en) 2022-03-22 2022-03-22 Data structure processing method, device, equipment and storage medium of business process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210279641.XA CN114371873B (en) 2022-03-22 2022-03-22 Data structure processing method, device, equipment and storage medium of business process

Publications (2)

Publication Number Publication Date
CN114371873A CN114371873A (en) 2022-04-19
CN114371873B true CN114371873B (en) 2022-06-14

Family

ID=81146655

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210279641.XA Active CN114371873B (en) 2022-03-22 2022-03-22 Data structure processing method, device, equipment and storage medium of business process

Country Status (1)

Country Link
CN (1) CN114371873B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6301670B1 (en) * 1998-10-06 2001-10-09 Ricoh Corporation Method and apparatus for erasing data when a problem is identified
ES2273929T3 (en) * 2001-02-28 2007-05-16 Dade Behring Inc. CONTROL OF THE LIQUID FLOW IN A BIOLOGICAL TEST MATRIX.
CN110362672A (en) * 2019-06-25 2019-10-22 东软集团股份有限公司 List display methods, device, storage medium and electronic equipment
CN111242400A (en) * 2018-11-29 2020-06-05 上海昶铭软件科技有限公司 Business process management system and working method thereof
CN112231219A (en) * 2020-10-22 2021-01-15 中国平安人寿保险股份有限公司 Automatic test monitoring method, device, equipment and storage medium
CN112368691A (en) * 2018-06-08 2021-02-12 塞佛尔公司 Techniques for file sharing
CN113282278A (en) * 2021-05-17 2021-08-20 山东浪潮通软信息科技有限公司 Basic data participant matrix design method, device and medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6301670B1 (en) * 1998-10-06 2001-10-09 Ricoh Corporation Method and apparatus for erasing data when a problem is identified
ES2273929T3 (en) * 2001-02-28 2007-05-16 Dade Behring Inc. CONTROL OF THE LIQUID FLOW IN A BIOLOGICAL TEST MATRIX.
CN112368691A (en) * 2018-06-08 2021-02-12 塞佛尔公司 Techniques for file sharing
CN111242400A (en) * 2018-11-29 2020-06-05 上海昶铭软件科技有限公司 Business process management system and working method thereof
CN110362672A (en) * 2019-06-25 2019-10-22 东软集团股份有限公司 List display methods, device, storage medium and electronic equipment
CN112231219A (en) * 2020-10-22 2021-01-15 中国平安人寿保险股份有限公司 Automatic test monitoring method, device, equipment and storage medium
CN113282278A (en) * 2021-05-17 2021-08-20 山东浪潮通软信息科技有限公司 Basic data participant matrix design method, device and medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Hu, K 等.DIVE: A mixed-initiative system supporting integrated data exploration workflows.《Proceedings of the workshop on human-in-the-loop data analytics 》.2018, *
郑红 等.基于矩阵的工作流逻辑网模型的化简及验证.《计算机科学》.2018,第45卷(第07期), *

Also Published As

Publication number Publication date
CN114371873A (en) 2022-04-19

Similar Documents

Publication Publication Date Title
US20050228767A1 (en) Method, system and program product for developing a data model in a data mining system
US8671084B2 (en) Updating a data warehouse schema based on changes in an observation model
JP5207007B2 (en) Model verification system, model verification method and recording medium
US8090677B2 (en) Method and system for altering the configuration of a data warehouse
CN107273117A (en) A kind of quick Code automatic build system for programming friendly
EP2610762A1 (en) Database version management system
CN110471694A (en) Annotation information processing method, device, computer equipment and storage medium
CN106445645A (en) Method and device for executing distributed computation tasks
Kazman et al. Categorizing business goals for software architectures
Melzer et al. Model-based development of a federated database infrastructure to support the usability of cross-domain information systems
CN114371873B (en) Data structure processing method, device, equipment and storage medium of business process
CN102707938A (en) Table-form software specification manufacturing and supporting method and device
CN107392560A (en) A kind of Excel list datas issue acquisition method and system based on internet
JP3186117B2 (en) Automatic program generation system using data-centric software components
US20060235660A1 (en) Customized processing in association with finite element analysis
KR100922526B1 (en) Method and system of managing data quality through provisioning of metadata in the execution of business process
Baiocchi Reproducible research in computational economics: guidelines, integrated approaches, and open source software
Hanssen et al. Using rational unified process in an SME–a case study
Gokyer et al. Non-functional requirements to architectural concerns: ML and NLP at crossroads
Mendes et al. Systematic spreadsheet construction processes
CN110389955A (en) A kind of data warehouse scheduling file automatic creation system and generation method
JP5641901B2 (en) SQL verification system, method and program thereof
JP2008165388A (en) Program update management system, program update management method and computer program
US8839097B2 (en) System and method for information encapsulation for providing multiple deliverable formats from one information source
GB2348970A (en) Maintenance of a system model in computer-aided design

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 518000, 5th Floor, Building 4, Tian'an Yungu Industrial Park Phase 2, Gangtou Community, Bantian Street, Longgang District, Shenzhen City, Guangdong Province

Patentee after: SHENZHEN JINZHENG SOFTWARE TECHNOLOGY Co.,Ltd.

Address before: 518000 room 402, building 1, Nanke Chuangyuan Valley, Taoyuan community, Dalang street, Longhua District, Shenzhen, Guangdong

Patentee before: SHENZHEN JINZHENG SOFTWARE TECHNOLOGY Co.,Ltd.