A method, device and medium for changing a flow component of a general-purpose document

CN119003564BActive Publication Date: 2026-10-27INSPUR GENERSOFT CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411115002.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-14
Publication Date
2026-10-27
Estimated Expiration
2044-08-14

AI Technical Summary

Technical Problem

[0004]本申请实施例提供了一种泛用型单据的流程构件变动方法、设备及介质,用于解决如下技术问题:现有的流程扩展中,流程构件的数据检验以及数据处理等操作比较复杂,且工作效率较低,用户使用体验较差

Benefits of technology

[0018]1.满足扩展需求:通过确定新增流程构件,可以满足流程节点单据的扩展需求,使系统能够适应不断变化的业务需求。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119003564B_ABST
    Figure CN119003564B_ABST
Patent Text Reader

Abstract

The application discloses a universal document flow component change method and device and a medium, belongs to the technical field of data processing, and aims to solve the technical problems that the data inspection and data processing and other operations of the flow component are relatively complex, the work efficiency is relatively low, and the user experience is relatively poor in the existing flow expansion. The method comprises the following steps: determining a newly-added flow component based on the expansion requirement of a flow node document; tracking the flow node document according to the public entrance of the newly-added flow component to obtain a document task ID; filtering the keywords of the task program of the flow node document through the document task ID to obtain a task query statement; configuring the function under the interface according to the document task ID to obtain an expansion task; and completing the expansion configuration of the flow node document based on the expansion task.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data processing, and in particular to a method, device and medium for modifying the process components of a general-purpose document. Background Technology

[0002] As the number of projects in the construction industry increases, customers are demanding greater versatility from their products. For example, they may require data validation or other data processing specific to a particular node in the workflow. Currently, workflow components can only be implemented through backend code. This requires: pre-setting individual component data -> selecting the component at the workflow node -> processing the data in both frontend and backend code -> the workflow node being approved.

[0003] To improve work efficiency and reduce the workload of technical personnel, there is an urgent need for a method that allows for the rapid processing of data required for process nodes using common component entry points without writing code, enabling the completion of process components in a short time with significantly increased efficiency. Summary of the Invention

[0004] This application provides a method, device, and medium for modifying process components of a general-purpose document, which addresses the following technical problem: In existing process extensions, the data verification and data processing operations of process components are relatively complex, have low work efficiency, and result in a poor user experience.

[0005] The embodiments of this application adopt the following technical solutions:

[0006] On one hand, embodiments of this application provide a method for modifying the process components of a general-purpose document, including: determining new process components based on the expansion requirements of the process node document; tracking and processing the process node document according to the common entry point of the new process component to obtain a document task ID; filtering the task program of the process node document using the document task ID to obtain a task query statement; configuring the function under the interface of the task query statement according to the document task ID to obtain an extended task; and completing the extended configuration of the process node document based on the extended task.

[0007] This application embodiment, by identifying newly added process components, can meet the expansion needs of process node documents, enabling the system to adapt to constantly changing business requirements. It can track and process process node documents and obtain document task IDs, facilitating task management and tracking, and improving process controllability and traceability. Simultaneously, by filtering tasks through keywords to obtain task query statements, it can more accurately query and retrieve task-related information, improving data accuracy and query efficiency. Furthermore, the task query statements can be configured with interface functions, enabling the creation of extended tasks. This allows the system to flexibly configure and expand functions according to specific needs, increasing system flexibility and scalability. Utilizing extended tasks to complete the extended configuration of process node documents ensures that the system can correctly process and execute the extended process, improving system adaptability and availability.

[0008] In one 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 each process node in the process node document to determine the node location 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 node's time attribute; the execution operation attribute is the node's functional attribute; and according to the node location information, the execution timing attribute, and the execution operation attribute, configuring the attribute parameters of the process component to be attached to obtain the new process component.

[0009] In one feasible implementation, before tracking and processing the process node documents according to the public entry point of the newly added process component to obtain the document task ID, the method further includes: reproducing the new process node of the process node document through the public entry point of the newly added process component to obtain the overall operation flow; performing node approval processing on the document tasks related to the nodes corresponding to the newly added process component in the overall operation flow according to the task pending node, so that the document tasks are attached to the overall operation flow; when the approval result is approval passed, the document task completes the node attachment of the overall operation flow.

[0010] In one feasible implementation, the document at the process node is tracked based on the common entry point of the newly added process component to obtain the document task ID. Specifically, this includes: starting a preset program tracing viewer; using the program tracing viewer to perform program tracing on the overall operation process after reproduction, locating the execution statement based on the document task; and determining the document task ID corresponding to the document task based on the execution statement.

