CN111241100B - Workflow configuration system and method - Google Patents
Workflow configuration system and method Download PDFInfo
- Publication number
- CN111241100B CN111241100B CN202010022611.1A CN202010022611A CN111241100B CN 111241100 B CN111241100 B CN 111241100B CN 202010022611 A CN202010022611 A CN 202010022611A CN 111241100 B CN111241100 B CN 111241100B
- Authority
- CN
- China
- Prior art keywords
- workflow
- unit
- information
- node
- database
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 49
- 238000013461 design Methods 0.000 claims description 14
- 238000005206 flow analysis Methods 0.000 claims description 12
- 230000009471 action Effects 0.000 claims description 8
- 238000012544 monitoring process Methods 0.000 claims description 8
- 230000001960 triggered effect Effects 0.000 claims description 4
- 238000004590 computer program Methods 0.000 claims 2
- 238000004891 communication Methods 0.000 description 16
- 238000010586 diagram Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 5
- 238000012545 processing Methods 0.000 description 4
- 238000007405 data analysis Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000009472 formulation Methods 0.000 description 2
- 239000000203 mixture Substances 0.000 description 2
- 230000007723 transport mechanism Effects 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 102100038367 Gremlin-1 Human genes 0.000 description 1
- 101001032872 Homo sapiens Gremlin-1 Proteins 0.000 description 1
- 238000004883 computer application Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000007667 floating Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2455—Query execution
- G06F16/24553—Query execution of query operations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/28—Databases characterised by their database models, e.g. relational or object models
- G06F16/284—Relational databases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/10—Office automation; Time management
- G06Q10/103—Workflow collaboration or project management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Business, Economics & Management (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Strategic Management (AREA)
- Human Resources & Organizations (AREA)
- General Engineering & Computer Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Software Systems (AREA)
- Economics (AREA)
- Marketing (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Computational Linguistics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a workflow configuration system and method, comprising the following steps: a first database unit adapted to store workflow information including workflow identifications, association information between the workflow and other workflows; the search engine unit is coupled to the first database unit and is suitable for establishing an index for workflow information stored in the first database unit, and the index indicates the corresponding relation between the keywords and the workflow identification; and a service interface unit coupled to the first database unit and the search engine unit, adapted to receive the keyword from the client, obtain a workflow identification corresponding to the keyword from the search engine unit, and obtain workflow information corresponding to the workflow identification from the first database unit, and transmit the obtained workflow information to the client. The invention also discloses a workflow configuration method, a computing device and a computer readable storage medium.
Description
Technical Field
The present invention relates to the field of databases, and in particular, to a workflow configuration system and method.
Background
As the application of databases becomes more widespread, so too is the application of graph databases. By designing a workflow based on a graph database, automation of part or all of the business process in a computer application environment can be achieved, enabling the process of transferring documents, information or tasks between multiple participants according to some predefined rules to be automated.
The workflow refers to a workflow and business rules among the operation steps thereof, and after the workflow is stored by using the graph database, if the needed workflow is to be extracted from the database rapidly, the workflow in the graph database needs to be searched. The existing retrieval technology is that the active workflow information is stored in an xml file according to BPMN2 or jPDL specification, and node information and a node-to-node association mode in the flow are not stored in a database by a structural model, so that node information query cannot be supported, and matching nodes are not searched by keywords so as to obtain the existing flow template.
To this end, a new workflow configuration system and method is needed.
Disclosure of Invention
To this end, the present invention provides a data analysis system and method in an effort to solve or at least alleviate the above-identified problems.
According to one aspect of the present invention, there is provided a workflow configuration system comprising: a first database unit adapted to store workflow information including workflow identifications, association information between the workflow and other workflows; the search engine unit is coupled to the first database unit and is suitable for establishing an index for workflow information stored in the first database unit, and the index indicates the corresponding relation between the keywords and the workflow identification; and a service interface unit coupled to the first database unit and the search engine unit, adapted to receive the keyword from the client, obtain a workflow identification corresponding to the keyword from the search engine unit, and obtain workflow information corresponding to the workflow identification from the first database unit, and transmit the obtained workflow information to the client.
Optionally, in a workflow configuration system according to the invention, the first database unit is further adapted to store node information, the node information comprising node identification, node executors and node action information, and the workflow information comprising one or more node information; the search engine unit is further adapted to build an index for the node information, the index indicating a correspondence between the keywords and the node identification; and the service interface unit is further adapted to acquire node identifiers corresponding to the keywords from the search engine unit, acquire node information corresponding to the node identifiers from the first database unit, and send the acquired node information to the client.
Optionally, in a workflow configuration system according to the present invention, further comprising: a second database unit adapted to store workflow files; the flow analysis unit is coupled to the first database unit and the second database unit and is suitable for analyzing the flow file, analyzing the flow file into a workflow file and workflow information, sending the workflow information to the first database unit and sending the workflow file to the second database unit; the workflow design unit is coupled to the flow analysis unit and the service interface unit, and is suitable for receiving the workflow information modified by the user from the service interface unit, converting the workflow information into a flow file, and sending the flow file to the flow analysis unit.
Optionally, in a workflow configuration system according to the invention, the first database unit and the second database unit each comprise an interface module and a database module; the interface module is suitable for receiving and transmitting information by a module coupled with the database unit; the database module of the first database unit is a graph database; the database module of the second database unit is a relational database.
Optionally, in a workflow configuration system according to the present invention, further comprising: and the workflow execution unit is coupled to the second database unit and is suitable for calling the workflow file stored in the second database unit and executing the workflow.
Optionally, in a workflow configuration system according to the present invention, further comprising: and the monitoring unit is coupled to the workflow execution unit and is suitable for monitoring the execution condition of the workflow when the workflow execution unit executes the workflow.
Optionally, in a workflow configuration system according to the present invention, further comprising: the scheduling unit is coupled to the workflow execution unit and is suitable for timing each node for executing the workflow and executing the subsequent nodes when the workflow execution unit executes the workflow.
Optionally, in a workflow configuration system according to the present invention, further comprising: the plug-in service unit is coupled to the workflow execution unit and is suitable for executing an event triggered by each node in the workflow when the workflow execution unit executes the workflow; the plug-in service unit comprises different plug-ins adapted to execute different events.
According to an aspect of the present invention, there is provided a workflow configuration method adapted to be run in a workflow configuration system comprising a first database unit, a search engine unit and a service interface unit, the method comprising: the service interface unit receives the keywords from the client and sends the keywords to the search engine unit; the search engine unit establishes an index for the workflow information and the node information stored in the first database unit, wherein the index indicates the corresponding relation between the keywords and the workflow identification or the node identification; the service interface unit acquires workflow identification or node identification corresponding to the keyword from the search engine unit, acquires workflow information or node information corresponding to the workflow identification from the first database unit, and transmits the acquired workflow information or node information to the client.
Optionally, in a workflow configuration method according to the present invention, further comprising: providing a workflow design unit, a flow analysis unit and a second database unit; the workflow design unit receives the workflow information modified by the user from the service interface unit, converts the workflow information into a flow file, and sends the flow file to the flow analysis unit; the flow parser parses the flow file into a workflow file and workflow information, and sends the workflow information to the first database unit and the workflow file to the second database unit.
According to another aspect of the present invention, there is provided a computing device comprising: one or more processors; a memory; and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising instructions for performing any of the methods of data analysis according to the present invention.
According to yet another aspect of the present invention, there is provided a computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a computing device, cause the computing device to perform any of the methods of data analysis according to the present invention.
According to the scheme of the invention, the workflow configuration system and the workflow configuration method are provided, and indexes are established for the workflows stored in the database, wherein the indexes indicate the corresponding relation between keywords and workflow identifications, so that after the keywords input by a user are received, the workflows in the database are searched according to the keywords and the information corresponding to the workflows is sent to the client. According to the method and the device for searching the workflow, the stored workflow can be quickly searched according to the keywords input by the user, and the searched workflow is provided for the user, so that excessive time consumption during the workflow and corresponding workflow information inquiry is avoided, manpower resources are saved, and the situations that the desired workflow cannot be searched and the searching errors are reduced.
In addition, the invention stores the workflow and the information corresponding to the workflow respectively, stores the workflow information in a first database, namely a graph database, and stores the file of the workflow in a second database, namely a relational database. The workflow information stored in the graph database cannot be directly searched, so that the workflow information stored in the first database is indexed, the first database after the indexing is built can be quickly searched, specific information of the workflow is obtained, and the efficiency of searching the workflow information stored in the graph database is improved.
The foregoing description is only an overview of the present invention, and is intended to be implemented in accordance with the teachings of the present invention in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present invention more readily apparent.
Drawings
FIG. 1 illustrates a schematic diagram of a workflow configuration system 100, according to one embodiment of the invention;
FIG. 2 shows a schematic diagram of a first database unit storage workflow according to one embodiment of the invention;
FIG. 3 illustrates a block diagram of a computing device 300 according to an exemplary embodiment of the invention;
FIG. 4 illustrates a flow chart of a workflow configuration method 400 according to one embodiment of the invention; and
fig. 5 shows a flow chart of a workflow configuration method 500 according to a further embodiment of the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
FIG. 1 illustrates a schematic diagram of a workflow configuration system 100, according to one embodiment of the invention. It should be noted that the workflow configuration system 100 in fig. 1 is merely exemplary. As shown in fig. 1, the workflow configuration system 100 includes a first database unit 110, a search engine unit 120, and a service interface unit 130. The search engine unit 120 is coupled to the first database unit 110, and the service interface unit 130 is coupled to the search engine unit 120 and the first database unit 110.
The first database unit 110 stores therein workflow information including workflow identifications, association information between the workflow and other workflows. The workflow refers to a workflow and business rules among operation steps thereof, and each workflow comprises workflow files and workflow information corresponding to the workflow. The workflow information includes workflow identification, association information between the workflow and other workflows. The workflow identifier refers to a unique identifier of each workflow, and the unique workflow can be determined through the workflow identifier. The association information between the workflow and other workflows refers to the flow direction relationship between the workflow and the workflows, for example, at the node 4 of the workflow a, the flow is turned to the workflow B, i.e. the workflow B is executed after the node 4 of the workflow a is executed. After receiving the workflow identifier sent by the search engine unit 120, the first database unit 110 retrieves workflow information corresponding to the workflow identifier and sends the workflow information to the service interface unit 130.
The first database unit 110 includes an interface module and a database module. The interface module of the first database unit 110 receives and transmits information with the search engine unit 120, the service interface unit 130, and the flow parsing unit 150 coupled to the first database unit 100. The database module of the first database unit 110 can be implemented as a graph database. When the database module of the first database unit 110 is implemented as a graph database, the interface module can use the Gremlin query language to go to the graph database to obtain the matched workflow detailed information and return the workflow detailed information to the client.
Fig. 2 shows a schematic diagram of a first data unit storage workflow according to an embodiment of the invention. As shown in fig. 2, there is a correlation among the workflow a, the workflow B, and the workflow C. Workflow B includes node 1, node 2, and node 3. The node 3 of the workflow B switches to the workflow D, and after the execution is completed, the node 3 of the workflow B executes the workflow D.
The search engine unit 120 builds an index for the workflow information stored in the first database unit 110, the index indicating a correspondence between keywords and workflow identifications. The search engine unit 120 builds an index for each workflow stored in the first database unit 110 so that the workflow corresponding to the keyword can be retrieved through the index. Keywords are names of each workflow, or words contained in the names of the workflows, or synonyms of the contained words. The corresponding relation established between the vocabularies and the workflow identifications is the index of the workflow, each keyword can correspond to a plurality of workflow identifications, and each workflow identification can also correspond to a plurality of keywords. When the workflow configuration system 100 receives a keyword of a query workflow input by a user, the search engine unit 120 can quickly retrieve a workflow identifier corresponding to the keyword through indexing, send the workflow identifier to the first database unit 110, and send a workflow name of the workflow to the service interface unit 130.
The service interface unit 130 receives keywords from the client, acquires workflow identifications corresponding to the keywords from the search engine unit, acquires workflow information corresponding to the workflow identifications from the first database unit, and transmits the acquired workflow information to the client. The service interface unit 130 receives information from the client and transmits the information to the client. After receiving the keywords from the client, the service interface unit 130 sends the keywords to the search engine unit 120; the workflow name of the workflow retrieved by the search engine unit 120 and the workflow information retrieved by the first database unit 110 are received. And sending the name of the workflow and the corresponding workflow information to the client.
The first database unit 110 is further adapted to store node information, the node information comprising node identification, node executives and node action information, and the workflow information comprising one or more node information. Node information refers to information included by nodes in a workflow. The node identification in the node information refers to a unique identification of each node of the workflow, and the unique node can be determined through the node identification. A node executor refers to a body that a node performs, i.e., a completer of actions of the node. The node action information refers to information contained in an operation in the node when the node is executed, and specifically includes an object of the operation, a process of the operation, a time of the operation, and the like.
Returning to one workflow configuration system 100 shown in fig. 1, the search engine unit 120 is further adapted to index the node information stored in the first database unit 110, the index indicating a correspondence between keywords and node identifications. The search engine unit 120 establishes an index for each node stored in the first database unit 110 so that the node corresponding to the keyword can be retrieved through the index. The keyword may also be a name of each node, or a vocabulary contained in the node information and a synonym of the contained vocabulary in the name of the node. The corresponding relation established between the vocabularies and the workflow identifications is the index of the node, each node can correspond to a plurality of workflow identifications, and each workflow identification can also correspond to a plurality of nodes. When the workflow configuration system 100 receives the keywords of the nodes input by the user, the search engine unit 120 can quickly retrieve the node identifiers corresponding to the keywords through the index, send the node identifiers to the first database unit 110, and send the node names of the nodes to the service interface unit 130.
The service interface unit 130 receives the keyword from the client, acquires the node identification corresponding to the keyword from the search engine unit, acquires the node information corresponding to the node identification from the first database unit, and transmits the acquired node information to the client. After receiving the keywords from the client, the service interface unit 130 sends the keywords to the search engine unit 120; the node name of the node retrieved by the search engine unit 120 and the node information retrieved by the first database unit 110 are received. And sending the names of the nodes and the corresponding node information to the client.
In the workflow configuration system according to the present invention, a second database unit 140, a flow parsing unit 150, and a workflow design unit 160 are further included. The flow parsing unit 150 is coupled to the second database unit 140, and the workflow design unit 160 is coupled to the flow parsing unit 150 and the service interface unit 130.
The second database unit 140 is adapted to store a workflow file, which is a workflow file having a format that can be recognized by a computer, the workflow file having a format comprising: xml. The second database unit 140 includes an interface module and a database module. The interface module of the second database unit 140 receives and transmits information with the flow parsing unit 150 and the workflow execution unit 170 coupled with the second database module 140. The database module of the second database unit 170 can be implemented as a relational database. When the database module of the second database unit 170 is implemented as a relational database, the interface module can store the workflow file into the relational database using the ORM framework mybases.
The flow parsing unit 150 is adapted to receive the flow file from the workflow design unit 160, parse the flow file into a workflow file and workflow information, send the workflow information to the first database 110, and send the workflow file to the second database 140. After receiving the flow file, the flow parsing unit parses the flow file into workflow information and workflow file for storage in the first database 110 and the second database 140, respectively. Storing the workflow information in the first database 110 can facilitate indexing and retrieving the workflow information. Storing the separated workflow file in the second database 120 can facilitate direct execution of the workflow file.
The workflow design unit 160 is adapted to receive the user modified workflow information from the service interface unit 130, convert the workflow information into a flow file, and send the flow file to the flow parsing unit 150. After the service interface unit 130 sends the workflow retrieved according to the keyword and detailed information of the workflow to the customer service side, the user can edit the workflow at the client side. The user edits the image represented by the workflow file at the client, the image being in the form of a Microsoft visual illustration or the like. The workflow design unit 160 converts the workflow information modified by the user into a flow file according to the modification of the workflow by the user, and sends the flow file to the flow analysis unit 150.
In the workflow configuration system according to the present invention, a workflow execution unit 170, a scheduling unit 180, a monitoring unit 190, and a plug-in service unit 195 are further included, and the workflow execution unit 170 is coupled to the second database unit 140, the monitoring unit 180, the scheduling unit 190, and the plug-in service unit 195.
The workflow execution unit 170 is adapted to call the workflow file stored in the second database unit 140 and execute the workflow. The workflow execution unit may retrieve the workflow file from the second database unit 140 and execute the workflow in response to a request from the client to execute the workflow.
The monitoring unit 180 is adapted to monitor the situation of the workflow execution while the workflow execution unit 170 is executing the workflow. The condition of the workflow execution comprises the progress of the workflow execution and the state of the workflow execution, wherein the state of the workflow execution comprises executing, suspending the execution and finishing the execution. The workflow execution conditions collected by the monitoring unit can be fed back to the client, so that corresponding adjustment is made according to the workflow execution conditions.
The scheduling unit 190 is adapted to time each node executing the workflow and to time execution of subsequent nodes when the workflow is executed by the workflow execution unit 170. The node information of each node in the workflow also comprises one or more of the execution time of the node, the time upper limit of the node, and the time interval of the next node. The scheduling unit counts the time for executing each node, and executes the next node at fixed time according to the execution time of each node.
The plug-in service unit 195 is adapted to execute an event triggered by each node in the workflow when the workflow execution unit 170 executes the workflow; the plug-in service module comprises different plug-ins adapted to execute different events. The plug-in service module comprises different plug-ins adapted to execute different events. The plug-in service unit 195 provides for performing actions contained in nodes in the workflow when the workflow is executed. The actions included in the node include sending mail, sending short message, setting up reminder, etc.
FIG. 3 illustrates a block diagram of a computing device 300 according to an exemplary embodiment of the invention. As shown in FIG. 3, in a basic configuration 302, computing device 300 typically includes a system memory 306 and one or more processors 304. A memory bus 308 may be used for communication between the processor 304 and the system memory 306.
Depending on the desired configuration, processor 304 may be any type of processing, including, but not limited to: a microprocessor (μp), a microcontroller (μc), a digital information processor (DSP), or any combination thereof. Processor 304 may include one or more levels of cache, such as a first level cache 310 and a second level cache 312, a processor core 314, and registers 316. The example processor core 314 may include an Arithmetic Logic Unit (ALU), a Floating Point Unit (FPU), a digital signal processing core (DSP core), or any combination thereof. The example memory controller 318 may be used with the processor 304 or, in some implementations, the memory controller 318 may be an internal part of the processor 304.
Depending on the desired configuration, system memory 306 may be any type of memory including, but not limited to: volatile memory (such as RAM), non-volatile memory (such as ROM, flash memory, etc.), or any combination thereof. The system memory 306 may include an operating system 320, one or more programs 322, and program data 324. In some implementations, the program 322 may be arranged to execute instructions on an operating system by the one or more processors 304 using the program data 324.
Computing device 300 may also include an interface bus 340 that facilitates communication from various interface devices (e.g., output devices 342, peripheral interfaces 344, and communication devices 346) to basic configuration 302 via bus/interface controller 330. The example output device 342 includes a graphics processing unit 348 and an audio processing unit 350. They may be configured to facilitate communication with various external devices such as a display or speakers via one or more a/V ports 332. Example peripheral interfaces 344 may include a serial interface controller 354 and a parallel interface controller 356, which may be configured to facilitate communication via one or more I/O ports 358 and external devices, such as input devices (e.g., keyboard, mouse, pen, voice input device, touch input device) or other peripheral devices (e.g., printer, scanner, etc.). The example communication device 346 may include a network controller 360, which may be arranged to facilitate communication with one or more other computing devices 362 via one or more communication ports 364 over a network communication link.
The network communication link may be one example of a communication medium. Communication media may typically be embodied by computer readable instructions, data structures, program modules, and may include any information delivery media in a modulated data signal, such as a carrier wave or other transport mechanism. A "modulated data signal" may be a signal that has one or more of its data set or changed in such a manner as to encode information in the signal. By way of non-limiting example, communication media may include wired media such as a wired network or special purpose network, and wireless media such as acoustic, radio Frequency (RF), microwave, infrared (IR) or other wireless media. The term computer readable media as used herein may include both storage media and communication media.
In computing device 300 according to the present invention, application 322 includes program instructions that execute a workflow configuration method 400 that may instruct processor 304 to perform some of the steps of a workflow configuration method 400 of the present invention so that computing device 300 retrieves and configures a workflow by executing a workflow configuration method 400 of the present invention.
Computing device 300 may be implemented as a server, such as a file server, database server, application server, etc., which may be, for example, a Personal Digital Assistant (PDA), a wireless web-browsing device, an application-specific device, or a hybrid device that may include any of the above functions. May be implemented as a personal computer including desktop and notebook computer configurations, and in some embodiments, the computing device 300 is configured to perform a workflow configuration method 400.
Fig. 4 illustrates a flow chart of a workflow configuration method 400 according to one embodiment of the invention. The method 400 is adapted to be performed in a workflow configuration system, such as 100 in a workflow configuration system. As shown in fig. 4, the workflow formulation method 400 begins at step S410.
In step S410, the service interface unit 130 receives the keyword from the client and transmits the keyword to the search engine unit 120. Keywords are names of each workflow, or words contained in the names of the workflows, or synonyms of the contained words. The corresponding relation established between the vocabularies and the workflow identifications is the index of the workflow, each keyword can correspond to a plurality of workflow identifications, and each workflow identification can also correspond to a plurality of keywords.
Subsequently, step S420 is performed, and the search engine unit 120 establishes an index for the workflow information and the node information stored in the first database unit 110, the index indicating a correspondence between the keyword and the workflow identification or the node identification. The workflow information includes workflow identification, association information between the workflow and other workflows. The workflow identifier refers to a unique identifier of each workflow, and the unique workflow can be determined through the workflow identifier. The association information between the workflow and other workflows refers to the flow direction relationship between the workflows and the workflows.
Subsequently, step S430 is performed, and the service interface unit 130 acquires the workflow identification or the node identification corresponding to the keyword from the search engine unit 120, acquires the workflow information or the node information corresponding to the workflow identification from the first database unit 110, and transmits the acquired workflow information or node information to the client.
Fig. 5 shows a flow chart of a workflow configuration method 500 according to a further embodiment of the invention. The method 500 is suitable for execution in a workflow configuration system, such as 100 in a workflow configuration system. As shown in fig. 5, the workflow formulation method 500 begins at step S510.
In step S510, the workflow design unit 160, the flow parsing unit 150, and the second database unit 140 are provided.
Subsequently, step S520 is performed, and the workflow design unit 160 receives the user-modified workflow information from the service interface unit 130, converts the workflow information into a flow file, and transmits the flow file to the flow parsing unit 150. The user can edit the workflow at the client, and the user can edit the image represented by the workflow file at the client, wherein the image form comprises Microsoft visual illustration and the like. The workflow design unit 160 converts the workflow information modified by the user into a flow file according to the modification of the workflow by the user, and sends the flow file to the flow analysis unit 150.
Subsequently, step S530 is performed, and the flow parser 150 parses the flow file into a workflow file and workflow information, and transmits the workflow information to the first database unit 110, and the workflow file to the second database unit 140. Storing the workflow information in the first database 110 can facilitate indexing and retrieving the workflow information. Storing the separated workflow file in the second database 120 can facilitate direct execution of the workflow file.
The various techniques described herein may be implemented in connection with hardware or software or, alternatively, with a combination of both. Thus, the methods and apparatus of the present invention, or certain aspects or portions of the methods and apparatus of the present invention, may take the form of program code (i.e., instructions) embodied in tangible media, such as removable hard drives, U-drives, floppy diskettes, CD-ROMs, or any other machine-readable storage medium, wherein, when the program is loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing the invention.
In the case of program code execution on programmable computers, the computing device will generally include a processor, a storage medium readable by the processor (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device. Wherein the memory is configured to store program code; the processor is configured to perform the method of the invention in accordance with instructions in said program code stored in the memory.
By way of example, and not limitation, readable media comprise readable storage media and communication media. The readable storage medium stores information such as computer readable instructions, data structures, program modules, or other data. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. Combinations of any of the above are also included within the scope of readable media.
In the description provided herein, algorithms and displays are not inherently related to any particular computer, virtual system, or other apparatus. Various general-purpose systems may also be used with examples of the invention. The required structure for a construction of such a system is apparent from the description above. In addition, the present invention is not directed to any particular programming language. It will be appreciated that the teachings of the present invention described herein may be implemented in a variety of programming languages, and the above description of specific languages is provided for disclosure of enablement and best mode of the present invention.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be construed as reflecting the intention that: i.e., the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules or units or components of the devices in the examples disclosed herein may be arranged in a device as described in this embodiment, or alternatively may be located in one or more devices different from the devices in this example. The modules in the foregoing examples may be combined into one module or may be further divided into a plurality of sub-modules.
Those skilled in the art will appreciate that the modules in the apparatus of the embodiments may be adaptively changed and disposed in one or more apparatuses different from the embodiments. The modules or units or components of the embodiments may be combined into one module or unit or component and, furthermore, they may be divided into a plurality of sub-modules or sub-units or sub-components. Any combination of all features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or units of any method or apparatus so disclosed, may be used in combination, except insofar as at least some of such features and/or processes or units are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings), may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
The invention may further include: the workflow configuration system of A7, A6, further comprising: and the scheduling unit is coupled to the workflow execution unit and is suitable for timing each node for executing the workflow and executing the subsequent nodes at regular time when the workflow execution unit executes the workflow.
A8, a workflow configuration system as described in A7, further comprising: a plug-in service unit coupled to the workflow execution unit, adapted to execute an event triggered by each node in the workflow when the workflow execution unit executes the workflow; the plug-in service unit comprises different plug-ins adapted to execute different events.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features but not others included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments can be used in any combination.
Furthermore, some of the embodiments are described herein as methods or combinations of method elements that may be implemented by a processor of a computer system or by other means of performing the functions. Thus, a processor with the necessary instructions for implementing the described method or method element forms a means for implementing the method or method element. Furthermore, the elements of the apparatus embodiments described herein are examples of the following apparatus: the apparatus is for carrying out the functions performed by the elements for carrying out the objects of the invention.
As used herein, unless otherwise specified the use of the ordinal terms "first," "second," "third," etc., to describe a general object merely denote different instances of like objects, and are not intended to imply that the objects so described must have a given order, either temporally, spatially, in ranking, or in any other manner.
While the invention has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of the above description, will appreciate that other embodiments are contemplated within the scope of the invention as described herein. Furthermore, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter. Accordingly, many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the appended claims. The disclosure of the present invention is intended to be illustrative, but not limiting, of the scope of the invention, which is defined by the appended claims.
Claims (9)
1. A workflow configuration system, comprising:
a first database unit adapted to store workflow information including a workflow identifier, association information between the workflow and other workflows, the association information between the workflow and other workflows referring to a flow direction relationship between the workflow and the workflows, and node information including a node identifier, a node executor, and node action information, and the workflow information including one or more node information;
the search engine unit is coupled to the first database unit and is suitable for establishing an index for workflow information stored in the first database unit, wherein the index indicates the corresponding relation between the keywords and the workflow identifications, and is also suitable for establishing an index for the node information, and the index indicates the corresponding relation between the keywords and the node identifications;
a service interface unit coupled to the first database unit and the search engine unit, adapted to receive a keyword from a client, acquire a workflow identification corresponding to the keyword from the search engine unit, and acquire workflow information corresponding to the workflow identification from the first database unit and transmit the acquired workflow information to the client, and further adapted to acquire a node identification corresponding to the keyword from the search engine unit, acquire node information corresponding to the node identification from the first database unit, and transmit the acquired node information to the client;
a second database unit adapted to store workflow files;
the flow analysis unit is coupled to the first database unit and the second database unit and is suitable for analyzing a flow file, analyzing the flow file into the workflow file and the workflow information, sending the workflow information to the first database unit and sending the workflow file to the second database unit;
and the workflow design unit is coupled to the flow analysis unit and the service interface unit and is suitable for receiving the workflow information modified by the user from the service interface unit, converting the workflow information into a flow file and transmitting the flow file to the flow analysis unit.
2. The workflow configuration system of claim 1, wherein the first database unit and the second database unit each comprise an interface module and a database module;
the interface module is suitable for receiving and transmitting information by a module coupled with the database unit;
the database module of the first database unit is a graph database;
the database module of the second database unit is a relational database.
3. The workflow configuration system of claim 2, further comprising:
a workflow execution unit coupled to the second database unit, the workflow execution unit adapted to invoke a workflow file stored in the second database unit and execute the workflow.
4. The workflow configuration system of claim 3, further comprising:
and the monitoring unit is coupled to the workflow execution unit and is suitable for monitoring the execution condition of the workflow when the workflow execution unit executes the workflow.
5. The workflow configuration system of claim 4, further comprising:
and the scheduling unit is coupled to the workflow execution unit and is suitable for timing each node for executing the workflow and executing the subsequent nodes at regular time when the workflow execution unit executes the workflow.
6. The workflow configuration system of claim 5, further comprising:
a plug-in service unit coupled to the workflow execution unit, adapted to execute an event triggered by each node in the workflow when the workflow execution unit executes the workflow;
the plug-in service unit comprises different plug-ins adapted to execute different events.
7. A workflow configuration method adapted to be run in a workflow configuration system according to any of the claims 1-6, the workflow configuration system comprising a first database unit, a search engine unit and a service interface unit, the method comprising:
the service interface unit receives keywords from the client and sends the keywords to the search engine unit;
the search engine unit establishes an index for workflow information and node information stored in the first database unit, wherein the index indicates a corresponding relation between keywords and workflow identifications or node identifications, the first database unit also stores association information between the workflow and other workflows, the association information between the workflow and other workflows is a flow direction relation between the workflow and the workflows, the node information comprises node identifications, node executors and node action information, and the workflow information comprises one or more node information;
the service interface unit obtains workflow identification or node identification corresponding to the keyword from the search engine unit, obtains workflow information or node information corresponding to the workflow identification from the first database unit, and sends the obtained workflow information or node information to the client;
providing a workflow design unit, a flow analysis unit and a second database unit;
the workflow design unit receives the workflow information modified by the user from the service interface unit, converts the workflow information into a flow file, and sends the flow file to the flow analysis unit;
the flow parser parses the flow file into a workflow file and the workflow information, sends the workflow information to the first database unit, and sends the workflow file to the second database unit.
8. A computing device, comprising:
at least one processor; and
at least one memory including computer program instructions;
the at least one memory and the computer program instructions are configured to, with the at least one processor, cause the computing device to perform the method of claim 7.
9. A readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a computing device, cause the computing device to perform the method of claim 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010022611.1A CN111241100B (en) | 2020-01-09 | 2020-01-09 | Workflow configuration system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010022611.1A CN111241100B (en) | 2020-01-09 | 2020-01-09 | Workflow configuration system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111241100A CN111241100A (en) | 2020-06-05 |
CN111241100B true CN111241100B (en) | 2024-03-01 |
Family
ID=70864205
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010022611.1A Active CN111241100B (en) | 2020-01-09 | 2020-01-09 | Workflow configuration system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111241100B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11618160B2 (en) | 2021-03-26 | 2023-04-04 | UiPath, Inc. | Integrating robotic process automations into operating and software systems |
CN113792077B (en) * | 2021-09-17 | 2023-06-06 | 易保网络技术(上海)有限公司 | Data processing method, program product, readable medium and electronic device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106055676A (en) * | 2016-06-03 | 2016-10-26 | 电子科技大学 | Data source tracing method and system based on big data model analysis platform |
CN106897808A (en) * | 2015-12-17 | 2017-06-27 | 北京奇虎科技有限公司 | A kind of workflow creation method and apparatus |
CN107644286A (en) * | 2017-08-15 | 2018-01-30 | 上海艾融软件股份有限公司 | Workflow processing method and device |
US9898471B1 (en) * | 2015-08-14 | 2018-02-20 | VCE IP Holding LLC | Computer implemented system and method, and computer program product, for generic source control for orchestration workflows |
-
2020
- 2020-01-09 CN CN202010022611.1A patent/CN111241100B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9898471B1 (en) * | 2015-08-14 | 2018-02-20 | VCE IP Holding LLC | Computer implemented system and method, and computer program product, for generic source control for orchestration workflows |
CN106897808A (en) * | 2015-12-17 | 2017-06-27 | 北京奇虎科技有限公司 | A kind of workflow creation method and apparatus |
CN106055676A (en) * | 2016-06-03 | 2016-10-26 | 电子科技大学 | Data source tracing method and system based on big data model analysis platform |
CN107644286A (en) * | 2017-08-15 | 2018-01-30 | 上海艾融软件股份有限公司 | Workflow processing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN111241100A (en) | 2020-06-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109902105B (en) | Data query system, method, device and storage medium for micro-service architecture | |
CN109947789B (en) | Method, device, computer equipment and storage medium for processing data of multiple databases | |
US7788213B2 (en) | System and method for a multiple disciplinary normalization of source for metadata integration with ETL processing layer of complex data across multiple claim engine sources in support of the creation of universal/enterprise healthcare claims record | |
US9122746B2 (en) | Executing structured queries on unstructured data | |
CN110196888B (en) | Hadoop-based data updating method, device, system and medium | |
US20080306984A1 (en) | System and method for semantic normalization of source for metadata integration with etl processing layer of complex data across multiple data sources particularly for clinical research and applicable to other domains | |
CN109656963B (en) | Metadata acquisition method, apparatus, device and computer readable storage medium | |
CN111627552B (en) | Medical streaming data blood-edge relationship analysis and storage method and device | |
US8671103B2 (en) | Method for semantic service registration and query based on WordNet | |
US20040267719A1 (en) | System and method for managed database query pre-optimization | |
CN111241100B (en) | Workflow configuration system and method | |
JP5624674B2 (en) | How to improve queries for searching databases | |
WO2007085187A1 (en) | Method of data retrieval, method of generating index files and search engine | |
CN113934868A (en) | Government affair big data management method and system | |
CN101055566B (en) | Function collection method and device of electronic data table | |
US20140244671A1 (en) | Semantic reflection storage and automatic reconciliation of hierarchical messages | |
JP5266975B2 (en) | Personal search system, information processing apparatus, personal search method, program, and recording medium | |
CN113377791A (en) | Data processing method, system and computing equipment | |
CN111159213A (en) | Data query method, device, system and storage medium | |
CN113641472A (en) | Method and device for realizing different conversion and same sharing of distributed application | |
US20040039755A1 (en) | Metadata relationships | |
CN117421333A (en) | Enterprise document library construction and retrieval method and system | |
CN103092574B (en) | A kind of based on recurrence autonomous type complex task decomposing system and method | |
CN113779231B (en) | Knowledge graph-based big data visual analysis method, device and equipment | |
JP2002014971A (en) | Extracting device of information on person related with designated word and computer readable recording medium with recorded extraction program of information on person related with designated word |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |