CN114691115A - Business process system generation method and device, electronic equipment and storage medium - Google Patents

Business process system generation method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114691115A
CN114691115A CN202210333369.9A CN202210333369A CN114691115A CN 114691115 A CN114691115 A CN 114691115A CN 202210333369 A CN202210333369 A CN 202210333369A CN 114691115 A CN114691115 A CN 114691115A
Authority
CN
China
Prior art keywords
business process
determining
atomic
component
process system
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.)
Withdrawn
Application number
CN202210333369.9A
Other languages
Chinese (zh)
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 Sensetime Technology Co Ltd
Original Assignee
Shenzhen Sensetime 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 Sensetime Technology Co Ltd filed Critical Shenzhen Sensetime Technology Co Ltd
Priority to CN202210333369.9A priority Critical patent/CN114691115A/en
Publication of CN114691115A publication Critical patent/CN114691115A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Abstract

The present disclosure relates to a method and an apparatus for generating a business process system, an electronic device, and a storage medium, where the business process system is initialized according to a business flow component and a workflow engine framework by determining an atomic component package and the workflow engine framework, which include a business flow component of at least one business. And configuring the business process of the business process system through the visual interactive interface. The method and the device for generating the service flow system generate the service flow system in a mode of determining the atomic component package, and then realize that a user automatically configures the service flow of the service flow system through the visual interactive interface. Meanwhile, a large amount of codes do not need to be written in the process of generating and configuring the business process system, so that the learning cost of a user is reduced, and the development efficiency of the business process system is improved.

Description