[0011] In one feasible implementation, the task program of the process node document is filtered by keywords using the document task ID to obtain a task query statement. Specifically, this includes: obtaining document program information corresponding to the document task ID; and filtering the document program information using a program tracer under relevant document task keywords to obtain a task query statement based on the document task.

[0012] In one feasible implementation, after filtering the task program of the process node document using the document task ID to obtain the task query statement, the specific steps include: obtaining the span information of the task query statement; wherein, the span information includes: basic statement information and statement tag information; and copying the current structured query statement in the span information to obtain a document task compressed package.

[0013] In one feasible implementation, based on the document task ID, the task query statement is configured with functions under the interface to obtain an extended task. Specifically, this includes: decompressing the document task compressed package through the task definition node and based on the document task ID to obtain function configuration information; wherein, the function configuration information includes at least the current structured query statement; creating a document task interface based on the document task ID; and adding the function configuration information to the corresponding SQL position of the task definition node through the document task interface to generate the extended task that meets the extended requirements of the process node document.

[0014] In one 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] Secondly, embodiments of this application also provide a process component modification 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 executable by the at least one processor to enable the at least one processor to execute a process component modification method for a general-purpose document as described in any of the above embodiments.

[0016] Thirdly, embodiments of this application also provide a non-volatile computer storage medium, characterized in that the storage medium is a non-volatile computer-readable storage medium, the non-volatile computer-readable storage medium stores at least one program, each program including instructions, and when the instructions are executed by a terminal, the terminal executes a method for modifying the process components of a general-purpose document as described in any of the above embodiments.

[0017] This application provides a method, device, and medium for modifying process components of a general-purpose document. Compared with the prior art, the embodiments of this application have the following beneficial technical effects:

[0018] 1. Meet expansion needs: By identifying new process components, the expansion needs of process node documents can be met, enabling the system to adapt to constantly changing business requirements.

[0019] 2. Tracking and Processing and Document Task ID: Tracking and processing documents at process nodes and obtaining document task IDs helps to manage and track document tasks, improving the controllability and traceability of the process.

[0020] 3. Keyword filtering and task query statements: By filtering keywords, task query statements can be obtained, which can more accurately query and obtain task-related information, improving data accuracy and query efficiency.

[0021] 4. Interface-based Function Configuration: By configuring the task query statements through the interface, extended task creation is achieved. This allows the system to flexibly configure and expand its functions according to specific needs, increasing the system's flexibility and scalability.

[0022] 5. Complete extended configuration: Based on the extended task, complete the extended configuration of the process node documents, ensuring that the system can correctly process and execute the extended process, and improve the system's adaptability and availability. Attached Figure Description

[0023] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. In the drawings:

[0024] Figure 1 A flowchart illustrating a method for modifying the process components of a general-purpose document, as provided in this application embodiment;

[0025] Figure 2 This application provides a schematic diagram of adding a new page to a process component.

[0026] Figure 3 A schematic diagram of a program trace viewer operation provided in this application embodiment;

[0027] Figure 4 This is a schematic diagram of span information content provided in an embodiment of this application;

[0028] Figure 5 A schematic diagram of a task definition node page provided in an embodiment of this application;

[0029] Figure 6 This is a schematic diagram of the structure of a process component change device for a general-purpose document provided in an embodiment of this application. Detailed Implementation

[0030] 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 with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this specification, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of this application.

[0031] This application provides a method for modifying the process components of a general-purpose document, such as... Figure 1 As shown, the method for modifying the process components of a general-purpose document specifically includes steps S101-S105:

[0032] S101. Based on the expansion requirements of process node documents, determine the new process components.

[0033] Specifically, it is necessary to first utilize the extended requirements of the process node document to query and process each process node in the process node document to determine the node location 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. Among them, the execution timing attribute is the time attribute of the node; the execution operation attribute is the functional attribute of the node.

[0035] Furthermore, based on the node location information, execution timing attributes, and execution operation attributes, the parameter parameters of the attribute items of the process components to be attached are configured to obtain the new process components.

[0036] In one embodiment, Figure 2 This application provides a schematic diagram of adding a page to a process component, as shown in the embodiments of this application. Figure 2As shown, if an approval process component needs to be added, it is necessary to determine the location where this process component needs to be attached, that is, the node location information, and then configure the execution timing, operation, parameter assignment, and running model, etc. Finally, select and configure the new process component that meets the expansion requirements.

[0037] S102. Based on the common entry point of the newly added process component, track and process the process node documents to obtain the document task ID.

[0038] Specifically, the new process nodes of the process node documents are first reproduced through the public entry point of the newly added process components. In other words, the new process nodes of the process node documents need to be tested first to obtain the overall operation process after the test run.

