Workflow configuration information exporting method and device, equipment, medium and program product

By analyzing and exporting workflow configuration information, the problem that users in the prior art is difficult to quickly obtain complex workflow configuration information, and efficient information display and user experience improvement are achieved.

CN119887106APending Publication Date: 2025-04-25INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411969331.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-30
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

In the prior art, users need to manually click and view workflow configuration files, resulting in the inability to quickly obtain workflow configuration information when the configuration information is numerous and complex, and the user experience is poor.

Method used

By obtaining the initial workflow configuration file of the target project, obtaining the namespace tags in turn and parsing the workflow configuration information, exporting the work module, parameter values ​​and dependencies to the target table file, realizing intuitive information display.

Benefits of technology

It improves the efficiency of obtaining workflow configuration information, realizes intuitive display of the configuration information of each workflow to users, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119887106A_ABST
    Figure CN119887106A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a workflow configuration information exporting method and device, equipment, a medium and a program product, and relates to the field of financial science and technology, and the method comprises the steps: obtaining an initial workflow configuration file corresponding to a target project; sequentially obtaining each namespace label contained in the initial workflow configuration file, and obtaining configuration information of a matched workflow in the initial workflow configuration file according to each namespace label; analyzing the obtained configuration information of each workflow to obtain each working module in each workflow, a parameter value of each working module and a dependency relationship of each working module; after it is determined that processing for all namespace tags is completed, all work modules in each workflow, parameter values of all the work modules and dependency relationships of all the work modules are exported into a target table file, so that configuration information of each workflow can be visually displayed to a user, and the user experience is improved. And the acquisition efficiency of the workflow configuration information is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of financial technology, and in particular to a workflow configuration information export method, device, equipment, medium and program product. Background Art

[0002] Workflow, as a method of processing business information in a process-based manner, is mainly used to manage and optimize business processes and ensure that tasks are executed smoothly according to predetermined processes and standards.

[0003] In the prior art, the configuration information of each workflow in the target project is usually obtained by a user manually clicking and viewing a workflow configuration file corresponding to the target project.

[0004] However, when the configuration information of the workflow is large and complex, the user cannot quickly obtain the configuration information of the workflow by manually clicking and viewing the workflow configuration file, resulting in a poor user experience. Summary of the invention

[0005] The present invention provides a workflow configuration information export method, device, equipment, medium and program product, which can intuitively display the configuration information of each workflow to the user, thereby improving the efficiency of obtaining the workflow configuration information.

[0006] In a first aspect, an embodiment of the present invention provides a method for exporting workflow configuration information, comprising:

[0007] Obtain an initial workflow configuration file corresponding to the target project;

[0008] Obtain each namespace tag contained in the initial workflow configuration file in sequence, and according to each namespace tag, obtain configuration information of a matching workflow in the initial workflow configuration file;

[0009] Parse the configuration information of each workflow to obtain each work module in each workflow, the parameter value of each work module, and the dependency relationship of each work module;

[0010] After it is determined that the processing of all namespace tags is completed, each work module in each workflow, the parameter value of each work module, and the dependency relationship of each work module are exported to the target table file.

[0011] Optionally, the configuration information of each acquired workflow is parsed to obtain each working module in each workflow, the parameter value of each working module, and the dependency relationship of each working module, including: identifying the working module label, parameter definition label and parent module label in the configuration information of each workflow, and obtaining each working module in each workflow, the parameter value of each working module, and the dependency relationship of each working module.

[0012] Optionally, the work module label, parameter definition label and parent module label in the configuration information of each workflow are identified to obtain each work module, the parameter value of each work module and the dependency relationship of each work module in each workflow, including: obtaining the work module label in the configuration information of the target workflow currently being processed, and determining each work module in the target workflow according to the work module sub-label under the work module label; identifying the parameter definition label in the work module sub-label, and determining the parameter value of each work module in the target workflow according to the attribute information in the parameter definition label; identifying the parent module label in the work module sub-label to obtain the dependency relationship of each work module in the target workflow.

[0013] Optionally, after exporting each working module, the parameter value of each working module, and the dependency relationship of each working module in each workflow to the target table file, it also includes: when an update of the target project is detected, obtaining an updated workflow configuration file corresponding to the initial workflow configuration file; using the updated workflow configuration file as a new initial workflow configuration file, and returning to execute the operation of sequentially obtaining the namespace tags contained in the initial workflow configuration file until all namespace tags in the new initial workflow configuration file are processed; exporting each working module, the parameter value of each working module, and the dependency relationship of each working module in each workflow corresponding to the updated workflow configuration file to an updated table file; and determining the modified working module based on the comparison result of the updated table file and the target table file.