Business process system generation method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for generating a business process system, an electronic device, and a storage medium.
Background
In order to improve the processing efficiency of administrative affairs such as attendance checking, leave asking and the like, at present, many enterprise units carry out process approval through an online system. For different services, different protocols need to be adapted when a service flow system is developed at present, and when each flow engine component is connected, a working mechanism of a related component needs to be learned first, and then a corresponding service code is compiled on the basis. Therefore, a large amount of codes are written in each development process, so that the learning cost is high, the workload is large, and the efficiency is low.
Disclosure of Invention
The present disclosure provides a method and an apparatus for generating a business process system, an electronic device, and a storage medium, which are intended to reduce the learning cost of a user and improve the development efficiency of the business process system.
According to a first aspect of the present disclosure, a method for generating a business process system is provided, including:
determining an atomic component package, wherein the atomic component package comprises at least one service flow component of service;
determining a workflow engine framework;
initializing a business process system according to the business flow assembly and the workflow engine framework;
and configuring the business process of the business process system through a visual interactive interface.
In a possible implementation manner, the configuring, through a visual interactive interface, the business process of the business process system includes:
displaying the business process system through a visual interactive interface;
and responding to the received first editing request, and editing the business process system according to the content of the first editing request.
In one possible implementation, the method further includes:
displaying a front-end editing page, wherein the front-end editing page comprises a front-end component set and an editing page;
in response to at least one front-end component in the set of front-end components being selected and added to the edit page, determining location information of the selected at least one front-end component in the edit page;
and determining a front-end page file corresponding to the business process system according to the selected at least one front-end component and the position information of the at least one front-end component in the editing page.
In one possible implementation, the initializing a business process system according to the business flow component and the workflow engine framework includes:
determining a script file and a dependency library file corresponding to the service flow component in the atomic component package;
and generating a business process system according to the script file and the dependency library file.
In one possible implementation, the determining an atomic component package includes:
displaying a system creation page, wherein the system creation page comprises at least one service identifier;
and responding to the selection of one service identifier, and acquiring an atomic component package corresponding to the service identifier.
In a possible implementation manner, the determining a script file and a dependency library file corresponding to a service flow component in the atomic component package includes:
determining a script code set and a data table set, wherein the script code set comprises at least one script code with a corresponding service identifier, and the data table set comprises at least one data table with a corresponding service identifier;
determining script codes corresponding to the atomic component packages in the script code set as script files;
and determining a data table corresponding to the atomic component package in the database set as a dependent library file.
In a possible implementation manner, the system creates a page, which is also used for displaying an atomic service set;
the determining an atomic component package further comprises:
in response to at least one traffic flow component being selected, an atomic component package is determined according to the atomic service logic of the selected at least one of the traffic flow components.
In one possible implementation, the determining the workflow engine framework comprises:
displaying at least one candidate engine frame;
in response to a candidate engine frame being selected, the selected candidate engine frame is determined to be a workflow engine frame.
According to a second aspect of the present disclosure, there is provided a business process system generating apparatus, including:
the atomic component determining module is used for determining an atomic component package, wherein the atomic component package comprises at least one service flow component of service;
a framework determination module for determining a workflow engine framework;
the system initialization module is used for initializing a business process system according to the business flow component and the workflow engine framework;
and the process configuration module is used for configuring the business process of the business process system through the visual interactive interface.
In one possible implementation manner, the process configuration module includes:
the system display submodule is used for displaying the business process system through a visual interactive interface;
and the flow configuration submodule is used for responding to the received first editing request and editing the business flow system according to the content of the first editing request.
In one possible implementation, the apparatus further includes:
the front-end display module is used for displaying a front-end editing page, and the front-end editing page comprises a front-end component set and an editing page;
the position determining module is used for responding to the fact that at least one front-end component in the front-end component set is selected and added into the editing page, and determining position information of the selected at least one front-end component in the editing page;
and the front-end file determining module is used for determining a front-end page file corresponding to the business process system according to the selected at least one front-end component and the position information of the at least one front-end component in the editing page.
In one possible implementation, the system initialization module includes:
the file determining submodule is used for determining a script file and a dependency library file corresponding to the service flow component in the atomic component package;
and the system initialization submodule is used for generating a business process system according to the script file and the dependency library file.
In one possible implementation, the atomic component determination module includes:
the page display submodule is used for displaying a system created page, and the system created page comprises at least one service identifier;
and the atomic component acquisition submodule is used for responding to the selection of one service identifier and acquiring an atomic component package corresponding to the service identifier.
In one possible implementation, the file determining sub-module includes:
the device comprises a set determining unit, a service identification determining unit and a service identification determining unit, wherein the set determining unit is used for determining a script code set and a data table set, the script code set comprises at least one script code with a corresponding service identification, and the data table set comprises at least one data table with a corresponding service identification;
a script obtaining unit, configured to determine, in the script code set, a script code corresponding to the atomic component package as a script file;
and the library file acquisition unit is used for determining a data table corresponding to the atomic component package in the database set as a dependent library file.
In a possible implementation manner, the system creates a page that is also used for displaying an atomic service set;
the atomic component determination module further comprises:
and the interaction determining submodule is used for responding to the selection of at least one service flow component and determining an atomic component package according to the atomic service logic of the selected at least one service flow component.
In one possible implementation, the framework determining module includes:
a frame display sub-module for displaying at least one candidate engine frame;
and the frame selection submodule is used for responding to the selection of one candidate engine frame and determining the selected candidate engine frame as the workflow engine frame.
According to a third aspect of the present disclosure, there is provided an electronic device comprising: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to invoke the memory-stored instructions to perform the above-described method.
According to a fourth aspect of the present disclosure, there is provided a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the above-described method.
In the embodiment of the disclosure, the business process system is generated by determining the atomic component package, and then the business process of the business process system is automatically configured by a user through the visual interactive interface. Meanwhile, a large amount of codes do not need to be written in the process of generating and configuring the business process system, so that the learning cost of a user is reduced, and the development efficiency of the business process system is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. Other features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a schematic view illustrating an application scenario of a business process system generation method according to an embodiment of the present disclosure;
FIG. 2 shows a flow diagram of a business process system generation method in accordance with an embodiment of the present disclosure;
FIG. 3 illustrates a schematic diagram of a system creation page, according to an embodiment of the present disclosure;
FIG. 4 illustrates a schematic diagram of a system creation page, according to an embodiment of the present disclosure;
FIG. 5 illustrates a schematic diagram of determining a workflow engine framework according to an embodiment of the disclosure;
FIG. 6 shows a schematic diagram of a business process system in accordance with an embodiment of the present disclosure;
FIG. 7 shows a schematic diagram of a front end editing page according to an embodiment of the present disclosure;
FIG. 8 is a schematic diagram of a business process system generation apparatus according to an embodiment of the present disclosure;
FIG. 9 shows a schematic diagram of an electronic device in accordance with an embodiment of the disclosure;
FIG. 10 shows a schematic diagram of an electronic device in accordance with an embodiment of the disclosure.
Detailed Description
Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. In the drawings, like reference numbers can indicate functionally identical or similar elements. While the various aspects of the embodiments are presented in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the term "at least one" herein means any one of a plurality or any combination of at least two of a plurality, for example, including at least one of A, B, C, and may mean including any one or more elements selected from the group consisting of A, B and C.
Furthermore, in the following detailed description, numerous specific details are set forth in order to provide a better understanding of the present disclosure. It will be understood by those skilled in the art that the present disclosure may be practiced without some of these specific details. In some instances, methods, means, elements and circuits that are well known to those skilled in the art have not been described in detail so as not to obscure the present disclosure.
Fig. 1 is a schematic view illustrating an application scenario of a business process system generation method according to an embodiment of the present disclosure. As shown in fig. 1, a hardware system to which the business process system generating method of the embodiment of the present disclosure is applied may include a first electronic device 10 and a second electronic device 11 connected through a network, or may also include only the second electronic device 11. In a possible implementation manner, the second electronic device 11 may determine the atomic component package and the workflow engine framework in a human-computer interaction manner, send the determined atomic component package and the workflow engine framework to the first electronic device 10, and execute the business process system generation method according to the received information by the first electronic device to create the business process system. Or, the second electronic device 11 may also directly execute the business process system generation method of the embodiment of the present disclosure after determining the atomic component package and the workflow engine framework through human-computer interaction, so as to create the business process system.
In a possible implementation manner, the first electronic device 10 in the embodiment of the present disclosure may be a server, and the second electronic device 11 may be a terminal device. The terminal device may be a User Equipment (UE), a mobile device, a User terminal, a cellular phone, a cordless phone, a Personal Digital Assistant (PDA), a handheld device, a computing device, a vehicle-mounted device, a wearable device, or the like, and when the terminal device executes the method for generating a service flow system according to the embodiment of the present disclosure, the terminal device may be directly implemented in a manner that a processor in the terminal device calls a computer-readable instruction stored in a memory. Or, the method may further be sent to the first electronic device, so as to execute the business process system generation method through the server. Alternatively, the server may be a single server or a server cluster composed of a plurality of servers.
In a possible implementation manner, the embodiment of the present disclosure may be applied to generation of any business process system, such as an leave system, an attendance system, and a rest system inside a company. Or, it can also be applied to create business cooperation systems between different companies, etc.
Fig. 2 shows a flowchart of a business process system generation method according to an embodiment of the present disclosure. As shown in fig. 2, the method for generating a business process system according to the embodiment of the present disclosure may include the following steps:
and step S10, determining an atomic component package.
In one possible implementation, an atomic component package is determined by an electronic device executing a business process system according to an embodiment of the present disclosure, where the atomic component package includes a business flow component of at least one business. The determining mode for determining the atomic component package may be to receive the atomic component package sent by other electronic devices, or may also be to perform human-computer interaction with a user through a display device of the electronic device, and determine the atomic component package including a plurality of service flow components in a mode input, edited, or selected by the user. Optionally, each service flow component represents an atomic service logic, and the atomic service is a basic link in the service flow, such as application, approval, signature complementing, and copying. That is, the atomic business logic characterizes the business logic of each link in the business process.
Optionally, when the atomic component package is determined by human-computer interaction between the electronic device and the user, the determining of the atomic component package may include displaying a system creation page, where the system creation page includes at least one service identifier. And responding to the selection of one service identifier, and determining the service identifier as an atomic component package. That is, the electronic device may preset a plurality of service identifiers corresponding to the atomic component package, for example, a service identifier corresponding to an atomic component package including a plurality of atomic service logics such as "apply for, approve, copy" and the like is a request for leave, and a service identifier corresponding to an atomic component package including a plurality of atomic service logics such as "apply for, verify, and tag for leave" is a tag for leave. And creating a page through a visualization system to be displayed to a user. After a user browses through a system creation page to obtain each service identifier, one service identifier is selected as an atomic component package according to service requirements. The service identifier can be selected by directly clicking the service identifier in the system creation page.
The embodiment of the disclosure can preset a plurality of service identifications and display the service identifications to the user through the visual interface, so that the user can directly select the required service identification as the atomic component package, the service flow does not need to be combed again, and the generation efficiency of the atomic component package is improved.
Further, in order to prevent a plurality of service identifiers preset by the electronic device from not including a service identifier required by the user, the user can generate a required service identifier in a customized manner by performing human-computer interaction with the electronic device. Optionally, the system creation page is also used for displaying the atomic service set. Determining an atomic package of components further includes, in response to the at least one traffic flow component being selected, determining the atomic package of components according to the atomic traffic logic of the selected at least one traffic flow component. That is, an atomic service set including a plurality of atomic services may be displayed through a system creation page, and a user may select an atomic service that the user needs.
FIG. 3 illustrates a schematic diagram of a system creating a page according to an embodiment of the present disclosure. As shown in fig. 3, in the embodiment of the present disclosure, a visualized system creation page 30 may be displayed by a display device of an electronic device, where the system creation page includes at least one service identifier 31 preset by the electronic device. The preset service identifier 31 may include an leave request service identifier, an attendance service identifier, an overtime service identifier, an outwork service identifier, and an event service identifier, and the user may select an atomic component package corresponding to the service identifier of the service flow system to be generated. Further, in order to prevent the preset service identifiers 31 of the electronic device from not including the service identifier required by the user, a custom control 32 may also be displayed on the system creation page 30 for generating an atomic component package required by the user when triggered by the user.
FIG. 4 illustrates a schematic diagram of a system creating a page according to an embodiment of the present disclosure. As shown in fig. 4, when the required service identifier 31 is not included in the system creation page 30 browsed by the user, the required atomic component package can be generated by triggering the custom control 32.
Optionally, after the user triggers the custom control 32, the system creation page 30 displays an atomic business collection 33 and an atomic business editing page 34. The user can select the atomic service needed in the atomic service set 33 and add the selected atomic service into the atomic service editing page 34, and further trigger the confirmation control by clicking or the like after the selection. And after the control is confirmed to be triggered, the electronic equipment determines the atomic component package according to the atomic service logic of each atomic service selected by the user.
When the service identifier provided by the electronic equipment does not comprise the atomic component package required by the user, the user can also generate the required atomic component package in a user-defined mode, so that the flexibility of the generation process of the atomic component package is improved.
And step S20, determining the workflow engine framework.
In one possible implementation, the workflow engine framework can also be determined by the electronic device executing the business process system of the disclosed embodiments, in the same manner as the atomic component package is determined. The determination mode for determining the workflow engine frame may be to receive the workflow engine frame sent by other electronic devices, or may also be to perform human-computer interaction with a user through a display device of the electronic device, and determine the workflow engine frame in a mode input, editing or selected by the user.
Optionally, when the workflow engine frame is determined by human-computer interaction with the user through the electronic device, the workflow engine frame may be determined by displaying at least one candidate engine frame, and in response to a candidate engine frame being selected, the selected candidate engine frame may be determined as the workflow engine frame. The candidate engine framework may be an existing open source workflow engine framework, such as activiti, JBPM (business process management), and camunda. That is, the user may select a desired candidate engine frame among the candidate engine frames as the workflow engine frame.
FIG. 5 illustrates a schematic diagram of a determine workflow engine framework according to an embodiment of the present disclosure. As shown in fig. 5, the electronic device of the embodiment of the present disclosure may display an engine frame page 50 through a display device, where the engine frame page 50 is used to display at least one candidate engine frame 51. The user selects a desired candidate engine frame 51 among the candidate engine frames 51 as a workflow engine frame.
Further, when the candidate engine frameworks provided by the electronic device do not include the workflow engine framework required by the user, the user only needs to provide corresponding drivers in an uploading mode or the like according to a standard protocol if the user needs to apply other workflow engine frameworks.
And step S30, initializing a business process system according to the business process component and the workflow engine framework.
In one possible implementation, after determining the atomic component package and the workflow engine framework required by the user, the business process system is initialized according to the atomic component package and the workflow engine framework. The workflow engine framework is used for determining at least one processing node in the process of executing the business and the execution sequence of the processing node according to the atomic business logic represented by at least one business flow component in the atomic component package. For example, when the service is a leave-asking event, the atomic component package may include three atomic service logics of applying for, approving, and copying, and the workflow engine framework may respectively use the three atomic services as processing nodes and determine an execution sequence of each processing node. Optionally, the workflow engine framework may generate a workflow text after initialization, and further take the workflow file as a part of the business process system. The workflow file may include a flow file and a flow picture representing a business flow, and the flow file may be an xml file or the like.
Further, in the operation process of the business process system, the workflow file generated by the workflow engine framework and the atomic component package also needs the support of the code and library file. Therefore, when the business process system is initialized, the script file and the dependency library file corresponding to the business flow component in the atomic component package can be determined, and then the business process system can be generated according to the script file and the dependency library file.
In a possible implementation manner, the script file and the dependent library file may be determined according to the service flow component in the atomic component package, where the script file is a script code operated by the service flow system, and the dependent library file is a library file required by the operation of the service flow system. Optionally, the electronic device sets corresponding script codes and data tables for preset service identifiers, stores the script codes in a script code set, and stores the data tables in a data table set, so that after a user selects an atomic component package, a script file and a dependency library file of a service flow component in the atomic component package are determined according to the script code set and the data table set.
That is to say, when the service flow component of the atomic component package is a service identifier preset by the electronic device, the process of determining the script file and the dependency library file may include determining a script code set and a data table set, where the script code set includes at least one script code having a corresponding service identifier, and the data table set includes at least one data table having a corresponding service identifier. And determining script codes corresponding to the atomic component packages in the script code set as script files, and determining data tables corresponding to the atomic component packages in the database set as dependency library files.
In a possible implementation mode, when a user selects an atomic component package in a self-defined mode, the user can upload a script file and a dependency library file of a service flow component in the atomic component package by himself because corresponding script codes and data tables do not exist in a script code set and a data table set. Namely, the electronic equipment can also determine the script file and the dependent library file of the service flow component in the atomic component package by receiving the script file and the dependent library file uploaded by the user. Furthermore, after determining the workflow file, the script file and the dependent library file, the electronic device can directly generate a business process system according to the workflow file, the script file and the dependent library file.
And step S40, configuring the business process of the business process system through a visual interactive interface.
In one possible implementation manner, in order to facilitate a user to modify and edit the initialized business process system according to actual needs, the business process system may be displayed to the user through a visual interface, and the business process system may be edited according to the content of the first editing request in response to receiving the first editing request. The first editing request can be determined in a human-computer interaction mode between a user and the electronic device and is used for modifying the service logic of the service processing node or the execution sequence of the processing node of the workflow file of the service flow system. Further, the first edit request may also determine at least one processing person of each processing node by editing.
FIG. 6 shows a schematic diagram of a business process system in accordance with an embodiment of the present disclosure. As shown in fig. 6, after determining the business process system, the embodiment of the disclosure may display the business process system through a visual display interface. Alternatively, the business process system can be displayed as a flow chart of the business process. A business process system for generating a leave request service in the embodiment of the present disclosure is taken as an example for explanation. The business process of the business process system is that a leave applicant submits an application 60, when the leave application date is one day 61, the department approves 63 the leave application, when the result of the department approves 63 is approval, the leave application succeeds 65, when the result is not approval, the leave application fails, and the leave applicant returns to submit the application again. When the leave-asking date in the application is two to five days 62, the department firstly makes a request for leave-asking 63, and then makes a request for leave-asking 64 when the result of the department making a request 63 is agreement, and makes a request for leave-asking 65 when the result of the personnel making a request 64 is agreement, and returns to the leave-asking person to re-submit the application when any link of the department making a request 63 and the personnel making a request 64 is disagreement.
Optionally, when the user needs to adjust the node sequence in the business process system, or add a new node, modify the content of the node, and the like, the user may directly modify each processing node in the visual interface. For example, at least one dummy, department approver, and personnel approver may be added, that is, the corresponding authority is opened for at least one user. Alternatively, five processing nodes of a leave applicant application 60, a day 61, two to five days 62, a department approval 63, a personnel approval 64 and a leave applicant success 65 in fig. 6 can be adjusted. Optionally, the adjustment process of each processing node may be to add, delete or edit the content of the processing node, move the position of the processing node, etc. directly in the visual interface. Meanwhile, a confirmation control can be displayed in the visual interface, and a user triggers the confirmation control through clicking and the like after adjustment so as to generate and submit a first editing request according to each processing node and the node sequence in the visual interface after the user edits. Further, the electronic device may modify the content of the workflow file based on the workflow engine framework initialization according to the content of the first editing request.
In a possible implementation manner, after the business process system is generated, the front-end page of the business process system can be further determined in a human-computer interaction manner according to the embodiment of the disclosure. Optionally, the determining of the front end page may include displaying a front end editing page, the front end editing page including a set of front end components and an editing page. And in response to at least one front-end component in the set of front-end components being selected and added to the edit page, determining location information of the selected at least one front-end component in the edit page. And determining a front-end page file corresponding to the business process system according to the selected at least one front-end component and the position information of the at least one front-end component in the editing page.
FIG. 7 shows a schematic diagram of a front end editing page according to an embodiment of the present disclosure. As shown in fig. 7, embodiments of the present disclosure may also display a front end editing page 70, which includes a front end component assembly 71 and an editing page 72, via an electronic device. Optionally, the front-end component set 71 may include a plurality of front-end components, a user may select and add a required front-end component to the edit page 72, and upload the edited edit page 72 to the electronic device by submitting the edit page 72 after editing is completed, and the electronic device determines a front-end page file corresponding to the business process system according to the front-end components included in the edit page 72 and the location information of each front-end component.
According to the method, after the business process system is generated, the front-end page of the business process system is obtained through editing directly through the visual interface, code compiling of the front-end page is not needed, development efficiency of the business process system is improved, and learning cost of a user is reduced.
The method for generating the business process system of the embodiment of the disclosure firstly determines that a user needs to generate an atomic component package of the business process system, and then automatically generates the business process system directly based on the atomic component package, a workflow engine frame selected by the user, a corresponding script file and a dependency library file, without re-combing and designing each general business process in a development process. Meanwhile, the generation process of the business process system of the embodiment of the disclosure does not need to compile a large number of codes, thereby reducing the learning cost of a user and improving the development efficiency of the business process system.
It is understood that the above-mentioned method embodiments of the present disclosure can be combined with each other to form a combined embodiment without departing from the logic of the principle, which is limited by the space, and the detailed description of the present disclosure is omitted. Those skilled in the art will appreciate that in the above methods of the specific embodiments, the specific order of execution of the steps should be determined by their function and possibly their inherent logic.
In addition, the present disclosure also provides a business process system generation apparatus, an electronic device, a computer-readable storage medium, and a program, which can be used to implement any one of the business process system generation methods provided by the present disclosure, and the corresponding technical solutions and descriptions and corresponding descriptions in the method sections are referred to and are not described again.
Fig. 8 is a schematic diagram of a business process generating apparatus according to an embodiment of the present disclosure, and as shown in fig. 8, the apparatus includes:
an atomic component determination module 80, configured to determine an atomic component package, where the atomic component package includes a service flow component of at least one service;
a framework determination module 81 for determining a workflow engine framework;
a system initialization module 82, configured to initialize a business process system according to the business flow components and the workflow engine framework;
and the process configuration module 83 is configured to configure the business process of the business process system through a visual interactive interface.
In one possible implementation manner, the flow configuration module 83 includes:
the system display submodule is used for displaying the business process system through a visual interactive interface;
and the flow configuration submodule is used for responding to the received first editing request and editing the business flow system according to the content of the first editing request.
In one possible implementation, the apparatus further includes:
the front-end display module is used for displaying a front-end editing page, and the front-end editing page comprises a front-end component set and an editing page;
the position determining module is used for responding to the fact that at least one front-end component in the front-end component set is selected and added into the editing page, and determining position information of the selected at least one front-end component in the editing page;
and the front-end file determining module is used for determining a front-end page file corresponding to the business process system according to the selected at least one front-end component and the position information of the at least one front-end component in the editing page.
In one possible implementation, the system initialization module 82 includes:
the file determining submodule is used for determining a script file and a dependency library file corresponding to the service flow component in the atomic component package;
and the system initialization submodule is used for generating a business process system according to the script file and the dependency library file.
In one possible implementation, the atomic component determination module 80 includes:
the page display submodule is used for displaying a system created page, and the system created page comprises at least one service identifier;
and the atomic component acquisition submodule is used for responding to the selection of one service identifier and acquiring an atomic component package corresponding to the service identifier.
In one possible implementation, the file determining sub-module includes:
the device comprises a set determining unit, a service identification determining unit and a service identification determining unit, wherein the set determining unit is used for determining a script code set and a data table set, the script code set comprises at least one script code with a corresponding service identification, and the data table set comprises at least one data table with a corresponding service identification;
a script obtaining unit, configured to determine, in the script code set, a script code corresponding to the atomic component package as a script file;
and the library file acquisition unit is used for determining a data table corresponding to the atomic component package in the database set as a dependent library file.
In a possible implementation manner, the system creates a page that is also used for displaying an atomic service set;
the atomic component determination module 80 further includes:
and the interaction determining submodule is used for responding to the selection of at least one service flow component and determining an atomic component package according to the atomic service logic of the selected at least one service flow component.
In one possible implementation, the framework determining module 81 includes:
a frame display sub-module for displaying at least one candidate engine frame;
and the frame selection submodule is used for responding to the selection of one candidate engine frame and determining the selected candidate engine frame as the workflow engine frame.
In some embodiments, functions of or modules included in the apparatus provided in the embodiments of the present disclosure may be used to execute the method described in the above method embodiments, and for specific implementation, reference may be made to the description of the above method embodiments, and for brevity, details are not described here again.
Embodiments of the present disclosure also provide a computer-readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the above-mentioned method. The computer readable storage medium may be a volatile or non-volatile computer readable storage medium.
An embodiment of the present disclosure further provides an electronic device, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to invoke the memory-stored instructions to perform the above-described method.
The disclosed embodiments also provide a computer program product comprising computer readable code or a non-transitory computer readable storage medium carrying computer readable code, which when run in a processor of an electronic device, the processor in the electronic device performs the above method.
The electronic device may be provided as a terminal, server, or other form of device.
Fig. 9 shows a schematic diagram of an electronic device 800 according to an embodiment of the disclosure. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like terminal.
Referring to fig. 9, electronic device 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the electronic device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the electronic device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 806 provides power to the various components of the electronic device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 800.
The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the electronic device 800 is in an operation mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the electronic device 800. For example, the sensor assembly 814 may detect an open/closed state of the electronic device 800, the relative positioning of components, such as a display and keypad of the electronic device 800, the sensor assembly 814 may also detect a change in the position of the electronic device 800 or a component of the electronic device 800, the presence or absence of user contact with the electronic device 800, orientation or acceleration/deceleration of the electronic device 800, and a change in the temperature of the electronic device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a Complementary Metal Oxide Semiconductor (CMOS) or Charge Coupled Device (CCD) image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 may access a wireless network based on a communication standard, such as a wireless network (WiFi), a second generation mobile communication technology (2G) or a third generation mobile communication technology (3G), or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium, such as the memory 804, is also provided that includes computer program instructions executable by the processor 820 of the electronic device 800 to perform the above-described methods.
Fig. 10 shows a schematic diagram of an electronic device 1900 according to an embodiment of the disclosure. For example, the electronic device 1900 may be provided as a server. Referring to fig. 10, electronic device 1900 includes a processing component 1922 further including one or more processors and memory resources, represented by memory 1932, for storing instructions, e.g., applications, that are executable by processing component 1922. The application programs stored in memory 1932 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1922 is configured to execute instructions to perform the above-described method.
The electronic device 1900 may also include a power component 1926 configured to perform power management of the electronic device 1900, a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and an input/output (I/O) interface 1958. The electronic device 1900 may operate based on an operating system, such as the Microsoft Server operating system (Windows Server), stored in the memory 1932TM) Apple Inc. of the present application based on the graphic user interface operating System (Mac OS X)TM) Multi-user, multi-process computer operating system (Unix)TM) Free and open native code Unix-like operating System (Linux)TM) Open native code Unix-like operating System (FreeBSD)TM) Or the like.
In an exemplary embodiment, a non-transitory computer readable storage medium, such as the memory 1932, is also provided that includes computer program instructions executable by the processing component 1922 of the electronic device 1900 to perform the above-described methods.
The present disclosure may be systems, methods, and/or computer program products. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied thereon for causing a processor to implement various aspects of the present disclosure.
The computer-readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but is not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device over a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present disclosure may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, the electronic circuitry that can execute the computer-readable program instructions implements aspects of the present disclosure by utilizing the state information of the computer-readable program instructions to personalize the electronic circuitry, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA).
Various aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The computer program product may be embodied in hardware, software or a combination thereof. In an alternative embodiment, the computer program product is embodied in a computer storage medium, and in another alternative embodiment, the computer program product is embodied in a Software product, such as a Software Development Kit (SDK), or the like.
Having described embodiments of the present disclosure, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (11)

