Flow component change method and device of universal document and medium
By determining new components in the process components, obtaining task IDs and filtering processing statements, and configuring interface functions, the problems of complex and low efficiency of process components expansion in the existing technology are solved, and flexible expansion and efficient data of process node documents are realized. The processing improves the adaptability and user experience of the system.
Patent Information
- Application Number
- CN202411115002.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-14
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2044-08-14
AI Technical Summary
Existing process components are complex and inefficient in expansion and data processing, and have poor user experience, making it difficult to meet customers' high requirements for product generalization.
By determining the new process components, obtaining the document task ID, performing keyword filtering to obtain task query statements, and performing interface function configuration to realize the extended configuration of process node documents, and supporting the expansion and data processing of process components without code.
It improves the flexibility and scalability of the system, enhances the controllability and traceability of the process, ensures that the system can correctly handle and execute the extended process, and improves work efficiency and user experience.
Smart Images

Figure CN119003564A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing, and in particular to a method, device and medium for changing process components of a general-purpose document. Background Art
[0002] As the number of projects in the construction industry increases, customers have higher requirements for the versatility of products. For example, data verification or other data processing specific to a node in the expansion process. In current products, process components can only be implemented by writing code on the back end. You need to preset separate component data first -> select components at process nodes -> process data with front-end and back-end codes -> pass process nodes.
[0003] In order to improve work efficiency and reduce the workload of technical personnel, there is an urgent need for a method that supports the use of public component entrances to quickly process the data required by process nodes without writing code, complete the process components in a short time, and significantly increase efficiency. Summary of the invention
[0004] The embodiments of the present application provide a method, device and medium for changing the process components of a general-purpose document, which are used to solve the following technical problems: in the existing process expansion, the data verification and data processing operations of the process components are relatively complicated, and the work efficiency is low, and the user experience is poor.
[0005] The present application embodiment adopts the following technical solutions:
[0006] On the one hand, an embodiment of the present application provides a method for changing the process components of a general-purpose document, including: determining a new process component based on the expansion requirements of the process node document; tracking and processing the process node document according to the public entrance of the new process component to obtain a document task ID; filtering the task program of the process node document by keywords through the document task ID to obtain a task query statement; according to the document task ID, performing functional configuration of the task query statement under the interface to obtain an extended task; based on the extended task, completing the extended configuration of the process node document.
[0007] The embodiment of the present application can meet the expansion requirements of process node documents by determining the newly added process components, so that the system can adapt to the ever-changing business needs. The process node documents can be tracked and processed and the document task ID can be obtained, which is helpful for managing and tracking the tasks of the documents, and improving the controllability and traceability of the process. At the same time, the task query statement is obtained by filtering the keywords, and the information related to the task can be queried and obtained more accurately, which improves the accuracy of the data and the query efficiency. The task query statement can also be configured as a function under the interface to realize the creation of extended tasks. This enables the system to flexibly configure and expand functions according to specific needs, increasing the flexibility and scalability of the system. The extended configuration of the process node documents is completed by using extended tasks, ensuring that the system can correctly process and execute the extended process, and improving the adaptability and availability of the system.
[0008] In a feasible implementation, based on the expansion requirements of the process node document, a new process component is determined, specifically including: based on the expansion requirements, querying and processing each process node in the process node document to determine the node position information of the node to be inserted; based on the expansion requirements, determining the execution timing attribute and execution operation attribute of the node to be inserted; wherein the execution timing attribute is the time attribute of the node; the execution operation attribute is the functional attribute of the node; according to the node position information, the execution timing attribute and the execution operation attribute, the parameter configuration of the attribute item of the process component to be mounted is performed to obtain the new process component.
[0009] In a feasible implementation manner, before tracking and processing the process node document according to the public entrance of the newly added process component to obtain the document task ID, the method also includes: reproducing the new process node of the process node document through the public entrance of the newly added process component to obtain the overall operation process; performing node approval processing on the document task of the node corresponding to the newly added process component in the overall operation process according to the task to-do node, so that the document task is mounted to the overall operation process; when the approval result is approved, the document task completes the node mounting of the overall operation process.
[0010] In a feasible implementation, the process node document is tracked and processed according to the common entrance of the newly added process component to obtain the document task ID, which specifically includes: starting a preset program tracking viewer; through the program tracking viewer, the overall operation process after the reproduction process is program tracked and processed to locate the execution statement based on the document task; based on the execution statement, the document task ID corresponding to the document task is determined.
[0011] In a feasible implementation, the task program of the process node document is filtered by keywords through the document task ID to obtain a task query statement, which specifically includes: obtaining the document program information corresponding to the document task ID; filtering the document program information under relevant document task keywords through a program tracking viewer to obtain a task query statement based on the document task.
[0012] In a feasible implementation, after filtering the task program of the process node document by keywords through the document task ID to obtain the task query statement, it specifically includes: obtaining the span information of the task query statement; wherein the span information includes: basic statement information and statement tag information; performing statement copying on the current structured query statement in the span information to obtain a document task compression package.
[0013] In a feasible implementation, according to the document task ID, the task query statement is functionally configured under the interface to obtain an extended task, specifically including: through the task definition node and based on the document task ID, the document task compression package is decompressed to obtain functional configuration information; wherein the functional configuration information at least includes the current structured query statement; based on the document task ID, a document task interface is created; through the document task interface, the functional configuration information is added to the corresponding SQL position of the task definition node to generate the extended task that meets the extension requirements of the process node document.
[0014] In a feasible implementation, based on the extended task, the extended configuration of the process node document is completed, specifically including: configuring the extended task to the business node corresponding to the newly added process component; when the process is executed to the business node, executing the corresponding extended function of the newly added process component in the business node.
[0015] In the second aspect, an embodiment of the present application also provides a process component change device for a general-purpose document, the device comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor so that the at least one processor can execute a process component change method for a general-purpose document described in any of the above-mentioned embodiments.
[0016] In the third aspect, an embodiment of the present application also provides a non-volatile computer storage medium, characterized in that the storage medium is a non-volatile computer-readable storage medium, and the non-volatile computer-readable storage medium stores at least one program, each of which includes instructions, and when the instructions are executed by a terminal, the terminal executes a method for changing a process component of a general-purpose document described in any of the above-mentioned embodiments.
[0017] The present application provides a method, device and medium for changing a process component of a general-purpose document. Compared with the prior art, the embodiments of the present application have the following beneficial technical effects:
[0018] 1. Meet expansion requirements: By determining the addition of new process components, the expansion requirements of process node documents can be met, allowing the system to adapt to changing business needs.
[0019] 2. Tracking and document task ID: Tracking the process node documents and obtaining the document task ID helps to manage and track the document tasks, improving the controllability and traceability of the process.
[0020] 3. Keyword filtering and task query statements: By filtering keywords to obtain task query statements, you can more accurately query and obtain task-related information, thereby improving data accuracy and query efficiency.
[0021] 4. Function configuration under the interface: The task query statement is configured under the interface to realize the creation of extended tasks. This enables the system to flexibly configure and expand functions according to specific needs, increasing the flexibility and scalability of the system.
[0022] 5. Complete the extended configuration: Complete the extended configuration of the process node documents based on the extended tasks, ensuring that the system can correctly process and execute the extended process, and improving the adaptability and availability of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0024] Figure 1 A flow chart of a method for changing a process component of a general-purpose document provided in an embodiment of the present application;
[0025] Figure 2 A schematic diagram of a new page for a process component provided in an embodiment of the present application;
[0026] Figure 3 A schematic diagram of the operation of a program tracking viewer provided in an embodiment of the present application;
[0027] Figure 4 A schematic diagram of span information content provided in an embodiment of the present application;
[0028] Figure 5 A schematic diagram of a task definition node page provided in an embodiment of the present application;
[0029] Figure 6 A schematic diagram of the structure of a process component change device for a general-purpose document provided in an embodiment of the present application. DETAILED DESCRIPTION
[0030] In order to enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.
[0031] The present application embodiment provides a method for changing a process component of a general-purpose document, such as Figure 1 As shown, the method for changing the process component of a general document specifically includes steps S101-S105:
[0032] S101. Determine new process components based on the expansion requirements of process node documents.
[0033] Specifically, it is necessary to first use the expansion requirements of the process node document to query and process each process node in the process node document to determine the node position information of the node to be inserted.
[0034] Furthermore, based on the expansion requirements, the execution timing attribute and execution operation attribute of the node to be inserted are determined, wherein the execution timing attribute is the time attribute of the node; and the execution operation attribute is the function attribute of the node.
[0035] Furthermore, according to the node location information, the execution timing attribute and the execution operation attribute, the parameters of the attribute items of the process component to be mounted are configured to obtain a newly added process component.
[0036] In one embodiment, Figure 2 A schematic diagram of a new page for a process component provided in an embodiment of the present application, such as Figure 2As shown, if you need to add an approval process component, you need to determine the location where the process component needs to be mounted, that is, the node location information, and then configure the execution timing, operation, parameter assignment, and operation model, etc., and finally select and configure the new process component that meets the expansion requirements.
[0037] S102. According to the public entrance of the newly added process component, the process node document is tracked and processed to obtain the document task ID.
[0038] Specifically, the new process node of the process node document is first reproduced through the public entrance of the newly added process component, that is, it is necessary to first test run the program on the new process node of the process node document to obtain the overall operation process after the test run.
[0039] Furthermore, according to the task to-do node, the document task of the node corresponding to the newly added process component in the overall operation process is subject to node approval processing, so that the document task is mounted into the overall operation process.
[0040] Furthermore, when the approval result is approved, the document task completes the node mounting of the overall operation process.
[0041] As a feasible implementation method, after completing the addition of new process components, it is necessary to reproduce the new process nodes of the process node document first, that is, to run the node process first and obtain the overall operation process after the trial run. Then, use the task to-do node to approve the nodes corresponding to the newly added process components to ensure the consistency of the nodes and meet the management needs of the management personnel.
[0042] Furthermore, it is also necessary to start the preset program trace viewer.
[0043] Furthermore, the overall operation flow after the reproduction process is subjected to program tracing processing through the program tracing viewer to locate the execution statement based on the document task.
[0044] Furthermore, the execution statement is used to determine the document task ID corresponding to the document task.
[0045] In one embodiment, it is also necessary to use a program tracking viewer to locate and track the program of the overall operation process after the trial run, so as to locate the execution statements and / or query statements of the document tasks corresponding to the newly added process components, and collect the document task IDs corresponding to these execution statements to facilitate the subsequent use and positioning of these query statements.
[0046] S103. Using the document task ID, perform keyword filtering on the task program of the process node document to obtain a task query statement.
[0047] Specifically, it is necessary to first obtain the document procedure information corresponding to the document task ID.
[0048] Furthermore, the program tracking viewer is used to filter the document program information under the relevant document task keywords to obtain a task query statement based on the document task.
[0049] In one embodiment, Figure 3 A schematic diagram of the operation of a program tracking viewer provided in an embodiment of the present application is shown in FIG. Figure 3 As shown, it is also necessary to use the program tracking viewer to filter the document program information of the newly added process component part with the keyword TASK, and then the task query statement of this part of the document program information can be obtained.
[0050] Furthermore, the span information of the task query statement is obtained, wherein the span information includes: basic statement information and statement tag information.
[0051] Furthermore, the current structured query statement in the span information is processed by statement copying to obtain a document task compression package.
[0052] In one embodiment, Figure 4 A schematic diagram of span information content provided in an embodiment of the present application is shown in FIG. Figure 4 As shown, it is also necessary to extract the span information of this part of the task query statement, such as: endpoint, type, component, time consumption, status in the basic information; current SQL information in the tag information, etc.
[0053] S104. According to the document task ID, the task query statement is functionally configured under the interface to obtain an extended task.
[0054] Specifically, through the task definition node and based on the document task ID, the document task compression package is decompressed to obtain the function configuration information, wherein the function configuration information at least includes the current structured query statement.
[0055] Furthermore, it is necessary to create a document task interface based on the document task ID.
[0056] Furthermore, through the document task interface, the function configuration information is added to the corresponding SQL position of the task definition node to generate an extended task that meets the extended requirements of the process node document.
[0057] In one embodiment, Figure 5 A schematic diagram of a task definition node page provided in an embodiment of the present application, such as Figure 5As shown, in the task definition node, it is also necessary to add the function configuration information to the corresponding SQL position of the task definition node according to the document task ID, that is, to complete the mounting of the task query statement, so as to realize the mounting processing of the extended process node without rewriting the code.
[0058] S105. Based on the extended task, complete the extended configuration of the process node document.
[0059] Specifically, the extended task is configured in the business node corresponding to the newly added process component.
[0060] Furthermore, when the process is executed to the business node, the corresponding extended function of the newly added process component in the business node is executed. That is, when the process passes through the business node, the process component is executed.
[0061] As a feasible implementation method, compared with the existing process controls, which can only preset different component data and rely on backend code to implement data logic, the present invention can quickly implement data processing without writing backend code. This facilitates the customer's process verification operation and unique process data processing operation, and improves customer satisfaction. At the same time, the process component is a public entrance and can automatically generate different task IDs; the component implementation content can be freely edited on the front-end page; multiple components can be merged into the same task.
[0062] In addition, the present application also provides a general-purpose document process component change device, such as Figure 6 As shown, the process component changing device 600 of the general document specifically includes:
[0063] At least one processor 601. And a memory 602 in communication with the at least one processor 601. The memory 602 stores instructions that can be executed by the at least one processor 601, so that the at least one processor 601 can execute:
[0064] Determine the new process components based on the expansion requirements of process node documents;
[0065] According to the public entrance of the newly added process component, the process node documents are tracked and processed to obtain the document task ID;
[0066] Through the document task ID, the task program of the process node document is filtered by keywords to obtain the task query statement;
[0067] According to the document task ID, configure the task query statement under the interface function to obtain the extended task;
[0068] Based on the extended tasks, complete the extended configuration of the process node documents.
[0069] The embodiment of the present application can meet the expansion requirements of process node documents by determining the newly added process components, so that the system can adapt to the ever-changing business needs. The process node documents can be tracked and processed and the document task ID can be obtained, which is helpful for managing and tracking the tasks of the documents, and improving the controllability and traceability of the process. At the same time, the task query statement is obtained by filtering the keywords, and the information related to the task can be queried and obtained more accurately, which improves the accuracy of the data and the query efficiency. The task query statement can also be configured as a function under the interface to realize the creation of extended tasks. This enables the system to flexibly configure and expand functions according to specific needs, increasing the flexibility and scalability of the system. The extended configuration of the process node documents is completed by using extended tasks, ensuring that the system can correctly process and execute the extended process, and improving the adaptability and availability of the system.
[0070] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device and non-volatile computer storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.
[0071] The devices and media provided in the embodiments of the present application correspond one-to-one to the methods. Therefore, the devices and media also have similar beneficial technical effects as the corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media will not be repeated here.
[0072] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0073] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0074] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0075] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0076] The above describes specific embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0077] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the embodiments of the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the embodiments of the present application should be included in the scope of the claims of the present application.
Claims
1. A method for changing a process component of a general-purpose document, characterized in that: The method comprises: Determine the new process components based on the expansion requirements of process node documents; According to the public entrance of the newly added process component, the process node document is tracked and processed to obtain the document task ID; Using the document task ID, keyword filtering is performed on the task program of the process node document to obtain a task query statement; According to the document task ID, the task query statement is configured with functions under the interface to obtain an extended task; Based on the extended task, the extended configuration of the process node document is completed.
2. A method for changing a process component of a general-purpose document according to claim 1, characterized in that: Based on the expansion requirements of process node documents, new process components are determined, including: Based on the expansion requirements, query and process each process node in the process node document to determine the node position information of the node to be inserted; Based on the expansion requirements, determining the execution timing attribute and execution operation attribute of the node to be inserted; wherein the execution timing attribute is the time attribute of the node; and the execution operation attribute is the function attribute of the node; According to the node location information, the execution timing attribute and the execution operation attribute, parameter configuration of attribute items is performed on the process component to be mounted to obtain the newly added process component.
3. A method for changing a process component of a general-purpose document according to claim 1, characterized in that: Before tracking and processing the process node document according to the public entrance of the newly added process component to obtain the document task ID, the method further includes: Through the public entrance of the newly added process component, the new process node of the process node document is reproduced to obtain the overall operation process; According to the task to-do node, the document task of the node corresponding to the newly added process component in the overall operation process is subject to node approval processing, so that the document task is mounted to the overall operation process; When the approval result is approved, the document task completes the node mounting of the overall operation process.
4. A method for changing a process component of a general-purpose document according to claim 3, characterized in that: According to the public entrance of the newly added process component, the process node document is tracked and processed to obtain the document task ID, which specifically includes: Start the preset program trace viewer; Through the program tracking viewer, the overall operation process after the reproduction process is subjected to program tracking processing to locate the execution statement based on the document task; Based on the execution statement, the document task ID corresponding to the document task is determined.
5. A method for changing a process component of a general-purpose document according to claim 1, characterized in that: The task program of the process node document is filtered by keywords through the document task ID to obtain a task query statement, which specifically includes: Obtaining the document procedure information corresponding to the document task ID; Through the program tracking viewer, the document program information is filtered under the relevant document task keywords to obtain a task query statement based on the document task.
6. A method for changing a process component of a general-purpose document according to claim 5, characterized in that: After filtering the task program of the process node document by keywords through the document task ID to obtain the task query statement, the following steps are specifically performed: Obtaining span information of the task query statement; wherein the span information includes: basic statement information and statement tag information; The current structured query statement in the span information is processed by statement copying to obtain a document task compression package.
7. A method for changing a process component of a general-purpose document according to claim 1, characterized in that: According to the document task ID, the task query statement is configured with functions under the interface to obtain an extended task, which specifically includes: Through the task definition node and based on the document task ID, the document task compression package is decompressed to obtain function configuration information; wherein the function configuration information at least includes the current structured query statement; Based on the document task ID, create a document task interface; Through the document task interface, the function configuration information is added to the corresponding SQL position of the task definition node to generate the extended task that meets the extended requirements of the process node document.
8. A method for changing a process component of a general-purpose document according to claim 1, characterized in that: Based on the extended task, the extended configuration of the process node document is completed, specifically including: Configuring the extended task to the service node corresponding to the newly added process component; When the process is executed to the service node, the corresponding extended function of the newly added process component in the service node is executed.
9. A process component changing device for a general-purpose document, characterized in that: The device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, so that the at least one processor can execute the process component change method of a general-purpose document according to any one of claims 1-8.
10. A non-volatile computer storage medium, characterized in that: The storage medium is a non-volatile computer-readable storage medium, and the non-volatile computer-readable storage medium stores at least one program, each of which includes instructions, and when the instructions are executed by a terminal, the terminal executes a method for changing a process component of a general-purpose document according to any one of claims 1-8.
Citation Information
Patent Citations
ETL task processing method and device and related equipment
CN111881154A
Manufacturing method of visual workflow configuration platform based on mxgraph and activiti technologies
CN112486474A
Log synchronization method and device and computer readable storage medium
CN113094439A
SQL injection vulnerability detection method and system based on active IAST
CN113158197A
Method and system for realizing business workflow by combining process engine with dynamic form
CN115510358A