[0014] Optionally, after exporting each working module, the parameter value of each working module, and the dependency relationship of each working module in each workflow corresponding to the updated workflow configuration file to the update table file, it also includes: storing the update table file according to the storage path of the target table file to store the update table file and the target table file in the same storage location.

[0015] Optionally, each working module in each workflow, the parameter value of each working module, and the dependency relationship of each working module are exported to a target table file, including: obtaining a dependency table and a parameter information table corresponding to each workflow in the target table file; storing each working module in each workflow and the dependency relationship of each working module in the corresponding dependency table; storing each working module in each workflow and the parameter information of each working module in the corresponding parameter information table.

[0016] In a second aspect, an embodiment of the present invention further provides a workflow configuration information exporting device, comprising:

[0017] A configuration file acquisition module is used to acquire an initial workflow configuration file corresponding to a target project;

[0018] A configuration information acquisition module is used to sequentially acquire each namespace tag contained in the initial workflow configuration file, and acquire configuration information of a matching workflow in the initial workflow configuration file according to each namespace tag;

[0019] The configuration information parsing module is used to parse the configuration information of each workflow obtained to obtain each work module in each workflow, the parameter value of each work module, and the dependency relationship of each work module;

[0020] The configuration information export module is used to export each work module in each workflow, the parameter value of each work module, and the dependency relationship of each work module to a target table file after determining that the processing of all namespace tags is completed.

[0021] In a third aspect, an embodiment of the present invention further provides an electronic device, the electronic device comprising:

[0022] at least one processor; and

[0023] a memory communicatively connected to at least one processor; wherein,

[0024] The memory stores a computer program that can be executed by at least one processor. The computer program is executed by at least one processor so that the at least one processor can execute the workflow configuration information export method provided by any embodiment of the present invention.

[0025] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, which stores computer instructions, and the computer instructions are used to enable a processor to implement the workflow configuration information export method provided by any embodiment of the present invention when executed.

[0026] In a fifth aspect, an embodiment of the present invention further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, it implements the workflow configuration information export method provided by any embodiment of the present invention.

[0027] The technical solution of the embodiment of the present invention obtains the configuration information of the workflow in the initial workflow configuration file, parses the configuration information of each workflow obtained, obtains each working module in each workflow, the parameter value of each working module, and the dependency relationship of each working module, and exports each working module in each workflow, the parameter value of each working module, and the dependency relationship of each working module to a target table file, thereby avoiding the situation where only the initial workflow configuration file is displayed to the user, resulting in the user being unable to quickly obtain the workflow configuration information when the workflow configuration information is large and complex, and can realize the intuitive display of the configuration information of each workflow to the user, thereby improving the efficiency of obtaining the workflow configuration information.

[0028] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0030] Figure 1 is a flowchart of a method for exporting workflow configuration information provided according to Embodiment 1 of the present invention;

[0031] Figure 2 is a flowchart of another method for exporting workflow configuration information provided according to Embodiment 2 of the present invention;

[0032] Figure 3 is a schematic diagram of the structure of a workflow configuration information exporting device provided according to Embodiment 3 of the present invention;

[0033] Figure 4 It is a schematic diagram of the structure of an electronic device provided by Embodiment 4 of the present invention. DETAILED DESCRIPTION

[0034] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0035] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0036] Embodiment 1

[0037] Figure 1 It is a flowchart of a workflow configuration information exporting method provided according to the first embodiment of the present invention. This embodiment is applicable to the situation where workflow configuration information is obtained. The method can be executed by a workflow configuration information exporting device. The workflow configuration information exporting device can be implemented in the form of hardware and / or software. The workflow configuration information exporting device can be configured in an electronic device such as a computer.

[0038] like Figure 1 As shown, a method for exporting workflow configuration information disclosed in this embodiment includes:

[0039] S110: Obtain an initial workflow configuration file corresponding to the target project.

[0040] In this embodiment, the target project may be a project including at least one workflow. The target project may belong to a variety of fields, such as the field of financial technology. The initial workflow configuration file may be used to reflect the workflows included in the target project, the work modules included in each workflow, the parameter values ​​of each work module, and the dependencies between the work modules. The format of the initial workflow configuration file may be a variety of formats, such as the extensible markup language (XML) format, which is not limited in this embodiment.

