CN116185425B - Event flow arrangement method, device, equipment and medium based on node combination - Google Patents

Event flow arrangement method, device, equipment and medium based on node combination Download PDF

Info

Publication number
CN116185425B
CN116185425B CN202310288946.1A CN202310288946A CN116185425B CN 116185425 B CN116185425 B CN 116185425B CN 202310288946 A CN202310288946 A CN 202310288946A CN 116185425 B CN116185425 B CN 116185425B
Authority
CN
China
Prior art keywords
node
flow
target node
checking
target
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
Application number
CN202310288946.1A
Other languages
Chinese (zh)
Other versions
CN116185425A (en
Inventor
陶晓宝
庄建伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Fengzhiding Information Technology Co ltd
Original Assignee
Suzhou Fengzhiding Information Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Suzhou Fengzhiding Information Technology Co ltd filed Critical Suzhou Fengzhiding Information Technology Co ltd
Priority to CN202310288946.1A priority Critical patent/CN116185425B/en
Publication of CN116185425A publication Critical patent/CN116185425A/en
Application granted granted Critical
Publication of CN116185425B publication Critical patent/CN116185425B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • Human Resources & Organizations (AREA)
  • General Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Marketing (AREA)
  • Data Mining & Analysis (AREA)
  • Economics (AREA)
  • Software Systems (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Stored Programmes (AREA)

Abstract

The application provides an event flow arrangement method, device, equipment and medium based on node combination, and relates to the technical field of computer application. When the method is used for arranging the event flow, the corresponding flow node is selected from the preset flow node library to serve as the target node, so that the rapid arrangement of the event flow can be realized, a developer only needs to select the corresponding flow node to arrange the event flow according to actual requirements, programming of the flow node and the flow component is not needed, and the difficulty and the requirement of the event arrangement are reduced; and then, according to the node relation among the selected target nodes, arranging each flow component in the event flow and the association relation of each flow component, thereby forming the current event flow, ensuring that the arrangement of the event flow is simpler, more convenient and quicker, and improving the arrangement efficiency of the event flow.

Description

Event flow arrangement method, device, equipment and medium based on node combination
Technical Field
The present disclosure relates to the field of computer applications, and in particular, to a method, an apparatus, a device, and a medium for scheduling an event flow based on node combination.
Background
In the low code, a data model and a drag page exist, and the development and online of the application are completed by writing a small amount of codes. On this basis, a business process module is needed to be used as an adhesive for pages and data, and functions are allowed to run according to the established business logic, namely an event process module.
In the event flow, mainly the arrangement of business logic, the binding of events, the interaction of UI and the interaction with a third party system are carried out. The event flow can be divided into a built-in flow and a configuration flow which are respectively used for different scenes, so that the operation of a user is simplified, and the cost is reduced. If the query and the process are split into interaction with a data model, data binding and UI interaction rendering, the process is continuously optimized for simplifying the operation, so that the event process is more suitable for the service requirement, and the operations such as cohesive decoupling, splitting and recombination are performed.
In event flow scheduling, the main flow is divided into two types, namely drag node scheduling and code scheduling, and currently, a code scheduling mode is mainly adopted, but the mode requires a developer to have a partial development foundation; meanwhile, in the version iteration process, the problem of compatibility of different versions caused by grammar logic change can occur. The continuous downward compatibility causes a series of problems of project bloated, code redundancy, poor maintainability, frequent errors and the like, and the arrangement efficiency of the event flow is low.
Therefore, how to solve the problem of low scheduling efficiency of the current event flow is a technical problem to be solved.
Disclosure of Invention
The application provides an event flow arrangement method, device and equipment based on node combination and a storage medium, aiming at improving the event flow arrangement efficiency.
In a first aspect, the present application provides a method for scheduling an event flow based on node combination, the method comprising:
acquiring a flow node library based on an event flow scheduling instruction, wherein the flow node library comprises at least one preset flow node;
selecting at least one flow node in the flow node library as a target node based on a node selection instruction;
and arranging at least one flow component corresponding to each target node based on the node relation of each target node, and generating a current event flow.
Further, the step of arranging at least one flow component corresponding to each target node based on the node relation of each target node, before generating the current event flow, further includes:
checking the validity of each target node based on a preset checking rule;
and executing the arrangement operation of the flow components corresponding to each target node when the validity check of each target node passes.
Further, after checking the validity of each target node based on the preset checking rule, the method further includes:
marking abnormal target nodes as abnormal nodes when the validity of each target node is checked to be abnormal;
generating abnormal reminding information based on the abnormal nodes, wherein the abnormal reminding information comprises abnormal node information and abnormal reasons;
and ending the task arrangement of the current event flow or executing the modification operation on the abnormal node based on the operation instruction fed back by the user according to the abnormal reminding information.
Further, the preset checking rules comprise node checking and global checking.
Further, the checking the validity of each target node based on the preset checking rule includes:
checking validity of a base attribute of the target node based on the node check;
based on the global check, checking the validity of execution data of each target node, wherein the execution data comprises associated resource data, expressions, node relations and associated components.
Further, the step of arranging at least one flow component corresponding to each target node based on the node relation of each target node to generate a current event flow includes:
based on the association relation of at least one target node and each target node, obtaining the association relation of at least one flow component and each flow component;
and executing component arrangement operation based on the flow components and the association relation of the flow components, and generating the current event flow.
Further, the step of arranging at least one flow component corresponding to each target node based on the node relation of each target node, and after generating the current event flow, further includes:
executing node circulation operation of the current event flow based on the event flow circulation instruction;
and based on the node circulation operation of the current event flow, circulating the current event flow from the starting node of the current event flow to other flow nodes in turn until the circulation is completed to the ending node or an abnormal flow is triggered, and ending the node circulation operation of the current event flow.
In a second aspect, the present application further provides a node combination-based event flow arrangement method apparatus, where the node combination-based event flow arrangement method apparatus includes:
the flow scheduling execution module is used for acquiring a flow node library based on the event flow scheduling instruction, wherein the flow node library comprises at least one preset flow node;
the target node selection module is used for selecting at least one flow node in the flow node library as a target node based on a node selection instruction;
the event flow generation module is used for arranging at least one flow component corresponding to each target node based on the node relation of each target node to generate a current event flow.
In a third aspect, the present application further provides a computer device comprising a processor, a memory, and a computer program stored on the memory and executable by the processor, wherein the computer program when executed by the processor implements the steps of the node combination based event flow orchestration method described above.
In a fourth aspect, the present application further provides a computer readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the node combination based event flow orchestration method described above.
The application provides an event flow arranging method, device, equipment and storage medium based on node combination, wherein the method comprises the steps of obtaining a flow node library based on an event flow arranging instruction, wherein the flow node library comprises at least one preset flow node; selecting at least one flow node in the flow node library as a target node based on a node selection instruction; and arranging at least one flow component corresponding to each target node based on the node relation of each target node, and generating a current event flow. By the method, when the event flow is arranged, the corresponding flow node is selected from the preset flow node library and used as the target node, so that the rapid arrangement of the event flow can be realized, a developer only needs to select the corresponding flow node to arrange the event flow according to actual requirements, programming of the flow node and the flow component is not needed, and the difficulty and the requirement of the event arrangement are reduced; and then, according to the node relation among the selected target nodes, arranging each flow component in the event flow and the association relation of each flow component, thereby forming the current event flow, ensuring that the arrangement of the event flow is simpler, more convenient and quicker, and improving the arrangement efficiency of the event flow.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic illustration of a node-based event flow orchestration system according to embodiments of the present application;
fig. 2 is a flow diagram of a first embodiment of an event flow arrangement method based on node combination provided in the present application;
FIG. 3 is a flow chart of a second embodiment of a node combination based event flow arrangement method provided in the present application;
FIG. 4 is a schematic flow diagram of node inspection of the event flow orchestration method provided herein;
FIG. 5 is a schematic structural diagram of an event flow arrangement device based on node combination provided in the present application;
fig. 6 is a schematic block diagram of a computer device according to an embodiment of the present application.
The realization, functional characteristics and advantages of the present application will be further described with reference to the embodiments, referring to the attached drawings.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The flow diagrams depicted in the figures are merely illustrative and not necessarily all of the elements and operations/steps are included or performed in the order described. For example, some operations/steps may be further divided, combined, or partially combined, so that the order of actual execution may be changed according to actual situations.
Some embodiments of the present application are described in detail below with reference to the accompanying drawings. The following embodiments and features of the embodiments may be combined with each other without conflict.
As shown in fig. 1, fig. 1 is a schematic diagram of an event flow arrangement system based on node combination according to an embodiment of the present application, where the system includes a terminal and a server, the terminal is communicatively connected to the server, and the server is communicatively connected to a flow arrangement database.
The terminal comprises electronic equipment such as a mobile phone, a tablet personal computer, a notebook computer, a desktop computer, a personal digital assistant, wearable equipment and the like.
Wherein the server comprises a single server or a cluster of servers.
Hereinafter, the event flow scheduling system based on the node combination will be described in detail with respect to the event flow scheduling method based on the node combination provided in the embodiment of the present application.
Referring to fig. 2, fig. 2 is a flow chart of a first embodiment of an event flow arrangement method based on node combination provided in the present application. The event flow arrangement method based on the node combination can be used in a server of an event flow arrangement system based on the node combination.
As shown in fig. 2, the event flow arrangement method based on the node combination includes steps S101 to S103.
Step S101, acquiring a flow node library based on an event flow scheduling instruction, wherein the flow node library comprises at least one preset flow node;
in an embodiment, according to the application of the event flow arrangement, the flow nodes involved in the event flow arrangement process can be categorized and summarized, so that a flow node library is generated, and the node search and quick access of the subsequent event flow arrangement are facilitated.
In an embodiment, the process nodes may be divided into model application class process nodes, base application class process nodes, and tool class process nodes.
By way of example, model application class flow nodes may include executing model method nodes, querying model data nodes, querying individual nodes, saving nodes, deleting nodes, saving model relationship nodes, deleting relationship nodes, and the like.
The execution method node is used for calling a model sdk method and executing background operation; the query model node is used for calling a built-in query method of the model and performing query operation on model data and model relation data; the single query node is used for querying the single-picking model data; the storage node is used for newly adding and modifying model data; the deleting node is used for deleting the model data; the storage model relation node is used for adding and modifying model relation data; the delete relationship node is used to delete the model relationship data.
Illustratively, the base application class flow node may include a judgment, a prompt box, a page, a dialog box, a close, binding data, a setup component, an acquisition focus, a verification component, and the like.
Judging logic for determining which branch to walk under the condition that the flow branches; the prompt box is used for prompting the page by some simple messages; the page is used for opening the page to jump and simultaneously performing parameter transfer operation; the dialog box is used for displaying the dialog box in the page and simultaneously performing parameter transfer operation; closing a page or dialog box for closing an open page; binding data for binding the calculated data to elements on the page in the event stream; the setting component is used for controlling partial operations of the component in the process, such as page turning, clearing, paging device setting and the like of the form data; the acquisition focus is used for enabling the page element to acquire the focus, so that the operation can be directly performed; the verification component is used for triggering input verification of the page control.
By way of example, tool class flow nodes may include call flows, call services, connectors, algorithms, periodic tasks, component methods, js scripts, printing, downloading, logging in, three-way logging in, logging out, and so forth.
The call flow node is used for processing call of other flows in the flows, so that recursive logic is achieved, and multiplexing of the flows can be realized; the calling service is used for calling a service flow interface; the connector is used for interacting with data of a third party and connecting an intermediate layer of various data of the third party; the algorithm is used for calling the written python algorithm, making some intelligent prediction recognition and other advanced functions, and supporting an online editing algorithm; the periodic task is used for processing tasks needing to be circulated; the component method is used for calling a method built in the page element component, and then performing certain operation on the page element; the js script is used for supporting writing the js script to process a part of complex business logic, and perfecting the built-in part which cannot be processed; the printing is used for calling a browser printing drive to generate a good pdsf file through built-in template filling printing or printing through sdk; downloading is used for a file downloading function; the login is used for making a login function through an event stream and is used for a user to customize a login page; the three-party login is used for interfacing with enterprise WeChat, the nail login and supporting the login by using enterprise WeChat or nail account; the log-out is used for forcing a system log-out operation in the process.
Step S102, selecting at least one flow node in the flow node library as a target node based on a node selection instruction;
in an embodiment, a developer may select, in a visual development interface, a flow node in a flow node library in a dragging manner according to an actual requirement of an event flow, as a target node for editing a current event flow.
For example, after a target node is selected, the flow node library may display other nodes that may be used with the target node, and shield other flow nodes that have conflicts or no association, so as to reduce the node unavailability problem caused by the problems such as the conflict of the flow nodes, and improve the arrangement efficiency.
Illustratively, after a target node is selected, the role and purpose of the target node, as well as the desire for the next node, may be annotated so that developers more easily comb through the purpose and implementation of the entire event flow.
Step 103, arranging at least one flow component corresponding to each target node based on the node relation of each target node, and generating a current event flow.
In an embodiment, the node relationship of the target node may map the node relationship of the flow component formed by the target node, so that the flow component may be arranged according to the node relationship of the target node, thereby generating the current event flow.
For example, the judging node may include two results, yes and no, and if yes, the flow node may continue to flow to the next node, and if no, the next node may be the ending node, so when two branches exist in the next component of the corresponding component of the judging node, the corresponding branches need to be arranged according to different judging results.
Further, based on the embodiment shown in fig. 2, step S103 specifically further includes:
based on the association relation of at least one target node and each target node, obtaining the association relation of at least one flow component and each flow component;
and executing component arrangement operation based on the flow components and the association relation of the flow components, and generating the current event flow.
In one embodiment, a single target node may be a flow component, but a plurality of different target nodes may be used in combination to form a flow component. Different permutation and combination can cover the conventional service development requirement, support the extension, can arrange fast and high-efficient.
By way of example, the page query binding table data component may include a query model data node and a data binding node; the save data component may include validation, js script (data processing), save data node, prompt box, etc.; the print file component may include data binding, execution method (return to generate pdf), print node, prompt box, and so forth.
The embodiment of the application provides a time flow arranging method based on node combination, which selects corresponding flow nodes from a preset flow node library as target nodes when arranging event flows, so that the rapid arrangement of the event flows can be realized, a developer only needs to select the corresponding flow nodes to arrange the event flows according to actual requirements, programming of the flow nodes and flow components is not needed, and the difficulty and the requirement of the event arrangement are reduced; and then, according to the node relation among the selected target nodes, arranging each flow component in the event flow and the association relation of each flow component, thereby forming the current event flow, ensuring that the arrangement of the event flow is simpler, more convenient and quicker, and improving the arrangement efficiency of the event flow.
Referring to fig. 3, fig. 3 is a flow chart of a second embodiment of an event flow arrangement method based on node combination according to an embodiment of the present application.
In this embodiment, based on the embodiment shown in fig. 2, before step S103, the method specifically further includes:
step S201, checking the validity of each target node based on a preset checking rule;
in an embodiment, the preset check rules include a node check and a global check.
The node inspection is used for real-time inspection in each node editing process; the global check is used for checking the validity of all nodes of the current process and checking whether the connection of all nodes meets the current specification when the current event process is saved and opened.
Further, based on the node inspection, checking validity of the base attribute of the target node; based on the global check, checking the validity of execution data of each target node, wherein the execution data comprises associated resource data, expressions, node relations and associated components.
In one embodiment, initiating a check item while running a current event flow includes: node basic attribute checking (such as whether a necessary filling parameter is configured or not), page link validity checking, node configuration spel expression validity checking, model relation validity checking, page variable validity checking, script grammar error checking, associated component validity checking, service validity checking, algorithm validity checking, connector validity checking, file validity checking and the like.
Exemplary inspection procedures may include, but are not limited to:
1) Checking whether the node configuration environment is matched with the current environment or not and whether upgrading is needed or not;
2) Checking whether the event flow associated page element component is valid, such as whether the component exists;
3) Firstly, checking from a root node through a node data structure by adopting breadth-first search, and checking whether the node is legal, whether configuration is necessary to be filled or not, and whether a mutual exclusion condition exists in a branch or not;
4) Checking whether the associated return value exists and is true and effective, for example, executing a model method, and checking whether the return values of the method and the flow in the model are consistent;
5) Accessing the associated resource, and checking whether the resource is valid;
6) The node configuration spel expression is analyzed, the expression is valid, and no grammar error exists. Checking whether the expression associated page variable, the temporary variable and the built-in variable are valid, and whether the variable data type is correct, or not, if the expression associated model is legal and valid, the expression supports the built-in requestData variable, and if the expression is not the page loading flow, the failure is checked;
7) Checking algorithm, characteristic node resources such as connectors, algorithm validity, algorithm compiling validity, whether algorithm parameters are legal, connector validity, connector connectivity, connector data conversion and connector association model.
Step S202, executing the arrangement operation of the flow component corresponding to each target node when the validity check of each target node passes.
In an embodiment, as shown in fig. 4, when the validity check of the target node passes, the current event flow can be realized by illustrating the current node arrangement mode, and the arrangement of the flow components can be executed, so as to generate the current event flow.
Further, as shown in fig. 3, after the step S201, the method further includes:
step S203, marking the abnormal target node as an abnormal node when the validity of each target node is checked to be abnormal;
in an embodiment, as shown in fig. 4, when it is detected that the validity of the target node is abnormal, the abnormal node may be marked so as to facilitate a developer to quickly check, without representing that the current event flow programming task ends.
Step S204, generating abnormal reminding information based on the abnormal nodes, wherein the abnormal reminding information comprises abnormal node information and abnormal reasons;
in an embodiment, for the abnormal node, the detected abnormal point can be displayed while marked, and the abnormal point is displayed, so that a developer can conveniently and quickly locate reasons causing the abnormality, such as mismatching of configuration environments, existence of mutually exclusive flow nodes, algorithm errors, invalid associated resources and the like.
Step S205, based on the operation instruction fed back by the user according to the abnormal reminding information, ending the scheduling task of the current event flow or executing the modification operation on the abnormal node.
In an embodiment, a developer can quickly locate an abnormality reason according to the feedback abnormality reminding information, and avoid checking each flow node, so that the abnormal node can be operated in a targeted manner.
Illustratively, the developer may choose to end the orchestration task of the current event flow, may choose to modify the abnormal node, such as to delete the abnormal node, or choose other flow nodes to replace the abnormal node.
Further, based on the embodiment shown in fig. 2, after step S103, the method specifically further includes:
executing node circulation operation of the current event flow based on the event flow circulation instruction;
and based on the node circulation operation of the current event flow, circulating the current event flow from the starting node of the current event flow to other flow nodes in turn until the circulation is completed to the ending node or an abnormal flow is triggered, and ending the node circulation operation of the current event flow.
In an embodiment, after the arrangement of the current event flow is completed, the event flow may be triggered in the function page, and according to the arranged event flow, the current event flow flows downwards from the starting node according to the connection until the current event flow goes to the ending node or the abnormal logic is triggered to enter the prefabricated abnormal flow, so as to end the flow.
In an embodiment, the event flow is transferred from the start node to the end node, so that each node of the event flow can be considered to have no abnormality and can be directly applied, and if the abnormality logic is triggered, the event flow can be ended, and the event flow is transferred to the marked abnormal node and the node arrangement interface, and the abnormality processing flow is executed on the abnormal node.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a node-combination-based event flow arrangement device provided in the present application, where the node-combination-based event flow arrangement device is configured to execute the foregoing node-combination-based event flow arrangement method. The event flow arrangement device based on the node combination can be configured in a server.
As shown in fig. 5, the node combination-based event flow arrangement apparatus 300 includes: a flow orchestration execution module 301, a target node selection module 302, and an event flow generation module 303.
The process scheduling execution module 301 is configured to obtain a process node library based on an event process scheduling instruction, where the process node library includes at least one preset process node;
a target node selection module 302, configured to select at least one of the flow nodes in the flow node library as a target node based on a node selection instruction;
the event flow generating module 303 is configured to schedule at least one flow component corresponding to each target node based on a node relationship of each target node, so as to generate a current event flow.
In one embodiment, the node combination-based event flow arrangement device 300 further includes a node validity checking module, configured to check validity of each target node based on a preset checking rule; and executing the arrangement operation of the flow components corresponding to each target node when the validity check of each target node passes.
In one embodiment, the node validity checking module is further configured to, when the validity of each target node checks for an exception, mark the abnormal target node as an exception node; generating abnormal reminding information based on the abnormal nodes, wherein the abnormal reminding information comprises abnormal node information and abnormal reasons; and ending the task arrangement of the current event flow or executing the modification operation on the abnormal node based on the operation instruction fed back by the user according to the abnormal reminding information.
In one embodiment, the preset check rules include a node check and a global check.
In one embodiment, the node validity checking module is further configured to check validity of the base attribute of the target node based on the node check; based on the global check, checking the validity of execution data of each target node, wherein the execution data comprises associated resource data, expressions, node relations and associated components.
In one embodiment, the event flow generating module 303 is further configured to obtain an association relationship between at least one flow component and each flow component based on the association relationship between at least one target node and each target node; and executing component arrangement operation based on the flow components and the association relation of the flow components, and generating the current event flow.
In one embodiment, the node combination-based event flow arrangement device 300 further includes an event flow circulation module, configured to execute a node circulation operation of the current event flow based on an event flow circulation instruction;
and based on the node circulation operation of the current event flow, circulating the current event flow from the starting node of the current event flow to other flow nodes in turn until the circulation is completed to the ending node or an abnormal flow is triggered, and ending the node circulation operation of the current event flow.
It should be noted that, for convenience and brevity of description, specific working processes of the above-described apparatus and each module may refer to corresponding processes in the foregoing embodiment of the node combination-based event flow scheduling method, which are not described herein again.
The apparatus provided by the above embodiments may be implemented in the form of a computer program which may be run on a computer device as shown in fig. 6.
Referring to fig. 6, fig. 6 is a schematic block diagram of a computer device according to an embodiment of the present application. The computer device may be a server.
With reference to FIG. 6, the computer device includes a processor, memory, and a network interface connected by a system bus, where the memory may include a non-volatile storage medium and an internal memory.
The non-volatile storage medium may store an operating system and a computer program. The computer program comprises program instructions that, when executed, cause the processor to perform any of a number of node-combination-based event flow orchestration methods.
The processor is used to provide computing and control capabilities to support the operation of the entire computer device.
The internal memory provides an environment for the execution of a computer program in a non-volatile storage medium that, when executed by a processor, causes the processor to perform any of a number of node-combination-based event flow orchestration methods.
The network interface is used for network communication such as transmitting assigned tasks and the like. It will be appreciated by those skilled in the art that the structure shown in fig. 6 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
It should be appreciated that the processor may be a central processing unit (CentralProcessingUnit, CPU), but may also be other general purpose processors, digital signal processors (DigitalSignalProcessor, DSP), application specific integrated circuits (ApplicationSpecificIntegratedCircuit, ASIC), field programmable gate arrays (Field-ProgrammableGateArray, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. Wherein the general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Wherein in one embodiment the processor is configured to run a computer program stored in the memory to implement the steps of:
acquiring a flow node library based on an event flow scheduling instruction, wherein the flow node library comprises at least one preset flow node;
selecting at least one flow node in the flow node library as a target node based on a node selection instruction;
and arranging at least one flow component corresponding to each target node based on the node relation of each target node, and generating a current event flow.
In an embodiment, the arranging, based on the node relationship of each target node, at least one flow component corresponding to each target node is further used to implement:
checking the validity of each target node based on a preset checking rule;
and executing the arrangement operation of the flow components corresponding to each target node when the validity check of each target node passes.
In an embodiment, after checking the validity of each target node based on a preset checking rule, the method is further used for implementing:
marking abnormal target nodes as abnormal nodes when the validity of each target node is checked to be abnormal;
generating abnormal reminding information based on the abnormal nodes, wherein the abnormal reminding information comprises abnormal node information and abnormal reasons;
and ending the task arrangement of the current event flow or executing the modification operation on the abnormal node based on the operation instruction fed back by the user according to the abnormal reminding information.
In an embodiment, the preset check rules include a node check and a global check.
In an embodiment, when checking the validity of each target node based on a preset checking rule, the method is used for implementing:
checking validity of a base attribute of the target node based on the node check;
based on the global check, checking the validity of execution data of each target node, wherein the execution data comprises associated resource data, expressions, node relations and associated components.
In an embodiment, the arranging, based on the node relationship of each target node, at least one flow component corresponding to each target node is used to implement:
based on the association relation of at least one target node and each target node, obtaining the association relation of at least one flow component and each flow component;
and executing component arrangement operation based on the flow components and the association relation of the flow components, and generating the current event flow.
In an embodiment, after the processor implements the node relationship based on each of the target nodes, the processor is further configured to implement:
executing node circulation operation of the current event flow based on the event flow circulation instruction;
and based on the node circulation operation of the current event flow, circulating the current event flow from the starting node of the current event flow to other flow nodes in turn until the circulation is completed to the ending node or an abnormal flow is triggered, and ending the node circulation operation of the current event flow.
The embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, the computer program comprises program instructions, and the processor executes the program instructions to realize any event flow arrangement method based on node combination.
The computer readable storage medium may be an internal storage unit of the computer device according to the foregoing embodiment, for example, a hard disk or a memory of the computer device. The computer readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk provided on the computer device, a smart memory card (SmartMediaCard, SMC), a secure digital (SecureDigital, SD) card, a flash memory card (FlashCard), etc.
While the invention has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the invention. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (7)

1. A method for scheduling an event flow based on node combinations, the method comprising:
acquiring a flow node library based on an event flow scheduling instruction, wherein the flow node library comprises at least one preset flow node;
selecting at least one flow node in the flow node library as a target node based on a node selection instruction;
arranging at least one flow component corresponding to each target node based on the node relation of each target node to generate a current event flow;
the method comprises the steps of arranging at least one flow component corresponding to each target node based on the node relation of each target node, and further comprises the following steps before generating the current event flow:
checking the validity of each target node based on a preset checking rule;
when the validity check of each target node passes, executing the arrangement operation of the flow component corresponding to each target node;
after the target node is selected, the flow node library displays other nodes matched with the target node for use, and shields other flow nodes with conflicts or no association relation;
the preset checking rules comprise node checking and global checking;
the checking the validity of each target node based on a preset checking rule comprises the following steps:
checking validity of a base attribute of the target node based on the node check;
based on the global check, checking the validity of execution data of each target node, wherein the execution data comprises associated resource data, expressions, node relations and associated components.
2. The node combination-based event flow scheduling method according to claim 1, wherein after checking the validity of each target node based on a preset checking rule, further comprising:
marking abnormal target nodes as abnormal nodes when the validity of each target node is checked to be abnormal;
generating abnormal reminding information based on the abnormal nodes, wherein the abnormal reminding information comprises abnormal node information and abnormal reasons;
and ending the task arrangement of the current event flow or executing the modification operation on the abnormal node based on the operation instruction fed back by the user according to the abnormal reminding information.
3. The method for arranging event flows based on node combinations according to claim 1, wherein arranging at least one flow component corresponding to each target node based on node relation of each target node to generate a current event flow comprises:
based on the association relation of at least one target node and each target node, obtaining the association relation of at least one flow component and each flow component;
and executing component arrangement operation based on the flow components and the association relation of the flow components, and generating the current event flow.
4. A method for arranging event flows based on node combinations according to any one of claims 1-3, wherein the arranging at least one flow component corresponding to each target node based on the node relation of each target node, after generating the current event flow, further comprises:
executing node circulation operation of the current event flow based on the event flow circulation instruction;
and based on the node circulation operation of the current event flow, circulating the current event flow from the starting node of the current event flow to other flow nodes in turn until the circulation is completed to the ending node or an abnormal flow is triggered, and ending the node circulation operation of the current event flow.
5. The event flow arranging method and device based on the node combination is characterized by comprising the following steps:
the flow scheduling execution module is used for acquiring a flow node library based on the event flow scheduling instruction, wherein the flow node library comprises at least one preset flow node;
the target node selection module is used for selecting at least one flow node in the flow node library as a target node based on a node selection instruction;
the event flow generation module is used for arranging at least one flow component corresponding to each target node based on the node relation of each target node to generate a current event flow;
the event flow arrangement device based on node combination further comprises:
the node validity checking module is used for checking the validity of each target node based on a preset checking rule; when the validity check of each target node passes, executing the arrangement operation of the flow component corresponding to each target node;
after the target node is selected, the flow node library displays other nodes matched with the target node for use, and shields other flow nodes with conflicts or no association relation;
the preset checking rules comprise node checking and global checking;
the node validity checking module is further used for checking the validity of the basic attribute of the target node based on the node checking;
based on the global check, checking the validity of execution data of each target node, wherein the execution data comprises associated resource data, expressions, node relations and associated components.
6. A computer device comprising a processor, a memory, and a computer program stored on the memory and executable by the processor, wherein the computer program when executed by the processor implements the steps of the node combination based event flow orchestration method according to any one of claims 1 to 4.
7. A computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, wherein the computer program, when executed by a processor, implements the steps of the node combination based event flow orchestration method according to any one of claims 1-4.
CN202310288946.1A 2023-03-23 2023-03-23 Event flow arrangement method, device, equipment and medium based on node combination Active CN116185425B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310288946.1A CN116185425B (en) 2023-03-23 2023-03-23 Event flow arrangement method, device, equipment and medium based on node combination

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310288946.1A CN116185425B (en) 2023-03-23 2023-03-23 Event flow arrangement method, device, equipment and medium based on node combination

Publications (2)

Publication Number Publication Date
CN116185425A CN116185425A (en) 2023-05-30
CN116185425B true CN116185425B (en) 2024-02-23

Family

ID=86438563

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310288946.1A Active CN116185425B (en) 2023-03-23 2023-03-23 Event flow arrangement method, device, equipment and medium based on node combination

Country Status (1)

Country Link
CN (1) CN116185425B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117669503A (en) * 2023-11-29 2024-03-08 雅昌文化(集团)有限公司 Stream PDF processing method and system

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111930372A (en) * 2020-08-06 2020-11-13 科大国创云网科技有限公司 Service arrangement solution method and system realized through draggable flow chart
CN113393553A (en) * 2021-06-18 2021-09-14 中国工商银行股份有限公司 Method and device for generating flow chart and electronic equipment
CN113435846A (en) * 2021-06-30 2021-09-24 深圳平安智汇企业信息管理有限公司 Business process arranging method and device, computer equipment and storage medium
CN113885745A (en) * 2021-09-16 2022-01-04 杭州安恒信息技术股份有限公司 Visual flow chart arranging method and device, readable medium and computer equipment
WO2022007919A1 (en) * 2020-07-09 2022-01-13 阿里巴巴集团控股有限公司 Flow processing method and device, and computer system
CN114238703A (en) * 2021-12-31 2022-03-25 城云科技(中国)有限公司 Event flow arrangement method, device and application
CN114595919A (en) * 2021-12-28 2022-06-07 南京星云数字技术有限公司 Business process arranging method and device, computer equipment and storage medium
CN115061674A (en) * 2022-06-16 2022-09-16 平安银行股份有限公司 Business process online arranging method, device and system and readable storage medium
CN115421706A (en) * 2022-08-31 2022-12-02 杭州海康威视数字技术股份有限公司 Method and device for arranging service scheme and storage medium
CN115437703A (en) * 2022-07-29 2022-12-06 奇安信科技集团股份有限公司 Business process arranging method, device, equipment and storage medium
CN115658041A (en) * 2022-12-27 2023-01-31 南京国睿信维软件有限公司 Low code enhancement service implementing method based on-line service flow arrangement

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022007919A1 (en) * 2020-07-09 2022-01-13 阿里巴巴集团控股有限公司 Flow processing method and device, and computer system
CN111930372A (en) * 2020-08-06 2020-11-13 科大国创云网科技有限公司 Service arrangement solution method and system realized through draggable flow chart
CN113393553A (en) * 2021-06-18 2021-09-14 中国工商银行股份有限公司 Method and device for generating flow chart and electronic equipment
CN113435846A (en) * 2021-06-30 2021-09-24 深圳平安智汇企业信息管理有限公司 Business process arranging method and device, computer equipment and storage medium
CN113885745A (en) * 2021-09-16 2022-01-04 杭州安恒信息技术股份有限公司 Visual flow chart arranging method and device, readable medium and computer equipment
CN114595919A (en) * 2021-12-28 2022-06-07 南京星云数字技术有限公司 Business process arranging method and device, computer equipment and storage medium
CN114238703A (en) * 2021-12-31 2022-03-25 城云科技(中国)有限公司 Event flow arrangement method, device and application
CN115061674A (en) * 2022-06-16 2022-09-16 平安银行股份有限公司 Business process online arranging method, device and system and readable storage medium
CN115437703A (en) * 2022-07-29 2022-12-06 奇安信科技集团股份有限公司 Business process arranging method, device, equipment and storage medium
CN115421706A (en) * 2022-08-31 2022-12-02 杭州海康威视数字技术股份有限公司 Method and device for arranging service scheme and storage medium
CN115658041A (en) * 2022-12-27 2023-01-31 南京国睿信维软件有限公司 Low code enhancement service implementing method based on-line service flow arrangement

Also Published As

Publication number Publication date
CN116185425A (en) 2023-05-30

Similar Documents

Publication Publication Date Title
CN109324791B (en) Financial self-service terminal business process development method and device and terminal equipment
CN109542399B (en) Software development method and device, terminal equipment and computer readable storage medium
CN108415832B (en) Interface automation test method, device, equipment and storage medium
US10055238B2 (en) Method and apparatus for code virtualization and remote process call generation
US20180173606A1 (en) Hybrid testing automation engine
US9239705B2 (en) Method and apparatus for customized software development kit (SDK) generation
CN107797826B (en) Rule configuration method based on rule engine, terminal and equipment
CN111563220A (en) Business website project construction method and device, computer equipment and storage medium
CN116185425B (en) Event flow arrangement method, device, equipment and medium based on node combination
CN114089986A (en) Method, system, device and medium for configuring low code development platform function expression
CN112650487A (en) Hybrid application development method, system, computer device and storage medium
US9582270B2 (en) Effective feature location in large legacy systems
CN106600226A (en) Method and device used for optimizing flow management system
US20210173766A1 (en) Testing as a service
CN112596746B (en) Application installation package generation method and device, computer equipment and storage medium
CN110263932B (en) Multi-agent simulation system graphical combination construction method and device
CN110908644A (en) Configuration method and device of state node, computer equipment and storage medium
CN115756433A (en) Code platform migration method and device, electronic equipment and readable storage medium
CN115629743A (en) Service component arranging method, service scheduling method and device, electronic equipment and storage medium
CN112418796B (en) Sub-process task node activation method and device, electronic equipment and storage medium
CN114020604A (en) Workflow-based automatic testing method and device
CN113885844A (en) Business service arranging method and related device
CN113391809A (en) Static resource file processing method and device, electronic equipment and storage medium
CN113885886A (en) Method, device, system and storage medium for processing activity service
CN117234512B (en) Method, system, electronic equipment and storage medium for rapidly developing business

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