A method and apparatus for information forwarding
By adding a copy task node and configuring personnel variables in the enterprise information management system, the problems of low information feedback efficiency and accuracy were solved, and rapid and accurate feedback of business process information was achieved.
Patent Information
- Application Number
- CN202211127616.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-16
- Publication Date
- 2025-11-11
- Estimated Expiration
- 2042-09-16
AI Technical Summary
Existing enterprise information management systems are unable to effectively and quickly track the progress of business processes or monitor the business process information of task executors in real time, resulting in low efficiency and accuracy of information feedback and a tendency for business progress information to lag behind.
By adding a copy task node to the business process, configuring the definition information of the copied personnel or positions, generating personnel variables, and sending the copy information to the corresponding personnel according to the variables, including the task process progress.
This improved the efficiency and accuracy of business process information feedback, ensuring that important information was quickly and accurately relayed to the relevant business personnel.
Smart Images

Figure CN115471076B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of information management technology, and in particular to an information copying method and apparatus. Background Technology
[0002] As businesses expand, the process of handling business processes within enterprise information management systems often requires the use of copy services for multi-dimensional task review and tracking. However, current enterprise information management systems, catering to different functional positions or personnel responsible for different business processes, cannot effectively and quickly track business process progress or monitor task executors' business process information in real time. This leads to low efficiency and accuracy of information feedback in business processes, easily resulting in delayed business progress information. Therefore, this paper presents an information copy method and apparatus to solve the problems of low efficiency and accuracy in task information feedback and information copying in existing technologies. Summary of the Invention
[0003] The technical problem to be solved by the present invention is to provide an information copying method and apparatus that can effectively improve the efficiency and accuracy of task information feedback and information copying in business processes.
[0004] To address the aforementioned technical problems, the first aspect of the present invention discloses an information copying method and apparatus, the method comprising:
[0005] In response to user-initiated business process requests, add copy task nodes for the required copy tasks according to the business process;
[0006] Add the corresponding recipient or the corresponding position of the recipient within the copy task node;
[0007] Configure corresponding definition information for the personnel or positions copied to on the copy task node, and generate corresponding personnel variable parameters based on the definition information. The personnel variable parameters are used to match the corresponding personnel copied to.
[0008] The copy information of the copy task node is sent to the corresponding copy recipient based on the personnel variable parameters. The copy information includes the task progress of the business process.
[0009] As an optional implementation, in the first aspect of the present invention, the step of adding a corresponding recipient or a corresponding position within the copy task node includes:
[0010] Add the corresponding recipient in the copy task node according to the personnel number of the personnel to be copied; or,
[0011] Add the corresponding recipients to the copy task node according to the names of the personnel to be copied; or,
[0012] Add the corresponding recipients to the copy task node according to the names of the personnel to be copied; or,
[0013] Add the corresponding job position for the person being copied to within the copied task node;
[0014] Before adding the corresponding recipient or the corresponding position of the recipient in the copy task node, the method further includes:
[0015] The number and name of the copy task node are set according to the business process;
[0016] Each of the copy task nodes corresponds to each business node, and the positions corresponding to the copied personnel include one of the following: administrative positions and non-administrative positions.
[0017] As an optional implementation, in the first aspect of the present invention, the definition information includes at least one of: personnel grouping definition, personnel variable definition, selection function definition, and filtering function definition;
[0018] The configuration of the copy task node includes defining the personnel or positions corresponding to the copied personnel, and generating corresponding personnel variables based on the definition information, including:
[0019] Configure the parameters of the personnel variable definition corresponding to the copied personnel or the position in the copied task node, and generate the corresponding target personnel variable according to the parameters;
[0020] The parameters defined for the personnel variable include: variable key, variable name, variable type, and scope. The variable type corresponding to the target personnel variable is determined to be the personnel type.
[0021] As an optional implementation, in the first aspect of the present invention, the step of sending the copy information of the copy task node to the corresponding copy recipient or position according to the personnel variable includes:
[0022] Input the parameters of the target personnel variable that match the corresponding copied personnel or copied position, and send the copy information of the copy task node to the corresponding copied personnel or position according to the parameters of the target personnel variable.
[0023] The parameters of the personnel variable include: the name of the personnel variable, the personnel number, and the position of the personnel.
[0024] As an optional implementation, in the first aspect of the present invention, before sending the copy information of the copy task node to the corresponding copied personnel or positions according to the personnel variable, the method further includes:
[0025] Based on the parameters defined in the filter function for the personnel to be copied or the corresponding positions of the personnel to be copied in the business node, the corresponding target filter function is generated based on the parameters defined in the filter function.
[0026] The target filtering function is used to filter all personnel in the business node to obtain a filter set of the corresponding copied personnel or the positions corresponding to the copied personnel in the copied task node; and / or,
[0027] Based on the parameters defined in the selection function for the personnel to be copied or the corresponding positions of the personnel to be copied in the business node, a corresponding target selection function is generated based on the parameters defined in the selection function.
[0028] The target selection function is used to select all personnel in the business node to obtain a selection set of the corresponding copied personnel or the positions corresponding to the copied personnel in the copy task node; and / or,
[0029] Based on the parameters of the personnel group definition for all the personnel being copied or the corresponding positions of the personnel being copied in the copied task node, a corresponding personnel group set is generated based on the parameters of the personnel group definition.
[0030] The personnel group set is used to group all the copied personnel or the positions corresponding to the copied personnel and send the copied information of the copied task node. The personnel group set includes multiple personnel groups, and each personnel group includes at least one copied personnel or the position corresponding to the copied personnel.
[0031] As an optional implementation, in the first aspect of the present invention, before the parameters defined by the filtering function corresponding to the required copy recipient or the corresponding job position in the business node, and before the parameters defined by the selection function corresponding to the required copy recipient or the corresponding job position in the business node, the method further includes:
[0032] Construct Java function classes, and based on the Java function classes, construct static function methods and the dependency packages required by the static function methods;
[0033] The Java function class and the dependent reference package are encapsulated to generate a data package, and the encapsulated data in the data package is configured into the corresponding function configuration table;
[0034] Check whether the encapsulated data is configured successfully. If the check is successful, generate the corresponding personnel function definition and / or filter function definition based on the encapsulated data configured in the function configuration table.
[0035] As an optional implementation, in the first aspect of the present invention, the method further includes:
[0036] Configure the events to be triggered by the copied information in the copied task node, so that the copied person triggers the operation of the event when receiving the copied information;
[0037] The event types of the copy task nodes include one of the following: entering a node, leaving a node, terminating a process, rolling back a node, suspending a process, and resuming a process.
[0038] A second aspect of the present invention discloses an information copying device, the device comprising:
[0039] A new module has been added to add copy task nodes for the required copy tasks based on the business process requests initiated by users.
[0040] The newly added module is also used to add the corresponding copied personnel or the corresponding position of the copied personnel in the copied task node.
[0041] The configuration module is used to configure the definition information corresponding to the copied personnel or the job position in the copied task node added by the new module;
[0042] The generation module is used to generate corresponding personnel variables based on the definition information configured by the configuration module. The personnel variables are used to match the corresponding copied personnel or positions.
[0043] The sending module is used to send the copy information of the copy task node to the corresponding copy recipient or position according to the personnel variable generated by the generation module. The copy information includes the task progress of the business process.
[0044] As an optional implementation, in the second aspect of the present invention, the specific method by which the adding module adds the corresponding copied personnel or the corresponding position of the copied personnel within the copied task node is as follows:
[0045] Add the corresponding recipient to the copy task node according to the personnel number of the personnel to be copied; or, add the corresponding recipient to the copy task node according to the name of the personnel to be copied; or, add the corresponding recipient to the copy task node according to the name of the personnel to be copied; or, add the position corresponding to the recipient to the copy task node.
[0046] Before the new module adds the corresponding recipient or the corresponding position of the recipient to the copy task node, the device further includes:
[0047] The settings module is used to set the number and name of the copy task node added by the new module according to the business process;
[0048] Each of the copy task nodes corresponds to each business node, and the positions corresponding to the copied personnel include one of the following: administrative positions and non-administrative positions.
[0049] As an optional implementation, in the second aspect of the present invention, the definition information includes at least one of: personnel grouping definition, personnel variable definition, selection function definition, and filtering function definition;
[0050] The specific method by which the configuration module configures the definition information corresponding to the copied personnel or the job position in the copied task node is as follows:
[0051] Configure the parameters defined in the personnel variable definition corresponding to the copied personnel or the position in the copied task node;
[0052] The specific method by which the generation module generates the corresponding personnel variables based on the definition information configured by the configuration module is as follows:
[0053] Generate corresponding target personnel variables based on the parameters;
[0054] The parameters defined for the personnel variable include: variable key, variable name, variable type, and scope. The variable type corresponding to the target personnel variable is determined to be the personnel type.
[0055] As an optional implementation, in the second aspect of the present invention, the sending module sends the copy information of the copy task node to the corresponding copy recipient according to the personnel variable in the following specific manner:
[0056] Input the parameters of the target personnel variable that match the corresponding copied personnel or copied position, and send the copy information of the copy task node to the corresponding copied personnel or position according to the parameters of the target personnel variable;
[0057] The parameters of the target personnel variable include: the name of the personnel variable, the personnel number, and the position of the personnel.
[0058] As an optional implementation, in a second aspect of the present invention, before the sending module sends the copy information of the copy task node to the corresponding copied personnel or positions according to the personnel variable, the configuration module is further configured to configure the parameters of the corresponding filter function definition according to the copied personnel or the positions corresponding to the copied personnel required in the business node.
[0059] The configuration module is also used to configure the parameters of the corresponding selection function definition according to the personnel to be copied or the corresponding positions of the personnel to be copied in the business node.
[0060] The configuration module is also used to configure the parameters of the corresponding personnel group definition according to all the copied personnel or the corresponding positions of the copied personnel in the copied task node;
[0061] The generation module is further configured to generate a corresponding target filtering function according to the parameters defined by the filtering function configured by the configuration module. The target filtering function is used to filter all personnel in the business node to obtain a filter set of the corresponding copied personnel or the positions corresponding to the copied personnel in the copy task node.
[0062] The generation module is further configured to generate a corresponding target selection function according to the parameters defined by the selection function configured by the configuration module. The target selection function is used to select all personnel in the business node to obtain a selection set of the corresponding copied personnel or the positions corresponding to the copied personnel in the copy task node.
[0063] The generation module is further configured to generate a corresponding set of personnel groups according to the parameters of the personnel grouping definition configured by the configuration module. The set of personnel groups is used to group all the copied personnel or the positions corresponding to the copied personnel and send the copy information of the copy task node. The set of personnel groups includes multiple personnel groups, and each personnel group includes at least one copied personnel or the position corresponding to the copied personnel.
[0064] As an optional implementation, in a second aspect of the invention, before the configuration module configures parameters defined by a corresponding filtering function according to the required copy recipients or their corresponding positions in the business node, and configures parameters defined by a corresponding selection function according to the required copy recipients or their corresponding positions in the business node, the apparatus includes:
[0065] A build module is used to build Java function classes and, based on the Java function classes, build static function methods and the dependency packages required by the static function methods;
[0066] An encapsulation module is used to encapsulate the Java function class and the dependency reference package built by the construction module to generate a data package;
[0067] The configuration module is also used to configure the encapsulated data in the data packet encapsulated by the encapsulation module into the corresponding function configuration table;
[0068] The detection module is used to detect whether the encapsulation data configured by the configuration module has been successfully configured.
[0069] The generation module is further configured to generate corresponding personnel function definitions and / or filter function definitions based on the encapsulation data configured by the configuration module in the function configuration table if the detection module successfully detects the problem.
[0070] As an optional implementation, in a second aspect of the present invention, the configuration module is further configured to configure the event to be triggered by the copy information in the copy task node, so that the operation of triggering the execution of the event is triggered when the copied person receives the copy information;
[0071] The event types of the copy task nodes include one of the following: entering a node, leaving a node, terminating a process, rolling back a node, suspending a process, and resuming a process.
[0072] A third aspect of the present invention discloses another information copying device, the device comprising:
[0073] Memory containing executable program code;
[0074] A processor coupled to the memory;
[0075] The processor calls the executable program code stored in the memory to execute some or all of the steps in the information copying method disclosed in the first aspect of the present invention.
[0076] The fourth aspect of the present invention discloses a computer storage medium storing computer instructions, which, when invoked, are used to execute some or all of the steps in the information copying method disclosed in the first aspect of the present invention.
[0077] Compared with the prior art, the embodiments of the present invention have the following beneficial effects: an information copying method and apparatus are provided. The information copying method includes: in response to a user-initiated business process request, adding a copying task node for the required copying task according to the business process; adding a corresponding copy recipient or a corresponding position of the copy recipient within the copying task node; configuring definition information corresponding to the copy recipient or position on the copying task node; generating a corresponding personnel variable according to the definition information; the personnel variable is used to match the corresponding copy recipient or position; and sending the copying information of the copying task node to the corresponding copy recipient according to the personnel variable. The copying information includes the task progress of the business process. As can be seen, implementing this invention, in response to user-initiated business process requests, adds copy task nodes for required copy tasks based on the business process, and adds corresponding copy recipients or their corresponding positions within the copy task nodes. This allows for rapid configuration of the required copy recipient information, which is beneficial for improving the efficiency of business process information feedback. By configuring the definition information corresponding to the copy recipients or positions on the copy task nodes and generating corresponding personnel variables based on the definition information, the efficiency and accuracy of business process information feedback are further improved. By sending the copy information of the copy task nodes to the corresponding copy recipients based on the personnel variables, important information can be quickly and accurately fed back to the business personnel who need to copy, thereby improving the efficiency and accuracy of information feedback. Attached Figure Description
[0078] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0079] Figure 1 This is a flowchart illustrating an information copying method disclosed in an embodiment of the present invention;
[0080] Figure 2 This is a flowchart illustrating another information copying method disclosed in an embodiment of the present invention;
[0081] Figure 3 This is a schematic diagram of the structure of an information copying device disclosed in an embodiment of the present invention;
[0082] Figure 4 This is a schematic diagram of another information copying device disclosed in an embodiment of the present invention;
[0083] Figure 5 This is a schematic diagram of the structure of another information copying device disclosed in an embodiment of the present invention. Detailed Implementation
[0084] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0085] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this invention are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, apparatus, product, or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or devices.
[0086] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of the invention. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0087] This invention discloses an information copying method and apparatus. It can, in response to user-initiated business process requests, add copying task nodes for required copying tasks based on the business process, and add corresponding copy recipients or their corresponding positions within the copying task nodes. This allows for rapid configuration of the required copy recipient information, improving the efficiency of business process information feedback. By configuring the definition information corresponding to the copy recipients or positions on the copying task nodes and generating corresponding personnel variables based on the definition information, the efficiency and accuracy of business process information feedback are further improved. By sending the copying information of the copying task nodes to the corresponding copy recipients based on the personnel variables, important information can be quickly and accurately fed back to the required business personnel, thereby improving the efficiency and accuracy of information feedback. Detailed descriptions follow.
[0088] Example 1
[0089] Please see Figure 1 , Figure 1 This is a flowchart illustrating an information copying method disclosed in an embodiment of the present invention. Figure 1The described information copying method can be applied to an information copying device, which can be applied to a business information management system (business information management platform). This business information management system can be a local hierarchical business information management system or a business information management cloud platform; this embodiment of the invention does not impose any limitations. Figure 1 As shown, this information copying method may include the following operations:
[0090] 101. In response to a user-initiated business process request, add a copy task node for the required copy task according to the business process.
[0091] In this embodiment of the invention, optionally, a business process diagram corresponding to the business process can be set according to the user-initiated business process request. The flowchart may include at least one process step, and corresponding business nodes may be set for each process step according to the user's business needs. Each copy task node corresponds to each business node in the business process diagram of the user-initiated business process. This one-to-one correspondence between process steps, process nodes, and copy task nodes helps improve the accuracy and efficiency of information feedback in the business process.
[0092] 102. Add the corresponding recipient or the corresponding position of the recipient within the copy task node.
[0093] In this embodiment of the invention, optionally, adding a corresponding recipient or a corresponding position within the copy task node may include:
[0094] The task node can be updated by adding the corresponding recipient based on the recipient's ID, name, or job title. The job title can be either administrative or non-administrative. This variety of methods for adding recipients based on different personnel information, or directly based on job title, enriches the ways to add personnel for copying information, thereby improving the efficiency of information feedback in business processes.
[0095] 103. Configure the definition information of the personnel or positions to be copied in the copy task node, and generate the corresponding personnel variables based on the definition information. The personnel variables are used to match the corresponding personnel or positions to be copied.
[0096] In this embodiment of the invention, optionally, the definition information may include at least one of the following: personnel group definition, personnel variable definition, selection function definition, and filtering function definition.
[0097] In this embodiment of the invention, optionally, configuring the definition information corresponding to the personnel or positions being copied in the copy task node, and generating corresponding personnel variables based on the definition information, may include:
[0098] Configure the parameters of the personnel variable definition corresponding to the personnel or positions to be copied in the copy task node, and generate the corresponding target personnel variable based on the parameters.
[0099] The parameters for defining personnel variables can include variable keys, variable names, variable types, and scope. The variable type corresponding to the target personnel variable is determined to be the personnel type. Furthermore, the variable key can be used to declare the variable's ID; the variable type can include personnel, business, or event; and the scope can include business attributes, event attributes, etc., which can be used to determine the scope of the personnel variable definition. By configuring the parameters of the personnel variable definition corresponding to the copied personnel or positions in the copy task node, and generating the corresponding target personnel variable based on the parameters and assigning it to the corresponding copied personnel or positions, the corresponding personnel or positions that need to be copied can be quickly and accurately located based on specific personnel variables. This improves the efficiency and accuracy of copying business process information to the corresponding personnel.
[0100] 104. Based on the personnel variable, send the copy information of the copy task node to the corresponding copy recipient or position. The copy information includes the task progress of the business process.
[0101] In this embodiment of the invention, optionally, sending the copy information of the copy task node to the corresponding copied personnel or position according to the personnel variable may include:
[0102] Input the parameters of the target personnel variable that match the corresponding copied personnel or copied positions, and send the copied information of the copied task node to the corresponding copied personnel or positions according to the parameters of the target personnel variable.
[0103] The parameters of the target personnel variable can include the personnel name, personnel number, and personnel position. For example, if you want to send the copy information corresponding to this copy task node to employees "emp1" and "emp2" in the defined personnel variable "test", you would enter the parameters "test", "emp1", and "emp2" in the corresponding personnel parameter input box. This allows you to select the node handler for this task based on business needs. By inputting the parameters of the target personnel variable that match the corresponding copied personnel or positions, and sending the copy information of the copy task node to the corresponding copied personnel or positions according to the parameters, you can more accurately send different copy information within the copy task node to the corresponding personnel who need to know the business process information, which helps to further improve the efficiency and accuracy of business process information feedback.
[0104] In an optional embodiment, the method may further include the following operations before performing step 102:
[0105] Set the number and name of the copy task node according to the business process.
[0106] As can be seen, this optional embodiment sets the number and name of the copy task node according to the business process, effectively distinguishing the copy task node corresponding to each business node, thereby improving the efficiency and accuracy of business process information copying.
[0107] In an optional embodiment, the method may further include the following operations before performing step 104:
[0108] Configure the parameters of the corresponding filter function according to the personnel to be copied or the corresponding positions of the personnel to be copied in the business node, and generate the corresponding target filter function according to the parameters of the filter function definition.
[0109] The target filtering function is used to filter all personnel in the business node, obtaining a filter set of the corresponding copied personnel or the corresponding positions of the copied personnel in the copy task node. And / or,
[0110] Configure the parameters of the selection function according to the personnel to be copied or the corresponding positions of the personnel to be copied in the business node, and generate the corresponding target selection function according to the parameters of the selection function definition.
[0111] The target selection function is used to select all personnel in the business node, obtaining a selection set of the corresponding personnel to be copied or the positions corresponding to the copied personnel in the copy task node. And / or,
[0112] Based on the parameters of the personnel group definition for all personnel or their corresponding job positions in the copy task node, a corresponding personnel group set is generated according to the parameters of the personnel group definition.
[0113] The personnel group set is used to group all the copied personnel or the positions corresponding to the copied personnel and send the copied information of the copied task node. The personnel group set includes multiple personnel groups, and each personnel group includes at least one copied personnel or the position corresponding to the copied personnel.
[0114] As can be seen, this optional embodiment can configure the corresponding filter function definition, selection function definition, and personnel grouping parameters according to the personnel to be copied or the corresponding positions of the personnel to be copied in the business node, and generate the corresponding set of personnel to be copied according to the corresponding defined parameters. This can enrich the screening methods for personnel to receive the copied information. Different copied information can be sent to the corresponding relevant personnel in different ways, which is conducive to improving the efficiency and accuracy of business process information feedback.
[0115] In this optional embodiment, optionally, before configuring the parameters of the filtering function corresponding to the personnel to be copied or the corresponding positions in the business node, and the parameters of the selection function corresponding to the personnel to be copied or the corresponding positions in the business node, the method may further include the following operations:
[0116] Construct Java function classes, and based on these Java function classes, construct static function methods and the dependency packages required by the static function methods.
[0117] The Java function classes and their dependent reference packages are encapsulated to generate a data package, and the encapsulated data in the data package is configured into the corresponding function configuration table.
[0118] Check if the encapsulated data is configured successfully. If the check is successful, generate the corresponding personnel function definition and / or filter function definition based on the encapsulated data configured in the function configuration table.
[0119] In this optional embodiment, the construction of static function methods and the dependency packages required by the static function methods based on the Java function class may optionally include:
[0120] Construct Java function classes and initialize the corresponding variables and constructors required by the Java function classes.
[0121] Static function methods and their required dependency packages are constructed based on the variables and constructors corresponding to Java function classes.
[0122] The variables required by a Java function class can include at least one of class variables (global variables) and local variables. This static function method is used to call the variables and constructors corresponding to the Java function class.
[0123] In this optional embodiment, optionally, encapsulating Java function classes and dependent reference packages to generate a data package, and configuring the encapsulated data in the data package into the corresponding function configuration table, may include:
[0124] The Java function classes and their dependent reference packages are encapsulated to generate a data package. The data package is then imported into the directory of the project containing the business process diagram. The encapsulated data in the data package is configured into the function configuration table corresponding to the process designer of the business process diagram. This function configuration table may include at least one of the BPMS_CFG_FUNCTION table and the BPMS_CFG_FUNC_PARAM table.
[0125] As can be seen, this optional embodiment, by constructing Java class methods to build custom corresponding functions, can filter and match the corresponding personnel who need to receive the copied information based on multiple constructors, further enriching the methods of screening personnel and improving the flexibility of screening the personnel who need to receive the copied information, thereby helping to improve the efficiency and accuracy of business process information feedback.
[0126] Example 2
[0127] Please see Figure 2 , Figure 2 This is a flowchart illustrating an information copying method disclosed in an embodiment of the present invention. Figure 1 The described information copying method can be applied to an information copying device, which can be applied to a business information management system (business information management platform). This business information management system can be a local hierarchical business information management system or a business information management cloud platform; this embodiment of the invention does not impose any limitations. Figure 2 As shown, this information copying method may include the following operations:
[0128] 201. In response to a user-initiated business process request, add a copy task node for the required copy task according to the business process.
[0129] 202. Add the corresponding recipient or the corresponding position of the recipient within the copy task node.
[0130] 203. Configure the definition information of the personnel or positions to be copied in the copy task node, and generate the corresponding personnel variables based on the definition information. The personnel variables are used to match the corresponding personnel or positions to be copied.
[0131] 204. Configure the events to be triggered by the copied information in the copy task node, so that the copied personnel can trigger the operation of the event when they receive the copied information.
[0132] In the implementation of this invention, the optional event types for copying task nodes include: entering a node, leaving a node, terminating a process, rolling back a node, suspending a process, and resuming a process.
[0133] 205. Based on the personnel variable, send the copy information of the copy task node to the corresponding copy recipient or position. The copy information includes the task progress of the business process.
[0134] In this embodiment of the invention, it should be noted that for the relevant descriptions of steps 201-204, please refer to the descriptions of steps 101-104 in Embodiment 1, and these will not be repeated in this embodiment of the invention.
[0135] As can be seen, the embodiments of the present invention can also configure the events to be triggered by the copied information in the copied task node, so that the operation of the event is triggered when the copied personnel receive the copied information. This can enrich the feedback methods of copied information, improve the interactivity with the personnel who need to receive the copied information, and improve the real-time feedback and processing of business process information, thereby further improving the efficiency and accuracy of business process information feedback.
[0136] It is evident that implementation Figure 2 The described method, in response to user-initiated business process requests, adds copy task nodes for required copy tasks based on the business process. Within each copy task node, it adds corresponding recipients or their corresponding job positions, enabling rapid configuration of the required personnel information and improving the efficiency of business process information feedback. Furthermore, by configuring the definition information for the recipients or job positions on the copy task nodes and generating corresponding personnel variables based on this definition information, the efficiency and accuracy of business process information feedback are further improved. The method also allows configuring the events triggered by the copy information in the copy task nodes, enabling the recipients to trigger event operations upon receiving the copy information. This enriches the feedback methods for copy information, enhances interactivity with the recipients, and improves the real-time nature of business process information feedback and processing, further improving the efficiency and accuracy of business process information feedback. Finally, by sending the copy information from the copy task nodes to the corresponding recipients based on personnel variables, it enables rapid and accurate feedback of important information to the required business personnel, thereby improving the efficiency and accuracy of information feedback.
[0137] Example 3
[0138] Please see Figure 3 , Figure 3This is a schematic diagram of the structure of an information copying device disclosed in an embodiment of the present invention. Figure 3 The described information copying device can execute the above-mentioned information copying method, and this device can be applied to a business information management system (business information management platform). The business information management system can be a local business information management system or a business information management cloud platform; this embodiment of the invention does not limit the scope. Figure 3 As shown, the device may include: a new module 301, a configuration module 302, a generation module 303, and a sending module 304, wherein:
[0139] A new module 301 has been added, which is used to add copy task nodes for the required copy tasks according to the business process requests initiated by users.
[0140] The newly added module 301 is also used to add corresponding copied personnel or the corresponding positions of copied personnel within the copy task node.
[0141] Configuration module 302 is used to configure the definition information of the personnel or positions to be copied in the newly added copy task nodes of the new module 301.
[0142] The generation module 303 is used to generate corresponding personnel variables based on the configuration definition information of the configuration module 302. The personnel variables are used to match the corresponding copied personnel or positions.
[0143] The sending module 304 is used to send the copy information of the copy task node to the corresponding copy recipient or position according to the personnel variable generated by the generation module 303. The copy information includes the task progress of the business process.
[0144] It is evident that implementation Figure 3 The described information copying device can, in response to user-initiated business process requests, add copying task nodes according to the business process, and add corresponding copy recipients or their corresponding positions within the copying task nodes. This allows for rapid configuration of the required copy recipient information, improving the efficiency of business process information feedback. By configuring the definition information corresponding to the copy recipients or positions on the copying task nodes and generating corresponding personnel variables based on the definition information, the efficiency and accuracy of business process information feedback are further improved. By sending the copying information of the copying task nodes to the corresponding copy recipients based on the personnel variables, important information can be quickly and accurately fed back to the required business personnel, thereby improving the efficiency and accuracy of information feedback.
[0145] In an optional embodiment, such as Figure 4 As shown, the specific method for adding the corresponding copied personnel or the corresponding position of the copied personnel in the copy task node in the new module 301 is as follows:
[0146] Add the corresponding recipient to the copy task node based on the recipient's ID; or, add the corresponding recipient to the copy task node based on the recipient's name; or, add the corresponding recipient to the copy task node based on the recipient's name; or, add the corresponding position of the recipient to the copy task node.
[0147] Before the new module 301 adds the corresponding copied personnel or the corresponding position of the copied personnel in the copy task node, the device also includes:
[0148] The configuration module 305 is used to set the number and name of the copy task node added by the new module 301 according to the business process.
[0149] Each copy task node corresponds to a business node, and the corresponding position of the copied personnel includes either administrative positions or non-administrative positions.
[0150] It is evident that implementation Figure 4 The described information copying device can add corresponding copy recipients to the copying task node based on various different personnel information to be copied, or directly add personnel to be copied based on their job positions, thus enriching the ways to add personnel to be copied and improving the efficiency of information feedback in business processes; and it can set the number and name of the copying task node according to the business process, effectively distinguishing the copying task node corresponding to each business node, thus improving the efficiency and accuracy of business process information copying.
[0151] In another optional embodiment, the definition information includes at least one of: personnel grouping definition, personnel variable definition, selection function definition, and filtering function definition, as well as... Figure 4 As shown, the specific method for defining the personnel or positions corresponding to the copied tasks in the configuration module 302 is as follows:
[0152] Configure the parameters of the personnel variable definition corresponding to the personnel or positions in the copy task node.
[0153] The specific method by which generation module 303 generates the corresponding personnel variables based on the definition information configured by configuration module 302 is as follows:
[0154] Generate corresponding target personnel variables based on the parameters.
[0155] The parameters for defining personnel variables include: variable key, variable name, variable type, and scope. The variable type corresponding to the target personnel variable is determined to be the personnel type.
[0156] It is evident that implementation Figure 4 The described information copying device configures parameters defined by personnel variables corresponding to the personnel or positions to be copied in the copying task node, and generates corresponding target personnel variables based on the parameters and assigns them to the corresponding personnel or positions to be copied. It can quickly and accurately locate the corresponding personnel or positions to be copied based on specific personnel variables, thereby improving the efficiency and accuracy of copying business process information to the corresponding personnel.
[0157] In yet another alternative embodiment, such as Figure 4 As shown, the sending module 304 sends the copy information of the copy task node to the corresponding copy recipient based on the personnel variable in the following specific way:
[0158] Input the parameters of the target personnel variable that match the corresponding copied personnel or copied positions, and send the copied information of the copied task node to the corresponding copied personnel or positions according to the parameters of the target personnel variable.
[0159] The parameters of the target personnel variable include: the name of the personnel variable, the personnel number, and the position of the personnel.
[0160] It is evident that implementation Figure 4 The described information copying device, by inputting parameters of target personnel variables that match the corresponding copied personnel or copied positions, and sending the copying information of the copying task node to the corresponding copied personnel or positions according to the parameters, can further accurately send different copying information within the copying task node to the corresponding personnel who need to know the business process information, which is conducive to further improving the efficiency and accuracy of business process information feedback.
[0161] In yet another alternative embodiment, such as Figure 4 As shown, before the sending module 304 sends the copy information of the copy task node to the corresponding copied personnel or positions according to the personnel variable, the configuration module 302 is also used to configure the parameters of the corresponding filter function definition according to the copied personnel or the positions corresponding to the copied personnel required in the business node.
[0162] Configuration module 302 is also used to configure the parameters of the corresponding selection function definition according to the personnel to be copied or the corresponding positions of the personnel to be copied in the business node.
[0163] Configuration module 302 is also used to configure the parameters of the corresponding personnel group definition according to all the copied personnel or the corresponding positions of the copied personnel in the copy task node.
[0164] The generation module 303 is also used to generate a corresponding target filtering function according to the parameters defined by the filtering function configured by the configuration module 302. The target filtering function is used to filter all personnel in the business node to obtain the filter set of the corresponding copied personnel or the positions corresponding to the copied personnel in the copy task node.
[0165] The generation module 303 is also used to generate a corresponding target selection function according to the parameters defined in the selection function configured by the configuration module 302. The target selection function is used to select all personnel in the business node to obtain the selection set of the corresponding copied personnel or the positions corresponding to the copied personnel in the copy task node.
[0166] The generation module 303 is also used to generate a corresponding personnel group set according to the parameters of the personnel group definition configured by the configuration module 302. The personnel group set is used to group all the copied personnel or the positions corresponding to the copied personnel and send the copy information of the copy task node. The personnel group set includes multiple personnel groups, and each personnel group includes at least one copied personnel or the position corresponding to the copied personnel.
[0167] It is evident that implementation Figure 4 The described information copying device configures the corresponding filtering function definition, selection function definition, and personnel grouping parameters for the personnel to be copied or their corresponding positions in the business nodes. Based on the corresponding defined parameters, it generates the corresponding set of personnel to be copied, which can enrich the screening methods for the personnel to receive the copied information. Different copied information can be sent to the corresponding relevant personnel in different ways, thereby improving the efficiency and accuracy of business process information feedback.
[0168] In yet another alternative embodiment, such as Figure 4 As shown, before the configuration module 302 configures the parameters defined by the corresponding filtering function according to the required copy recipients or their corresponding positions in the business node, and before configuring the parameters defined by the corresponding selection function according to the required copy recipients or their corresponding positions in the business node, the device includes:
[0169] Module 306 is used to build Java function classes and, based on the Java function classes, to build static function methods and the dependency packages required by the static function methods.
[0170] Encapsulation module 307 is used to encapsulate the Java function classes and dependent reference packages built by build module 306 to generate data packages.
[0171] The configuration module 302 is also used to configure the encapsulated data in the data packet encapsulated by the encapsulation module 307 into the corresponding function configuration table.
[0172] The detection module 308 is used to detect whether the encapsulated data configured by the configuration module 302 has been configured successfully.
[0173] The generation module 303 is also used to generate the corresponding personnel function definition and / or filter function definition based on the encapsulation data configured by the configuration module 302 in the function configuration table if the detection module 308 detects successfully.
[0174] It is evident that implementation Figure 4 The described information copying device constructs Java class methods to build custom corresponding functions, which can filter and match the corresponding personnel who need to receive the copied information based on various constructors. This further enriches the methods of screening personnel and improves the flexibility of screening the personnel who need to receive the copied information, thereby helping to improve the efficiency and accuracy of business process information feedback.
[0175] In yet another alternative embodiment, such as Figure 4 As shown, the configuration module 302 is also used to configure the events to be triggered by the copied information in the copied task node, so that the operation of the event is triggered when the copied personnel receive the copied information.
[0176] The event types for copying task nodes include one of the following: entering a node, leaving a node, terminating a process, rolling back a node, suspending a process, and resuming a process.
[0177] It is evident that implementation Figure 4 The described information copying device, by configuring the events to be triggered by the copied information in the copying task node, enables the recipient to trigger the execution of the events when receiving the copied information. This enriches the feedback methods of copied information, improves the interactivity with the recipients of the copied information, and enhances the real-time feedback and processing of business process information, thereby further improving the efficiency and accuracy of business process information feedback.
[0178] Example 4
[0179] Please see Figure 5 , Figure 5 This is a schematic diagram of the structure of an information copying device disclosed in an embodiment of the present invention. Figure 5 The described information copying device can execute the above-mentioned information copying method, and this device can be applied to a business information management system (business information management platform). The business information management system can be a local business information management system or a business information management cloud platform; this embodiment of the invention does not limit the scope. Figure 5 As shown, the device may include:
[0180] Memory 501 storing executable program code;
[0181] Processor 502 coupled to memory 501;
[0182] Furthermore, it may also include an input interface 503 and an output interface 504 coupled to the processor 502;
[0183] The processor 502 calls the executable program code stored in the memory 501 to execute some or all of the steps in the information copying method disclosed in Embodiment 1 or Embodiment 2 of the present invention.
[0184] Example 5
[0185] This invention discloses a computer-storable medium storing computer instructions. When these computer instructions are invoked, they are used to execute some or all of the steps in the information copying method disclosed in Embodiment 1 or Embodiment 2 of this invention.
[0186] The device embodiments described above are merely illustrative. The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple network modules. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0187] Through the detailed description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, including read-only memory (ROM), random access memory (RAM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), one-time programmable read-only memory (OTPROM), electrically-Erasable Programmable Read-Only Memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.
[0188] Finally, it should be noted that the information copying method and apparatus disclosed in the embodiments of the present invention are merely preferred embodiments of the present invention and are only used to illustrate the technical solutions of the present invention, not to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for sending information copy, characterized in that, The method includes: In response to user-initiated business process requests, add copy task nodes for the required copy tasks according to the business process; Add the corresponding recipient or the corresponding position of the recipient within the copy task node; Configure the definition information corresponding to the copied personnel or the job position in the copied task node, and generate corresponding personnel variables based on the definition information. The personnel variables are used to match the corresponding copied personnel or job positions. Based on the personnel variable, the copy information of the copy task node is sent to the corresponding copy recipient or position, and the copy information includes the task progress of the business process; The definition information includes at least: personnel variable definition, and also includes at least one of personnel grouping definition, selection function definition, and filtering function definition; The configuration of the copy task node includes defining the personnel or positions corresponding to the copied personnel, and generating corresponding personnel variables based on the definition information, including: Configure the parameters of the personnel variable definition corresponding to the copied personnel or the position in the copied task node, and generate the corresponding target personnel variable according to the parameters; The parameters defined for the personnel variable include: variable key, variable name, variable type, and scope. The variable type corresponding to the target personnel variable is determined to be a personnel type. The variable key is used to declare the ID of the variable. The scope includes one of business attributes and event attributes. The scope is used to determine the scope of the personnel variable definition. The method further includes: Set a business process diagram corresponding to the business process based on the request of the business process initiated by the user, wherein the business process diagram includes at least one process step; Based on the user's business needs, corresponding business nodes are set at each process step, and each copy task node corresponds to each business node in the business process diagram of the user-initiated business process.
2. The information copying method according to claim 1, characterized in that, The step of adding a corresponding recipient or a corresponding position within the copy task node includes: Add the corresponding recipient in the copy task node according to the personnel number of the personnel to be copied; or, Add the corresponding recipients to the copy task node according to the names of the personnel to be copied; or, Add the corresponding job position for the person being copied to within the copied task node; Before adding the corresponding recipient or the corresponding position of the recipient in the copy task node, the method further includes: The number and name of the copy task node are set according to the business process; Each of the copy task nodes corresponds to each business node, and the positions corresponding to the copied personnel include one of the following: administrative positions and non-administrative positions.
3. The information copying method according to claim 2, characterized in that, The step of sending the copy information of the copy task node to the corresponding copy recipient or position according to the personnel variable includes: Input the parameters of the target personnel variable that match the corresponding copied personnel or copied position, and send the copy information of the copy task node to the corresponding copied personnel or position according to the parameters of the target personnel variable; The parameters of the target personnel variable include: the name of the personnel variable, the personnel number, and the position of the personnel.
4. The information copying method according to claim 1 or 3, characterized in that, Before sending the copy information of the copy task node to the corresponding copied personnel or positions according to the personnel variable, the method further includes: Configure the parameters of the corresponding filtering function according to the personnel to be copied or the corresponding positions of the personnel to be copied in the business node, and generate the corresponding target filtering function according to the parameters of the filtering function definition; The target filtering function is used to filter all personnel in the business node to obtain a filter set of the corresponding copied personnel or the positions corresponding to the copied personnel in the copied task node; and / or, The parameters of the selection function are defined according to the personnel to be copied or the corresponding positions of the personnel to be copied in the business node, and the corresponding target selection function is generated according to the parameters of the selection function definition. The target selection function is used to select all personnel in the business node to obtain a selection set of the corresponding copied personnel or the positions corresponding to the copied personnel in the copy task node; and / or, Configure the parameters of the personnel group definition for all the personnel being copied or the corresponding positions of the personnel being copied in the copied task node, and generate the corresponding personnel group set according to the parameters of the personnel group definition; The personnel group set is used to group all the copied personnel or the positions corresponding to the copied personnel and send the copied information of the copied task node. The personnel group set includes multiple personnel groups, and each personnel group includes at least one copied personnel or the position corresponding to the copied personnel.
5. The information copying method according to claim 4, characterized in that, Before defining the parameters of the filtering function corresponding to the personnel to be copied or the corresponding job position in the business node, and before defining the parameters of the selection function corresponding to the personnel to be copied or the corresponding job position in the business node, the method further includes: Construct Java function classes, and based on the Java function classes, construct static function methods and the dependency packages required by the static function methods; The Java function class and the dependent reference package are encapsulated to generate a data package, and the encapsulated data in the data package is configured into the corresponding function configuration table; Check whether the encapsulated data is configured successfully. If the check is successful, generate the corresponding personnel function definition and / or filter function definition based on the encapsulated data configured in the function configuration table.
6. The information copying method according to claim 1 or 5, characterized in that, The method further includes: Configure the events to be triggered by the copied information in the copied task node, so that the copied person triggers the operation of the event when receiving the copied information; The event types of the copy task nodes include one of the following: entering a node, leaving a node, terminating a process, rolling back a node, suspending a process, and resuming a process.
7. An information copying device, characterized in that, The device includes: A new module has been added to add copy task nodes for the required copy tasks based on the business process requests initiated by users. The newly added module is also used to add the corresponding copied personnel or the corresponding position of the copied personnel in the copied task node. The configuration module is used to configure the definition information corresponding to the copied personnel or the job position in the copied task node added by the new module; The generation module is used to generate corresponding personnel variables based on the definition information configured by the configuration module. The personnel variables are used to match the corresponding copied personnel or positions. The sending module is used to send the copy information of the copy task node to the corresponding copy recipient or position according to the personnel variable generated by the generation module. The copy information includes the task progress of the business process. The definition information includes at least: personnel variable definition, and also includes at least one of personnel grouping definition, selection function definition, and filtering function definition; The specific method by which the configuration module configures the definition information corresponding to the copied personnel or the job position in the copied task node is as follows: Configure the parameters defined in the personnel variable definition corresponding to the copied personnel or the position in the copied task node; The specific method by which the generation module generates the corresponding personnel variables based on the definition information configured by the configuration module is as follows: Generate corresponding target personnel variables based on the parameters; The parameters defined for the personnel variable include: variable key, variable name, variable type, and scope. The variable type corresponding to the target personnel variable is determined to be a personnel type. The variable key is used to declare the ID of the variable. The scope includes one of business attributes and event attributes. The scope is used to determine the scope of the personnel variable definition. The device is also used for: Set a business process diagram corresponding to the business process based on the request of the business process initiated by the user, wherein the business process diagram includes at least one process step; Based on the user's business needs, corresponding business nodes are set at each process step, and each copy task node corresponds to each business node in the business process diagram of the user-initiated business process.
8. An information copying device, characterized in that, The device includes: Memory containing executable program code; A processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the information copying method as described in any one of claims 1-6.
9. A computer storage medium, characterized in that, The computer storage medium stores computer instructions, which, when invoked, are used to execute the information copying method as described in any one of claims 1-6.
Citation Information
Patent Citations
Information processing method and device in task process
CN106779413A
Method, device and equipment for dynamically configuring personnel and medium
CN114219325A