[0041] S120: Obtain each namespace tag included in the initial workflow configuration file in sequence, and obtain configuration information of a matching workflow in the initial workflow configuration file according to each namespace tag.

[0042] In this step, specifically, the location of each workflow configuration information in the initial workflow configuration file can be determined according to the namespace tag, and the configuration information of each workflow can be obtained according to the determined location. In practical applications, the attribute value of the namespace tag can be used as a unique identifier of different workflow configuration information.

[0043] Exemplarily, assuming that the namespace tag is namespace, each namespace in the initial workflow configuration file can be traversed to obtain configuration information of each workflow.

[0044] S130: Parse the acquired configuration information of each workflow to obtain each work module in each workflow, a parameter value of each work module, and a dependency relationship between each work module.

[0045] In this embodiment, the parameter value of the working module may include the name and type of the working module, etc. The dependency relationship of each working module may be used to reflect the execution order of each working module.

[0046] In this step, specifically, the labels used to identify working modules, working module parameter values ​​and working module dependencies can be identified in the configuration information of each workflow, so as to obtain each working module in each workflow, the parameter value of each working module, and the dependency of each working module.

[0047] S140: After determining that the processing of all namespace tags is completed, each work module in each workflow, the parameter value of each work module, and the dependency relationship of each work module are exported to a target table file.

[0048] In this embodiment, the target table file can be used to store each work module in each workflow corresponding to the target project, the parameter value of each work module, and the dependency relationship of each work module.

[0049] In this step, specifically, it can be determined whether the processing of all namespace tags is completed. If so, each work module in each workflow, the parameter value of each work module, and the dependency relationship of each work module can be exported to the target table file according to the storage location of each workflow in the target table file. If not, it returns to execute the operation of sequentially obtaining each namespace tag contained in the initial workflow configuration file until the processing of all namespace tags is completed.

[0050] The technical solution of this embodiment obtains an initial workflow configuration file corresponding to the target project; obtains each namespace tag contained in the initial workflow configuration file in turn, and obtains the configuration information of the matching workflow in the initial workflow configuration file according to each namespace tag; parses the configuration information of each workflow obtained to obtain each working module in each workflow, the parameter value of each working module, and the dependency relationship of each working module; after determining that the processing of all namespace tags is completed, exports each working module in each workflow, the parameter value of each working module, and the dependency relationship of each working module to a target table file. This technical solution solves the problem that the prior art only displays the initial workflow configuration file to the user, resulting in the inability to enable the user to quickly obtain the workflow configuration information when the workflow configuration information is large and complex, and can intuitively display the configuration information of each workflow to the user, thereby improving the efficiency of obtaining the workflow configuration information.

[0051] Embodiment 2

[0052] Figure 2 It is a flowchart of another workflow configuration information export method provided according to the second embodiment of the present invention. This embodiment is a further optimization and expansion based on the above embodiments, and can be combined with various optional technical solutions in the above implementation methods.

[0053] like Figure 2 As shown, a method for exporting workflow configuration information disclosed in this embodiment includes:

[0054] S210: Obtain an initial workflow configuration file corresponding to the target project.

[0055] S220: Obtain each namespace tag included in the initial workflow configuration file in sequence, and obtain configuration information of a matching workflow in the initial workflow configuration file according to each namespace tag.

[0056] S230. Identify the working module tags, parameter definition tags and parent module tags in the configuration information of each workflow, and obtain the working modules in each workflow, the parameter values ​​of each working module, and the dependency relationships of each working module.

[0057] In this step, specifically, the work module tags in the configuration information of each workflow can be identified to obtain the work modules in each workflow. The parameter definition tags in the configuration information of each workflow can be identified to obtain the parameter values ​​of the work modules in each workflow. The parent module tags in the configuration information of each workflow can be identified to obtain the parent work module of each work module.

[0058] The advantage of this setting is that by identifying the work module label, parameter definition label and parent module label, it is possible to quickly obtain each work module in each workflow, the parameter value of each work module, and the dependency relationship of each work module, thereby improving the efficiency of extracting configuration information.

