Examination and approval system development method and device, equipment and storage medium
By receiving approval system development requests, obtaining and filtering process definition information, and generating an approval node list, the problem of low development efficiency in existing approval systems is solved, and a more efficient development process is achieved.
Patent Information
- Application Number
- CN202210380339.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-08
- Publication Date
- 2026-02-17
- Estimated Expiration
- 2042-04-08
AI Technical Summary
In existing automated approval systems, developers need to rewrite code when creating new approval processes, resulting in low development efficiency.
By receiving approval system development requests, obtaining information on new approval processes, filtering out process definition information, generating an initial approval node list, and generating target development information based on the target approval node list and initial development information, the system avoids repetitive code writing.
It improved the development efficiency of the approval system, reduced the time spent rewriting code, and enhanced the automation and accuracy of the development process.
Smart Images

Figure CN114942749B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the development technical field, and in particular to a kind of approval system development method, device, equipment and storage medium. BACKGROUND
[0002] In the current automated approval system, when there is a new approval process creation, usually need to be re-written code information according to new approval process by developer, however, repeated code development consumes the development time of developer, thereby leading to the development efficiency of process approval system is low. SUMMARY
[0003] In view of the above, it is necessary to provide an approval system development method, device, equipment and storage medium, which can improve the development efficiency of approval system.
[0004] In one aspect, the present application provides an approval system development method, which comprises:
[0005] receiving an approval system development request, and obtaining new approval process information of approval system from process creation form according to the approval system development request;
[0006] screening process definition information based on the new approval process information and the approval system;
[0007] generating initial approval node list of the approval system according to the process definition information;
[0008] updating the initial approval node list according to the new approval process information, to obtain target approval node list;
[0009] obtaining initial development information associated with the process definition information;
[0010] generating target development information according to the target approval node list and the initial development information.
[0011] According to the preferred embodiment of the present application, the new approval process information of approval system is obtained from process creation form according to the approval system development request, which comprises:
[0012] parsing the message of the approval system development request to obtain data information carried by the message;
[0013] extracting interface identifier of form creation interface and platform identifier of the approval system from the data information;
[0014] locating the process creation form according to the receiving time of the approval system development request, the interface identifier and the platform identifier;
[0015] The newly added approval process information is obtained from the form created by the process based on preset tags.
[0016] According to a preferred embodiment of the present invention, the step of filtering out process definition information based on the newly added approval process information and the approval system includes:
[0017] Retrieve all historical process information from the approval system;
[0018] The newly added approval process information is encoded based on a preset node encoding table to obtain first encoding information, and each historical process information is encoded based on the preset node encoding table to obtain multiple second encoding information.
[0019] Calculate the similarity between each second encoded information and the first encoded information;
[0020] The historical process information corresponding to the second encoding information with the highest similarity is determined as the process definition information.
[0021] According to a preferred embodiment of the present invention, generating the initial approval node list of the approval system based on the process definition information includes:
[0022] Extract multiple approval nodes and node description information for each approval node from the process definition information;
[0023] Based on preset vocabulary, the node relationships of the multiple approval nodes in the process definition information are identified;
[0024] Create a node structure diagram based on the node relationships and the multiple approval nodes;
[0025] The node description information is written into the node structure diagram to obtain the initial approval node list.
[0026] According to a preferred embodiment of the present invention, updating the initial approval node list based on the newly added approval process information to obtain the target approval node list includes:
[0027] Compare the newly added approval process information with the process definition information;
[0028] If a new node exists in the newly added approval process information, then dependent nodes that depend on the new node are identified based on the newly added approval process information, and the dependency relationship between the new node and the dependent nodes is identified. New description information of the new node is obtained from the newly added approval process information. Based on the dependent nodes, the new node and the new description information are written into the initial approval node list, and the new node and the new description information are identified based on a preset new identifier to obtain the target approval node list; and / or
[0029] If there are deletion nodes in the newly added approval process information, then the deletion nodes in the initial approval node list are marked based on preset deletion identifiers to obtain the target approval node list; and / or
[0030] If there is change information in the newly added approval process information, the initial information corresponding to the change information in the initial approval node list is located, the initial information is updated based on the change information, and the change information is marked based on a preset update identifier to obtain the target approval node list. The change information includes one or more combinations: change node, change relationship, and change description information.
[0031] According to a preferred embodiment of the present invention, generating target development information based on the target approval node list and the initial development information includes:
[0032] Identify the identification information of the target approval node list, and identify the list information in the target approval node list that corresponds to the identification information;
[0033] Obtain the operation template statement corresponding to the identification information;
[0034] Write the list information into the operation template statement to obtain the execution statement;
[0035] The execution statement is run based on the initial development information to obtain the target development information.
[0036] According to a preferred embodiment of the present invention, the approval system development method further includes:
[0037] If the initial development information does not exist, an alarm message is generated based on the process identifier in the process definition information;
[0038] Identify the user who requested the development request for the approval system;
[0039] The alarm information is sent to the terminal device corresponding to the requesting user.
[0040] On the other hand, the present invention also proposes an approval system development apparatus, the approval system development apparatus comprising:
[0041] The acquisition unit is used to receive the approval system development request and obtain the new approval process information of the approval system from the process creation form according to the approval system development request;
[0042] The filtering unit is used to filter out process definition information based on the newly added approval process information and the approval system.
[0043] A generation unit is used to generate an initial approval node list for the approval system based on the process definition information.
[0044] The update unit is used to update the initial approval node list according to the newly added approval process information to obtain the target approval node list;
[0045] The acquisition unit is also used to acquire initial development information associated with the process definition information;
[0046] The generation unit is further configured to generate target development information based on the target approval node list and the initial development information.
[0047] On the other hand, the present invention also proposes an electronic device, the electronic device comprising:
[0048] Memory, which stores computer-readable instructions; and
[0049] The processor executes computer-readable instructions stored in the memory to implement the approval system development method.
[0050] On the other hand, the present invention also proposes a computer-readable storage medium storing computer-readable instructions, which are executed by a processor in an electronic device to implement the approval system development method.
[0051] As can be seen from the above technical solutions, the present invention, through the addition of approval process information and the approval system filtering out suitable process definition information, can avoid significant updates to the initial approval node list and the initial development information, thereby improving the generation efficiency of the target development information. Furthermore, the initial approval node list is updated using the addition of approval process information, and the target development information is generated using the updated target approval node list and the initial development information. Since the target approval node list contains the correspondence between original approval nodes and changed approval nodes, the target development information can be quickly generated through the target approval node list, thereby improving the development efficiency of the approval system. In addition, since there is no need to rewrite the initial development information, the development efficiency of the approval system can be further improved. Attached Figure Description
[0052] Figure 1 This is a flowchart of a preferred embodiment of the approval system development method of the present invention.
[0053] Figure 2 This is a schematic diagram of the node structure in this invention.
[0054] Figure 3 This is a functional block diagram of a preferred embodiment of the approval system development device of the present invention.
[0055] Figure 4 This is a schematic diagram of the structure of an electronic device that implements the approval system development method of the present invention. Detailed Implementation
[0056] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be described in detail below with reference to the accompanying drawings and specific embodiments.
[0057] like Figure 1 The diagram shown is a flowchart of a preferred embodiment of the approval system development method of the present invention. Depending on different requirements, the order of the steps in this flowchart can be changed, and some steps can be omitted.
[0058] The aforementioned approval system development method can acquire and process relevant data based on artificial intelligence technology. Artificial intelligence (AI) refers to the theories, methods, technologies, and application systems that utilize digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, perceive the environment, acquire knowledge, and use that knowledge to obtain optimal results.
[0059] Foundational technologies for artificial intelligence generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing, operating / interactive systems, and mechatronics. AI software technologies mainly encompass computer vision, robotics, biometrics, speech processing, natural language processing, and machine learning / deep learning.
[0060] The approval system development method is applied to one or more electronic devices. The electronic device is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored computer-readable instructions. Its hardware includes, but is not limited to, microprocessors, application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), digital signal processors (DSPs), embedded devices, etc.
[0061] The electronic device can be any electronic product that can interact with the user, such as a personal computer, tablet computer, smartphone, personal digital assistant (PDA), game console, interactive network television (IPTV), smart wearable device, etc.
[0062] The electronic devices may include network devices and / or user devices. The network devices include, but are not limited to, single network electronic devices, groups of multiple network electronic devices, or cloud computing-based systems consisting of a large number of hosts or network electronic devices.
[0063] The network in which the electronic device is located includes, but is not limited to: the Internet, wide area network, metropolitan area network, local area network, virtual private network (VPN), etc.
[0064] S10, Receive the approval system development request, and obtain the new approval process information of the approval system from the process creation form according to the approval system development request.
[0065] In at least one embodiment of the present invention, the approval system development request may be generated after the development user fills in information in the process creation form and submits the form.
[0066] The process creation form refers to the form corresponding to the process creation event.
[0067] The approval system refers to a platform that can review forms that require approval, such as attendance forms.
[0068] The newly added approval process information refers to the functional information corresponding to the process that needs to be developed on the approval system.
[0069] In at least one embodiment of the present invention, the electronic device obtains new approval process information of the approval system from the process creation form according to the approval system development request, including:
[0070] Parse the message of the approval system development request to obtain the data information carried by the message;
[0071] Extract the interface identifier of the form creation interface and the platform identifier of the approval system from the data information;
[0072] The process creation form is located based on the time the approval system development request is received, the interface identifier, and the platform identifier.
[0073] The newly added approval process information is obtained from the form created by the process based on preset tags.
[0074] The form creation interface refers to the interface for generating the form in the process, and the interface identifier is used to indicate the form creation interface.
[0075] The platform identifier is used to indicate the approval system.
[0076] The receiving time refers to the moment when the electronic device receives the approval system development request.
[0077] The preset tags include tags corresponding to approval nodes and tags corresponding to node description information.
[0078] The process creation form can be accurately located by the receiving time, the interface identifier, and the platform identifier, and the new approval process information can be comprehensively and accurately obtained by the preset tag information.
[0079] Specifically, the electronic device locates the process creation form based on the time of receiving the approval system development request, the interface identifier, and the platform identifier, including:
[0080] Obtain target log information that corresponds simultaneously to the receiving time, the interface identifier, and the platform identifier from the preset log library;
[0081] The information corresponding to the form labels is obtained from the target log information and used to create the form in the process.
[0082] The form label is used to indicate a form.
[0083] S11, Based on the newly added approval process information and the approval system, process definition information is filtered out.
[0084] In at least one embodiment of the present invention, the process definition information refers to the historical process information in the approval system that is closest to the newly added approval process information. Specifically, the historical process information refers to the process information corresponding to the approval functions that have already been developed in the approval system.
[0085] In at least one embodiment of the present invention, the electronic device, based on the newly added approval process information and the process definition information filtered by the approval system, includes:
[0086] Retrieve all historical process information from the approval system;
[0087] The newly added approval process information is encoded based on a preset node encoding table to obtain first encoding information, and each historical process information is encoded based on the preset node encoding table to obtain multiple second encoding information.
[0088] Calculate the similarity between each second encoded information and the first encoded information;
[0089] The historical process information corresponding to the second encoding information with the highest similarity is determined as the process definition information.
[0090] The preset node encoding table contains the mapping relationship between all nodes and encoding information, as well as the mapping relationship between node description information and encoding information.
[0091] By encoding the newly added approval process information and each historical process information using the same preset node encoding table, the newly added approval process information and each historical process information can be quantified from the same dimension, thereby improving the accuracy of filtering the process definition information.
[0092] S12, Generate the initial approval node list of the approval system based on the process definition information.
[0093] In at least one embodiment of the present invention, the initial approval node list includes the node relationships of multiple approval nodes in the process definition information, and the initial approval node list also includes node description information for each node description information. The node relationships include parallel node relationships, serial node relationships, etc.
[0094] In at least one embodiment of the present invention, the electronic device generates the initial approval node list of the approval system according to the process definition information, including:
[0095] Extract multiple approval nodes and node description information for each approval node from the process definition information;
[0096] Based on preset vocabulary, the node relationships of the multiple approval nodes in the process definition information are identified;
[0097] Create a node structure diagram based on the node relationships and the multiple approval nodes;
[0098] The node description information is written into the node structure diagram to obtain the initial approval node list.
[0099] The preset vocabulary includes words corresponding to the parallel relationship of the nodes, such as "execute simultaneously". The preset vocabulary also includes words corresponding to the serial relationship of the nodes, such as "execute sequentially".
[0100] The node structure diagram includes the multiple approval nodes and the node relationships.
[0101] For example, the multiple approval nodes include approval node A, approval node B, and approval node C. The node relationship between approval node A and approval node B is a serial relationship, and the node relationship between approval node B and approval node C is a parallel relationship. The node structure diagram is constructed based on the serial relationship, the parallel relationship, and approval nodes A, B, and C. Please refer to [reference needed] for details. Figure 2 .
[0102] The preset vocabulary can accurately identify the node relationships, thereby accurately constructing the node structure diagram, and then writing the node description information into the node structure diagram to improve the visibility of the initial approval node list.
[0103] S13, Update the initial approval node list according to the newly added approval process information to obtain the target approval node list.
[0104] In at least one embodiment of the present invention, the target approval node list refers to a list corresponding to the newly added approval process information, and the target approval node list includes multiple nodes in the newly added approval process information, the node relationships of the multiple nodes, and node description information of each node.
[0105] In at least one embodiment of the present invention, the electronic device updates the initial approval node list according to the newly added approval process information to obtain the target approval node list, including:
[0106] Compare the newly added approval process information with the process definition information;
[0107] If a new node exists in the newly added approval process information, then dependent nodes that depend on the new node are identified based on the newly added approval process information, and the dependency relationship between the new node and the dependent nodes is identified. New description information of the new node is obtained from the newly added approval process information. Based on the dependent nodes, the new node and the new description information are written into the initial approval node list, and the new node and the new description information are identified based on a preset new identifier to obtain the target approval node list; and / or
[0108] If there are deletion nodes in the newly added approval process information, then the deletion nodes in the initial approval node list are marked based on preset deletion identifiers to obtain the target approval node list; and / or
[0109] If there is change information in the newly added approval process information, the initial information corresponding to the change information in the initial approval node list is located, the initial information is updated based on the change information, and the change information is marked based on a preset update identifier to obtain the target approval node list. The change information includes one or more combinations: change node, change relationship, and change description information.
[0110] The dependent node refers to a node that has a serial relationship or a parallel relationship with the newly added node.
[0111] The dependencies include serial node relationships or parallel node relationships.
[0112] The preset addition identifier, the preset deletion identifier, and the preset update identifier can be different colors. For example, the preset addition identifier can be blue, the preset deletion identifier can be red, and the preset update identifier can be yellow.
[0113] By identifying relevant information with different identifiers, the intuitiveness of the target approval node list can be improved, thereby increasing the reading efficiency of the target approval node list.
[0114] S14, Obtain the initial development information associated with the process definition information.
[0115] In at least one embodiment of the present invention, the initial development information refers to code information capable of implementing the process definition information. The initial development information can be obtained from a code repository.
[0116] S15, Generate target development information based on the target approval node list and the initial development information.
[0117] In at least one embodiment of the present invention, the target development information refers to code information that enables the implementation of the newly added approval process information.
[0118] It should be emphasized that, in order to further ensure the privacy and security of the aforementioned target development information, the aforementioned target development information can also be stored in a blockchain node.
[0119] In at least one embodiment of the present invention, the electronic device generates target development information based on the target approval node list and the initial development information, including:
[0120] Identify the identification information of the target approval node list, and identify the list information in the target approval node list that corresponds to the identification information;
[0121] Obtain the operation template statement corresponding to the identification information;
[0122] Write the list information into the operation template statement to obtain the execution statement;
[0123] The execution statement is run based on the initial development information to obtain the target development information.
[0124] The identification information may include, but is not limited to, the preset addition identifier, the preset deletion identifier, and the preset update identifier.
[0125] The operation template statement can be accurately obtained through the identification information, and then the operation template statement can be used to accurately execute operations on the list information, thereby improving the accuracy of the target development information.
[0126] In at least one embodiment of the present invention, the approval system development method further includes:
[0127] If the initial development information does not exist, an alarm message is generated based on the process identifier in the process definition information;
[0128] Identify the user who requested the development request for the approval system;
[0129] The alarm information is sent to the terminal device corresponding to the requesting user.
[0130] The process identifier is used to indicate the process definition information.
[0131] The requesting user refers to the user who triggered the development request of the approval system.
[0132] Through the above implementation method, the alarm information can be sent to the corresponding requesting user in a timely manner, thereby improving the rationality of sending the alarm information.
[0133] As can be seen from the above technical solutions, the present invention, through the addition of approval process information and the approval system filtering out suitable process definition information, can avoid significant updates to the initial approval node list and the initial development information, thereby improving the generation efficiency of the target development information. Furthermore, the initial approval node list is updated using the addition of approval process information, and the target development information is generated using the updated target approval node list and the initial development information. Since the target approval node list contains the correspondence between original approval nodes and changed approval nodes, the target development information can be quickly generated through the target approval node list, thereby improving the development efficiency of the approval system. In addition, since there is no need to rewrite the initial development information, the development efficiency of the approval system can be further improved.
[0134] like Figure 3 The diagram shown is a functional block diagram of a preferred embodiment of the approval system development apparatus of the present invention. The approval system development apparatus 11 includes an acquisition unit 110, a filtering unit 111, a generation unit 112, an update unit 113, an identification unit 114, and a sending unit 115. The module / unit referred to in this invention refers to a series of computer-readable instruction segments that can be acquired by the processor 13 and perform a fixed function, and are stored in the memory 12. In this embodiment, the functions of each module / unit will be described in detail in subsequent embodiments.
[0135] The acquisition unit 110 receives the approval system development request and obtains the new approval process information of the approval system from the process creation form according to the approval system development request.
[0136] In at least one embodiment of the present invention, the approval system development request may be generated after the development user fills in information in the process creation form and submits the form.
[0137] The process creation form refers to the form corresponding to the process creation event.
[0138] The approval system refers to a platform that can review forms that require approval, such as attendance forms.
[0139] The newly added approval process information refers to the functional information corresponding to the process that needs to be developed on the approval system.
[0140] In at least one embodiment of the present invention, the acquisition unit 110 acquires new approval process information of the approval system from the process creation form according to the approval system development request, including:
[0141] Parse the message of the approval system development request to obtain the data information carried by the message;
[0142] Extract the interface identifier of the form creation interface and the platform identifier of the approval system from the data information;
[0143] The process creation form is located based on the time the approval system development request is received, the interface identifier, and the platform identifier.
[0144] The newly added approval process information is obtained from the form created by the process based on preset tags.
[0145] The form creation interface refers to the interface for generating the form in the process, and the interface identifier is used to indicate the form creation interface.
[0146] The platform identifier is used to indicate the approval system.
[0147] The receiving time refers to the moment when the electronic device receives the approval system development request.
[0148] The preset tags include tags corresponding to approval nodes and tags corresponding to node description information.
[0149] The process creation form can be accurately located by the receiving time, the interface identifier, and the platform identifier, and the new approval process information can be comprehensively and accurately obtained by the preset tag information.
[0150] Specifically, the acquisition unit 110 locates the process creation form based on the receipt time of the approval system development request, the interface identifier, and the platform identifier, including:
[0151] Obtain target log information that corresponds simultaneously to the receiving time, the interface identifier, and the platform identifier from the preset log library;
[0152] The information corresponding to the form labels is obtained from the target log information and used to create the form in the process.
[0153] The form label is used to indicate a form.
[0154] The filtering unit 111 filters out process definition information based on the newly added approval process information and the approval system.
[0155] In at least one embodiment of the present invention, the process definition information refers to the historical process information in the approval system that is closest to the newly added approval process information. Specifically, the historical process information refers to the process information corresponding to the approval functions that have already been developed in the approval system.
[0156] In at least one embodiment of the present invention, the filtering unit 111 filters out process definition information based on the newly added approval process information and the approval system, including:
[0157] Retrieve all historical process information from the approval system;
[0158] The newly added approval process information is encoded based on a preset node encoding table to obtain first encoding information, and each historical process information is encoded based on the preset node encoding table to obtain multiple second encoding information.
[0159] Calculate the similarity between each second encoded information and the first encoded information;
[0160] The historical process information corresponding to the second encoding information with the highest similarity is determined as the process definition information.
[0161] The preset node encoding table contains the mapping relationship between all nodes and encoding information, as well as the mapping relationship between node description information and encoding information.
[0162] By encoding the newly added approval process information and each historical process information using the same preset node encoding table, the newly added approval process information and each historical process information can be quantified from the same dimension, thereby improving the accuracy of filtering the process definition information.
[0163] The generation unit 112 generates the initial approval node list of the approval system based on the process definition information.
[0164] In at least one embodiment of the present invention, the initial approval node list includes the node relationships of multiple approval nodes in the process definition information, and the initial approval node list also includes node description information for each node description information. The node relationships include parallel node relationships, serial node relationships, etc.
[0165] In at least one embodiment of the present invention, the generation unit 112 generates the initial approval node list of the approval system according to the process definition information, including:
[0166] Extract multiple approval nodes and node description information for each approval node from the process definition information;
[0167] Based on preset vocabulary, the node relationships of the multiple approval nodes in the process definition information are identified;
[0168] Create a node structure diagram based on the node relationships and the multiple approval nodes;
[0169] The node description information is written into the node structure diagram to obtain the initial approval node list.
[0170] The preset vocabulary includes words corresponding to the parallel relationship of the nodes, such as "execute simultaneously". The preset vocabulary also includes words corresponding to the serial relationship of the nodes, such as "execute sequentially".
[0171] The node structure diagram includes the multiple approval nodes and the node relationships.
[0172] For example, the multiple approval nodes include approval node A, approval node B, and approval node C. The node relationship between approval node A and approval node B is a serial relationship, and the node relationship between approval node B and approval node C is a parallel relationship. The node structure diagram is constructed based on the serial relationship, the parallel relationship, and approval nodes A, B, and C. Please refer to [reference needed] for details. Figure 2 .
[0173] The preset vocabulary can accurately identify the node relationships, thereby accurately constructing the node structure diagram, and then writing the node description information into the node structure diagram to improve the visibility of the initial approval node list.
[0174] The update unit 113 updates the initial approval node list according to the newly added approval process information to obtain the target approval node list.
[0175] In at least one embodiment of the present invention, the target approval node list refers to a list corresponding to the newly added approval process information, and the target approval node list includes multiple nodes in the newly added approval process information, the node relationships of the multiple nodes, and node description information of each node.
[0176] In at least one embodiment of the present invention, the updating unit 113 updates the initial approval node list according to the newly added approval process information to obtain the target approval node list, including:
[0177] Compare the newly added approval process information with the process definition information;
[0178] If a new node exists in the newly added approval process information, then dependent nodes that depend on the new node are identified based on the newly added approval process information, and the dependency relationship between the new node and the dependent nodes is identified. New description information of the new node is obtained from the newly added approval process information. Based on the dependent nodes, the new node and the new description information are written into the initial approval node list, and the new node and the new description information are identified based on a preset new identifier to obtain the target approval node list; and / or
[0179] If there are deletion nodes in the newly added approval process information, then the deletion nodes in the initial approval node list are marked based on preset deletion identifiers to obtain the target approval node list; and / or
[0180] If there is change information in the newly added approval process information, the initial information corresponding to the change information in the initial approval node list is located, the initial information is updated based on the change information, and the change information is marked based on a preset update identifier to obtain the target approval node list. The change information includes one or more combinations: change node, change relationship, and change description information.
[0181] The dependent node refers to a node that has a serial relationship or a parallel relationship with the newly added node.
[0182] The dependencies include serial node relationships or parallel node relationships.
[0183] The preset addition identifier, the preset deletion identifier, and the preset update identifier can be different colors. For example, the preset addition identifier can be blue, the preset deletion identifier can be red, and the preset update identifier can be yellow.
[0184] By identifying relevant information with different identifiers, the intuitiveness of the target approval node list can be improved, thereby increasing the reading efficiency of the target approval node list.
[0185] The acquisition unit 110 acquires the initial development information associated with the process definition information.
[0186] In at least one embodiment of the present invention, the initial development information refers to code information capable of implementing the process definition information. The initial development information can be obtained from a code repository.
[0187] The generation unit 112 generates target development information based on the target approval node list and the initial development information.
[0188] In at least one embodiment of the present invention, the target development information refers to code information that enables the implementation of the newly added approval process information.
[0189] It should be emphasized that, in order to further ensure the privacy and security of the aforementioned target development information, the aforementioned target development information can also be stored in a blockchain node.
[0190] In at least one embodiment of the present invention, the generation unit 112 generates target development information based on the target approval node list and the initial development information, including:
[0191] Identify the identification information of the target approval node list, and identify the list information in the target approval node list that corresponds to the identification information;
[0192] Obtain the operation template statement corresponding to the identification information;
[0193] Write the list information into the operation template statement to obtain the execution statement;
[0194] The execution statement is run based on the initial development information to obtain the target development information.
[0195] The identification information may include, but is not limited to, the preset addition identifier, the preset deletion identifier, and the preset update identifier.
[0196] The operation template statement can be accurately obtained through the identification information, and then the operation template statement can be used to accurately execute operations on the list information, thereby improving the accuracy of the target development information.
[0197] In at least one embodiment of the present invention, if the initial development information does not exist, the generation unit 112 generates alarm information according to the process identifier of the process definition information;
[0198] The identification unit 114 identifies the user who requested the development request of the approval system;
[0199] The sending unit 115 sends the alarm information to the terminal device corresponding to the requesting user.
[0200] The process identifier is used to indicate the process definition information.
[0201] The requesting user refers to the user who triggered the development request of the approval system.
[0202] Through the above implementation method, the alarm information can be sent to the corresponding requesting user in a timely manner, thereby improving the rationality of sending the alarm information.
[0203] As can be seen from the above technical solutions, the present invention, through the addition of approval process information and the approval system filtering out suitable process definition information, can avoid significant updates to the initial approval node list and the initial development information, thereby improving the generation efficiency of the target development information. Furthermore, the initial approval node list is updated using the addition of approval process information, and the target development information is generated using the updated target approval node list and the initial development information. Since the target approval node list contains the correspondence between original approval nodes and changed approval nodes, the target development information can be quickly generated through the target approval node list, thereby improving the development efficiency of the approval system. In addition, since there is no need to rewrite the initial development information, the development efficiency of the approval system can be further improved.
[0204] like Figure 4 The diagram shown is a schematic representation of the structure of an electronic device that implements the approval system development method of the present invention.
[0205] In one embodiment of the present invention, the electronic device 1 includes, but is not limited to, a memory 12, a processor 13, and computer-readable instructions stored in the memory 12 and executable on the processor 13, such as an approval system development program.
[0206] Those skilled in the art will understand that the schematic diagram is merely an example of electronic device 1 and does not constitute a limitation on electronic device 1. It may include more or fewer components than shown in the diagram, or combine certain components, or different components. For example, electronic device 1 may also include input / output devices, network access devices, buses, etc.
[0207] The processor 13 can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor. The processor 13 is the computing core and control center of the electronic device 1, connecting various parts of the electronic device 1 through various interfaces and lines, and executing the operating system of the electronic device 1, as well as various installed application programs and program code.
[0208] For example, the computer-readable instructions can be divided into one or more modules / units, which are stored in the memory 12 and executed by the processor 13 to complete the present invention. The one or more modules / units can be a series of computer-readable instruction segments capable of performing a specific function, which describe the execution process of the computer-readable instructions in the electronic device 1. For example, the computer-readable instructions can be divided into an acquisition unit 110, a filtering unit 111, a generation unit 112, an update unit 113, an identification unit 114, and a sending unit 115.
[0209] The memory 12 can be used to store the computer-readable instructions and / or modules. The processor 13 implements various functions of the electronic device 1 by running or executing the computer-readable instructions and / or modules stored in the memory 12 and calling the data stored in the memory 12. The memory 12 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. The memory 12 may include non-volatile and volatile memory, such as: hard disk, memory, plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, at least one disk storage device, flash memory device, or other storage devices.
[0210] The memory 12 can be the external memory and / or internal memory of the electronic device 1. Furthermore, the memory 12 can be a physical memory, such as a memory module, a TF card (Trans-flash Card), etc.
[0211] If the modules / units integrated in the electronic device 1 are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of the present invention can also be implemented by instructing related hardware through computer-readable instructions. The computer-readable instructions can be stored in a computer-readable storage medium, and when executed by a processor, the computer-readable instructions can implement the steps of the various method embodiments described above.
[0212] The computer-readable instructions include computer-readable instruction code, which may be in the form of source code, object code, executable file, or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer-readable instruction code, recording medium, USB flash drive, portable hard drive, magnetic disk, optical disk, computer memory, read-only memory (ROM), and random access memory (RAM).
[0213] The blockchain referred to in this invention is a novel application model of computer technologies such as distributed approval system development, peer-to-peer transmission, consensus mechanisms, and encryption algorithms. Essentially, a blockchain is a decentralized database, a chain of data blocks linked together using cryptographic methods. Each data block contains information about a batch of network transactions, used to verify the validity of the information (anti-counterfeiting) and generate the next block. A blockchain can include an underlying blockchain platform, a platform product service layer, and an application service layer.
[0214] Combination Figure 1 The memory 12 in the electronic device 1 stores computer-readable instructions to implement an approval system development method, and the processor 13 can execute the computer-readable instructions to achieve:
[0215] Receive an approval system development request, and obtain new approval process information for the approval system from the process creation form according to the approval system development request;
[0216] Based on the newly added approval process information and the process definition information filtered out by the approval system;
[0217] Generate an initial approval node list for the approval system based on the process definition information;
[0218] The initial approval node list is updated based on the newly added approval process information to obtain the target approval node list;
[0219] Obtain the initial development information associated with the process definition information;
[0220] Target development information is generated based on the target approval node list and the initial development information.
[0221] Specifically, the specific implementation method of the processor 13 for the above-mentioned computer-readable instructions can be found in [reference needed]. Figure 1 The descriptions of the relevant steps in the corresponding embodiments are not repeated here.
[0222] In the several embodiments provided by this invention, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and other division methods may be used in actual implementation.
[0223] The computer-readable storage medium stores computer-readable instructions, which, when executed by the processor 13, are used to perform the following steps:
[0224] Receive an approval system development request, and obtain new approval process information for the approval system from the process creation form according to the approval system development request;
[0225] Based on the newly added approval process information and the process definition information filtered out by the approval system;
[0226] Generate an initial approval node list for the approval system based on the process definition information;
[0227] The initial approval node list is updated based on the newly added approval process information to obtain the target approval node list;
[0228] Obtain the initial development information associated with the process definition information;
[0229] Target development information is generated based on the target approval node list and the initial development information.
[0230] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.
[0231] Furthermore, the functional modules in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in the form of hardware plus software functional modules.
[0232] Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description. Thus, all variations falling within the meaning and scope of equivalents of the claims are intended to be embraced within the invention. No appended diagram markings in the claims should be construed as limiting the scope of the claims.
[0233] Furthermore, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. The multiple units or devices described may also be implemented by a single unit or device through software or hardware. Terms such as "first," "second," etc., are used to indicate names and do not indicate any specific order.
[0234] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.
Claims
1. An approval system development method characterized by comprising: The approval system development method comprises the following steps: receiving an approval system development request and obtaining new approval process information of an approval system from a process creation form according to the approval system development request; screening process definition information based on the new approval process information and the approval system, wherein the process definition information refers to historical process information closest to the new approval process information in the approval system, and the historical process information refers to process information corresponding to an approval function that has been developed in the approval system; generating an initial approval node list of the approval system according to the process definition information; updating the initial approval node list according to the new approval process information to obtain a target approval node list; obtaining initial development information associated with the process definition information; generating target development information according to the target approval node list and the initial development information, including: identifying identification information of the target approval node list and identifying list information corresponding to the identification information in the target approval node list; obtaining an operation template statement corresponding to the identification information; writing the list information into the operation template statement to obtain an execution statement; and running the execution statement based on the initial development information to obtain the target development information.
2. The approval system development method of claim 1, wherein The method comprises the following steps: parsing a message of the approval system development request to obtain data information carried by the message; extracting an interface identifier of a form creation interface and a platform identifier of the approval system from the data information; locating the process creation form according to a receiving time of the approval system development request, the interface identifier and the platform identifier; obtaining the new approval process information from the process creation form based on a preset label.
3. The approval system development method of claim 1, wherein The method comprises the following steps: obtaining all historical process information from the approval system; performing coding processing on the new approval process information based on a preset node coding table to obtain first coding information, and performing coding processing on each historical process information based on the preset node coding table to obtain a plurality of second coding information; calculating the similarity of each second coding information and the first coding information; determining the historical process information corresponding to the second coding information with the largest similarity as the process definition information.
4. The approval system development method of claim 1, wherein The method comprises the following steps: extracting a plurality of approval nodes and node description information of each approval node from the process definition information; recognizing the node relationship of the plurality of approval nodes in the process definition information based on a preset vocabulary; creating a node structure diagram according to the node relationship and the plurality of approval nodes; writing the node description information into the node structure diagram to obtain the initial approval node list.
5. The approval system development method of claim 1, wherein The method comprises the following steps: comparing the new approval process information with the process definition information; If the new approval process information includes a new node, a dependent node relied on by the new node is identified based on the new approval process information, a dependency relationship between the new node and the dependent node is identified, new description information of the new node is obtained from the new approval process information, the new node and the new description information are written into the initial approval node list according to the dependent node, and the new node and the new description information are identified based on a preset new identifier, to obtain the target approval node list; and / or If the new approval process information includes a deleted node, the deleted node in the initial approval node list is identified based on a preset deletion identifier, to obtain the target approval node list; and / or If the new approval process information includes change information, initial information corresponding to the change information in the initial approval node list is located, the initial information is updated based on the change information, and the change information is identified based on a preset update identifier, to obtain the target approval node list, the change information including one or a combination of the following: a changed node, a changed relationship, and changed description information.
6. The approval system development method of claim 1, wherein The approval system development method further includes: generating an alarm information according to a process identifier of the process definition information if the initial development information does not exist; identifying a request user of the approval system development request; sending the alarm information to a terminal device corresponding to the request user.
7. An approval system development device characterized by comprising: The approval system development apparatus includes: an obtaining unit configured to receive an approval system development request, and obtain new approval process information of an approval system from a process creation form according to the approval system development request; a screening unit configured to screen process definition information based on the new approval process information and the approval system, the process definition information being historical process information closest to the new approval process information in the approval system, and the historical process information being process information corresponding to an approval function that has been developed in the approval system; a generating unit configured to generate an initial approval node list of the approval system according to the process definition information; an updating unit configured to update the initial approval node list according to the new approval process information, to obtain a target approval node list; the obtaining unit is further configured to obtain initial development information associated with the process definition information; the generating unit is further configured to generate target development information according to the target approval node list and the initial development information, including: identifying identification information of the target approval node list, and identifying list information in the target approval node list corresponding to the identification information; obtaining an operation template statement corresponding to the identification information; writing the list information into the operation template statement, to obtain an execution statement; and running the execution statement based on the initial development information, to obtain the target development information.
8. An electronic device, comprising: The electronic device includes: a memory storing computer readable instructions; and A processor executes the computer readable instructions stored in the memory to implement the approval system development method of any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer readable storage medium stores computer readable instructions, which are executed by a processor in an electronic device to implement the approval system development method of any one of claims 1 to 6.
Citation Information
Patent Citations
Service data processing method, device and equipment and storage medium
CN110009299A