1. A method for generating a business process system, the method comprising:
determining an atomic component package, wherein the atomic component package comprises at least one service flow component of service;
determining a workflow engine framework;
initializing a business process system according to the business flow assembly and the workflow engine framework;
and configuring the business process of the business process system through a visual interactive interface.
2. The method of claim 1, wherein configuring the business process of the business process system through the visual interactive interface comprises:
displaying the business process system through a visual interactive interface;
and responding to the received first editing request, and editing the business process system according to the content of the first editing request.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
displaying a front-end editing page, wherein the front-end editing page comprises a front-end component set and an editing page;
in response to at least one front-end component in the set of front-end components being selected and added to the edit page, determining location information of the selected at least one front-end component in the edit page;
and determining a front-end page file corresponding to the business process system according to the selected at least one front-end component and the position information of the at least one front-end component in the editing page.
4. The method of any of claims 1-3, wherein initializing a business process system according to the business flow component and the workflow engine framework comprises:
determining a script file and a dependency library file corresponding to the service flow component in the atomic component package;
and generating a business process system according to the script file and the dependency library file.
5. The method of claim 4, wherein the determining an atomic component package comprises:
displaying a system creation page, wherein the system creation page comprises at least one service identifier;
and responding to the selection of one service identifier, and acquiring an atomic component package corresponding to the service identifier.
6. The method of claim 5, wherein determining the script file and the dependency library file corresponding to the traffic flow component in the atomic component package comprises:
determining a script code set and a data table set, wherein the script code set comprises at least one script code with a corresponding service identifier, and the data table set comprises at least one data table with a corresponding service identifier;
determining script codes corresponding to the atomic component packages in the script code set as script files;
and determining a data table corresponding to the atomic component package in the database set as a dependent library file.
7. The method of claim 5, wherein the system creates a page that is also used to display an atomic service set;
the determining an atomic component package further comprises:
in response to at least one traffic flow component being selected, an atomic component package is determined according to the atomic service logic of the selected at least one of the traffic flow components.
8. The method of any of claims 1-7, wherein determining the workflow engine framework comprises:
displaying at least one candidate engine frame;
in response to a candidate engine frame being selected, the selected candidate engine frame is determined to be a workflow engine frame.
9. An apparatus for generating a business process system, the apparatus comprising:
the atomic component determining module is used for determining an atomic component package, wherein the atomic component package comprises at least one service flow component of service;
a framework determination module for determining a workflow engine framework;
the system initialization module is used for initializing a business process system according to the business flow component and the workflow engine framework;
and the process configuration module is used for configuring the business process of the business process system through the visual interactive interface.
10. An electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to invoke the memory-stored instructions to perform the method of any one of claims 1 to 8.
11. A computer readable storage medium having computer program instructions stored thereon, which when executed by a processor implement the method of any one of claims 1 to 8.
CN202210333369.9A 2022-03-30 2022-03-30 Business process system generation method and device, electronic equipment and storage medium Withdrawn CN114691115A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210333369.9A CN114691115A (en) 2022-03-30 2022-03-30 Business process system generation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210333369.9A CN114691115A (en) 2022-03-30 2022-03-30 Business process system generation method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114691115A true CN114691115A (en) 2022-07-01