[0059] Optionally, the work module label, parameter definition label and parent module label in the configuration information of each workflow are identified to obtain each work module, the parameter value of each work module and the dependency relationship of each work module in each workflow, including: obtaining the work module label in the configuration information of the target workflow currently being processed, and determining each work module in the target workflow according to the work module sub-label under the work module label; identifying the parameter definition label in the work module sub-label, and determining the parameter value of each work module in the target workflow according to the attribute information in the parameter definition label; identifying the parent module label in the work module sub-label to obtain the dependency relationship of each work module in the target workflow.

[0060] Specifically, the attribute information in each work module subtag can be identified to obtain each work module in the target workflow. Then, the parameter definition tag in each work module subtag can be obtained, and the parameter values ​​of each work module in the target workflow can be determined according to the attributes and attribute values ​​in the parameter definition tag. Among them, the attributes in the parameter definition tag can include the name and type of the work module. Finally, the parent module tag in each work module subtag can be obtained, and the parent work module on which each work module depends can be determined according to the attributes and attribute values ​​in the parent module tag.

[0061] The advantage of this setting is that by identifying the parameter definition tags in the working module sub-tags and the parent module tags in the working module sub-tags, the parameter values ​​and dependencies of each working module can be quickly obtained, further improving the efficiency of extracting configuration information.

[0062] S240: After determining that the processing of all namespace tags is completed, each work module in each workflow, the parameter value of each work module, and the dependency relationship of each work module are exported to a target table file.

[0063] Optionally, each working module in each workflow, the parameter value of each working module, and the dependency relationship of each working module are exported to a target table file, including: obtaining a dependency table and a parameter information table corresponding to each workflow in the target table file; storing each working module in each workflow and the dependency relationship of each working module in the corresponding dependency table; storing each working module in each workflow and the parameter value of each working module in the corresponding parameter information table.

[0064] Specifically, the name of each work module in the workflow, the parent work module on which each work module depends, and the dependency pattern between two work modules with a dependency relationship can be stored in a corresponding dependency table. The dependency pattern may include a pre-position and a post-position. The name of each work module in the workflow, and the parameter name, parameter type, parameter value, and parameter order corresponding to each work module can be stored in a corresponding parameter information table.

[0065] The advantage of such a setting is that by storing the configuration information of each workflow in different dependency tables and parameter information tables, the configuration information of each workflow can be more intuitively displayed to the user, thereby improving the efficiency of obtaining the configuration information of the specified workflow.

[0066] S250. When an update of the target project is detected, an updated workflow configuration file corresponding to the initial workflow configuration file is obtained, as well as each work module in each workflow corresponding to the updated workflow configuration file, a parameter value of each work module, and dependencies of each work module.

[0067] In this embodiment, the updated workflow configuration file may be a workflow configuration file corresponding to the updated target project.

[0068] In this step, specifically, the updated workflow configuration file can be used as the new initial workflow configuration file, and the operation of obtaining the namespace tags contained in the initial workflow configuration file in sequence can be returned to execute until all the namespace tags in the new initial workflow configuration file are processed, and each work module in each workflow corresponding to the updated workflow configuration file, the parameter value of each work module, and the dependency relationship of each work module are obtained.

[0069] S260: Export each work module in each workflow corresponding to the updated workflow configuration file, the parameter value of each work module, and the dependency relationship of each work module to an update table file.

[0070] In this step, specifically, each working module, parameter value of each working module, and dependency relationship of each working module in each workflow corresponding to the updated workflow configuration file can be exported to the update table file according to the storage location of each workflow corresponding to the updated workflow configuration file in the update table file.

[0071] Optionally, after exporting each working module, the parameter value of each working module, and the dependency relationship of each working module in each workflow corresponding to the updated workflow configuration file to the update table file, it also includes: storing the update table file according to the storage path of the target table file to store the update table file and the target table file in the same storage location.

[0072] The advantage of such a setting is that by storing the update table file and the target table file in the same storage location, the efficiency of obtaining the update table file and the target table file can be improved, thereby improving the efficiency of determining the modified working module.

[0073] S270. Determine the modified working module according to the comparison result between the update table file and the target table file.

[0074] In this step, specifically, the updated table file and the target table file can be compared by file data comparison software to obtain the modified working module. Alternatively, the updated table file and the target table file can be spliced ​​by text connection function to obtain the updated table file and the target table file after splicing, and the updated table file and the target table file after splicing can be compared by search function to obtain the modified working module. Optionally, after obtaining the modified working module, other working modules associated with the modified working module can be determined according to the dependency relationship of each working module.