[0039] Furthermore, based on the task pending nodes, the document tasks corresponding to the nodes of the newly added process components in the overall operation process are subject to node approval processing, so that the document tasks are attached to the overall operation process.

[0040] Furthermore, when the approval result is "approved", the node of the overall operation process of the document task is attached.

[0041] As a feasible implementation method, after adding a new process component, it is necessary to first reproduce the new process node of the process node document, that is, run the node process first to obtain the overall operation flow after trial operation. Then, using the task pending node, the nodes corresponding to the new process component are approved to ensure consistency between nodes and meet the management needs of managers.

[0042] Furthermore, it is also necessary to launch the preset program tracking viewer.

[0043] Furthermore, by using a program tracer viewer, the entire operation process after the reproduction process is traced and the execution statement based on the task of the document is located.

[0044] Furthermore, the document task ID corresponding to the document task is determined by using the execution statement.

[0045] In one embodiment, a program tracer viewer is also needed to locate and trace the overall operation process after the trial run, thereby locating the execution statements and / or query statements of the document tasks corresponding to the newly added process components, and collecting the document task IDs corresponding to these execution statements to facilitate the subsequent use and location of these query statements.

[0046] S103. By using the document task ID, perform keyword filtering on the task program of the process node document to obtain the task query statement.

[0047] Specifically, it is necessary to first obtain the document program information corresponding to the document task ID.

[0048] Furthermore, using a program tracer viewer, the document program information is filtered based on relevant document task keywords to obtain a task query statement based on the document task.

[0049] In one embodiment, Figure 3 This application provides an embodiment of a program tracing viewer operation diagram, such as... Figure 3 As shown, it is also necessary to use the program tracer viewer to filter the document program information of the newly added process component using the keyword TASK, and then the task query statement for this part of the document program information can be obtained.

[0050] Furthermore, the span information of the task query statement is obtained. The span information includes: basic statement information and statement tagging information.

[0051] Furthermore, the current structured query statement in the span information is copied to obtain a compressed document task package.

[0052] In one embodiment, Figure 4 This is a schematic diagram of span information content provided in an embodiment of this application, such as... Figure 4 As shown, it is also necessary to extract the span information of this part of the task query statement, such as: endpoints, types, components, time consumption, and status in the basic information; and the current SQL information in the tag information.

[0053] S104. Based on the document task ID, configure the function of the task query statement under the interface to obtain the extended task.

[0054] Specifically, by defining a task node and based on the document task ID, the document task compressed package is decompressed to obtain the function configuration information. This function configuration information includes at least the current structured query statement.

[0055] Furthermore, a document task interface needs to be created based on the document task ID.

[0056] Furthermore, through the document task interface, functional configuration information is added to the corresponding SQL position of the task definition node to generate extended tasks that meet the extended requirements of the process node document.

[0057] In one embodiment, Figure 5 This is a schematic diagram of a task definition node page provided in an embodiment of this 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 task query statement mounting, so as to realize the mounting processing of extended process nodes without rewriting the code.

[0058] S105. Based on the extended task, complete the extended configuration of the process node documents.

[0059] Specifically, the extended tasks are configured into the business nodes corresponding to the newly added process components.

[0060] Furthermore, when the process reaches a business node, the corresponding extended function of the newly added process component in the business node is executed. In other words, when the process passes through the business node, the process component is executed.

[0061] As a feasible implementation method, compared with existing process controls, which can only pre-set different component data and rely on backend code to implement data logic, this invention can quickly realize data processing without writing backend code. This facilitates customer process verification operations and unique process data processing operations, improving customer satisfaction. At the same time, the process components serve as a common entry point and can automatically generate different task IDs; the content of the components can be freely edited on the front-end page; multiple components can be merged into the same task.

[0062] In addition, embodiments of this application also provide a process component modification device for general-purpose documents, such as... Figure 6 As shown, the process component change device 600 for general-purpose documents specifically includes:

[0063] At least one processor 601. And a memory 602 communicatively connected to the at least one processor 601. The memory 602 stores instructions executable by the at least one processor 601, enabling the at least one processor 601 to execute:

[0064] Based on the expansion requirements of process node documents, new process components were identified.

[0065] Based on the common entry point of the newly added process components, the process node documents are tracked and processed to obtain the document task ID;

[0066] By using the document task ID, the task program of the process node document is filtered by keywords to obtain the task query statement;

[0067] Based on the document task ID, configure the function under the interface for the task query statement to obtain the extended task;

[0068] Based on the extended task, complete the extended configuration of the process node documents.