Family

ID=82140473

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210333369.9A Withdrawn CN114691115A (en) 2022-03-30 2022-03-30 Business process system generation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114691115A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115098078A (en) * 2022-08-25 2022-09-23 歌尔股份有限公司 Processing method of flow service, electronic equipment and storage medium
CN116661767A (en) * 2023-07-28 2023-08-29 亚信科技(中国)有限公司 File generation method, device, equipment and storage medium
CN116823152A (en) * 2023-05-31 2023-09-29 杭州微宏科技有限公司 Automatic online method, system, device and medium for offline form

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115098078A (en) * 2022-08-25 2022-09-23 歌尔股份有限公司 Processing method of flow service, electronic equipment and storage medium
CN116823152A (en) * 2023-05-31 2023-09-29 杭州微宏科技有限公司 Automatic online method, system, device and medium for offline form
CN116661767A (en) * 2023-07-28 2023-08-29 亚信科技(中国)有限公司 File generation method, device, equipment and storage medium
CN116661767B (en) * 2023-07-28 2023-10-27 亚信科技(中国)有限公司 File generation method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US10852912B2 (en) Image creation app in messaging app
CN114691115A (en) Business process system generation method and device, electronic equipment and storage medium
CN111554382B (en) Medical image processing method and device, electronic equipment and storage medium
CN106790683B (en) Network data display method and device based on mobile terminal
CN114268802B (en) Virtual space display method and device, electronic equipment and storage medium
CN112104881B (en) Information processing method and device
CN114153540A (en) Pre-training model issuing method and device, electronic equipment and storage medium
CN114546436A (en) Micro front-end service updating method and device, electronic equipment and storage medium
CN114222155A (en) Resource recommendation method and device, electronic equipment and storage medium
CN111488267B (en) Interface test script generation method and device and electronic equipment
CN113031781A (en) Augmented reality resource display method and device, electronic equipment and storage medium
CN113806779A (en) System authority management method and device, electronic equipment and storage medium
CN113504903A (en) Experiment generation method and device, electronic equipment and storage medium
CN108549570B (en) User interface updating method and device
CN113378893A (en) Data management method and device, electronic equipment and storage medium
CN111596980A (en) Information processing method and device
CN110347394B (en) Software code analysis method and device
CN111596949B (en) Method and device for developing application program
CN115373763B (en) Plug-in loading method and device, electronic equipment and storage medium
CN117971219A (en) Low-code application editing method, device, electronic equipment and storage medium
CN118035363A (en) Nuclear power station document association method and device
CN113849208A (en) Application program management method and device, electronic equipment and storage medium
CN113359978A (en) Control method and device of multimedia equipment, electronic equipment and storage medium
CN115562681A (en) Cloud application management method, device and system, electronic equipment and storage medium
CN114298312A (en) Data attribution processing method and device and electronic equipment

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20220701

WW01 Invention patent application withdrawn after publication