[0075] The advantage of such a setting is that, compared with the prior art that manually compares the initial workflow configuration file and the updated workflow configuration file to determine the modified working module, the technical solution of this embodiment obtains the modified working module by exporting the update table file corresponding to the updated target project and comparing the update table file with the target table file, thereby improving the accuracy and efficiency of determining the modified working module.

[0076] The technical solution of this embodiment can quickly obtain each work module in each workflow, the parameter value of each work module, and the dependency relationship of each work module by identifying the work module label, parameter definition label, and parent module label, thereby improving the efficiency of extracting configuration information. Secondly, by exporting the update table file corresponding to the updated target project and comparing the update table file with the target table file, the modified work module is obtained, thereby improving the accuracy and efficiency of determining the modified work module.

[0077] Embodiment 3

[0078] Figure 3 It is a structural diagram of a workflow configuration information exporting device provided according to Example 3 of the present invention. This embodiment can be applied to the situation of obtaining workflow configuration information. The workflow configuration information exporting device can be implemented in the form of hardware and / or software and can be configured in an electronic device such as a computer.

[0079] like Figure 3As shown, the workflow configuration information exporting device disclosed in this embodiment includes: a configuration file acquisition module 31, a configuration information acquisition module 32, a configuration information parsing module 33 and a configuration information exporting module 34, wherein:

[0080] A configuration file acquisition module 31 is used to acquire an initial workflow configuration file corresponding to a target project;

[0081] The configuration information acquisition module 32 is used to sequentially acquire each namespace tag included in the initial workflow configuration file, and acquire the configuration information of the matching workflow in the initial workflow configuration file according to each namespace tag;

[0082] The configuration information parsing module 33 is used to parse the configuration information of each workflow obtained to obtain each work module in each workflow, the parameter value of each work module, and the dependency relationship of each work module;

[0083] The configuration information export module 34 is used to export each work module in each workflow, the parameter value of each work module, and the dependency relationship of each work module to a target table file after determining that the processing of all namespace tags is completed.

[0084] The technical solution in this embodiment solves the problem that the prior art only displays the initial workflow configuration file to the user, resulting in the inability of the user to quickly obtain the workflow configuration information when the workflow configuration information is large and complex, through the mutual cooperation of the configuration file acquisition module, the configuration information acquisition module, the configuration information parsing module and the configuration information export module. It can intuitively display the configuration information of each workflow to the user, thereby improving the efficiency of obtaining the workflow configuration information.

[0085] Optionally, the configuration information parsing module 33 includes a configuration information parsing unit, which is used to identify the working module tags, parameter definition tags and parent module tags in the configuration information of each workflow, and obtain the working modules in each workflow, the parameter values ​​of each working module, and the dependency relationships of each working module.

[0086] Optionally, the configuration information parsing unit is specifically used to: obtain a work module tag from the configuration information of the target workflow currently being processed, and determine each work module in the target workflow based on the work module subtag under the work module tag; identify the parameter definition tag in the work module subtag, and determine the parameter value of each work module in the target workflow based on the attribute information in the parameter definition tag; identify the parent module tag in the work module subtag to obtain the dependency relationship between each work module in the target workflow.

[0087] Optionally, the device also includes a modification information locating module, which is used to obtain an updated workflow configuration file corresponding to the initial workflow configuration file when an update to the target project is detected; use the updated workflow configuration file as the new initial workflow configuration file, and return to execute the operation of sequentially obtaining the namespace tags contained in the initial workflow configuration file until all namespace tags in the new initial workflow configuration file are processed; export each working module in each workflow corresponding to the updated workflow configuration file, the parameter value of each working module, and the dependency relationship of each working module to an update table file; and determine the modified working module based on the comparison result of the update table file and the target table file.

[0088] Optionally, the device further comprises an update table storage module, which is used to store the update table file according to the storage path of the target table file, so as to store the update table file and the target table file in the same storage location.

[0089] Optionally, the configuration information export module 34 is used to obtain the dependency table and parameter information table corresponding to each workflow in the target table file; store each work module in each workflow and the dependency relationship of each work module in the corresponding dependency table; store each work module in each workflow and the parameter information of each work module in the corresponding parameter information table.

[0090] The workflow configuration information exporting device provided in the embodiment of the present invention can execute the workflow configuration information exporting method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. For the contents not described in detail in this embodiment, please refer to the description in any method embodiment of this application.

[0091] Embodiment 4