[0069] This application embodiment, by identifying newly added process components, can meet the expansion needs of process node documents, enabling the system to adapt to constantly changing business requirements. It can track and process process node documents and obtain document task IDs, facilitating task management and tracking, and improving process controllability and traceability. Simultaneously, by filtering tasks through keywords to obtain task query statements, it can more accurately query and retrieve task-related information, improving data accuracy and query efficiency. Furthermore, the task query statements can be configured with interface functions, enabling the creation of extended tasks. This allows the system to flexibly configure and expand functions according to specific needs, increasing system flexibility and scalability. Utilizing extended tasks to complete the extended configuration of process node documents ensures that the system can correctly process and execute the extended process, improving system adaptability and availability.

[0070] The various embodiments in this application are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the embodiments for devices and non-volatile computer storage media are basically similar to the method embodiments, so the descriptions are relatively simple; relevant parts can be referred to the descriptions of the method embodiments.

[0071] The devices and media provided in this application are one-to-one with the methods. Therefore, the devices and media also have similar beneficial technical effects as their 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 understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0073] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0074] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0075] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, 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 technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0076] The foregoing has described specific embodiments of this application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired results. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0077] The above description is merely an embodiment of this application and is not intended to limit this application. For those skilled in the art, various modifications and variations can be made to the embodiments of this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principle of the embodiments of this application should be included within the scope of the claims of this application.

Claims

1. A method for modifying the process components of a general-purpose document, characterized in that, The method includes: Based on the expansion requirements of process node documents, new process components were identified. By using the common entry point of the newly added process component, the new process nodes of the process node documents are reproduced to obtain the overall operation process. Based on the task pending node, the document tasks corresponding to the nodes of the newly added process components in the overall operation process are subject to node approval processing, so that the document tasks are attached to the overall operation process. When the approval result is "approved", the document task completes the node mounting of the overall operation process; Based on the common entry point of the newly added process component, the process node documents are tracked and processed to obtain the document task ID, specifically including: Launch the default program trace viewer; The program tracing viewer is used to trace the overall operation process after the reproduction process and 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; Using the document task ID, the task program of the process node document is filtered for keywords to obtain the task query statement; Based on the document task ID, the task query statement is configured with functions under the interface to obtain the extended task; Based on the extended task, complete the extended configuration of the process node documents.

2. The method for modifying the process components of a general-purpose document according to claim 1, characterized in that, Based on the expansion requirements of process node documents, the newly added process components were determined, specifically including: Based on the aforementioned extended requirements, each process node in the process node document is queried to determine the node position information of the node to be inserted. Based on the aforementioned 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 node's time attribute; and the execution operation attribute is the node's functional attribute. Based on the node location information, the execution timing attribute, and the execution operation attribute, the parameter parameters of the attribute items of the process component to be attached are configured to obtain the new process component.

3. The method for modifying the process components of a general-purpose document according to claim 1, characterized in that, Using the document task ID, the task program of the process node document is filtered for keywords to obtain the task query statement, specifically including: Obtain the document program information corresponding to the document task ID; By using a program tracer viewer, the document program information is filtered based on relevant document task keywords to obtain a task query statement based on the document task.

4. The method for modifying the process components of a general-purpose document according to claim 3, characterized in that, After filtering the task program of the process node document using the document task ID to obtain the task query statement, the specific steps include: Obtain the 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 copied to obtain a compressed document task package.

5. The method for modifying the process components of a general-purpose document according to claim 1, characterized in that, Based on the document task ID, the task query statement is configured with functionalities under the interface to obtain extended tasks, specifically including: By defining the task node and based on the document task ID, the document task compressed package is decompressed to obtain the function configuration information; wherein, the function configuration information includes at least the current structured query statement; Create a document task interface based on the document task ID; The function configuration information is added to the corresponding SQL position of the task definition node through the document task interface, thereby generating the extended task that meets the extended requirements of the process node document.

6. The method for modifying the process components 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: Configure the extended task to the business node corresponding to the newly added process component; When the process reaches the business node, the corresponding extended function of the newly added process component in the business node is executed.

7. A process component change device for a general-purpose document, characterized in that, The device includes: At least one processor; and, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor to enable the at least one processor to perform a method for modifying the process components of a general-purpose document according to any one of claims 1-6.

8. A non-volatile computer storage medium, characterized in that, The storage medium is a non-volatile computer-readable storage medium that stores at least one program, each program including instructions that, when executed by a terminal, cause the terminal to perform a method for modifying the process components of a general-purpose document according to any one of claims 1-6.

Citation Information

Patent Citations

  • Manufacturing method of visual workflow configuration platform based on mxgraph and activiti technologies

    CN112486474A

  • Method and system for realizing business workflow by combining process engine with dynamic form

    CN115510358A