Process Configuration Method, Apparatus, Electronic Device, and Computer-Readable Storage Medium
By automatically determining the execution object of the process node, the problems of low process configuration efficiency and poor execution accuracy in the existing CMS system are solved, and efficient and accurate process configuration and execution are achieved.
Patent Information
- Application Number
- CN202210713596.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-22
- Publication Date
- 2025-07-01
- Estimated Expiration
- 2042-06-22
AI Technical Summary
When creating a process, existing CMS systems need to manually select the execution object of each process node, resulting in low process configuration efficiency and easy selection errors when business rules change, affecting process execution efficiency.
By obtaining the process creation request generated by the target application, determining the process node according to the configuration file, and automatically determining the execution object of the process node using object information and target topic identification, generating to-do items, and realizing automatic configuration and execution of the process.
Improve process configuration and execution efficiency, avoid human choice errors, ensure process accuracy and consistency, and adapt to changes in business rules.
Smart Images

Figure CN115049367B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of fintech or other related fields. Specifically, it relates to a process configuration method, apparatus, electronic device, and computer-readable storage medium. Background Art
[0002] A CMS (content management system) is a software system located between the front end of the Internet and the back-end office system or process (content creation, editing). Content creators, editors, and publishers use the CMS system to submit, modify, approve, and publish content. Here, the "content" may include files, tables, pictures, data in databases, and even videos, etc., all information that users want to publish on Internet portals. With the development of enterprise informatization construction and e-government, the application of the CMS system is becoming more and more widespread.
[0003] However, when creating a process in an existing CMS system, first, the creator of the process needs to determine the execution object of the next process node according to the business type of the business content. Then, for each subsequent process node, the execution object also has to manually select the execution object of the next process node until the entire process is completed.
[0004] It should be noted that this way of manually selecting the execution object corresponding to each process node not only reduces the generation efficiency of the overall process, but also when the relevant process flow rules change, for example, when the reviewer changes, etc., if the execution object of a process node does not timely understand the change of the relevant process flow rules, it is easy to make a wrong selection when selecting the execution object of the next process node, thus affecting the execution efficiency of the overall process.
[0005] In view of the above problems, no effective solution has been proposed yet. Summary of the Invention
[0006] Embodiments of the present application provide a process configuration method, apparatus, electronic device, and computer-readable storage medium to at least solve the technical problem of low process configuration efficiency caused by the need to manually select the execution object corresponding to each process node in the prior art.
[0007] According to one aspect of the embodiments of the present application, a process configuration method is provided, including: obtaining a process creation request generated by a target application, where the process creation request at least includes object information of a creation object that creates the process creation request and a target theme identifier of target business content, and the target theme identifier represents the business type of the target business content; determining a plurality of process nodes according to a configuration file corresponding to the target application, where the configuration file at least includes a process framework composed of a plurality of process nodes; determining a target object corresponding to the process node according to the object information and the target theme identifier, and generating a to-do item according to the target business content in the display interface of the target object, where the target object is an object that executes the process node.
[0008] Further, the process configuration method further includes: before obtaining the process creation request sent by the target application, obtaining a plurality of user accounts stored in the target application and account information of each user account, where the account information at least includes permission information, position information, and department information of an object corresponding to the user account; storing the user account and the account information of the user account in a preset file.
[0009] Further, the process configuration method further includes: after storing the user account and the account information of the user account in a preset file, obtaining all business content in the target application; dividing all business content into a plurality of sub-business contents, where each sub-business content corresponds to a business type, and the target business content is any one of the plurality of sub-business contents; generating a theme identifier based on the business type corresponding to each sub-business content, and storing the theme identifier in a preset file; generating a plurality of user relationship tables according to the theme identifier and the account information, where each user relationship table corresponds to a theme identifier, and each user relationship table is used to represent the association relationship between a plurality of user accounts under the business type corresponding to the theme identifier.
[0010] Further, the process configuration method further includes: before determining a plurality of process nodes and the association relationship between the plurality of process nodes according to a configuration file corresponding to the target application, obtaining the business rules of the target application, where the business rules represent the business logic of the target application for implementing all business content; generating a plurality of process nodes according to the business rules, and combining the plurality of process nodes into a process framework.
[0011] Further, the process configuration method further includes: determining the start order of each process node among the plurality of process nodes based on the configuration file; starting each process node according to the start order; when the process node is started, determining a target user relationship table from the plurality of user relationship tables according to the target theme identifier; determining a target object corresponding to the process node according to the target user relationship table and the object information.
[0012] Furthermore, the process configuration method further includes: after generating a to-do item in the display interface of the target object based on the target business content, obtaining the residence duration of the to-do item, where the residence duration represents the continuous duration when the to-do item is in an unprocessed state; and when the residence duration is greater than a first preset duration, generating a prompt message in the display interface of the target object, where the prompt message is used to prompt the target object to process the to-do item.
[0013] Furthermore, the process configuration method further includes: when the residence duration is greater than a second preset duration, determining that there is an abnormality in the process corresponding to the to-do item and generating an abnormality warning message, where the second preset duration is greater than the first preset duration.
[0014] According to another aspect of the embodiments of the present application, there is also provided a process configuration device, including: an obtaining module, configured to obtain a process creation request generated by a target application program, where the process creation request at least includes object information of a creation object for creating the process creation request and a target theme identifier of the target business content, and the target theme identifier represents the business type of the target business content; a first determination module, configured to determine a plurality of process nodes according to a configuration file corresponding to the target application program, where the configuration file at least includes a process framework composed of a plurality of process nodes; and a second determination module, configured to determine a target object corresponding to the process node according to the object information and the target theme identifier, and generate a to-do item in the display interface of the target object according to the target business content, where the target object is an object that executes the process node.
[0015] According to another aspect of the embodiments of the present application, there is also provided a computer-readable storage medium, in which a computer program is stored, where the computer program is configured to execute the above-mentioned process configuration method when running.
[0016] According to another aspect of the embodiments of the present application, there is also provided an electronic device, which includes one or more processors; a storage device, configured to store one or more programs, and when the one or more programs are executed by the one or more processors, enable the one or more processors to implement running the program, where the program is configured to execute the above-mentioned process configuration method when running.
[0017] In an embodiment of the present application, a method is adopted to determine a target object corresponding to a process node based on object information and a target theme identifier. First, a process creation request generated by a target application is obtained. The process creation request includes at least object information of a creation object for creating the process creation request and a target theme identifier of target business content. The target theme identifier represents the business type of the target business content. Then, multiple process nodes are determined according to a configuration file corresponding to the target application. Finally, a target object corresponding to the process node is determined based on the object information and the target theme identifier, and a to-do item is generated according to the target business content in the display interface of the target object. The configuration file includes at least a process framework composed of multiple process nodes, and the target object is an object that executes the process node.
[0018] As can be seen from the above, for the process creation request generated by the target application, the present application determines the process framework corresponding to the target application through the configuration file, thereby automatically determining multiple process nodes for generating relevant processes. At the same time, when the present application receives the process creation request, it obtains the object information of the creation object and the target theme identifier. Since the object information can represent the identity of the creation object, and the target theme identifier can represent the business type of the target business content, therefore, through these two dimensions of object information and target theme identifier, the execution object corresponding to each process node can be determined based on the process framework. The entire process no longer requires the creation object or the execution object of the process node to manually select the target object corresponding to the next process node. Thus, not only the configuration efficiency of the process is improved, but also when the business type changes, the present application can adaptively match the correct execution object for each process node, thereby avoiding the problem of incorrect selection when selecting the execution object of the next process node due to the execution object of a certain process node not understanding the change in the business type, and further achieving the effect of improving the execution accuracy of the overall process.
[0019] It can be seen that through the technical solution of the present application, the purpose of automatically determining the execution object corresponding to each process node during the process configuration is achieved, thereby realizing the effect of improving the process configuration efficiency and execution efficiency, and further solving the technical problem of low process configuration efficiency caused by the need to manually select the execution object corresponding to each process node in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The drawings described herein are used to provide a further understanding of the present application and form a part of the present application. The illustrative embodiments and descriptions thereof of the present application are used to explain the present application and do not constitute an improper limitation to the present application. In the drawings:
[0021] Figure 1 is a flowchart of an optional process configuration method according to an embodiment of the present application;
[0022] Figure 2 It is a schematic diagram of an optional process framework according to an embodiment of the present application;
[0023] Figure 3 It is a schematic diagram of the generation process of a configuration file according to an embodiment of the present application;
[0024] Figure 4 It is a schematic diagram of the process of an optional process configuration according to an embodiment of the present application;
[0025] Figure 5 It is a schematic diagram of an optional process configuration device according to an embodiment of the present application;
[0026] Figure 6 It is a schematic diagram of an optional electronic device according to an embodiment of the present application. Detailed implementation manners
[0027] In order to enable those skilled in the art to better understand the solution of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
[0028] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily need to be used to describe a specific order or sequence. It should be understood that such data used can be interchanged under appropriate circumstances so that the embodiments of the present application described here can be implemented in an order other than those illustrated or described here. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products, or devices.
[0029] In addition, it should also be noted that the relevant information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for display, data for analysis, etc.) involved in the present disclosure are all information and data authorized by the user or fully authorized by all parties. For example, an interface is set between the present system and relevant users or institutions. Before obtaining relevant information, a request for acquisition needs to be sent to the aforementioned users or institutions through the interface, and after receiving the consent information feedback from the aforementioned users or institutions, the relevant information can be obtained.
[0030] Example 1
[0031] According to an embodiment of the present application, an embodiment of a process configuration method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. And although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than here.
[0032] In addition, it should also be noted that a process configuration device can be used as the execution entity of the process configuration method of the embodiment of the present application. Among them, the process configuration device can be understood as a new CMS system provided by the present application, which is used to interact with software applications such as office systems.
[0033] Figure 1 is a flowchart of an optional process configuration method according to an embodiment of the present application. As Figure 1 shown, the method includes the following steps:
[0034] Step S101, obtain a process creation request generated by a target application.
[0035] In step S101, the process creation request at least includes object information of the creation object that creates the process creation request and a target theme identifier of the target business content, and the target theme identifier represents the business type of the target business content.
[0036] Specifically, the process configuration device in the present application is also a software system located between the Internet front end and the back-end office system or process (content creation, editing). Among them, the above-mentioned target application can be understood as any one of the back-end office system, content creation system or content editing system. For example, the target application can be an attendance software system, a financial approval software system or a public account editing system.
[0037] In addition, the user can generate a process creation request on the target application, and then the process creation request is sent by the target application to the process configuration device in the present application, and the process configuration device performs the subsequent process generation and process execution. Specifically, taking the target application as a public account editing system within a bank as an example, if an editor writes a public account article on the public account editing system, due to the information release specifications within the bank, the public account article needs to be reviewed before it can be publicly released. Therefore, after the public account article is completed, the public account editing system needs to send the content of the public account article and the personnel information of the editor to the process configuration device, and then the process configuration device generates relevant review processes to review the public account article.
[0038] In addition, account information of all user accounts in the target application is pre-stored inside the process configuration device in this application. It can be understood that these user accounts represent the staff members in the actual business in the target application. In other words, the execution object of each process node is one or more of the staff members corresponding to these user accounts. On this basis, the process creation request will at least include the object information of the creation object and the target topic identifier of the target business content. Among them, the object information at least includes the permission information, position information, and department information of the creation object. The object information can represent the identity of the creation object. In addition, the above-mentioned target business content can be the relevant content created or initiated by the creation object on the target application, and the target topic identifier represents the business type of the target business content. For example, the above-mentioned official account article is a kind of target business content. However, within a bank, official account articles of different contents belong to different business types. For example, if the content of the official account article is technology-related content, the business type corresponding to this official account article is the technology type, and the corresponding target topic identifier should be a technology-related theme; if the content of the official account article is financial-related content, the business type corresponding to this official account is the financial type, and the corresponding target topic identifier should be a financial-related theme. It should be noted that the business type can be custom-divided by the staff based on the actual business content of the target application. Correspondingly, each business type corresponds to a theme identifier, that is, the theme identifier can also be custom-set by the staff.
[0039] Step S102: Determine multiple process nodes according to the configuration file corresponding to the target application.
[0040] In step S102, the configuration file is used to represent the process framework composed of multiple process nodes. Generally speaking, for multiple process creation requests generated on an application, the corresponding process framework is unchanged. Only when the business type or the creation object is different, the execution object corresponding to each process node may be different. For example, as Figure 2As shown, still taking a public account editing system as an example of the target application, according to the business rules within the public account editing system, its process framework consists of five process nodes: start, collection, review, release, and end. These five process nodes form a process framework. Based on this process framework, as long as it is a process creation request generated by the public account editing system, it will go through the above five process nodes. However, in the actual business scenario, although the process framework is the same, due to different creation objects or business types, the execution objects of each process node are different. For example, if the creation object 1 is a person in the finance department who writes an article introducing financial knowledge, then for this article to pass the review finally, the execution object of the "review" process node should be the manager of the finance department; while if a person in the information department writes an article introducing information security, then the execution object of the "review" node corresponding to this article should be the manager of the information department. Therefore, in order to determine the execution object of each process node, this application has obtained the object information and the target theme identifier in advance before this.
[0041] It should be noted that the process configuration device in this application can be connected to multiple application programs at the same time. The above target application program is any one of the multiple application programs. Among them, for each application program, this application will set a corresponding configuration file in advance and store it in the process configuration device. Moreover, if the business rules of a certain application program change, for example, the review node in the above public account editing system is cancelled, then this application only needs to adjust the configuration file correspondingly according to the change of the business rules, so as to adaptively match the change of the business rules, thereby improving the configuration efficiency of the process.
[0042] Step S103, determine the target object corresponding to the process node according to the object information and the target theme identifier, and generate a to-do item according to the target business content in the display interface of the target object.
[0043] In step S103, the target object is the object that executes the process node. Specifically, from the above analysis of step S102, it can be seen that after obtaining the configuration file, only the process framework is obtained, but the execution object corresponding to the process node has not been obtained yet. Combining the actual business scenario, generally speaking, to determine the execution object of a process node, it can be determined by the identity information of the execution object of the previous process node of this process node and the business type of the business content of this process. For example, the target application program is the above-mentioned official account editing system. Object 1 created is a person in the finance department, and he / she writes an article introducing financial knowledge through the official account editing system. Then, before this article is officially released, the execution object of the "audit" process node corresponding to this article can be the manager of the finance department, and the execution object of the "release" process node can be the administrative staff of the finance department; if a person in the information department writes an article introducing information security, then the execution object of the "audit" node corresponding to this article should be the manager of the information department, and the execution object of the "release" process node can be the administrative staff of the information department. Moreover, since this application will obtain the object information of the created object 1 and the object information of the created object 2, therefore, combining the position information, permission information, and department information in these object information, the process configuration device can accurately determine the specific user accounts of the above-mentioned manager of the finance department, the administrative staff of the finance department, the manager of the information department, and the administrative staff of the information department by combining the pre-stored user account information. In other words, the process configuration device no longer needs the user to manually select the execution object corresponding to the process node. The process configuration device can achieve the effect of automatically determining the execution object of each node through these two dimensions of object information and the target theme identifier.
[0044] Based on the content of steps S101 to S103, it can be seen that in the embodiment of this application, the method of determining the target object corresponding to the process node according to the object information and the target theme identifier is adopted. First, obtain the process creation request generated by the target application program. Among them, the process creation request at least includes the object information of the creation object that creates the process creation request and the target theme identifier of the target business content. The target theme identifier represents the business type of the target business content. Then, determine multiple process nodes according to the configuration file corresponding to the target application program. Finally, determine the target object corresponding to the process node according to the object information and the target theme identifier, and generate a to-do item according to the target business content in the display interface of the target object. Among them, the configuration file at least includes a process framework composed of multiple process nodes, and the target object is the object that executes the process node.
[0045] As can be seen from the above, for the process creation request generated by the target application, the present application determines the process framework corresponding to the target application through a configuration file, thereby automatically determining multiple process nodes for generating relevant processes. At the same time, when the present application receives a process creation request, it obtains the object information of the creation object and the target theme identifier. Since the object information can represent the identity of the creation object, and the target theme identifier can represent the business type of the target business content, therefore, through these two dimensions of object information and target theme identifier, the execution object corresponding to each process node can be determined based on the process framework. In the whole process, there is no need for the creation object or the execution object of the process node to manually select the next process node execution object. Thus, not only the configuration efficiency of the process is improved, but also when the business type changes, the present application can adaptively match the correct execution object for each process node, thereby avoiding the problem that the execution object of a certain process node does not understand the change of the business type and resulting in a selection error when selecting the execution object of the next process node, and further achieving the effect of improving the execution accuracy of the overall process.
[0046] It can be seen that through the technical solution of the present application, the purpose of automatically determining the execution object corresponding to each process node during process configuration is achieved, thereby realizing the effect of improving the process configuration efficiency and execution efficiency, and further solving the technical problem of low process configuration efficiency caused by the need to manually select the execution object corresponding to each process node in the prior art.
[0047] In an optional embodiment, before obtaining the process creation request sent by the target application, the process configuration device obtains multiple user accounts stored in the target application and the account information of each user account. Among them, the account information at least includes the permission information, position information, and department information of the object corresponding to the user account. Then the process configuration device stores the user account and the account information of the user account in a preset file.
[0048] Optionally, the process configuration device in the present application includes one "component" and three "centers". One "component" is the process definition component, and the three "centers" are respectively: the process scheduling center, the process management center, and the process service center. Among them, the process definition component defines the flow path of the process and the method for determining the execution object of each process node. The three "centers" are the platforms for how the process configuration device interacts with the target application during actual work and manages and monitors the operation of all processes.
[0049] First, the process definition component includes an account synchronization device. The account synchronization device can interact with the target application to obtain multiple user accounts and the account information of each user account. Since the account information at least includes the permission information, position information, and department information of the object corresponding to the user account, the account information actually represents the identity information of the object corresponding to the user account. In addition, after obtaining the user accounts and account information, the account synchronization device can generate an object list based on the user accounts and account information, so as to determine the corresponding execution object for each process node in the subsequent process.
[0050] In an alternative embodiment, after storing the user accounts and the account information of the user accounts in a preset file, the process definition component further obtains all the business contents in the target application, and then divides all the business contents into multiple sub-business contents. Among them, each sub-business content corresponds to a business type, and the target business content is any one of the multiple sub-business contents. Subsequently, the process definition component generates a theme identifier based on the business type corresponding to each sub-business content and stores the theme identifier in the preset file. Finally, the process definition component generates multiple user relationship tables according to the theme identifier and the account information. Among them, each user relationship table corresponds to a theme identifier, and each user relationship table is used to represent the association relationship between multiple user accounts under the business type corresponding to the theme identifier.
[0051] Optionally, the process definition component first defines process variables, which at least include the above-mentioned account information and the subject identifier. Among them, the process definition component will pre-define multiple subject identifiers according to the business content in the target application, which are used to represent the business content of different business types. For example, if the target application is a human resources system, all the business content in this human resources system is about personnel management. However, personnel management can be divided into multiple business types, such as separation management, onboarding management, leave management, and so on. It is easy to notice that under each business type, the execution objects of the subsequent process nodes will also be different. For example, the multiple process nodes of the process framework of this human resources system are: application, review, and end. Just for the "review" node among them, the reviewers under the "separation management" type and the "onboarding management" type may be different. Therefore, generating multiple subject identifiers to distinguish business types is a prerequisite for determining the execution object of each execution node. In addition, only determining the business type is not enough to accurately determine the execution object of each execution node. Therefore, in combination with the previously obtained account information, the process definition component will generate a user relationship table based on the business type corresponding to each subject identifier. For example, since the position information, department information, and permission information of each user account have been pre-collected, under the subject identifier of "separation management", it can be determined that the review superior of user account A is user account B; under the subject identifier of "onboarding management", it can be determined that the review superior of user account A is user account C.
[0052] In Figure 3 the process variables can refer to forms such as $#{ENV_STRU_ID}; $#{ENV_SUBJECT_ID}, etc.
[0053] It should be noted that during the process flow, the subject identifier and object information are continuously transferred to the next process node as the execution of the process node progresses, that is, the subject identifier and object information will act on the entire life cycle of the process, and each pending execution node will determine the corresponding execution object according to the subject identifier and object information.
[0054] In an optional embodiment, before determining multiple process nodes and the association relationship between multiple process nodes according to the configuration file corresponding to the target application, the process definition component will also define a workflow. Specifically, the process definition component obtains the business rules of the target application, where the business rules represent the business logic used by the target application to implement all business content. Then, the process definition component generates multiple process nodes according to the business rules and combines the multiple process nodes into a process framework.
[0055] Specifically, as Figure 3 shown, in Figure 3Among them, based on the business rules of the target application, the process creation requests generated on the target application will go through process nodes such as start, collection, review, pre-release, release, and end. These process nodes form a process framework.
[0056] In addition, the process definition component will also define shared resources. Specifically, the process definition component can define the communication method between the target application and the process nodes. After the process flows to a certain process node, the process definition component generates a to-do item in the display interface of the target object corresponding to this process node according to the communication method. Among them, this communication method can also be understood as a kind of shared resource. For example, the interface provided by the target application for the process definition component to obtain the user account. As Figure 3 shown, the shared resources can be the IP address of the target application, the interface PORT of the target application, or the connection credentials of the target application.
[0057] In an alternative embodiment, as Figure 3 shown, the process definition component saves all the above definitions of shared resources, definitions of workflows, and definitions of process variables, thereby generating a configuration file. And uploads this configuration file to the process scheduling center.
[0058] In an alternative embodiment, the process configuration device first determines the start order of each process node among multiple process nodes based on the configuration file, and then starts each process node according to the start order. When a process node is started, the process configuration device determines the target user relationship table from multiple user relationship tables according to the target theme identifier, and determines the target object corresponding to the process node according to the target user relationship table and object information.
[0059] Optionally, Figure 4 shows a schematic diagram of an alternative process configuration according to an embodiment of the present application. As Figure 4As shown in the figure, first, the creating object creates a process creation request on the target application, and the target application sends the process creation request to the process configuration device. By identifying the account information of the creating object, the process configuration device can determine the object information of the creating object. By identifying the target business content created by the creating object, the target business identifier can be determined, and the object information and the target business identifier are used as request parameters to submit a workflow start application to the process scheduling center. When there are multiple configuration files in the process configuration device, the process scheduling center determines the configuration file corresponding to the target application according to the request parameters and starts the first process node in the process framework. After the first process node is executed, the first process node passes the request parameters to the next process node to be executed, and the next process node to be executed enters the start state and determines the target user relationship table from multiple user relationship tables according to the target subject identifier, and determines the target object corresponding to the process node to be executed according to the target user relationship table and the object information.
[0060] Further, after obtaining the target object, the process scheduling center forwards the user account information of the target object to the process service center. The to-do service in the process service center generates to-do items according to the target business content and pushes the to-do items to the display interface of the target object. After receiving the to-do push, the target object processes the subsequent process of this process node, and can also obtain all to-do items through accessing the personal to-do service and process them in turn.
[0061] In an alternative embodiment, after generating to-do items in the display interface of the target object based on the target business content, the process management center will obtain the staying duration of the to-do items, where the staying duration represents the continuous duration when the to-do items are in the unprocessed state. When the staying duration is greater than the first preset duration, the process management center generates a prompt message in the display interface of the target object, where the prompt message is used to prompt the target object to process the to-do items.
[0062] Further, the process management center will also monitor the overall operation status of the process and generate abnormal alarm information for abnormal processes in a timely manner. Specifically, when the staying duration is greater than the second preset duration, the process management center will determine that the process corresponding to the to-do item is abnormal and generate abnormal alarm information, where the second preset duration is greater than the first preset duration.
[0063] It should be noted that this application can also determine whether the process is abnormal according to the number of reminder times. For example, a prompt message is generated every first preset duration. If the generation times of the prompt message are greater than the preset times, it is determined that the process is abnormal.
[0064] In an alternative embodiment, as Figure 4As shown in the figure, the process scheduling center will also generate process logs to record the specific transfer process of each process. At the same time, the process scheduling center synchronizes the generated process logs to the process service center, and the process service center generates a unified report based on the process logs for system users to view at any time.
[0065] It should be noted that the process configuration device in this application can be an independent and complete set of process engine components understood by those skilled in the art, which conducts information interaction in the standard Json language format. With a small amount of resource investment, it can be adapted to application programs developed based on any technical platform and has strong versatility. In addition, the process configuration device in this application can also be understood as a centralized management system for a set of processes. Through the cooperation of the process management center and the process service center, it can provide process services for multiple application programs and conduct effective management at the same time. Finally, since the process configuration device in this application also has strong scalability, in addition to meeting general content management capabilities, by obtaining object information, theme identifiers, and generating configuration files, it can adapt to the system requirements with relatively complex business scenarios.
[0066] Embodiment 2
[0067] According to an embodiment of the present application, there is also provided a process configuration device, wherein Figure 5 is a schematic diagram of an optional process configuration device according to an embodiment of the present application. As Figure 5 shown, the device includes: an acquisition module 501, configured to acquire a process creation request generated by a target application program, where the process creation request at least includes object information of a creation object for creating the process creation request and a target theme identifier of target service content, and the target theme identifier represents the service type of the target service content; a first determination module 502, configured to determine a plurality of process nodes according to a configuration file corresponding to the target application program, where the configuration file at least includes a process framework composed of a plurality of process nodes; a second determination module 503, configured to determine a target object corresponding to the process node according to the object information and the target theme identifier, and generate a to-do item according to the target service content in the display interface of the target object, where the target object is an object that executes the process node.
[0068] Optionally, the process configuration device further includes: a first acquisition module and a storage module. The first acquisition module is configured to acquire a plurality of user accounts stored in the target application program and account information of each user account, where the account information at least includes permission information, position information, and department information to which the object corresponding to the user account belongs; the storage module is configured to store the user account and the account information of the user account into a preset file.
[0069] Optionally, the process configuration device further includes: a second acquisition module, a division module, a first generation module, and a second generation module. Among them, the second acquisition module is used to acquire all business contents in the target application program; the division module is used to divide all business contents into multiple sub-business contents, where each sub-business content corresponds to a business type, and the target business content is any one of the multiple sub-business contents; the first generation module is used to generate a theme identifier based on the business type corresponding to each sub-business content and store the theme identifier in a preset file; the second generation module is used to generate multiple user relationship tables according to the theme identifier and account information, where each user relationship table corresponds to a theme identifier, and each user relationship table is used to represent the association relationship between multiple user accounts under the business type corresponding to the theme identifier.
[0070] Optionally, the process configuration device further includes: a third acquisition module and a third generation module. Among them, the third acquisition module is used to acquire the business rules of the target application program, where the business rules represent the business logic when the target application program is used to implement all business contents; the third generation module is used to generate multiple process nodes according to the business rules and combine the multiple process nodes into a process framework.
[0071] Optionally, the above-mentioned second determination module further includes: a third determination module, a start module, a fourth determination module, and a fifth determination module. Among them, the third determination module is used to determine the start order of each process node in the multiple process nodes based on the configuration file; the start module is used to start each process node according to the start order; the fourth determination module is used to determine the target user relationship table from the multiple user relationship tables according to the target theme identifier when the process node is started; the fifth determination module is used to determine the target object corresponding to the process node according to the target user relationship table and the object information.
[0072] Optionally, the process configuration device further includes: a fourth acquisition module and a fourth generation module. Among them, the fourth acquisition module is used to acquire the stay duration of the to-do item, where the stay duration represents the continuous duration when the to-do item is in an unprocessed state; the fourth generation module is used to generate a prompt message in the display interface of the target object when the stay duration is greater than a first preset duration, where the prompt message is used to prompt the target object to process the to-do item.
[0073] Optionally, the process configuration device further includes: a sixth determination module, which is used to determine that the process corresponding to the to-do item is abnormal and generate an abnormal alarm message when the stay duration is greater than a second preset duration, where the second preset duration is greater than the first preset duration.
[0074] Embodiment 3
[0075] According to an embodiment of the present application, there is also provided a computer-readable storage medium, in which a computer program is stored. The computer program is configured to execute the process configuration method in Embodiment 1 above when running.
[0076] Embodiment 4
[0077] According to an embodiment of the present application, there is also provided an embodiment of an electronic device. Figure 6 It is a schematic diagram of an optional electronic device according to an embodiment of the present application. As Figure 6 shown, the electronic device includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, the following steps are implemented:
[0078] Obtain a process creation request generated by a target application. The process creation request at least includes object information of the creation object that creates the process creation request and a target theme identifier of the target business content. The target theme identifier represents the business type of the target business content; determine a plurality of process nodes according to a configuration file corresponding to the target application. The configuration file at least includes a process framework composed of a plurality of process nodes; determine a target object corresponding to the process node according to the object information and the target theme identifier, and generate a to-do item according to the target business content in the display interface of the target object. The target object is the object that executes the process node.
[0079] Optionally, when the processor executes the program, the following steps are also implemented: Before obtaining the process creation request sent by the target application, obtain a plurality of user accounts stored in the target application and account information of each user account. The account information at least includes permission information, position information, and department information of the object corresponding to the user account; store the user account and the account information of the user account in a preset file.
[0080] Optionally, when the processor executes the program, the following steps are also implemented: After storing the user account and the account information of the user account in a preset file, obtain all business contents in the target application; divide all business contents into a plurality of sub-business contents. Each sub-business content corresponds to a business type, and the target business content is any one of the plurality of sub-business contents; generate a theme identifier based on the business type corresponding to each sub-business content, and store the theme identifier in a preset file; generate a plurality of user relationship tables according to the theme identifier and the account information. Each user relationship table corresponds to a theme identifier, and each user relationship table is used to represent the association relationship between a plurality of user accounts under the business type corresponding to the theme identifier.
[0081] Optionally, when the processor executes the program, the following steps are further implemented: Before determining multiple process nodes and the association relationship between the multiple process nodes according to the configuration file corresponding to the target application, obtain the business rules of the target application, where the business rules represent the business logic of the target application for implementing all business contents; generate multiple process nodes according to the business rules, and combine the multiple process nodes into a process framework.
[0082] Optionally, when the processor executes the program, the following steps are further implemented: Determine the start order of each process node among the multiple process nodes based on the configuration file; start each process node according to the start order; when a process node is started, determine the target user relationship table from multiple user relationship tables according to the target theme identifier; determine the target object corresponding to the process node according to the target user relationship table and the object information.
[0083] Optionally, when the processor executes the program, the following steps are further implemented: After generating a to-do item in the display interface of the target object based on the target business content, obtain the stay duration of the to-do item, where the stay duration represents the continuous duration of the to-do item in the unprocessed state; when the stay duration is greater than a first preset duration, generate a prompt message in the display interface of the target object, where the prompt message is used to prompt the target object to process the to-do item.
[0084] Optionally, when the processor executes the program, the following steps are further implemented: When the stay duration is greater than a second preset duration, determine that there is an abnormality in the process corresponding to the to-do item, and generate an abnormality warning message, where the second preset duration is greater than the first preset duration.
[0085] The serial numbers of the embodiments of the present application above are only for description and do not represent the advantages and disadvantages of the embodiments.
[0086] In the above embodiments of the present application, the descriptions of the various embodiments have their own emphases. For parts not detailed in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.
[0087] In the several embodiments provided by the present application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only illustrative. For example, the division of units can be a logical function division. In actual implementation, there can be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point, the displayed or discussed coupling or direct coupling or communication connection between each other can be through some interfaces. The indirect coupling or communication connection of units or modules can be in an electrical or other form.
[0088] The unit described as a separating component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it may be located in one place or distributed over multiple units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0089] In addition, each functional unit in various embodiments of the present application may be integrated into a processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
[0090] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server or a network device, etc.) to execute all or part of the steps of the methods in various embodiments of the present application. The foregoing storage medium includes: USB flash drives, read-only memories (ROMs), random access memories (RAMs), mobile hard disks, magnetic disks or optical discs and other various media that can store program codes.
[0091] The above are only the preferred embodiments of the present application. It should be noted that for those of ordinary skill in the art, without departing from the principle of the present application, several improvements and refinements can be made, and these improvements and refinements should also be regarded as the protection scope of the present application.
Claims
1. A process configuration method, characterized in that, Including: Obtain a process creation request generated by a target application, where the process creation request at least includes object information of a creation object for creating the process creation request and a target theme identifier of target business content, and the target theme identifier represents a business type of the target business content; Determine a plurality of process nodes according to a configuration file corresponding to the target application, where the configuration file at least includes a process framework composed of the plurality of process nodes; Determine a target object corresponding to the process node according to the object information and the target theme identifier, and generate a to-do item according to the target business content in a display interface of the target object, where the target object is an object that executes the process node; Before obtaining the process creation request generated by the target application, it further includes: Obtain all business content in the target application; Divide the all business content into a plurality of sub-business contents, where each sub-business content corresponds to a business type, and the target business content is any one of the plurality of sub-business contents; Generate a theme identifier based on the business type corresponding to each sub-business content, and store the theme identifier in a preset file; Generate a plurality of user relationship tables according to the theme identifier and account information, where each user relationship table corresponds to one theme identifier, and each user relationship table is used to represent an association relationship between the plurality of user accounts under the business type corresponding to the theme identifier, and the account information is information of a plurality of user accounts stored in the target application; Before determining according to the configuration file corresponding to the target application, it further includes: obtain a business rule of the target application, where the business rule represents a business logic when the target application is used to implement the all business content; generate a plurality of the process nodes according to the business rule, and combine the plurality of process nodes into the process framework.
2. The method according to claim 1, characterized in that Before obtaining the process creation request sent by the target application, the method further includes: Obtain a plurality of user accounts stored in the target application and account information of each user account, where the account information at least includes permission information, position information, and department information of an object corresponding to the user account; Store the user account and the account information of the user account in a preset file.
3. The method according to claim 1, wherein Determine the target object corresponding to the process node according to the object information and the target theme identifier, including: Determine a start sequence of each process node among the plurality of process nodes based on the configuration file; Start each process node according to the start sequence; When the process node is started, determine a target user relationship table from the plurality of user relationship tables according to the target theme identifier; Determine the target object corresponding to the process node according to the target user relationship table and the object information.
4. The method according to claim 1, wherein After generating a to-do item in the display interface of the target object based on the target business content, the method further includes: Obtain the residence duration of the to-do item, where the residence duration represents the continuous duration when the to-do item is in an unprocessed state; When the residence duration is greater than a first preset duration, generate a prompt message in the display interface of the target object, where the prompt message is used to prompt the target object to process the to-do item.
5. The method according to claim 4, wherein The method further includes: When the residence duration is greater than a second preset duration, determine that there is an abnormality in the process corresponding to the to-do item, and generate an abnormality warning message, where the second preset duration is greater than the first preset duration.
6. A process configuration device, characterized in that, Includes: An acquisition module, configured to acquire a process creation request generated by a target application program, where the process creation request at least includes object information of a creation object that creates the process creation request and a target theme identifier of target business content, and the target theme identifier represents the business type of the target business content; A first determination module, configured to determine a plurality of process nodes according to a configuration file corresponding to the target application program, where the configuration file at least includes a process framework composed of the plurality of process nodes; A second determination module, configured to determine a target object corresponding to the process node according to the object information and the target theme identifier, and generate a to-do item in the display interface of the target object according to the target business content, where the target object is an object that executes the process node; The process configuration device further includes: a second acquisition module, configured to acquire all business content in the target application program; a division module, configured to divide the all business content into a plurality of sub-business contents, where each sub-business content corresponds to a business type, and the target business content is any one of the plurality of sub-business contents; a first generation module, configured to generate a theme identifier based on the business type corresponding to each sub-business content, and store the theme identifier in a preset file; a second generation module, configured to generate a plurality of user relationship tables according to the theme identifier and account information, where each user relationship table corresponds to one theme identifier, and each user relationship table is used to represent the association relationship between the plurality of user accounts under the business type corresponding to the theme identifier, and the account information is information of a plurality of user accounts stored in the target application program; The process configuration device further includes: a third acquisition module, configured to acquire a business rule of the target application program, where the business rule represents the business logic when the target application program is used to implement the all business content; a third generation module, configured to generate a plurality of the process nodes according to the business rule, and combine the plurality of process nodes into the process framework.
7. A computer-readable storage medium, characterized in that, A computer program is stored in the computer-readable storage medium, where the computer program is set to execute the process configuration method described in any one of claims 1 to 5 when running.
8. An electronic device, characterized in that, The electronic device includes one or more processors; A memory for storing one or more programs, which, when executed by the one or more processors, cause the one or more processors to implement a program for running, wherein the program is configured to execute the process configuration method described in any one of claims 1 to 5 when running.
Citation Information
Patent Citations
Process approval method and terminal device
CN109636320A