[0092] Figure 4 FIG. 1 is a schematic diagram showing the structure of an electronic device 10 that can be used to implement an embodiment of the present invention. Figure 4 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0093] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0094] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a workflow configuration information export method.

[0095] In some embodiments, the workflow configuration information export method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the workflow configuration information export method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the workflow configuration information export method in any other appropriate manner (e.g., by means of firmware).

[0096] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0097] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0098] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0099] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0100] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0101] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0102] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0103] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for exporting workflow configuration information, characterized in that: The method comprises: Obtain an initial workflow configuration file corresponding to the target project; Sequentially obtain each namespace tag included in the initial workflow configuration file, and according to each namespace tag, obtain configuration information of a matching workflow in the initial workflow configuration file; Parse the configuration information of each workflow to obtain each work module in each workflow, the parameter value of each work module, and the dependency relationship of each work module; After it is determined that the processing of all namespace tags is completed, each work module in each workflow, the parameter value of each work module, and the dependency relationship of each work module are exported to the target table file.

2. The method according to claim 1, characterized in that The configuration information of each workflow is parsed to obtain the working modules in each workflow, the parameter values ​​of each working module, and the dependency relationship of each working module, including: The working module tags, parameter definition tags and parent module tags in the configuration information of each workflow are identified to obtain the working modules in each workflow, the parameter values ​​of each working module and the dependency relationship of each working module.

3. The method according to claim 2, characterized in that Identify the work module tags, parameter definition tags, and parent module tags in the configuration information of each workflow, and obtain the work modules, parameter values, and dependencies of each work module in each workflow, including: Obtain a work module tag from the configuration information of the target workflow currently being processed, and determine each work module in the target workflow according to the work module subtag under the work module tag; Identify the parameter definition tag in the work module subtag, and determine the parameter value of each work module in the target workflow according to the attribute information in the parameter definition tag; The parent module tag in the work module subtag is identified to obtain the dependency relationship of each work module in the target workflow.

4. The method according to claim 1, characterized in that: After exporting each work module in each workflow, the parameter value of each work module, and the dependency relationship of each work module to the target table file, it also includes: When an update of the target project is detected, obtaining an updated workflow configuration file corresponding to the initial workflow configuration file; The updated workflow configuration file is used as a new initial workflow configuration file, and the operation of sequentially obtaining the namespace tags contained in the initial workflow configuration file is returned until all the namespace tags in the new initial workflow configuration file are processed; Export each work module in each workflow corresponding to the updated workflow configuration file, the parameter value of each work module, and the dependency relationship of each work module to an update table file; According to the comparison result between the update table file and the target table file, the modified working module is determined.

5. The method according to claim 4, characterized in that After exporting each work module, parameter value of each work module, and dependency relationship of each work module in each workflow corresponding to the updated workflow configuration file to the updated table file, the method further includes: The update table file is stored according to the storage path of the target table file so that the update table file and the target table file are stored in the same storage location.

6. The method according to any one of claims 1 to 5, characterized in that: Export each work module in each workflow, the parameter values ​​of each work module, and the dependencies of each work module to the target table file, including: Obtain a dependency table and a parameter information table corresponding to each workflow in the target table file; Store each work module in each workflow and the dependency relationship of each work module in the corresponding dependency table; Each work module in each workflow and the parameter value of each work module are stored in the corresponding parameter information table.

7. A workflow configuration information export device, characterized in that: The device comprises: A configuration file acquisition module is used to acquire an initial workflow configuration file corresponding to a target project; A configuration information acquisition module, used to sequentially acquire each namespace tag contained in the initial workflow configuration file, and acquire configuration information of a matching workflow in the initial workflow configuration file according to each namespace tag; The configuration information parsing module is used to parse the configuration information of each workflow obtained to obtain each work module in each workflow, the parameter value of each work module, and the dependency relationship of each work module; The configuration information export module is used to export each work module in each workflow, the parameter value of each work module, and the dependency relationship of each work module to a target table file after determining that the processing of all namespace tags is completed.

8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the workflow configuration information exporting method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the workflow configuration information export method according to any one of claims 1 to 6 when executed.

10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the computer program implements the workflow configuration information export method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Big data platform workflow correctness verification method and system

    CN112035367A

  • Method and device for determining workflow dependency relationship

    CN112506957A

  • Configuration file visualization method, browser and system

    CN115981761A

  • Method and device for generating job scheduling display graph

    CN118227299A