WO2021093672A1 - Method for embedding external system, workflow system, device and computer readable storage medium - Google Patents
Method for embedding external system, workflow system, device and computer readable storage medium Download PDFInfo
- Publication number
- WO2021093672A1 WO2021093672A1 PCT/CN2020/126823 CN2020126823W WO2021093672A1 WO 2021093672 A1 WO2021093672 A1 WO 2021093672A1 CN 2020126823 W CN2020126823 W CN 2020126823W WO 2021093672 A1 WO2021093672 A1 WO 2021093672A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- workflow
- node
- external system
- end subsystem
- external
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/546—Message passing systems or structures, e.g. queues
-
- 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
-
- 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
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
Definitions
- This application relates to the field of big data technology of financial technology (Fintech), and in particular to an external system embedding method, workflow system, equipment, and computer-readable storage medium.
- the main purpose of this application is to provide an external system embedding method, workflow system, equipment, and computer-readable storage medium, aiming to solve the existing difficulty of adding workflow nodes corresponding to the external system in the workflow system. technical problem.
- the embedding method of the external system includes the steps:
- the node type of the workflow node corresponding to the load instruction is determined through the preset node type table
- the front-end control of the workflow node is generated in the front-end subsystem according to the node parameter, so as to embed the external system as a workflow node in the workflow system.
- Also after the step of generating the front-end control of the workflow node in the front-end subsystem according to the node parameter, so as to embed the external system as a workflow node in the workflow system ,Also includes:
- the transmission request is generated according to the URL address and the startup parameters, and the transmission request is set in a text tag, so as to realize the sub-page and the workflow through the text tag After the steps of communication between the parent pages of the system, it also includes:
- the message to be transmitted is assembled into a transmission message in a preset format and sent to the sub-page.
- the transmission request is generated according to the URL address and the startup parameters, and the transmission request is set in a text tag, so as to realize the sub-page and the workflow through the text tag After the steps of communication between the parent pages of the system, it also includes:
- the setting parameters are stored as a Kanban task, so that the setting parameters are displayed in the parent page through the Kanban task.
- Also after the step of generating the front-end control of the workflow node in the front-end subsystem according to the node parameter, so as to embed the external system as a workflow node in the workflow system ,Also includes:
- the security authentication information is added to the access request, and the access request carrying the security authentication information is sent to the external system, so that the external system can determine the location based on the security authentication information in the access request. State the legitimacy of the access request.
- Also after the step of generating the front-end control of the workflow node in the front-end subsystem according to the node parameter, so as to embed the external system as a workflow node in the workflow system ,Also includes:
- a workflow task is created in the external system according to the standard interface and the interface information.
- Also after the step of generating the front-end control of the workflow node in the front-end subsystem according to the node parameter, so as to embed the external system as a workflow node in the workflow system ,Also includes:
- the tasks of the workflow node are converted according to the scheduling format of the scheduling system to obtain the converted tasks to be executed, and the converted tasks to be executed are sent to the Linkis client through the scheduling system to pass the Linkis
- the client executes the task to be executed after the conversion.
- the node type of the workflow node corresponding to the load instruction is determined through a preset node type table. Before the steps, it also includes:
- the node type of the workflow node is added to the node type table, and the job is added to the parameter configuration table The node parameters of the flow node.
- the present application also provides a workflow system, the workflow system including:
- the determining module is used to determine the node type of the workflow node corresponding to the load instruction through the preset node type table after detecting that the load instruction of the external system is loaded in the front-end subsystem of the workflow system;
- An obtaining module configured to obtain the node parameters of the workflow node in a preset parameter configuration table according to the node type
- the generating module is configured to generate the front-end control of the workflow node in the front-end subsystem according to the node parameters, so as to embed the external system as a workflow node in the workflow system.
- the present application also provides an embedded device of an external system.
- the embedded device of the external system includes a memory, a processor, and an external system stored on the memory and capable of running on the processor.
- the embedded program of the external system when the embedded program of the external system is executed by the processor, realizes the steps of the above-mentioned embedding method of the external system.
- the present application also provides a computer-readable storage medium with an embedded program of an external system stored on the computer-readable storage medium.
- the embedded program of the external system is executed by a processor, the above The steps of the embedding method of the external system described.
- This application determines the node type of the workflow node corresponding to the load instruction through the preset node type table after detecting the loading instruction of the external system in the front-end subsystem of the workflow system.
- the process of adding workflow nodes corresponding to external systems in the flow system there is no need to perform a lot of front-end subsystems and back-end subsystems of the workflow system. You only need to obtain the node parameters of the workflow nodes corresponding to the external system, which reduces the work flow.
- Fig. 1 is a schematic flowchart of a first embodiment of an embedding method of an external system of the present application
- FIG. 2 is a schematic flowchart of a second embodiment of the method for embedding an external system of the present application
- FIG. 3 is a schematic flowchart of a third embodiment of the method for embedding an external system of the present application
- FIG. 4 is a functional schematic block diagram of a preferred embodiment of the workflow system of the present application.
- Fig. 5 is a schematic structural diagram of a hardware operating environment involved in a solution of an embodiment of the present application.
- FIG. 1 is a schematic flowchart of a first embodiment of the embedding method for an external system of this application.
- the embodiments of the present application provide an embodiment of an embedding method of an external system. It should be noted that although the logical sequence is shown in the flowchart, in some cases, the sequence shown here can be executed in a different order. Or the steps described.
- Embedding methods for external systems include:
- Step S10 after detecting that the loading instruction of the external system is loaded in the front-end subsystem of the workflow system, the node type of the workflow node corresponding to the loading instruction is determined through a preset node type table.
- the workflow system uses Linkis's powerful background computing engine aggregation capabilities, as well as Linkis's task management, resource management and isolation, task scheduling and execution features, result sets and log processing capabilities, which are very convenient for external
- the system is integrated into the real-time execution and scheduling execution of a workflow.
- Linkis is a data middleware that integrates multiple computing storage engines, provides a unified interface to the outside world, and submits and executes SQL (Structured Query Language), Pyspark, HiveQL, Scala and other scripts.
- the workflow system includes a front-end subsystem and a back-end subsystem. The front-end subsystem is used to create workflow nodes corresponding to the external system and the interaction between the pages of the workflow system and the external system.
- the workflow system page is recorded as the parent page, and the external system page is recorded as the child page.
- a node type table and a node parameter attribute table are set.
- the node type table is used to store the node type of each workflow node
- the node parameter attribute table is used to store the node parameters of different types of workflow nodes.
- Node types include data exchange nodes, data development nodes, data visualization nodes, data output nodes, signal nodes, and function nodes.
- Node parameters include but are not limited to node startup parameters, the memory size of the node corresponding to the external system, and the CPU (central CPU) of the node corresponding to the external system.
- the number of processing units central processing units
- node parameter names include but are not limited to character and numeric types.
- the node parameters corresponding to different types of workflow nodes may be the same or different.
- the front-end subsystem determines the node type of the workflow node corresponding to the load instruction in the node type table preset in the back-end subsystem.
- the workflow node corresponding to the load instruction is the workflow node corresponding to the external system.
- the load instruction can be triggered by the user as needed, or can be triggered actively by the workflow system.
- the load instruction carries the identification information of the external system.
- the identification information can be used to determine the node type of the workflow node corresponding to the load instruction in the node type table.
- the identification information can be the name of the external system or uniquely indicate the external system.
- the load instruction may be a page refresh instruction.
- the embedding method of the external system includes:
- Step a After detecting the embedding instruction of the workflow node corresponding to the external system in the workflow system, add the node type of the workflow node to the node type table, and add it to the parameter configuration table The node parameter of the workflow node.
- the front-end subsystem of the workflow system detects the embedded instruction of the external system as the workflow node
- the front-end subsystem sends the embedded instruction to the back-end subsystem
- the back-end subsystem obtains the corresponding work of the external system according to the embedded instruction
- the node type and node parameters of the flow node, and the node type of the workflow node corresponding to the external system is added to the node type table, and the node parameter of the workflow node corresponding to the external system is added to the parameter configuration table.
- the node type of the workflow node corresponding to the external system is determined by the function that the external system can implement.
- the external system should be embedded in the workflow system as a workflow node.
- the external system should first be registered in the workflow system.
- the workflow system can obtain the relevant data of the external system.
- the relevant data Determine the node type of the workflow node corresponding to the external system.
- Relevant data includes, but is not limited to, the system name of the external system, safety certification information and the functions that can be realized.
- the security authentication information includes at least one of Cookie content and Token content.
- the type of cookie is a "small text file", which is the data (usually encrypted) stored on the user's local terminal by certain websites in order to identify the user and perform session tracking. The information is temporarily or permanently stored by the user's client computer.
- Step S20 Obtain the node parameters of the workflow node from a preset parameter configuration table according to the node type.
- the front-end subsystem After determining the node type of the workflow node corresponding to the external system, the front-end subsystem obtains the node parameters of the workflow node corresponding to the external system from the parameter configuration table in the back-end subsystem according to the node type. Specifically, after the front-end subsystem detects the load instruction, it sends the load instruction to the back-end subsystem. The back-end subsystem determines the node type of the workflow node corresponding to the external system in the node type table according to the load instruction, and then pre- The node parameter corresponding to the node type is obtained from the set parameter configuration table to obtain the node parameter of the workflow node corresponding to the external system, and then the node parameter is returned to the front-end subsystem.
- Step S30 Generate a front-end control of the workflow node in the front-end subsystem according to the node parameter, so as to embed the external system as a workflow node in the workflow system.
- the front-end subsystem After the current terminal system obtains the node parameters, the front-end subsystem generates a front-end control corresponding to the workflow node of the external system according to the node parameters, so as to embed the external system as a workflow node into the workflow system. It should be noted that when the front-end control corresponding to the workflow node of the external system is generated, it means that the external system has become a workflow node in the workflow system. Further, the front-end subsystem can generate a node selectable list according to the node parameters in the parameter configuration table. The user can select the corresponding node parameter in the node selectable list. The front-end subsystem dynamically loads according to the node parameters selected by the user, and the external system It is embedded in the workflow system as a workflow node.
- the workflow system essentially changes the front-end subsystem through SQL configuration, and embeds the external system as a workflow node into the workflow system. Specifically, the workflow system sets the method of adding workflow nodes through SQL as a template. When an external system needs to be embedded in the workflow system as a workflow node, the front-end subsystem adds the obtained node parameters to the corresponding template At the location, the external system can be embedded in the workflow system as a workflow node. It can be seen that this embodiment hides the complex logic implemented by SQL, and even users who do not use SQL can easily embed the external system as a workflow node into the workflow system.
- the node type of the workflow node corresponding to the load instruction is determined through the preset node type table, and the node type of the workflow node corresponding to the load instruction is determined according to the node type.
- the external system embedding method further includes:
- Step S40 after detecting the start instruction for starting the external system subpage in the workflow node, obtain the uniform resource locating system URL address of the subpage, and obtain the start parameter corresponding to the start instruction.
- the workflow system When the workflow system detects the start instruction to start the subpage of the external system in the corresponding workflow node of the external system, the workflow system obtains the URL of the subpage (Uniform Resource Locator (Uniform Resource Locator) address, and the startup parameters corresponding to the startup instruction.
- Startup parameters include, but are not limited to, the display mode of the subpage, page size, page layout parameters, and business parameters displayed on the subpage.
- Business parameters include, but are not limited to, the project number corresponding to the content displayed on the subpage, and the user information of the user corresponding to the subpage.
- the node name of the workflow node and the task ID corresponding to the workflow node, the user information can be a user name or user ID number, etc.
- the project number is the project code or project ID of the project corresponding to the content displayed on the subpage. It is understandable that the start instruction can be triggered by the user according to specific needs, or triggered by a timing task in the workflow system.
- Step S50 Generate a transmission request according to the URL address and the startup parameters, and set the transmission request to a text tag, so as to realize the relationship between the child page and the parent page of the workflow system through the text tag. Inter-communication.
- the workflow system After the workflow system obtains the URL address and the startup parameters, the workflow system splices the URL address startup parameters into a transmission request according to a preset splicing format, that is, generates a transmission request based on the URL address and the startup parameters.
- a preset splicing format that is, generates a transmission request based on the URL address and the startup parameters.
- the specific manifestation of the splicing format is not limited.
- the URL address can be placed in the front, and the startup parameters can be placed in the back for splicing.
- the transfer request may be HTTP (HyperText Transfer Protocol, Hypertext Transfer Protocol) request. It is understandable that, in other embodiments, the URL address and the startup parameters can also be spliced into requests corresponding to other transmission protocols.
- the workflow system After the workflow system generates the transmission request, it sets the transmission request to the text label, so as to realize the communication between the child page and the parent page of the workflow system through the text label.
- the text tag is an IFrame tag
- IFrame is an HTML (HyperText Markup Language) tag, which functions as a document in a document or a floating frame (IFrame).
- the IFrame element will create an inline frame containing another document (That is, the frame of the line).
- the child page of the external system can be used as a workflow node of the workflow system through the IFrame tag to realize the communication between the parent page and the child page of the workflow system.
- Cross domain refers to when any of the protocol, domain name, and port of a request URL is different from the current page URL.
- This embodiment mainly uses The window.postMessage method solves the problem of sending messages across domains.
- the embedding method of the external system further includes:
- Step b After detecting a message transmission instruction using the text tag to send a message across domains between the parent page and the child page, obtain the message transmission instruction to be transmitted corresponding to the message transmission instruction through the parent page news.
- the workflow system detects whether it detects that the text tag is used between the parent page and the child page to send a message across domains Message transmission instructions. After the workflow system detects the message transmission instruction, the workflow system obtains the message to be transmitted corresponding to the message transmission instruction through the parent page. It should be noted that the message to be transmitted includes the project number, user information, the node name of the workflow node corresponding to the subpage, and the task identifier of the task corresponding to the message to be transmitted.
- Step c Assemble the message to be transmitted into a transmission message in a preset format and send it to the sub-page.
- the workflow system After the workflow system obtains the message to be transmitted, the workflow system assembles the message to be transmitted into a transmission message in a preset format and sends it to the sub-page. Specifically, the workflow system assembles the messages to be transmitted into JSON (JavaScript Object Notation, JavaScript object notation) format to send to the child page.
- JSON JavaScript Object Notation, JavaScript object notation
- the parent page detects the message transmission instruction through the message monitoring method, and uses the JSON format to transmit the message content of the message transmission instruction, that is, the message to be transmitted is transmitted in the JSON format.
- the message structure of the message to be transmitted is determined by the workflow system and the external The system has agreed in advance.
- the JSON format is used to transmit the message, which is the advantage of simple application and good compatibility of JSON.
- JSON is compatible with lower versions of IE (Internet Explorer, web browser).
- IE Internet Explorer, web browser.
- the workflow system obtains the corresponding message to be transmitted according to the acquisition request, converts the message to be transmitted into JSON format, and places it To the fixed parameter position in the preset callback function, the message to be transmitted in JSON format is sent to the subpage, that is, the message to be transmitted in JSON format is sent to the external system to realize the communication between the external system and the workflow system.
- the message sending function is also added to the subpage of the external system.
- the click event of the save button is set in the subpage of the external system, and the message sending function is added to the click event method.
- the window.parent.postMessage method sends a message to the parent page of the workflow system.
- the subpage will send the key information of the stored data to the workflow system, specifically, to the front-end subsystem of the workflow system.
- the key information includes but is not limited to the external system
- the stored data corresponds to the task ID, node name and project number of the task.
- the external system only sends key information to the front-end subsystem of the workflow system through the sub-page, and other related information can be obtained when the corresponding task is executed, which reduces the amount of data transmission between the external system and the workflow system , Simplifies the content of the data transmitted by the external system and the workflow system.
- the complex task definition is completed in the external system, and the workflow system is not required to perform complex task definition operations.
- This embodiment solves the problem of data interaction between the child page of the external system and the parent page of the workflow system after the external system is embedded in the workflow system as a workflow node.
- the flow system can also send messages to the external system, and the external system can also send the message to the workflow system.
- the external system as the workflow node in the workflow system, the data processing and analysis in the external system can be made clearer. Enables the corresponding developers to complete the development of the entire business process in the visual workflow system, avoids developers from repeatedly logging in to different external systems to design the business logic of the business process, reduces the difficulty for developers to develop business processes, and improves developers Design efficiency of design business logic.
- the embedding method of the external system further includes:
- Step d after detecting the design command for chart design in the subpage, obtain the setting parameters corresponding to the design command.
- the workflow system When the workflow system detects the design instruction for chart design in the subpage, the workflow system obtains the setting parameters corresponding to the design instruction through the subpage.
- the setting parameters include the data source of the chart data, the chart name, and the performance of the chart. Style, color configuration and chart size, etc., performance styles include, but are not limited to, histogram, table, and radar chart.
- the chart corresponding to the design command in this embodiment is a visual chart. Specifically, the user can trigger the design instruction in the subpage of the external system embedded in the workflow system.
- Step e According to the setting parameter setting chart, and storing the setting parameters as a Kanban task, so as to display the setting parameters in the parent page through the Kanban task.
- the workflow system After the workflow system obtains the setting parameters corresponding to the design instruction, the workflow system sets the chart in the child page according to the setting parameters, stores the setting parameters as a dashboard task, and sends the dashboard task to the parent page to pass
- the kanban task displays the setting parameters in the parent page.
- the related information of the set chart can be displayed on the parent page through the Kanban task, specifically, it can be displayed on the parent page in the form of a list.
- the child page is also cross-domain through Iframe, and the Kanban task is sent to the parent page in the form of a string, where the string is a type of JSON format.
- the user only needs to perform corresponding operations on the external system, and the external system saves the user's operation information, and then sends the core information in the operation information to the parent page of the workflow system, and executes the corresponding operation.
- the workflow system returns the core information to the external system for the external system to execute the corresponding task according to the core information, where the core information is information that can determine which task the task is.
- This embodiment implements the Iframe method in the workflow system, using an external system to create the visualization chart.
- an external system In the process of creating the visualization chart in the workflow system, since the external system is embedded in the workflow system as a workflow node, no user login is required.
- the external system for chart creation can be done directly in the workflow system, which simplifies the difficulty of chart creation and improves the efficiency of chart creation.
- the external system embedding method further includes:
- Step S60 after detecting the access request for accessing the external system, obtain the security authentication information of the external system from the back-end subsystem of the workflow system.
- Step S70 Add the security authentication information to the access request, and send the access request carrying the security authentication information to the external system, so that the external system can authenticate according to the security authentication in the access request.
- the information determines the legitimacy of the access request.
- the workflow system When the workflow system detects the access request to the external system, the workflow system obtains the security authentication information of the external system from its back-end subsystem, and adds the security authentication information to the access request.
- the access request can be triggered by the user in the workflow system or the external system as needed, and the security authentication information is pre-stored in the back-end subsystem. It should be noted that the access request carries the system name of the external system, and the security authentication information of the external system can be obtained in the back-end subsystem according to the system name.
- the workflow system After the security authentication information is added to the access request, the workflow system sends the access request carrying the security authentication information to the external system.
- the external system receives the access request, the external system obtains the security authentication information in the access request, and compares the obtained security authentication information with the pre-stored security authentication information. If the obtained security authentication information is compared with the stored security authentication information If the information is consistent, the external system determines that the access request is legal and executes the access request; if the obtained security authentication information is inconsistent with the stored security authentication information, the external system determines that the access request is illegal and does not execute the access request.
- the communication between the external system and the workflow system is the communication between the child page of the external system and the parent page of the workflow system.
- the external system uses security authentication information to ensure the legitimacy of the access request sent by the workflow system, thereby ensuring the security of the external system's execution of the workflow system access request process.
- the embedding method of the external system further includes:
- Step f Obtain a standard interface for docking with the external system in the back-end subsystem of the workflow system, and obtain the interface information of the external system through the front-end subsystem.
- the workflow system obtains the standard interface to the external system in the back-end subsystem, and obtains the interface information of the external system through the front-end subsystem.
- the external system needs to perform tasks such as quality inspection tasks, data export tasks, and data analysis, and each task needs to be defined in the corresponding external system. Therefore, the external system generally has a login interface, a creation interface for creating tasks, an update interface for updating tasks, and a deletion interface for deleting tasks. In the process of task execution, the external system also needs to obtain the execution status of the task. Workflow system The execution results and logs of the tasks will be sent to the external system. The realization of these functions also requires corresponding interfaces.
- each interface has its own function to be implemented and the corresponding return data type.
- the back-end subsystem performs standardized operations on various interfaces corresponding to the external system, and uniformly defines the standard interfaces for connecting with the external system, such as the unified definition of the back-end subsystem Login interface, create interface to create task, update interface to update task, delete interface to delete task, etc.
- the interface information includes, but is not limited to, the URL address of the external system, the node name of the workflow node corresponding to the interface, and interface parameters.
- the interface parameters can be used to determine which interface the current interface is.
- Step g through the front-end subsystem, create a workflow task in the external system according to the standard interface and the interface information.
- the workflow system After obtaining the standard interface and interface information for docking with the external system, the workflow system obtains the interface code corresponding to the standard interface in the back-end subsystem, and then writes the interface information into the corresponding position of the interface code to obtain the callable interface.
- the front-end subsystem can create workflow tasks in the external system through the callable interface.
- each standard interface has a corresponding interface code.
- the interface code is preset. When you want to use it, you only need to write the corresponding interface code in the set interface code. Interface information.
- the front-end subsystem of the workflow system does not need to make special work flow nodes corresponding to each external system when docking with the external system. Call processing, to interface with the external system through the interface code of the standard interface in the back-end subsystem. Since the data capacity of the front-end subsystem is weaker than that of the back-end subsystem, the design of the standard interface in the back-end subsystem is less difficult than through the front-end subsystem.
- Calling the workflow node corresponding to the external system reduces the difficulty of the front-end subsystem of the workflow system calling the external system, and adds an interface framework for docking with the external system in the back-end subsystem to avoid the front-end subsystem directly corresponding to various external systems In order to realize the call to the external system without modifying the code of the front-end subsystem.
- the difference between the fourth embodiment of the external system embedding method and the first, second, and/or third embodiments of the external system embedding method is that the external system embedding method further includes:
- Step h After detecting that the execution instruction of the workflow node corresponding to the external system is executed, determine the scheduling system corresponding to the execution instruction.
- the workflow system After successfully embedding the external system as a workflow node into the workflow system, the workflow system detects whether the execution instruction of the corresponding workflow node of the external system is detected. If the execution instruction is detected, the workflow system determines the scheduling system corresponding to the execution instruction. Among them, the execution instruction may be a real-time execution instruction or a scheduled execution instruction. When the execution instruction is a scheduling execution instruction, the task of the workflow node corresponding to the external system needs to be released to the corresponding scheduling system for regular execution. It should be noted that the execution instruction carries a scheduling identifier corresponding to the scheduling system, and the scheduling system corresponding to the execution instruction can be determined according to the scheduling identifier.
- Step i Convert the tasks of the workflow node according to the scheduling format of the scheduling system to obtain the converted tasks to be executed, and send the converted tasks to be executed to the Linkis client through the scheduling system to pass The Linkis client executes the task to be executed after the conversion.
- the workflow system After the workflow system determines the scheduling system corresponding to the execution instruction, the workflow system converts the tasks of the workflow node according to the scheduling format of the scheduling system to obtain the converted tasks to be executed. It should be noted that each scheduling system has its own input format. Therefore, to send the tasks of the workflow node corresponding to the external system to the scheduling system, the format of the task needs to be converted. The specific conversion is determined by the scheduling system. Details are not described in the embodiment.
- the workflow system sends the converted task to be executed to the scheduling system for the scheduling system to send the converted task to be executed to the Linkis client, and execute the converted task through the Linkis terminal. Task to be performed.
- the Linkis client uses the system identifier in the task to be executed to determine whether the node corresponding to the task to be executed is the workflow node of the external system or the original node of the workflow system.
- the original node of the system is the original node of the workflow system.
- the Linkis client determines that the node corresponding to the task to be executed is the original node of the workflow system, the Linkis client submits the task to be executed to its execution engine to execute the task to be executed through the engine; if the Linkis client determines to be executed The node corresponding to the task is the workflow node of the external system, and the Linkis client determines the node type of the workflow node corresponding to the task to be executed, and then sends the task to be executed to the external system corresponding to the determined node type, and the external system executes the task to be executed. task. When the external system finishes executing the task to be executed, it will generate the execution result and return the execution result.
- the scheduling system is the Azkaban system
- the workflow system needs to convert the tasks corresponding to the workflow nodes of the external system into job files, then compress the job files into a compressed package, and send the compressed package to the Azkaban system, and the Azkaban system will get the result
- the compressed package is parsed into an execution task flow, according to the Directed Acyclic Graph (Directed Acyclic Graph, DAG) scheduling, using the Azkaban plugin that wraps the Linkis client, submitted to the External Entrance (external interface) of the backend of the Linkis client, and it will execute
- the task flow is uniformly sent to the external system, and the external system is responsible for the corresponding task analysis and execution of the execution task flow.
- the format of the compressed package can be zip or RAR (Roshal ARchive), etc.
- the Linkis client can identify the system name of the external system that performs the corresponding task through the compressed package, and the corresponding external system can be determined based on the system name.
- the Linkis client can use Job Type identifies the system name, and a workflow node corresponds to a Node type.
- the Linkis client implements the execution of external system workflow node tasks, and can use the system-level and user-level multi-tenant isolation, concurrent current limiting, and context sharing capabilities of the Linkis client.
- an external system needs to access Linkis to perform tasks, it only needs to implement the interface content of External Entrance in the background of the Linkis client to realize the access of the external system.
- the External Entrance of the Linkis client provides the Context class, which allows the external system corresponding to the workflow node to share variables and parameters for use by the workflow nodes of other external systems during the execution of the tasks corresponding to the workflow node.
- This embodiment uses Linkis' system-level and user-level multi-tenant isolation, concurrent current limiting, and context sharing capabilities, so that the interaction between the workflow system and the external system has a unified execution entry, and the interaction between the workflow system and the external system is reduced. The difficulty.
- the present application also provides a workflow system, which includes:
- the determining module 10 is configured to determine the node type of the workflow node corresponding to the load instruction through a preset node type table after detecting that the load instruction of the external system is loaded in the front-end subsystem of the workflow system;
- the obtaining module 20 is configured to obtain the node parameters of the workflow node in a preset parameter configuration table according to the node type;
- the generating module 30 is configured to generate front-end controls of the workflow node in the front-end subsystem according to the node parameters, so as to embed the external system as a workflow node in the workflow system.
- the obtaining module 20 is also configured to obtain the uniform resource locating system URL address of the sub-page after detecting the start instruction for starting the external system sub-page in the workflow node, and obtain all the sub-pages.
- the generating module 30 is further configured to generate a transmission request according to the URL address and the startup parameters;
- the workflow system also includes:
- the setting module is configured to set the transmission request to a text label, so as to realize the communication between the child page and the parent page of the workflow system through the text label.
- the acquiring module 20 is further configured to acquire all information through the parent page after detecting a message transmission instruction for using the text tag to send a message across domains between the parent page and the child page. The message to be transmitted corresponding to the message transmission instruction;
- the workflow system also includes:
- the first sending module is configured to assemble the to-be-transmitted message into a transmission message in a preset format and send it to the sub-page.
- the obtaining module 20 is also configured to obtain the setting parameters corresponding to the design command after the design command for chart design in the subpage is detected;
- the setting module is also used to set the chart according to the setting parameters
- the workflow system also includes:
- the storage module is configured to store the setting parameters as a Kanban task, so as to display the setting parameters in the parent page through the Kanban task.
- the obtaining module 20 is further configured to obtain the security authentication information of the external system from the back-end subsystem of the workflow system after detecting an access request to the external system;
- the workflow system also includes:
- the first adding module is configured to add the security authentication information to the access request
- the second sending module is configured to send an access request carrying the security authentication information to the external system, so that the external system can determine the legitimacy of the access request according to the security authentication information in the access request.
- the acquisition module 20 is also configured to acquire a standard interface for connecting to the external system in the back-end subsystem of the workflow system, and acquire interface information of the external system through the front-end subsystem;
- the workflow system also includes:
- the creation module is configured to create a workflow task in the external system according to the standard interface and the interface information through the front-end subsystem.
- workflow system further includes:
- the determining module is used to determine the scheduling system corresponding to the execution instruction after detecting the execution instruction of the workflow node corresponding to the external system;
- the conversion module is used to convert the tasks of the workflow node according to the scheduling format of the scheduling system to obtain the tasks to be executed after conversion;
- the acquisition module 20 is further configured to send the converted task to be executed to the Linkis client through the scheduling system, so as to execute the converted task to be executed through the Linkis client.
- workflow system further includes:
- the second adding module is used to add the node type of the workflow node in the node type table after detecting the embedding instruction of the workflow node corresponding to the external system in the workflow system, and add the node type of the workflow node to the parameter
- the node parameter of the workflow node is added to the configuration table.
- FIG. 5 is a schematic structural diagram of the hardware operating environment involved in the solution of the embodiment of the present application.
- FIG. 5 can be a structural schematic diagram of the hardware operating environment of the embedded device of the external system.
- the embedded device of the external system in the embodiment of the present application may be a terminal device such as a PC and a portable computer.
- the embedded device of the external system may include: a processor 1001, such as a CPU, a memory 1005, a user interface 1003, a network interface 1004, and a communication bus 1002.
- the communication bus 1002 is used to implement connection and communication between these components.
- the user interface 1003 may include a display screen (Display) and an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
- the network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).
- the memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a magnetic disk memory.
- the memory 1005 may also be a storage device independent of the aforementioned processor 1001.
- the embedded device of the external system may also include a camera, RF (Radio Frequency, radio frequency) circuits, sensors, audio circuits, WiFi modules, etc.
- RF Radio Frequency, radio frequency
- the structure of the embedded device of the external system shown in FIG. 5 does not constitute a limitation on the embedded device of the external system, and may include more or less components than those shown in the figure, or a combination of certain components, Or different component arrangements.
- the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an embedded program of an external system.
- the operating system is a program that manages and controls the embedded device hardware and software resources of the external system, and supports the operation of the embedded program of the external system and other software or programs.
- the user interface 1003 is mainly used to connect to the client and to communicate data with the client;
- the network interface 1004 is mainly used to communicate with the back-end server and perform data communication;
- the processor 1001 can It is used to call the embedding program of the external system stored in the memory 1005 and execute the steps of the embedding method of the external system as described above.
- an embodiment of the present application also proposes a computer-readable storage medium with an embedded program of an external system stored on the computer-readable storage medium.
- the embedded program of the external system is executed by a processor, the external system as described above is realized. Steps of the system's embedding method.
- the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to enable a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the method described in each embodiment of the present application.
- a terminal device which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Theoretical Computer Science (AREA)
- Human Resources & Organizations (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- Software Systems (AREA)
- Entrepreneurship & Innovation (AREA)
- Economics (AREA)
- Marketing (AREA)
- Tourism & Hospitality (AREA)
- Quality & Reliability (AREA)
- Operations Research (AREA)
- Accounting & Taxation (AREA)
- Development Economics (AREA)
- Finance (AREA)
- Technology Law (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
A method for embedding an external system, a workflow system, a device and a computer readable storage medium, relating to the field of financial science and technology. The method comprises the steps of: upon detecting a loading instruction for loading an external system in a front-end subsystem of a workflow system, determining the node type of a workflow node corresponding to the loading instruction by means of a preset node type table (S10); obtaining node parameters of the workflow node in a preset parameter configuration table according to the node type (S20); and generating a front-end control of the workflow node in the front-end subsystem according to the node parameters to embed the external system into the workflow system as the workflow node (S30).
Description
本申请要求于2019年11月13日申请的、申请号为201911110030.7、名称为“外部系统的嵌入方法、工作流系统、设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on November 13, 2019, with the application number 201911110030.7, and the name "External system embedding method, workflow system, equipment and storage medium", the entire content of which is incorporated by reference In this application.
本申请涉及金融科技(Fintech)的大数据技术领域,尤其涉及一种外部系统的嵌入方法、工作流系统、设备及计算机可读存储介质。This application relates to the field of big data technology of financial technology (Fintech), and in particular to an external system embedding method, workflow system, equipment, and computer-readable storage medium.
随着计算机技术的发展,越来越多的技术应用在金融领域,传统金融业正在逐步向金融科技(Fintech)转变,大数据技术也不例外,但由于金融行业的安全性、实时性要求,也对技术提出的更高的要求。With the development of computer technology, more and more technologies are applied in the financial field. The traditional financial industry is gradually transforming to Fintech. Big data technology is no exception. However, due to the security and real-time requirements of the financial industry, It also places higher demands on technology.
在大数据领域,复杂的业务数据处理场景,尤其在离线批量计算以及报表加工过程中,都离不开解决数据处理流程中错综复杂的依赖关系,所以作业的执行需要进行统一的管理和调度。目前一般都使用分布式可视化DAG(Database Availability
Group,数据库可用性组)工作流任务调度系统。目前比较流行的调度系统有Azkaban和Airflow等,Azkaban是由Linkedin开源的一个批量工作流任务调度器;Airflow是一个可编程,调度和监控的工作流平台,基于有向无环图(DAG),Airflow可以定义一组有依赖的任务,按照依赖依次执行。他们都支持以DAG图的方式将工作流按照任务的依赖关系关联起来,进行分布式调度执行,但目前调度系统注重解决的是依赖执行、并发执行和定时执行等问题。由于现在的业务处理流程涉及到数据处理的多个方面,包括数据的导入、数据的脱敏、数据的质量检查、数据的ETL(Extract-Transform-Load,抽取、转换、加载)、数据的可视化和数据的流出等环节,每个环节都会有专门的系统来负责处理。因此,目前在工作流系统中新增一种类型的工作流节点,工作流系统的前端子系统和后端子系统都需要大量的开发。In the field of big data, complex business data processing scenarios, especially in offline batch calculation and report processing, are inseparable from solving the intricate dependencies in the data processing process. Therefore, the execution of jobs requires unified management and scheduling. Currently, distributed visualization DAG (Database Availability
Group, database availability group) workflow task scheduling system. At present, the more popular scheduling systems include Azkaban and Airflow. Azkaban is a batch workflow task scheduler open sourced by Linkedin; Airflow is a programmable, scheduling and monitoring workflow platform, based on a directed acyclic graph (DAG), Airflow can define a set of dependent tasks and execute them in turn according to the dependencies. They all support DAG diagrams to associate workflows according to the dependencies of tasks for distributed scheduling execution, but the current scheduling system focuses on solving problems such as dependent execution, concurrent execution, and timing execution. Because the current business processing process involves multiple aspects of data processing, including data import, data desensitization, data quality inspection, data ETL (Extract-Transform-Load, extraction, transformation, and loading), and data visualization And the outflow of data and other links, each link will have a special system to be responsible for processing. Therefore, currently a new type of workflow node is added to the workflow system, and both the front-end subsystem and the back-end subsystem of the workflow system require a lot of development.
由此可知,目前在工作流系统中新增外部系统对应的工作流节点难度大。It can be seen that it is currently difficult to add workflow nodes corresponding to external systems in the workflow system.
本申请的主要目的在于提供一种外部系统的嵌入方法、工作流系统、设备及计算机可读存储介质,旨在解决现有的在工作流系统中新增外部系统对应的工作流节点难度大的技术问题。The main purpose of this application is to provide an external system embedding method, workflow system, equipment, and computer-readable storage medium, aiming to solve the existing difficulty of adding workflow nodes corresponding to the external system in the workflow system. technical problem.
为实现上述目的,本申请提供一种外部系统的嵌入方法,所述外部系统的嵌入方法包括步骤:In order to achieve the above objective, the present application provides an embedding method of an external system. The embedding method of the external system includes the steps:
当侦测到在工作流系统的前端子系统中加载外部系统的加载指令后,通过预设的节点类型表确定所述加载指令对应的工作流节点的节点类型;When it is detected that the load instruction of the external system is loaded in the front-end subsystem of the workflow system, the node type of the workflow node corresponding to the load instruction is determined through the preset node type table;
根据所述节点类型在预设的参数配置表中获取所述工作流节点的节点参数;Acquiring the node parameters of the workflow node in a preset parameter configuration table according to the node type;
根据所述节点参数在所述前端子系统中生成所述工作流节点的前端控件,以将所述外部系统作为工作流节点嵌入所述工作流系统中。The front-end control of the workflow node is generated in the front-end subsystem according to the node parameter, so as to embed the external system as a workflow node in the workflow system.
在一实施例中,所述根据所述节点参数在所述前端子系统中生成所述工作流节点的前端控件,以将所述外部系统作为工作流节点嵌入所述工作流系统中的步骤之后,还包括:In an embodiment, after the step of generating the front-end control of the workflow node in the front-end subsystem according to the node parameter, so as to embed the external system as a workflow node in the workflow system ,Also includes:
当侦测到在所述工作流节点中启动所述外部系统子页面的启动指令后,获取所述子页面的统一资源定位系统URL地址,以及获取所述启动指令对应的启动参数;After detecting the start instruction to start the external system subpage in the workflow node, obtain the uniform resource locating system URL address of the subpage, and obtain the start parameter corresponding to the start instruction;
根据所述URL地址和所述启动参数生成传输请求,并将所述传输请求设置到文本标签中,以通过所述文本标签实现所述子页面和所述工作流系统的父页面之间的通信。Generate a transmission request according to the URL address and the startup parameters, and set the transmission request to a text label, so as to realize the communication between the child page and the parent page of the workflow system through the text label .
在一实施例中,所述根据所述URL地址和所述启动参数生成传输请求,并将所述传输请求设置到文本标签中,以通过所述文本标签实现所述子页面和所述工作流系统的父页面之间的通信的步骤之后,还包括:In an embodiment, the transmission request is generated according to the URL address and the startup parameters, and the transmission request is set in a text tag, so as to realize the sub-page and the workflow through the text tag After the steps of communication between the parent pages of the system, it also includes:
当侦测到在所述父页面和所述子页面之间使用所述文本标签进行跨域发送消息的消息传输指令后,通过所述父页面获取所述消息传输指令对应的待传输消息;After detecting a message transmission instruction for using the text tag to send a message across domains between the parent page and the child page, obtain the message to be transmitted corresponding to the message transmission instruction through the parent page;
将所述待传输消息组装成预设格式的传输消息发送给所述子页面。The message to be transmitted is assembled into a transmission message in a preset format and sent to the sub-page.
在一实施例中,所述根据所述URL地址和所述启动参数生成传输请求,并将所述传输请求设置到文本标签中,以通过所述文本标签实现所述子页面和所述工作流系统的父页面之间的通信的步骤之后,还包括:In an embodiment, the transmission request is generated according to the URL address and the startup parameters, and the transmission request is set in a text tag, so as to realize the sub-page and the workflow through the text tag After the steps of communication between the parent pages of the system, it also includes:
当侦测到在所述子页面中进行图表设计的设计指令后,获取所述设计指令对应的设置参数;After detecting the design command for chart design in the sub-page, obtain the setting parameters corresponding to the design command;
根据所述设置参数设置图表,并将所述设置参数存储为看板任务,以通过所述看板任务将所述设置参数显示在所述父页面中。According to the setting parameter setting chart, the setting parameters are stored as a Kanban task, so that the setting parameters are displayed in the parent page through the Kanban task.
在一实施例中,所述根据所述节点参数在所述前端子系统中生成所述工作流节点的前端控件,以将所述外部系统作为工作流节点嵌入所述工作流系统中的步骤之后,还包括:In an embodiment, after the step of generating the front-end control of the workflow node in the front-end subsystem according to the node parameter, so as to embed the external system as a workflow node in the workflow system ,Also includes:
当侦测到访问所述外部系统的访问请求后,从所述工作流系统的后端子系统中获取所述外部系统的安全认证信息;After detecting the access request for accessing the external system, obtain the security authentication information of the external system from the back-end subsystem of the workflow system;
将所述安全认证信息添加至所述访问请求中,并将携带所述安全认证信息的访问请求发送给所述外部系统,以供所述外部系统根据所述访问请求中的安全认证信息确定所述访问请求的合法性。The security authentication information is added to the access request, and the access request carrying the security authentication information is sent to the external system, so that the external system can determine the location based on the security authentication information in the access request. State the legitimacy of the access request.
在一实施例中,所述根据所述节点参数在所述前端子系统中生成所述工作流节点的前端控件,以将所述外部系统作为工作流节点嵌入所述工作流系统中的步骤之后,还包括:In an embodiment, after the step of generating the front-end control of the workflow node in the front-end subsystem according to the node parameter, so as to embed the external system as a workflow node in the workflow system ,Also includes:
获取所述工作流系统的后端子系统中对接所述外部系统的标准接口,以及通过所述前端子系统获取所述外部系统的接口信息;Acquiring a standard interface for docking with the external system in the back-end subsystem of the workflow system, and acquiring interface information of the external system through the front-end subsystem;
通过所述前端子系统,根据所述标准接口和所述接口信息在所述外部系统中创建工作流任务。Through the front-end subsystem, a workflow task is created in the external system according to the standard interface and the interface information.
在一实施例中,所述根据所述节点参数在所述前端子系统中生成所述工作流节点的前端控件,以将所述外部系统作为工作流节点嵌入所述工作流系统中的步骤之后,还包括:In an embodiment, after the step of generating the front-end control of the workflow node in the front-end subsystem according to the node parameter, so as to embed the external system as a workflow node in the workflow system ,Also includes:
当侦测到执行所述外部系统对应工作流节点的执行指令后,确定所述执行指令对应的调度系统;After detecting that the execution instruction of the workflow node corresponding to the external system is executed, determine the scheduling system corresponding to the execution instruction;
按照所述调度系统的调度格式转换所述工作流节点的任务,得到转换后的待执行任务,并通过所述调度系统将转换后的待执行任务发送给的Linkis客户端,以通过所述Linkis客户端执行所述转换后的待执行任务。The tasks of the workflow node are converted according to the scheduling format of the scheduling system to obtain the converted tasks to be executed, and the converted tasks to be executed are sent to the Linkis client through the scheduling system to pass the Linkis The client executes the task to be executed after the conversion.
在一实施例中,所述当侦测到在工作流系统的前端子系统中加载外部系统的加载指令后,通过预设的节点类型表确定所述加载指令对应的工作流节点的节点类型的步骤之前,还包括:In one embodiment, after detecting that the load instruction of the external system is loaded in the front-end subsystem of the workflow system, the node type of the workflow node corresponding to the load instruction is determined through a preset node type table. Before the steps, it also includes:
当侦测到在工作流系统中嵌入外部系统对应工作流节点的嵌入指令后,在所述节点类型表中添加所述工作流节点的节点类型,并在所述参数配置表中添加所述工作流节点的节点参数。After detecting the embedding instruction of the workflow node corresponding to the external system in the workflow system, the node type of the workflow node is added to the node type table, and the job is added to the parameter configuration table The node parameters of the flow node.
此外,为实现上述目的,本申请还提供一种工作流系统,所述工作流系统包括:In addition, in order to achieve the above objective, the present application also provides a workflow system, the workflow system including:
确定模块,用于当侦测到在工作流系统的前端子系统中加载外部系统的加载指令后,通过预设的节点类型表确定所述加载指令对应的工作流节点的节点类型;The determining module is used to determine the node type of the workflow node corresponding to the load instruction through the preset node type table after detecting that the load instruction of the external system is loaded in the front-end subsystem of the workflow system;
获取模块,用于根据所述节点类型在预设的参数配置表中获取所述工作流节点的节点参数;An obtaining module, configured to obtain the node parameters of the workflow node in a preset parameter configuration table according to the node type;
生成模块,用于根据所述节点参数在所述前端子系统中生成所述工作流节点的前端控件,以将所述外部系统作为工作流节点嵌入所述工作流系统中。The generating module is configured to generate the front-end control of the workflow node in the front-end subsystem according to the node parameters, so as to embed the external system as a workflow node in the workflow system.
此外,为实现上述目的,本申请还提供一种外部系统的嵌入设备,所述外部系统的嵌入设备包括存储器、处理器和存储在所述存储器上并可在所述处理器上运行的外部系统的嵌入程序,所述外部系统的嵌入程序被所述处理器执行时实现如上所述的外部系统的嵌入方法的步骤。In addition, in order to achieve the above objective, the present application also provides an embedded device of an external system. The embedded device of the external system includes a memory, a processor, and an external system stored on the memory and capable of running on the processor. The embedded program of the external system, when the embedded program of the external system is executed by the processor, realizes the steps of the above-mentioned embedding method of the external system.
此外,为实现上述目的,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有外部系统的嵌入程序,所述外部系统的嵌入程序被处理器执行时实现如上所述的外部系统的嵌入方法的步骤。In addition, in order to achieve the above-mentioned object, the present application also provides a computer-readable storage medium with an embedded program of an external system stored on the computer-readable storage medium. When the embedded program of the external system is executed by a processor, the above The steps of the embedding method of the external system described.
本申请通过在侦测到在工作流系统的前端子系统中加载外部系统的加载指令后,通过预设的节点类型表确定加载指令对应的工作流节点的节点类型,根据节点类型在预设的参数配置表中获取工作流节点的节点参数;根据所述节点参数在前端子系统中生成所述工作流节点的前端控件,以将外部系统作为工作流节点嵌入工作流系统中,实现了在工作流系统中增加外部系统对应工作流节点过程中,不需要对工作流系统的前端子系统和后端子系统进行大量,只需要获取外部系统对应的工作流节点的节点参数即可,降低了在工作流系统中新增外部系统对应工作流节点的难度,以及提高了在工作流系统中新增外部系统对应工作流节点的效率。This application determines the node type of the workflow node corresponding to the load instruction through the preset node type table after detecting the loading instruction of the external system in the front-end subsystem of the workflow system. Obtain the node parameters of the workflow node in the parameter configuration table; generate the front-end control of the workflow node in the front-end subsystem according to the node parameters, so as to embed the external system as the workflow node in the workflow system, and realize the work In the process of adding workflow nodes corresponding to external systems in the flow system, there is no need to perform a lot of front-end subsystems and back-end subsystems of the workflow system. You only need to obtain the node parameters of the workflow nodes corresponding to the external system, which reduces the work flow. The difficulty of adding a new external system corresponding to the workflow node in the workflow system, and improving the efficiency of adding a new external system corresponding to the workflow node in the workflow system.
图1是本申请外部系统的嵌入方法第一实施例的流程示意图;Fig. 1 is a schematic flowchart of a first embodiment of an embedding method of an external system of the present application;
图2是本申请外部系统的嵌入方法第二实施例的流程示意图;2 is a schematic flowchart of a second embodiment of the method for embedding an external system of the present application;
图3是本申请外部系统的嵌入方法第三实施例的流程示意图;3 is a schematic flowchart of a third embodiment of the method for embedding an external system of the present application;
图4是本申请工作流系统较佳实施例的功能示意图模块图;FIG. 4 is a functional schematic block diagram of a preferred embodiment of the workflow system of the present application;
图5是本申请实施例方案涉及的硬件运行环境的结构示意图。Fig. 5 is a schematic structural diagram of a hardware operating environment involved in a solution of an embodiment of the present application.
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization, functional characteristics, and advantages of the purpose of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings.
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。It should be understood that the specific embodiments described here are only used to explain the application, and not used to limit the application.
本申请提供一种外部系统的嵌入方法,参照图1,图1为本申请外部系统的嵌入方法第一实施例的流程示意图。This application provides an embedding method for an external system. Refer to FIG. 1, which is a schematic flowchart of a first embodiment of the embedding method for an external system of this application.
本申请实施例提供了外部系统的嵌入方法的实施例,需要说明的是,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。The embodiments of the present application provide an embodiment of an embedding method of an external system. It should be noted that although the logical sequence is shown in the flowchart, in some cases, the sequence shown here can be executed in a different order. Or the steps described.
外部系统的嵌入方法包括:Embedding methods for external systems include:
步骤S10,当侦测到在工作流系统的前端子系统中加载外部系统的加载指令后,通过预设的节点类型表确定所述加载指令对应的工作流节点的节点类型。Step S10, after detecting that the loading instruction of the external system is loaded in the front-end subsystem of the workflow system, the node type of the workflow node corresponding to the loading instruction is determined through a preset node type table.
在本申请实施例中,工作流系统借助Linkis强大的后台计算引擎的聚合能力,以及Linkis的任务管理,资源管理和隔离,任务调度执行等特性,结果集和日志处理能力,很方便的将外部系统整合到一个工作流的实时执行和调度执行中来。Linkis是一个打通了多个计算存储引擎,对外提供统一接口,提交执行SQL(Structured Query Language,结构化查询语言)、Pyspark、HiveQL、Scala等脚本的数据中间件。工作流系统包括前端子系统和后端子系统,前端子系统用于创建外部系统对应的工作流节点,以及工作流系统页面与外部系统页面之间的交互问题。为了便于区分,将工作流系统页面记为父页面,将外部系统页面记为子页面。在后端子系统中,设置有节点类型表和节点参数属性表,节点类型表用于存储各个工作流节点的节点类型,节点参数属性表用于存储不同类型工作流节点的节点参数。节点类型包括数据交换节点、数据开发节点、数据可视化节点、数据输出节点、信号节点和功能节点等。节点参数包括但不限于节点启动参数、节点对应外部系统的内存大小、节点对应外部系统的CPU(central
processing unit,中央处理器)个数、节点参数名称、参数类型、参数取值范围、参数校验规则和参数对应字段是否必填等,参数类型包括但不限于字符型和数值型。不同类型的工作流节点对应的节点参数可能相同,也可能不相同。In the embodiment of this application, the workflow system uses Linkis's powerful background computing engine aggregation capabilities, as well as Linkis's task management, resource management and isolation, task scheduling and execution features, result sets and log processing capabilities, which are very convenient for external The system is integrated into the real-time execution and scheduling execution of a workflow. Linkis is a data middleware that integrates multiple computing storage engines, provides a unified interface to the outside world, and submits and executes SQL (Structured Query Language), Pyspark, HiveQL, Scala and other scripts. The workflow system includes a front-end subsystem and a back-end subsystem. The front-end subsystem is used to create workflow nodes corresponding to the external system and the interaction between the pages of the workflow system and the external system. In order to facilitate the distinction, the workflow system page is recorded as the parent page, and the external system page is recorded as the child page. In the back-end subsystem, a node type table and a node parameter attribute table are set. The node type table is used to store the node type of each workflow node, and the node parameter attribute table is used to store the node parameters of different types of workflow nodes. Node types include data exchange nodes, data development nodes, data visualization nodes, data output nodes, signal nodes, and function nodes. Node parameters include but are not limited to node startup parameters, the memory size of the node corresponding to the external system, and the CPU (central CPU) of the node corresponding to the external system.
The number of processing units (central processing units), node parameter names, parameter types, parameter value ranges, parameter verification rules, and whether the corresponding fields of the parameters are required, etc. The parameter types include but are not limited to character and numeric types. The node parameters corresponding to different types of workflow nodes may be the same or different.
当前端子系统侦测到加载外部系统的加载指令后,前端子系统在后端子系统中预先设置好的节点类型表中确定加载指令对应的工作流节点的节点类型。其中,加载指令对应的工作流节点即为外部系统对应的工作流节点,当外部系统成功嵌入工作流系统中后,外部系统是作为工作流系统中的一个工作流节点存在的。加载指令可由用户根据需要触发,也可由工作流系统主动触发。需要说明的是,加载指令中携带有外部系统的标识信息,通过该标识信息即可在节点类型表中确定加载指令对应工作流节点的节点类型,该标识信息可为外部系统名称或者唯一表示外部系统的标识码。具体地,该加载指令可为页面刷新指令。After the current terminal system detects the load instruction for loading the external system, the front-end subsystem determines the node type of the workflow node corresponding to the load instruction in the node type table preset in the back-end subsystem. Among them, the workflow node corresponding to the load instruction is the workflow node corresponding to the external system. When the external system is successfully embedded in the workflow system, the external system exists as a workflow node in the workflow system. The load instruction can be triggered by the user as needed, or can be triggered actively by the workflow system. It should be noted that the load instruction carries the identification information of the external system. The identification information can be used to determine the node type of the workflow node corresponding to the load instruction in the node type table. The identification information can be the name of the external system or uniquely indicate the external system. The identification code of the system. Specifically, the load instruction may be a page refresh instruction.
进一步地,外部系统的嵌入方法包括:Further, the embedding method of the external system includes:
步骤a,当侦测到在工作流系统中嵌入外部系统对应工作流节点的嵌入指令后,在所述节点类型表中添加所述工作流节点的节点类型,并在所述参数配置表中添加所述工作流节点的节点参数。Step a: After detecting the embedding instruction of the workflow node corresponding to the external system in the workflow system, add the node type of the workflow node to the node type table, and add it to the parameter configuration table The node parameter of the workflow node.
进一步地,当工作流系统的前端子系统侦测到外部系统作为工作流节点的嵌入指令后,前端子系统将嵌入指令发送给后端子系统,后端子系统根据该嵌入指令获取外部系统对应的工作流节点的节点类型和节点参数,并在节点类型表添加外部系统对应工作流节点的节点类型,以及在参数配置表中添加外部系统对应工作流节点的节点参数。需要说明的是,外部系统对应工作流节点的节点类型由外部系统所能实现的功能决定。外部系统要作为工作流节点嵌入到工作流系统中,外部系统要先在工作流系统中注册,在外部系统在工作流系统注册过程中,工作流系统可获取外部系统相关数据,根据该相关数据确定外部系统对应工作流节点的节点类型。相关数据包括但不限于外部系统的系统名称、安全认证信息和所能实现的功能。安全认证信息至少包括Cookie内容和Token(令牌)内容两者中的一者。Cookie类型为“小型文本文件”,是某些网站为了辨别用户身份,进行Session跟踪而储存在用户本地终端上的数据(通常经过加密),由用户客户端计算机暂时或永久保存的信息。Further, when the front-end subsystem of the workflow system detects the embedded instruction of the external system as the workflow node, the front-end subsystem sends the embedded instruction to the back-end subsystem, and the back-end subsystem obtains the corresponding work of the external system according to the embedded instruction The node type and node parameters of the flow node, and the node type of the workflow node corresponding to the external system is added to the node type table, and the node parameter of the workflow node corresponding to the external system is added to the parameter configuration table. It should be noted that the node type of the workflow node corresponding to the external system is determined by the function that the external system can implement. The external system should be embedded in the workflow system as a workflow node. The external system should first be registered in the workflow system. During the registration process of the external system in the workflow system, the workflow system can obtain the relevant data of the external system. According to the relevant data Determine the node type of the workflow node corresponding to the external system. Relevant data includes, but is not limited to, the system name of the external system, safety certification information and the functions that can be realized. The security authentication information includes at least one of Cookie content and Token content. The type of cookie is a "small text file", which is the data (usually encrypted) stored on the user's local terminal by certain websites in order to identify the user and perform session tracking. The information is temporarily or permanently stored by the user's client computer.
步骤S20,根据所述节点类型在预设的参数配置表中获取所述工作流节点的节点参数。Step S20: Obtain the node parameters of the workflow node from a preset parameter configuration table according to the node type.
当确定外部系统对应工作流节点的节点类型后,前端子系统根据该节点类型在后端子系统中的参数配置表中获取外部系统对应工作流节点的节点参数。具体地,前端子系统在侦测到加载指令后,将该加载指令发送给后端子系统,后端子系统根据该加载指令在节点类型表中确定外部系统对应工作流节点的节点类型,然后在预先设置好的参数配置表中获取该节点类型对应的节点参数,以得到外部系统对应工作流节点的节点参数,然后将该节点参数返回给前端子系统。After determining the node type of the workflow node corresponding to the external system, the front-end subsystem obtains the node parameters of the workflow node corresponding to the external system from the parameter configuration table in the back-end subsystem according to the node type. Specifically, after the front-end subsystem detects the load instruction, it sends the load instruction to the back-end subsystem. The back-end subsystem determines the node type of the workflow node corresponding to the external system in the node type table according to the load instruction, and then pre- The node parameter corresponding to the node type is obtained from the set parameter configuration table to obtain the node parameter of the workflow node corresponding to the external system, and then the node parameter is returned to the front-end subsystem.
步骤S30,根据所述节点参数在所述前端子系统中生成所述工作流节点的前端控件,以将所述外部系统作为工作流节点嵌入所述工作流系统中。Step S30: Generate a front-end control of the workflow node in the front-end subsystem according to the node parameter, so as to embed the external system as a workflow node in the workflow system.
当前端子系统获取到节点参数后,前端子系统根据该节点参数生成外部系统对应工作流节点的前端控件,以将外部系统作为工作流节点嵌入工作流系统中。需要说明的是,当生成外部系统对应工作流节点的前端控件后,即表明外部系统已经成为工作流系统中的一个工作流节点了。进一步地,前端子系统可根据参数配置表中的节点参数生成节点可选列表,用户可在节点可选列表中选择对应的节点参数,前端子系统根据用户选择的节点参数动态加载,将外部系统作为工作流节点嵌入工作流系统中。After the current terminal system obtains the node parameters, the front-end subsystem generates a front-end control corresponding to the workflow node of the external system according to the node parameters, so as to embed the external system as a workflow node into the workflow system. It should be noted that when the front-end control corresponding to the workflow node of the external system is generated, it means that the external system has become a workflow node in the workflow system. Further, the front-end subsystem can generate a node selectable list according to the node parameters in the parameter configuration table. The user can select the corresponding node parameter in the node selectable list. The front-end subsystem dynamically loads according to the node parameters selected by the user, and the external system It is embedded in the workflow system as a workflow node.
需要说明的是,在本实施例中,工作流系统本质上是通过SQL配置来改变前端子系统,将外部系统作为工作流节点嵌入到工作流系统中。具体地,工作流系统把通过SQL 添加工作流节点的方式设置成模板,当需要将外部系统作为工作流节点嵌入到工作流系统中时,前端子系统将所获取的节点参数添加至模板的对应位置处,即可将外部系统作为工作流节点嵌入工作流系统中。由此可知,本实施例隐藏掉了SQL实现的复杂逻辑,即使是不用SQL的用户也能够轻松实现将外部系统作为工作流节点嵌入工作流系统中。It should be noted that, in this embodiment, the workflow system essentially changes the front-end subsystem through SQL configuration, and embeds the external system as a workflow node into the workflow system. Specifically, the workflow system sets the method of adding workflow nodes through SQL as a template. When an external system needs to be embedded in the workflow system as a workflow node, the front-end subsystem adds the obtained node parameters to the corresponding template At the location, the external system can be embedded in the workflow system as a workflow node. It can be seen that this embodiment hides the complex logic implemented by SQL, and even users who do not use SQL can easily embed the external system as a workflow node into the workflow system.
本实施例通过在侦测到在工作流系统的前端子系统中加载外部系统的加载指令后,通过预设的节点类型表确定加载指令对应的工作流节点的节点类型,根据节点类型在预设的参数配置表中获取工作流节点的节点参数;根据所述节点参数在前端子系统中生成所述工作流节点的前端控件,以将外部系统作为工作流节点嵌入工作流系统中,实现了在工作流系统中增加外部系统对应工作流节点过程中,不需要对工作流系统的前端子系统和后端子系统进行大量,只需要获取外部系统对应的工作流节点的节点参数即可,降低了在工作流系统中新增外部系统对应工作流节点的难度,以及提高了在工作流系统中新增外部系统对应工作流节点的效率。In this embodiment, after detecting that the load instruction of the external system is loaded in the front-end subsystem of the workflow system, the node type of the workflow node corresponding to the load instruction is determined through the preset node type table, and the node type of the workflow node corresponding to the load instruction is determined according to the node type. Obtain the node parameters of the workflow node in the parameter configuration table; generate the front-end control of the workflow node in the front-end subsystem according to the node parameters, so as to embed the external system as the workflow node in the workflow system, and realize the In the process of adding workflow nodes corresponding to external systems in the workflow system, there is no need to perform a lot of front-end subsystems and back-end subsystems of the workflow system. You only need to obtain the node parameters of the workflow nodes corresponding to the external system, which reduces the cost The difficulty of adding a new external system corresponding to the workflow node in the workflow system, and improving the efficiency of adding a new external system corresponding to the workflow node in the workflow system.
进一步地,提出本申请外部系统的嵌入方法第二实施例。Further, a second embodiment of the embedding method of the external system of the present application is proposed.
所述外部系统的嵌入方法第二实施例与所述外部系统的嵌入方法第一实施例的区别在于,参照图2,所述外部系统的嵌入方法还包括:The difference between the second embodiment of the external system embedding method and the first embodiment of the external system embedding method is that, referring to FIG. 2, the external system embedding method further includes:
步骤S40,当侦测到在所述工作流节点中启动所述外部系统子页面的启动指令后,获取所述子页面的统一资源定位系统URL地址,以及获取所述启动指令对应的启动参数。Step S40, after detecting the start instruction for starting the external system subpage in the workflow node, obtain the uniform resource locating system URL address of the subpage, and obtain the start parameter corresponding to the start instruction.
当工作流系统侦测到在外部系统对应工作流节点中启动外部系统子页面的启动指令后,工作流系统获取子页面的URL(Uniform
Resource Locator,统一资源定位符)地址,以及获取启动指令对应的启动参数。启动参数包括但不限于子页面的显示方式、页面大小、页面布局参数和子页面所显示的业务参数,业务参数包括但不限于子页面所显示内容对应的工程号、该子页面对应用户的用户信息、工作流节点的节点名称和工作流节点对应的任务标识,用户信息可为用户名或者用户ID号等,工程号为子页面所显示内容对应项目的项目编码或者项目ID等。可以理解的是,启动指令可由用户根据具体需要而触发,或者由工作流系统中的定时任务触发。When the workflow system detects the start instruction to start the subpage of the external system in the corresponding workflow node of the external system, the workflow system obtains the URL of the subpage (Uniform
Resource Locator (Uniform Resource Locator) address, and the startup parameters corresponding to the startup instruction. Startup parameters include, but are not limited to, the display mode of the subpage, page size, page layout parameters, and business parameters displayed on the subpage. Business parameters include, but are not limited to, the project number corresponding to the content displayed on the subpage, and the user information of the user corresponding to the subpage. , The node name of the workflow node and the task ID corresponding to the workflow node, the user information can be a user name or user ID number, etc., and the project number is the project code or project ID of the project corresponding to the content displayed on the subpage. It is understandable that the start instruction can be triggered by the user according to specific needs, or triggered by a timing task in the workflow system.
步骤S50,根据所述URL地址和所述启动参数生成传输请求,并将所述传输请求设置到文本标签中,以通过所述文本标签实现所述子页面和所述工作流系统的父页面之间的通信。Step S50: Generate a transmission request according to the URL address and the startup parameters, and set the transmission request to a text tag, so as to realize the relationship between the child page and the parent page of the workflow system through the text tag. Inter-communication.
当工作流系统获取到URL地址和启动参数后,工作流系统将URL地址启动参数按照预设拼接格式拼接成传输请求,即根据URL地址和启动参数生成传输请求。在本实施例中不限制拼接格式的具体表现形式,如可以将URL地址放在前面,启动参数放在后面进行拼接。具体地,在本实施例中,传输请求可为HTTP(HyperText Transfer
Protocol,超文本传输协议)请求。可以理解的是,在其它实施例中,也可以将URL地址和启动参数拼接成其它传输协议对应的请求。After the workflow system obtains the URL address and the startup parameters, the workflow system splices the URL address startup parameters into a transmission request according to a preset splicing format, that is, generates a transmission request based on the URL address and the startup parameters. In this embodiment, the specific manifestation of the splicing format is not limited. For example, the URL address can be placed in the front, and the startup parameters can be placed in the back for splicing. Specifically, in this embodiment, the transfer request may be HTTP (HyperText Transfer
Protocol, Hypertext Transfer Protocol) request. It is understandable that, in other embodiments, the URL address and the startup parameters can also be spliced into requests corresponding to other transmission protocols.
当工作流系统生成传输请求后,将传输请求设置到文本标签中,以通过该文本标签实现子页面和工作流系统父页面之间的通信。其中,文本标签为IFrame标签,IFrame是HTML(HyperText Markup Language,超级文本标记语言)标签,作用是文档中的文档,或者浮动的框架(IFrame),IFrame元素会创建包含另外一个文档的内联框架(即行内框架)。需要说明的是,通过IFrame标签可将外部系统的子页面作为工作流系统的一个工作流节点,实现工作流系统的父页面和子页面之间的通信。在父页面和子页面通信过程中,是使用IFrame标签跨域发送消息,跨域是指当一个请求URL的协议、域名、端口三者之间任意一个与当前页面URL不同,本实施例主要通过使用window.postMessage方法解决跨域发送消息的问题。After the workflow system generates the transmission request, it sets the transmission request to the text label, so as to realize the communication between the child page and the parent page of the workflow system through the text label. Among them, the text tag is an IFrame tag, and IFrame is an HTML (HyperText Markup Language) tag, which functions as a document in a document or a floating frame (IFrame). The IFrame element will create an inline frame containing another document (That is, the frame of the line). It should be noted that the child page of the external system can be used as a workflow node of the workflow system through the IFrame tag to realize the communication between the parent page and the child page of the workflow system. In the communication process between the parent page and the child page, IFrame tags are used to send messages across domains. Cross domain refers to when any of the protocol, domain name, and port of a request URL is different from the current page URL. This embodiment mainly uses The window.postMessage method solves the problem of sending messages across domains.
进一步地,所述外部系统的嵌入方法还包括:Further, the embedding method of the external system further includes:
步骤b,当侦测到在所述父页面和所述子页面之间使用所述文本标签进行跨域发送消息的消息传输指令后,通过所述父页面获取所述消息传输指令对应的待传输消息。Step b: After detecting a message transmission instruction using the text tag to send a message across domains between the parent page and the child page, obtain the message transmission instruction to be transmitted corresponding to the message transmission instruction through the parent page news.
进一步地,在工作流系统的父页面和外部系统的子页面通过IFrame的方式进行通信时,工作流系统侦测是否侦测到在父页面和子页面之间使用所述文本标签进行跨域发送消息的消息传输指令。当工作流系统侦测到该消息传输指令后,工作流系统通过该父页面获取消息传输指令对应的待传输消息。需要说明的是,待传输消息中包括工程号、用户信息、子页面对应工作流节点的节点名称和待传输消息对应任务的任务标识。Further, when the parent page of the workflow system and the child page of the external system communicate via IFrame, the workflow system detects whether it detects that the text tag is used between the parent page and the child page to send a message across domains Message transmission instructions. After the workflow system detects the message transmission instruction, the workflow system obtains the message to be transmitted corresponding to the message transmission instruction through the parent page. It should be noted that the message to be transmitted includes the project number, user information, the node name of the workflow node corresponding to the subpage, and the task identifier of the task corresponding to the message to be transmitted.
步骤c,将所述待传输消息组装成预设格式的传输消息发送给所述子页面。Step c: Assemble the message to be transmitted into a transmission message in a preset format and send it to the sub-page.
当工作流系统获取到待传输消息后,工作流系统将待传输消息组装成预设格式的传输消息发送给子页面。具体地,工作流系统将待传输消息组装成JSON(JavaScript
Object Notation,JavaScript 对象简谱)格式发送给子页面。需要说明的是,父页面通过消息监听方式侦测消息传输指令,采用JSON格式传递消息传输指令的消息内容,即通过JSON格式传递待传输消息,待传输消息的消息结构是由工作流系统和外部系统预先约定好的。本实施例采用JSON格式进行传输消息,正是利用了JSON的简单适用,兼容性好的特点,JSON可兼容低版本IE(Internet Explorer,网页浏览器)。当工作流系统通过父页面接收到子页面发送的获取JSON格式的待传输消息的获取请求后,工作流系统根据该获取请求获取对应的待传输消息,并将待传输消息转换成JSON格式后放置到预设回调函数中固定的参数位置中,以将JSON格式的待传输消息发送给子页面,即将JSON格式的待传输消息发送给外部系统,实现外部系统与工作流系统之间的通信。After the workflow system obtains the message to be transmitted, the workflow system assembles the message to be transmitted into a transmission message in a preset format and sends it to the sub-page. Specifically, the workflow system assembles the messages to be transmitted into JSON (JavaScript
Object Notation, JavaScript object notation) format to send to the child page. It should be noted that the parent page detects the message transmission instruction through the message monitoring method, and uses the JSON format to transmit the message content of the message transmission instruction, that is, the message to be transmitted is transmitted in the JSON format. The message structure of the message to be transmitted is determined by the workflow system and the external The system has agreed in advance. In this embodiment, the JSON format is used to transmit the message, which is the advantage of simple application and good compatibility of JSON. JSON is compatible with lower versions of IE (Internet Explorer, web browser). When the workflow system receives an acquisition request from the child page to obtain the message to be transmitted in JSON format from the child page through the parent page, the workflow system obtains the corresponding message to be transmitted according to the acquisition request, converts the message to be transmitted into JSON format, and places it To the fixed parameter position in the preset callback function, the message to be transmitted in JSON format is sent to the subpage, that is, the message to be transmitted in JSON format is sent to the external system to realize the communication between the external system and the workflow system.
进一步地,在外部系统的子页面中也增加消息发送功能,具体地,在外部系统的子页面中设置保存按钮的单击事件,在单击事件的方法中增加消息发送功能的调用,通过使用window.parent.postMessage方法,向工作流系统的父页面发送消息。外部系统通过子页面的保存按钮存储数据过程中,子页面会把所存储数据的关键信息发送给工作流系统,具体地,发送给工作流系统的前端子系统,关键信息包括但不限于外部系统所存储数据对应任务的任务标识、节点名称和工程号。需要说明的是,外部系统通过子页面只把关键信息发送给工作流系统的前端子系统,其它相关信息可在执行对应任务时去获取,降低了外部系统和工作流系统之间的数据传输量,简化了外部系统和工作流系统所传输数据的内容,复杂的任务定义在外部系统中完成,不需要工作流系统去执行复杂的任务定义操作。Further, the message sending function is also added to the subpage of the external system. Specifically, the click event of the save button is set in the subpage of the external system, and the message sending function is added to the click event method. By using The window.parent.postMessage method sends a message to the parent page of the workflow system. When the external system stores data through the save button of the subpage, the subpage will send the key information of the stored data to the workflow system, specifically, to the front-end subsystem of the workflow system. The key information includes but is not limited to the external system The stored data corresponds to the task ID, node name and project number of the task. It should be noted that the external system only sends key information to the front-end subsystem of the workflow system through the sub-page, and other related information can be obtained when the corresponding task is executed, which reduces the amount of data transmission between the external system and the workflow system , Simplifies the content of the data transmitted by the external system and the workflow system. The complex task definition is completed in the external system, and the workflow system is not required to perform complex task definition operations.
本实施例解决了外部系统作为工作流节点嵌入工作流系统后,外部系统子页面与工作流系统父页面之间数据交互的问题,除了可以在工作流系统中直接嵌入外部系统的子页面,工作流系统还可以发送消息给外部系统,外部系统也可以将消息发送给工作流系统,通过将外部系统作为工作流系统中的工作流节点,使外部系统中的数据加工、分析等过程更加清晰,使相应的开发人员在可视化工作流系统中完成整个业务流程的开发,避免开发人员反复登录不同的外部系统去设计业务流程的业务逻辑,降低了开发人员开发业务流程的难度,以及提高了开发人员设计业务逻辑的设计效率。This embodiment solves the problem of data interaction between the child page of the external system and the parent page of the workflow system after the external system is embedded in the workflow system as a workflow node. In addition to directly embedding the child page of the external system in the workflow system, work The flow system can also send messages to the external system, and the external system can also send the message to the workflow system. By using the external system as the workflow node in the workflow system, the data processing and analysis in the external system can be made clearer. Enables the corresponding developers to complete the development of the entire business process in the visual workflow system, avoids developers from repeatedly logging in to different external systems to design the business logic of the business process, reduces the difficulty for developers to develop business processes, and improves developers Design efficiency of design business logic.
进一步地,所述外部系统的嵌入方法还包括:Further, the embedding method of the external system further includes:
步骤d,当侦测到在所述子页面中进行图表设计的设计指令后,获取所述设计指令对应的设置参数。Step d, after detecting the design command for chart design in the subpage, obtain the setting parameters corresponding to the design command.
当工作流系统侦测到在子页面中进行图表设计的设计指令后,工作流系统通过子页面获取设计指令对应的设置参数,其中,设置参数包括图表数据的数据源、图表名称、图表的表现样式、颜色配置和图表大小等,表现样式包括但不限于柱状图、表格和雷达图。本实施例中设计指令对应的图表为可视化图表。具体地,用户可在嵌入工作流系统中的外部系统的子页面中触发设计指令。When the workflow system detects the design instruction for chart design in the subpage, the workflow system obtains the setting parameters corresponding to the design instruction through the subpage. The setting parameters include the data source of the chart data, the chart name, and the performance of the chart. Style, color configuration and chart size, etc., performance styles include, but are not limited to, histogram, table, and radar chart. The chart corresponding to the design command in this embodiment is a visual chart. Specifically, the user can trigger the design instruction in the subpage of the external system embedded in the workflow system.
步骤e,根据所述设置参数设置图表,并将所述设置参数存储为看板任务,以通过所述看板任务将所述设置参数显示在所述父页面中。Step e: According to the setting parameter setting chart, and storing the setting parameters as a Kanban task, so as to display the setting parameters in the parent page through the Kanban task.
当工作流系统获取到设计指令对应的设置参数后,工作流系统根据该设置参数在子页面中设置图表,并将设置参数存储为看板(dashboard)任务,将看板任务发送给父页面,以通过看板任务将设置参数显示在所述父页面中。需要说明的是,通过看板任务可以将所设置图表的相关信息显示在父页面中,具体地,可以列表的形式显示在父页面中。可以理解的是,子页面也是通过Iframe跨域,将看板任务以字符串的方式发送给父页面,其中,字符串的方式是JSON格式的一种。需要说明的是,在本实施例中,用户只需在外部系统上进行相应操作,外部系统保存用户的操作信息,然后将操作信息中的核心信息发送给工作流系统的父页面,在执行对应任务时,工作流系统将核心信息返回给外部系统,以供外部系统根据该核心信息执行对应的任务,其中,核心信息为能确定任务为具体哪个任务的信息。After the workflow system obtains the setting parameters corresponding to the design instruction, the workflow system sets the chart in the child page according to the setting parameters, stores the setting parameters as a dashboard task, and sends the dashboard task to the parent page to pass The kanban task displays the setting parameters in the parent page. It should be noted that the related information of the set chart can be displayed on the parent page through the Kanban task, specifically, it can be displayed on the parent page in the form of a list. It is understandable that the child page is also cross-domain through Iframe, and the Kanban task is sent to the parent page in the form of a string, where the string is a type of JSON format. It should be noted that in this embodiment, the user only needs to perform corresponding operations on the external system, and the external system saves the user's operation information, and then sends the core information in the operation information to the parent page of the workflow system, and executes the corresponding operation. During the task, the workflow system returns the core information to the external system for the external system to execute the corresponding task according to the core information, where the core information is information that can determine which task the task is.
本实施例通过Iframe方式实现在工作流系统中,使用外部系统来创建可视化图表,在工作流系统创建可视化图表过程中,由于外部系统作为工作流节点嵌入到工作流系统中,不需要用户登录对应的外部系统来进行图表创建,可以直接在工作流系统中进行图表创建,简化了图表创建的难度,提高了图表创建的效率。This embodiment implements the Iframe method in the workflow system, using an external system to create the visualization chart. In the process of creating the visualization chart in the workflow system, since the external system is embedded in the workflow system as a workflow node, no user login is required. The external system for chart creation can be done directly in the workflow system, which simplifies the difficulty of chart creation and improves the efficiency of chart creation.
进一步地,提出本申请外部系统的嵌入方法第三实施例。Further, a third embodiment of the embedding method of the external system of the present application is proposed.
所述外部系统的嵌入方法第三实施例与所述外部系统的嵌入方法第一和/或第二实施例的区别在于,参照图3,所述外部系统的嵌入方法还包括:The difference between the third embodiment of the external system embedding method and the first and/or the second embodiment of the external system embedding method is that, referring to FIG. 3, the external system embedding method further includes:
步骤S60,当侦测到访问所述外部系统的访问请求后,从所述工作流系统的后端子系统中获取所述外部系统的安全认证信息。Step S60, after detecting the access request for accessing the external system, obtain the security authentication information of the external system from the back-end subsystem of the workflow system.
步骤S70,将所述安全认证信息添加至所述访问请求中,并将携带所述安全认证信息的访问请求发送给所述外部系统,以供所述外部系统根据所述访问请求中的安全认证信息确定所述访问请求的合法性。Step S70: Add the security authentication information to the access request, and send the access request carrying the security authentication information to the external system, so that the external system can authenticate according to the security authentication in the access request. The information determines the legitimacy of the access request.
当工作流系统侦测到访问外部系统的访问请求后,工作流系统从其后端子系统中获取外部系统的安全认证信息,并将安全认证信息添加至访问请求中。访问请求可由用户根据需要在工作流系统或者外部系统中触发,安全认证信息是预先存储在后端子系统中。需要说明的是,在访问请求中,携带有外部系统的系统名称,根据该系统名称即可在后端子系统中获取外部系统的安全认证信息。When the workflow system detects the access request to the external system, the workflow system obtains the security authentication information of the external system from its back-end subsystem, and adds the security authentication information to the access request. The access request can be triggered by the user in the workflow system or the external system as needed, and the security authentication information is pre-stored in the back-end subsystem. It should be noted that the access request carries the system name of the external system, and the security authentication information of the external system can be obtained in the back-end subsystem according to the system name.
当将安全认证信息添加至访问请求中后,工作流系统将携带安全认证信息的访问请求发送给外部系统。当外部系统接收到访问请求后,外部系统获取访问请求中的安全认证信息,并将所获取的安全认证信息与预先存储的安全认证信息对比,若所获取的安全认证信息与所存储的安全认证信息一致,外部系统则确定访问请求合法,并执行该访问请求;若所获取的安全认证信息与所存储的安全认证信息不一致,外部系统则确定访问请求不合法,不执行该访问请求。需要说明的是,外部系统和工作流系统之间的通信就是外部系统子页面与工作流系统父页面之间的通信。After the security authentication information is added to the access request, the workflow system sends the access request carrying the security authentication information to the external system. When the external system receives the access request, the external system obtains the security authentication information in the access request, and compares the obtained security authentication information with the pre-stored security authentication information. If the obtained security authentication information is compared with the stored security authentication information If the information is consistent, the external system determines that the access request is legal and executes the access request; if the obtained security authentication information is inconsistent with the stored security authentication information, the external system determines that the access request is illegal and does not execute the access request. It should be noted that the communication between the external system and the workflow system is the communication between the child page of the external system and the parent page of the workflow system.
本实施例通过在外部系统和工作流系统通信过程中,外部系统通过安全认证信息来保证工作流系统所发送访问请求的合法性,保证了外部系统执行工作流系统访问请求过程的安全性。In this embodiment, during the communication process between the external system and the workflow system, the external system uses security authentication information to ensure the legitimacy of the access request sent by the workflow system, thereby ensuring the security of the external system's execution of the workflow system access request process.
进一步地,所述外部系统的嵌入方法还包括:Further, the embedding method of the external system further includes:
步骤f,获取所述工作流系统的后端子系统中对接所述外部系统的标准接口,以及通过所述前端子系统获取所述外部系统的接口信息。Step f: Obtain a standard interface for docking with the external system in the back-end subsystem of the workflow system, and obtain the interface information of the external system through the front-end subsystem.
工作流系统获取后端子系统中对接外部系统的标准接口,并通过前端子系统获取外部系统的接口信息。需要说明的是,外部系统需要执行质量检查任务、数据导出任务和数据分析等任务,各个任务都需要在对应外部系统去定义。因此,外部系统一般会存在登录接口、创建任务的创建接口、更新任务的更新接口和删除任务的删除接口等,以及在任务执行过程中,外部系统中还需要获取任务的执行状态,工作流系统会发送任务的执行结果和日志给外部系统,这些功能的实现也需要对应的接口。由此可知,在外部系统中,每种接口都有自己所要实现的功能和对应的返回数据类型。在本实施例中,为了简化前端子系统调用外部系统的复杂性,在后端子系统对外部系统对应的各种接口进行标准化操作,统一定义对接外部系统的标准接口,如统一定义后端子系统中的登录接口、创建任务的创建接口、更新任务的更新接口、删除任务的删除接口等。接口信息包括但不限于外部系统的URL地址、该接口对应工作流节点的节点名称和接口参数,通过接口参数可确定当前接口是哪一个接口。The workflow system obtains the standard interface to the external system in the back-end subsystem, and obtains the interface information of the external system through the front-end subsystem. It should be noted that the external system needs to perform tasks such as quality inspection tasks, data export tasks, and data analysis, and each task needs to be defined in the corresponding external system. Therefore, the external system generally has a login interface, a creation interface for creating tasks, an update interface for updating tasks, and a deletion interface for deleting tasks. In the process of task execution, the external system also needs to obtain the execution status of the task. Workflow system The execution results and logs of the tasks will be sent to the external system. The realization of these functions also requires corresponding interfaces. It can be seen that, in the external system, each interface has its own function to be implemented and the corresponding return data type. In this embodiment, in order to simplify the complexity of the front-end subsystem calling the external system, the back-end subsystem performs standardized operations on various interfaces corresponding to the external system, and uniformly defines the standard interfaces for connecting with the external system, such as the unified definition of the back-end subsystem Login interface, create interface to create task, update interface to update task, delete interface to delete task, etc. The interface information includes, but is not limited to, the URL address of the external system, the node name of the workflow node corresponding to the interface, and interface parameters. The interface parameters can be used to determine which interface the current interface is.
步骤g,通过所述前端子系统,根据所述标准接口和所述接口信息在所述外部系统中创建工作流任务。Step g, through the front-end subsystem, create a workflow task in the external system according to the standard interface and the interface information.
当获取到对接外部系统的标准接口和接口信息后,工作流系统在后端子系统获取标准接口对应的接口代码,然后将接口信息写入接口代码相应位置中,得到可调用的接口,此时,前端子系统可通过该可调用的接口在外部系统中创建工作流任务。需要说明的是,在工作流系统的后端子系统中,每个标准接口都存在对应的接口代码,接口代码是预先设置好的,要使用的时候,只要该所设置的接口代码中写入相应的接口信息即可。After obtaining the standard interface and interface information for docking with the external system, the workflow system obtains the interface code corresponding to the standard interface in the back-end subsystem, and then writes the interface information into the corresponding position of the interface code to obtain the callable interface. At this time, The front-end subsystem can create workflow tasks in the external system through the callable interface. It should be noted that in the back-end subsystem of the workflow system, each standard interface has a corresponding interface code. The interface code is preset. When you want to use it, you only need to write the corresponding interface code in the set interface code. Interface information.
本实施例通过在工作流系统的后端子系统定义对接外部系统的标准接口,使工作流系统的前端子系统在对接外部系统时,不需要对每种外部系统对应的工作流节点都做特殊的调用处理,通过后端子系统中的标准接口的接口代码来对接外部系统,由于前段子系统的数据能力比后端子系统弱,因此在后端子系统中进行标准接口的设计,难度小于通过前端子系统对外部系统对应的工作流节点做调用处理,降低了工作流系统的前端子系统调用外部系统的难度,在后端子系统中增加对接外部系统的接口框架,避免前端子系统直接对应各种外部系统的接口,从而实现不需要修改前端子系统的代码即可实现对外部系统的调用。In this embodiment, by defining the standard interface for docking with external systems in the back-end subsystem of the workflow system, the front-end subsystem of the workflow system does not need to make special work flow nodes corresponding to each external system when docking with the external system. Call processing, to interface with the external system through the interface code of the standard interface in the back-end subsystem. Since the data capacity of the front-end subsystem is weaker than that of the back-end subsystem, the design of the standard interface in the back-end subsystem is less difficult than through the front-end subsystem. Calling the workflow node corresponding to the external system reduces the difficulty of the front-end subsystem of the workflow system calling the external system, and adds an interface framework for docking with the external system in the back-end subsystem to avoid the front-end subsystem directly corresponding to various external systems In order to realize the call to the external system without modifying the code of the front-end subsystem.
进一步地,提出本申请外部系统的嵌入方法第四实施例。Further, a fourth embodiment of the embedding method of the external system of the present application is proposed.
所述外部系统的嵌入方法第四实施例与所述外部系统的嵌入方法第一、第二和/或第三实施例的区别在于,所述外部系统的嵌入方法还包括:The difference between the fourth embodiment of the external system embedding method and the first, second, and/or third embodiments of the external system embedding method is that the external system embedding method further includes:
步骤h,当侦测到执行所述外部系统对应工作流节点的执行指令后,确定所述执行指令对应的调度系统。Step h: After detecting that the execution instruction of the workflow node corresponding to the external system is executed, determine the scheduling system corresponding to the execution instruction.
当成功将外部系统作为工作流节点嵌入工作流系统中后,工作流系统检测是否在侦测到执行外部系统对应工作流节点的执行指令。若侦测到执行指令,工作流系统则确定执行指令对应的调度系统。其中,该执行指令可为实时执行指令,也可为调度执行指令。当执行指令为调度执行指令时,需要把外部系统对应的工作流节点的任务发布到对应调度系统中定时执行。需要说明的是,在执行指令中,携带有对应调度系统的调度标识,根据该调度标识即可确定执行指令对应的调度系统。After successfully embedding the external system as a workflow node into the workflow system, the workflow system detects whether the execution instruction of the corresponding workflow node of the external system is detected. If the execution instruction is detected, the workflow system determines the scheduling system corresponding to the execution instruction. Among them, the execution instruction may be a real-time execution instruction or a scheduled execution instruction. When the execution instruction is a scheduling execution instruction, the task of the workflow node corresponding to the external system needs to be released to the corresponding scheduling system for regular execution. It should be noted that the execution instruction carries a scheduling identifier corresponding to the scheduling system, and the scheduling system corresponding to the execution instruction can be determined according to the scheduling identifier.
步骤i,按照所述调度系统的调度格式转换所述工作流节点的任务,得到转换后的待执行任务,并通过所述调度系统将转换后的待执行任务发送给的Linkis客户端,以通过所述Linkis客户端执行所述转换后的待执行任务。Step i: Convert the tasks of the workflow node according to the scheduling format of the scheduling system to obtain the converted tasks to be executed, and send the converted tasks to be executed to the Linkis client through the scheduling system to pass The Linkis client executes the task to be executed after the conversion.
当工作流系统确定执行指令对应的调度系统后,工作流系统按照调度系统的调度格式转换工作流节点的任务,得到转换后的待执行任务。需要说明的是,每种调度系统都有自己的输入格式,因此要将外部系统对应工作流节点的任务发送至调度系统中,需要将任务进行格式转换,具体怎么转换有调度系统决定,在本实施例中不详细赘述。当得到转换后的待执行任务后,工作流系统将转换后的待执行任务发送给调度系统,以供调度系统将转换后的待执行任务发送给Linkis客户端,通过Linkis端执行该转换后的待执行任务。具体地,不管执行指令是实时执行指令还是调度执行指令,Linkis客户端通过待执行任务中的系统标识确定待执行任务对应的节点是外部系统的工作流节点还是工作流系统的原始节点,工作流系统的原始节点是工作流系统的原生节点。若Linkis客户端确定待执行任务对应的节点为工作流系统的原始节点,Linkis客户端则将待执行任务提交其执行任务的引擎,以通过该引擎执行待执行任务;若Linkis客户端确定待执行任务对应的节点为外部系统的工作流节点,Linkis客户端则确定待执行任务对应工作流节点的节点类型,然后将待执行任务发送给所确定节点类型对应的外部系统,由外部系统执行待执行任务。当外部系统执行完待执行任务后,会生成执行结果,并返回执行结果。After the workflow system determines the scheduling system corresponding to the execution instruction, the workflow system converts the tasks of the workflow node according to the scheduling format of the scheduling system to obtain the converted tasks to be executed. It should be noted that each scheduling system has its own input format. Therefore, to send the tasks of the workflow node corresponding to the external system to the scheduling system, the format of the task needs to be converted. The specific conversion is determined by the scheduling system. Details are not described in the embodiment. When the converted task to be executed is obtained, the workflow system sends the converted task to be executed to the scheduling system for the scheduling system to send the converted task to be executed to the Linkis client, and execute the converted task through the Linkis terminal. Task to be performed. Specifically, regardless of whether the execution instruction is a real-time execution instruction or a scheduled execution instruction, the Linkis client uses the system identifier in the task to be executed to determine whether the node corresponding to the task to be executed is the workflow node of the external system or the original node of the workflow system. The original node of the system is the original node of the workflow system. If the Linkis client determines that the node corresponding to the task to be executed is the original node of the workflow system, the Linkis client submits the task to be executed to its execution engine to execute the task to be executed through the engine; if the Linkis client determines to be executed The node corresponding to the task is the workflow node of the external system, and the Linkis client determines the node type of the workflow node corresponding to the task to be executed, and then sends the task to be executed to the external system corresponding to the determined node type, and the external system executes the task to be executed. task. When the external system finishes executing the task to be executed, it will generate the execution result and return the execution result.
如若调度系统为Azkaban系统,工作流系统则需要将外部系统对应工作流节点的任务转换成job文件,然后将job文件压缩成压缩包,并将该压缩包发送给Azkaban系统,Azkaban系统将所得的压缩包解析成执行任务流,按照有向无环图(Directed Acyclic Graph, DAG)调度,使用包装了Linkis客户端的Azkaban插件,提交给Linkis客户端的后台的External Entrance(外部接口),由它将执行任务流统一发送给外部系统,由外部系统负责对应的任务解析,并执行该执行任务流。压缩包的格式可为zip或者RAR(Roshal ARchive)等。具体地,Linkis客户端可通过压缩包识别到执行对应任务外部系统的系统名称,根据该系统名称即可确定对应的外部系统,Linkis客户端可通过 Job
Type识别系统名称,一个工作流节点对应一个Node类型。If the scheduling system is the Azkaban system, the workflow system needs to convert the tasks corresponding to the workflow nodes of the external system into job files, then compress the job files into a compressed package, and send the compressed package to the Azkaban system, and the Azkaban system will get the result The compressed package is parsed into an execution task flow, according to the Directed Acyclic Graph (Directed Acyclic Graph, DAG) scheduling, using the Azkaban plugin that wraps the Linkis client, submitted to the External Entrance (external interface) of the backend of the Linkis client, and it will execute The task flow is uniformly sent to the external system, and the external system is responsible for the corresponding task analysis and execution of the execution task flow. The format of the compressed package can be zip or RAR (Roshal ARchive), etc. Specifically, the Linkis client can identify the system name of the external system that performs the corresponding task through the compressed package, and the corresponding external system can be determined based on the system name. The Linkis client can use Job
Type identifies the system name, and a workflow node corresponds to a Node type.
需要说明的是,本实施例通过Linkis客户端实现外部系统工作流节点任务的执行,能使用Linkis客户端的系统级和用户级多租户隔离、并发限流和上下文共享等能力。当外部系统需要接入Linkis执行任务时,只需要在Linkis客户端的后台实现External Entrance的接口内容,就可以实现外部系统的接入。Linkis客户端的External Entrance提供Context(上下文)类,允许在执行工作流节点对应任务过程中,外部系统对应工作流节点共享变量和参数给其他外部系统的工作流节点使用。It should be noted that, in this embodiment, the Linkis client implements the execution of external system workflow node tasks, and can use the system-level and user-level multi-tenant isolation, concurrent current limiting, and context sharing capabilities of the Linkis client. When an external system needs to access Linkis to perform tasks, it only needs to implement the interface content of External Entrance in the background of the Linkis client to realize the access of the external system. The External Entrance of the Linkis client provides the Context class, which allows the external system corresponding to the workflow node to share variables and parameters for use by the workflow nodes of other external systems during the execution of the tasks corresponding to the workflow node.
本实施例通过利用Linkis的系统级和用户级多租户隔离、并发限流和上下文共享等能力,使得工作流系统和外部系统的交互有了统一的执行入口,降低了工作流系统和外部系统交互的难度。This embodiment uses Linkis' system-level and user-level multi-tenant isolation, concurrent current limiting, and context sharing capabilities, so that the interaction between the workflow system and the external system has a unified execution entry, and the interaction between the workflow system and the external system is reduced. The difficulty.
此外,参照图4,本申请还提供一种工作流系统,所述工作流系统包括:In addition, referring to FIG. 4, the present application also provides a workflow system, which includes:
确定模块10,用于当侦测到在工作流系统的前端子系统中加载外部系统的加载指令后,通过预设的节点类型表确定所述加载指令对应的工作流节点的节点类型;The determining module 10 is configured to determine the node type of the workflow node corresponding to the load instruction through a preset node type table after detecting that the load instruction of the external system is loaded in the front-end subsystem of the workflow system;
获取模块20,用于根据所述节点类型在预设的参数配置表中获取所述工作流节点的节点参数;The obtaining module 20 is configured to obtain the node parameters of the workflow node in a preset parameter configuration table according to the node type;
生成模块30,用于根据所述节点参数在所述前端子系统中生成所述工作流节点的前端控件,以将所述外部系统作为工作流节点嵌入所述工作流系统中。The generating module 30 is configured to generate front-end controls of the workflow node in the front-end subsystem according to the node parameters, so as to embed the external system as a workflow node in the workflow system.
进一步地,所述获取模块20还用于当侦测到在所述工作流节点中启动所述外部系统子页面的启动指令后,获取所述子页面的统一资源定位系统URL地址,以及获取所述启动指令对应的启动参数;Further, the obtaining module 20 is also configured to obtain the uniform resource locating system URL address of the sub-page after detecting the start instruction for starting the external system sub-page in the workflow node, and obtain all the sub-pages. The startup parameters corresponding to the startup command;
所述生成模块30还用于根据所述URL地址和所述启动参数生成传输请求;The generating module 30 is further configured to generate a transmission request according to the URL address and the startup parameters;
所述工作流系统还包括:The workflow system also includes:
设置模块,用于将所述传输请求设置到文本标签中,以通过所述文本标签实现所述子页面和所述工作流系统的父页面之间的通信。The setting module is configured to set the transmission request to a text label, so as to realize the communication between the child page and the parent page of the workflow system through the text label.
进一步地,所述获取模块20还用于当侦测到在所述父页面和所述子页面之间使用所述文本标签进行跨域发送消息的消息传输指令后,通过所述父页面获取所述消息传输指令对应的待传输消息;Further, the acquiring module 20 is further configured to acquire all information through the parent page after detecting a message transmission instruction for using the text tag to send a message across domains between the parent page and the child page. The message to be transmitted corresponding to the message transmission instruction;
所述工作流系统还包括:The workflow system also includes:
第一发送模块,用于将所述待传输消息组装成预设格式的传输消息发送给所述子页面。The first sending module is configured to assemble the to-be-transmitted message into a transmission message in a preset format and send it to the sub-page.
进一步地,所述获取模块20还用于当侦测到在所述子页面中进行图表设计的设计指令后,获取所述设计指令对应的设置参数;Further, the obtaining module 20 is also configured to obtain the setting parameters corresponding to the design command after the design command for chart design in the subpage is detected;
所述设置模块还用于根据所述设置参数设置图表;The setting module is also used to set the chart according to the setting parameters;
所述工作流系统还包括:The workflow system also includes:
存储模块,用于将所述设置参数存储为看板任务,以通过所述看板任务将所述设置参数显示在所述父页面中。The storage module is configured to store the setting parameters as a Kanban task, so as to display the setting parameters in the parent page through the Kanban task.
进一步地,所述获取模块20还用于当侦测到访问所述外部系统的访问请求后,从所述工作流系统的后端子系统中获取所述外部系统的安全认证信息;Further, the obtaining module 20 is further configured to obtain the security authentication information of the external system from the back-end subsystem of the workflow system after detecting an access request to the external system;
所述工作流系统还包括:The workflow system also includes:
第一添加模块,用于将所述安全认证信息添加至所述访问请求中;The first adding module is configured to add the security authentication information to the access request;
第二发送模块,用于将携带所述安全认证信息的访问请求发送给所述外部系统,以供所述外部系统根据所述访问请求中的安全认证信息确定所述访问请求的合法性。The second sending module is configured to send an access request carrying the security authentication information to the external system, so that the external system can determine the legitimacy of the access request according to the security authentication information in the access request.
进一步地,所述获取模块20还用于获取所述工作流系统的后端子系统中对接所述外部系统的标准接口,以及通过所述前端子系统获取所述外部系统的接口信息;Further, the acquisition module 20 is also configured to acquire a standard interface for connecting to the external system in the back-end subsystem of the workflow system, and acquire interface information of the external system through the front-end subsystem;
所述工作流系统还包括:The workflow system also includes:
创建模块,用于通过所述前端子系统,根据所述标准接口和所述接口信息在所述外部系统中创建工作流任务。The creation module is configured to create a workflow task in the external system according to the standard interface and the interface information through the front-end subsystem.
进一步地,所述工作流系统还包括:Further, the workflow system further includes:
确定模块,用于当侦测到执行所述外部系统对应工作流节点的执行指令后,确定所述执行指令对应的调度系统;The determining module is used to determine the scheduling system corresponding to the execution instruction after detecting the execution instruction of the workflow node corresponding to the external system;
转换模块,用于按照所述调度系统的调度格式转换所述工作流节点的任务,得到转换后的待执行任务;The conversion module is used to convert the tasks of the workflow node according to the scheduling format of the scheduling system to obtain the tasks to be executed after conversion;
所述获取模块20还用于通过所述调度系统将转换后的待执行任务发送给的Linkis客户端,以通过所述Linkis客户端执行所述转换后的待执行任务。The acquisition module 20 is further configured to send the converted task to be executed to the Linkis client through the scheduling system, so as to execute the converted task to be executed through the Linkis client.
进一步地,所述工作流系统还包括:Further, the workflow system further includes:
第二添加模块,用于当侦测到在工作流系统中嵌入外部系统对应工作流节点的嵌入指令后,在所述节点类型表中添加所述工作流节点的节点类型,并在所述参数配置表中添加所述工作流节点的节点参数。The second adding module is used to add the node type of the workflow node in the node type table after detecting the embedding instruction of the workflow node corresponding to the external system in the workflow system, and add the node type of the workflow node to the parameter The node parameter of the workflow node is added to the configuration table.
需要说明的是,工作流系统的各个实施例与上述外部系统的嵌入方法的各实施例基本相同,在此不再详细赘述。It should be noted that the various embodiments of the workflow system are basically the same as the above-mentioned embodiments of the embedding method of the external system, and will not be described in detail here.
此外,本申请还提供一种外部系统的嵌入设备。如图5所示,图5是本申请实施例方案涉及的硬件运行环境的结构示意图。In addition, this application also provides an embedded device of an external system. As shown in FIG. 5, FIG. 5 is a schematic structural diagram of the hardware operating environment involved in the solution of the embodiment of the present application.
需要说明的是,图5即可为外部系统的嵌入设备的硬件运行环境的结构示意图。本申请实施例外部系统的嵌入设备可以是PC,便携计算机等终端设备。It should be noted that FIG. 5 can be a structural schematic diagram of the hardware operating environment of the embedded device of the external system. The embedded device of the external system in the embodiment of the present application may be a terminal device such as a PC and a portable computer.
如图5所示,该外部系统的嵌入设备可以包括:处理器1001,例如CPU,存储器1005,用户接口1003,网络接口1004,通信总线1002。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。As shown in FIG. 5, the embedded device of the external system may include: a processor 1001, such as a CPU, a memory 1005, a user interface 1003, a network interface 1004, and a communication bus 1002. Among them, the communication bus 1002 is used to implement connection and communication between these components. The user interface 1003 may include a display screen (Display) and an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a magnetic disk memory. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.
可选地,外部系统的嵌入设备还可以包括摄像头、RF(Radio
Frequency,射频)电路,传感器、音频电路、WiFi模块等等。Optionally, the embedded device of the external system may also include a camera, RF (Radio
Frequency, radio frequency) circuits, sensors, audio circuits, WiFi modules, etc.
本领域技术人员可以理解,图5中示出的外部系统的嵌入设备结构并不构成对外部系统的嵌入设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art can understand that the structure of the embedded device of the external system shown in FIG. 5 does not constitute a limitation on the embedded device of the external system, and may include more or less components than those shown in the figure, or a combination of certain components, Or different component arrangements.
如图5所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及外部系统的嵌入程序。其中,操作系统是管理和控制外部系统的嵌入设备硬件和软件资源的程序,支持外部系统的嵌入程序以及其它软件或程序的运行。As shown in FIG. 5, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an embedded program of an external system. Among them, the operating system is a program that manages and controls the embedded device hardware and software resources of the external system, and supports the operation of the embedded program of the external system and other software or programs.
在图5所示的外部系统的嵌入设备中,用户接口1003主要用于连接客户端,与客户端进行数据通信;网络接口1004主要用于后台服务器,与后台服务器进行数据通信;处理器1001可以用于调用存储器1005中存储的外部系统的嵌入程序,并执行如上所述的外部系统的嵌入方法的步骤。In the embedded device of the external system shown in FIG. 5, the user interface 1003 is mainly used to connect to the client and to communicate data with the client; the network interface 1004 is mainly used to communicate with the back-end server and perform data communication; the processor 1001 can It is used to call the embedding program of the external system stored in the memory 1005 and execute the steps of the embedding method of the external system as described above.
本申请外部系统的嵌入设备具体实施方式与上述外部系统的嵌入方法各实施例基本相同,在此不再赘述。The specific implementation of the embedding device of the external system of the present application is basically the same as the above embodiments of the embedding method of the external system, and will not be repeated here.
此外,本申请实施例还提出一种计算机可读存储介质,所述计算机可读存储介质上存储有外部系统的嵌入程序,所述外部系统的嵌入程序被处理器执行时实现如上所述的外部系统的嵌入方法的步骤。In addition, an embodiment of the present application also proposes a computer-readable storage medium with an embedded program of an external system stored on the computer-readable storage medium. When the embedded program of the external system is executed by a processor, the external system as described above is realized. Steps of the system's embedding method.
本申请计算机可读存储介质具体实施方式与上述外部系统的嵌入方法各实施例基本相同,在此不再赘述。The specific implementation of the computer-readable storage medium of the present application is basically the same as the above embodiments of the embedding method of the external system, and will not be repeated here.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, It also includes other elements not explicitly listed, or elements inherent to the process, method, article, or device. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or device that includes the element.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the foregoing embodiments of the present application are only for description, and do not represent the advantages and disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above implementation manners, those skilled in the art can clearly understand that the above-mentioned embodiment method can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to enable a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the method described in each embodiment of the present application.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only the preferred embodiments of the application, and do not limit the scope of the patent for this application. Any equivalent structure or equivalent process transformation made using the content of the description and drawings of the application, or directly or indirectly applied to other related technical fields , The same reason is included in the scope of patent protection of this application.
Claims (11)
- 一种外部系统的嵌入方法,其中,所述外部系统的嵌入方法包括以下步骤:An embedding method of an external system, wherein the embedding method of the external system includes the following steps:当侦测到在工作流系统的前端子系统中加载外部系统的加载指令后,通过预设的节点类型表确定所述加载指令对应的工作流节点的节点类型;When it is detected that the load instruction of the external system is loaded in the front-end subsystem of the workflow system, the node type of the workflow node corresponding to the load instruction is determined through the preset node type table;根据所述节点类型在预设的参数配置表中获取所述工作流节点的节点参数;Acquiring the node parameters of the workflow node in a preset parameter configuration table according to the node type;根据所述节点参数在所述前端子系统中生成所述工作流节点的前端控件,以将所述外部系统作为工作流节点嵌入所述工作流系统中。The front-end control of the workflow node is generated in the front-end subsystem according to the node parameter, so as to embed the external system as a workflow node in the workflow system.
- 如权利要求1所述的外部系统的嵌入方法,其中,所述根据所述节点参数在所述前端子系统中生成所述工作流节点的前端控件,以将所述外部系统作为工作流节点嵌入所述工作流系统中的步骤之后,还包括:The method for embedding an external system according to claim 1, wherein the front-end control of the workflow node is generated in the front-end subsystem according to the node parameter, so as to embed the external system as a workflow node After the steps in the workflow system, it further includes:当侦测到在所述工作流节点中启动所述外部系统子页面的启动指令后,获取所述子页面的统一资源定位系统URL地址,以及获取所述启动指令对应的启动参数;After detecting the start instruction to start the external system subpage in the workflow node, obtain the uniform resource locating system URL address of the subpage, and obtain the start parameter corresponding to the start instruction;根据所述URL地址和所述启动参数生成传输请求,并将所述传输请求设置到文本标签中,以通过所述文本标签实现所述子页面和所述工作流系统的父页面之间的通信。Generate a transmission request according to the URL address and the startup parameters, and set the transmission request to a text label, so as to realize the communication between the child page and the parent page of the workflow system through the text label .
- 如权利要求2所述的外部系统的嵌入方法,其中,所述根据所述URL地址和所述启动参数生成传输请求,并将所述传输请求设置到文本标签中,以通过所述文本标签实现所述子页面和所述工作流系统的父页面之间的通信的步骤之后,还包括:The method for embedding an external system according to claim 2, wherein said generating a transmission request according to said URL address and said startup parameters, and setting said transmission request in a text tag, so as to realize through said text tag After the step of communication between the child page and the parent page of the workflow system, it further includes:当侦测到在所述父页面和所述子页面之间使用所述文本标签进行跨域发送消息的消息传输指令后,通过所述父页面获取所述消息传输指令对应的待传输消息;After detecting a message transmission instruction for using the text tag to send a message across domains between the parent page and the child page, obtain the message to be transmitted corresponding to the message transmission instruction through the parent page;将所述待传输消息组装成预设格式的传输消息发送给所述子页面。The message to be transmitted is assembled into a transmission message in a preset format and sent to the sub-page.
- 如权利要求2所述的外部系统的嵌入方法,其中,所述根据所述URL地址和所述启动参数生成传输请求,并将所述传输请求设置到文本标签中,以通过所述文本标签实现所述子页面和所述工作流系统的父页面之间的通信的步骤之后,还包括:The method for embedding an external system according to claim 2, wherein said generating a transmission request according to said URL address and said startup parameters, and setting said transmission request in a text tag, so as to realize through said text tag After the step of communication between the child page and the parent page of the workflow system, it further includes:当侦测到在所述子页面中进行图表设计的设计指令后,获取所述设计指令对应的设置参数;After detecting the design command for chart design in the sub-page, obtain the setting parameters corresponding to the design command;根据所述设置参数设置图表,并将所述设置参数存储为看板任务,以通过所述看板任务将所述设置参数显示在所述父页面中。According to the setting parameter setting chart, the setting parameters are stored as a Kanban task, so that the setting parameters are displayed in the parent page through the Kanban task.
- 如权利要求1所述的外部系统的嵌入方法,其中,所述根据所述节点参数在所述前端子系统中生成所述工作流节点的前端控件,以将所述外部系统作为工作流节点嵌入所述工作流系统中的步骤之后,还包括:The method for embedding an external system according to claim 1, wherein the front-end control of the workflow node is generated in the front-end subsystem according to the node parameter, so as to embed the external system as a workflow node After the steps in the workflow system, it further includes:当侦测到访问所述外部系统的访问请求后,从所述工作流系统的后端子系统中获取所述外部系统的安全认证信息;After detecting the access request for accessing the external system, obtain the security authentication information of the external system from the back-end subsystem of the workflow system;将所述安全认证信息添加至所述访问请求中,并将携带所述安全认证信息的访问请求发送给所述外部系统,以供所述外部系统根据所述访问请求中的安全认证信息确定所述访问请求的合法性。The security authentication information is added to the access request, and the access request carrying the security authentication information is sent to the external system, so that the external system can determine the location based on the security authentication information in the access request. State the legitimacy of the access request.
- 如权利要求1所述的外部系统的嵌入方法,其中,所述根据所述节点参数在所述前端子系统中生成所述工作流节点的前端控件,以将所述外部系统作为工作流节点嵌入所述工作流系统中的步骤之后,还包括:The method for embedding an external system according to claim 1, wherein the front-end control of the workflow node is generated in the front-end subsystem according to the node parameter, so as to embed the external system as a workflow node After the steps in the workflow system, it further includes:获取所述工作流系统的后端子系统中对接所述外部系统的标准接口,以及通过所述前端子系统获取所述外部系统的接口信息;Acquiring a standard interface for docking with the external system in the back-end subsystem of the workflow system, and acquiring interface information of the external system through the front-end subsystem;通过所述前端子系统,根据所述标准接口和所述接口信息在所述外部系统中创建工作流任务。Through the front-end subsystem, a workflow task is created in the external system according to the standard interface and the interface information.
- 如权利要求1所述的外部系统的嵌入方法,其中,所述根据所述节点参数在所述前端子系统中生成所述工作流节点的前端控件,以将所述外部系统作为工作流节点嵌入所述工作流系统中的步骤之后,还包括:The method for embedding an external system according to claim 1, wherein the front-end control of the workflow node is generated in the front-end subsystem according to the node parameter, so as to embed the external system as a workflow node After the steps in the workflow system, it further includes:当侦测到执行所述外部系统对应工作流节点的执行指令后,确定所述执行指令对应的调度系统;After detecting that the execution instruction of the workflow node corresponding to the external system is executed, determine the scheduling system corresponding to the execution instruction;按照所述调度系统的调度格式转换所述工作流节点的任务,得到转换后的待执行任务,并通过所述调度系统将转换后的待执行任务发送给的Linkis客户端,以通过所述Linkis客户端执行所述转换后的待执行任务。The tasks of the workflow node are converted according to the scheduling format of the scheduling system to obtain the converted tasks to be executed, and the converted tasks to be executed are sent to the Linkis client through the scheduling system to pass the Linkis The client executes the task to be executed after the conversion.
- 如权利要求1至7任一项所述的外部系统的嵌入方法,其中,所述当侦测到在工作流系统的前端子系统中加载外部系统的加载指令后,通过预设的节点类型表确定所述加载指令对应的工作流节点的节点类型的步骤之前,还包括:The method for embedding an external system according to any one of claims 1 to 7, wherein, after detecting that the loading instruction of the external system is loaded in the front-end subsystem of the workflow system, it passes through a preset node type table Before the step of determining the node type of the workflow node corresponding to the load instruction, the method further includes:当侦测到在工作流系统中嵌入外部系统对应工作流节点的嵌入指令后,在所述节点类型表中添加所述工作流节点的节点类型,并在所述参数配置表中添加所述工作流节点的节点参数。After detecting the embedding instruction of the workflow node corresponding to the external system in the workflow system, the node type of the workflow node is added to the node type table, and the job is added to the parameter configuration table The node parameters of the flow node.
- 一种工作流系统,其中,所述工作流系统包括:A workflow system, wherein the workflow system includes:确定模块,用于当侦测到在工作流系统的前端子系统中加载外部系统的加载指令后,通过预设的节点类型表确定所述加载指令对应的工作流节点的节点类型;The determining module is used to determine the node type of the workflow node corresponding to the load instruction through the preset node type table after detecting that the load instruction of the external system is loaded in the front-end subsystem of the workflow system;获取模块,用于根据所述节点类型在预设的参数配置表中获取所述工作流节点的节点参数;An obtaining module, configured to obtain the node parameters of the workflow node in a preset parameter configuration table according to the node type;生成模块,用于根据所述节点参数在所述前端子系统中生成所述工作流节点的前端控件,以将所述外部系统作为工作流节点嵌入所述工作流系统中。The generating module is configured to generate the front-end control of the workflow node in the front-end subsystem according to the node parameters, so as to embed the external system as a workflow node in the workflow system.
- 一种外部系统的嵌入设备,其中,所述外部系统的嵌入设备包括存储器、处理器和存储在所述存储器上并可在所述处理器上运行的外部系统的嵌入程序,所述外部系统的嵌入程序被所述处理器执行时实现如权利要求1至8中任一项所述的外部系统的嵌入方法的步骤。An embedded device of an external system, wherein the embedded device of the external system includes a memory, a processor, and an embedded program of the external system that is stored on the memory and can run on the processor. When the embedded program is executed by the processor, the steps of the external system embedding method according to any one of claims 1 to 8 are realized.
- 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有外部系统的嵌入程序,所述外部系统的嵌入程序被处理器执行时实现如权利要求1至8中任一项所述的外部系统的嵌入方法的步骤。A computer-readable storage medium, wherein an embedded program of an external system is stored on the computer-readable storage medium, and when the embedded program of the external system is executed by a processor, the implementation is as defined in any one of claims 1 to 8. The steps of the embedding method of the external system described.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911110030.7 | 2019-11-13 | ||
CN201911110030.7A CN110874278A (en) | 2019-11-13 | 2019-11-13 | Embedding method of external system, workflow system, device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021093672A1 true WO2021093672A1 (en) | 2021-05-20 |
Family
ID=69718072
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/126823 WO2021093672A1 (en) | 2019-11-13 | 2020-11-05 | Method for embedding external system, workflow system, device and computer readable storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110874278A (en) |
WO (1) | WO2021093672A1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110874278A (en) * | 2019-11-13 | 2020-03-10 | 深圳前海微众银行股份有限公司 | Embedding method of external system, workflow system, device and storage medium |
CN111966744B (en) * | 2020-10-21 | 2021-01-15 | 太平金融科技服务(上海)有限公司 | Workflow deployment method and device, computer equipment and storage medium |
CN113626425A (en) * | 2021-07-01 | 2021-11-09 | 浪潮软件股份有限公司 | Method for managing custom report system through business system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102236544A (en) * | 2010-04-21 | 2011-11-09 | 腾讯科技(深圳)有限公司 | Method and device for designing skins |
CN102523106A (en) * | 2011-12-04 | 2012-06-27 | 东华大学 | Video website user behavior analysis system based on Flex RIA (Rich Internet Applications) technology |
CN108292208A (en) * | 2015-11-24 | 2018-07-17 | 微软技术许可有限责任公司 | Parallel front end applications and workflow development |
US20190073227A1 (en) * | 2011-07-12 | 2019-03-07 | Tongling Yucheng Software Technology Co., Ltd | Service model-oriented software system and operation method thereof |
CN110874278A (en) * | 2019-11-13 | 2020-03-10 | 深圳前海微众银行股份有限公司 | Embedding method of external system, workflow system, device and storage medium |
-
2019
- 2019-11-13 CN CN201911110030.7A patent/CN110874278A/en active Pending
-
2020
- 2020-11-05 WO PCT/CN2020/126823 patent/WO2021093672A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102236544A (en) * | 2010-04-21 | 2011-11-09 | 腾讯科技(深圳)有限公司 | Method and device for designing skins |
US20190073227A1 (en) * | 2011-07-12 | 2019-03-07 | Tongling Yucheng Software Technology Co., Ltd | Service model-oriented software system and operation method thereof |
CN102523106A (en) * | 2011-12-04 | 2012-06-27 | 东华大学 | Video website user behavior analysis system based on Flex RIA (Rich Internet Applications) technology |
CN108292208A (en) * | 2015-11-24 | 2018-07-17 | 微软技术许可有限责任公司 | Parallel front end applications and workflow development |
CN110874278A (en) * | 2019-11-13 | 2020-03-10 | 深圳前海微众银行股份有限公司 | Embedding method of external system, workflow system, device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110874278A (en) | 2020-03-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10872000B2 (en) | Late connection binding for bots | |
US10810110B1 (en) | Methods, systems, and articles of manufacture for testing web services using a behavior-driven development domain specific language framework | |
US11087249B2 (en) | Method and apparatus for triggering execution of a workflow over a network | |
JP5200721B2 (en) | Control method, control device, and program | |
US8965958B2 (en) | File fetch from a remote client device | |
US10911426B2 (en) | Custom authenticator for enterprise web application | |
US20120317238A1 (en) | Secure cross-domain communication | |
WO2020015191A1 (en) | Business rule releasing and managing method, electronic device and readable storage medium | |
WO2021093672A1 (en) | Method for embedding external system, workflow system, device and computer readable storage medium | |
US8725857B2 (en) | Dynamic query services and methods | |
US20160224530A1 (en) | Mapping stored client data to requested data using metadata | |
US10509843B2 (en) | Systems and methods for managing tabs in web applications | |
CN110321283B (en) | Interface test case generation method and device, computer device and storage medium | |
US20160269446A1 (en) | Template representation of security resources | |
CN113485927B (en) | Test data generation method, device, equipment and storage medium | |
WO2022126260A1 (en) | Enterprise server and method with universal bypass mechanism for automatically testing real-time cybersecurity microservice with live data | |
CN111694620B (en) | Interaction method, device and equipment of third party service and computer storage medium | |
CN110018835B (en) | YANG model configuration data processing method and device, terminal device and storage medium | |
CN111131442B (en) | Webpage data monitoring method, terminal equipment and readable storage medium | |
JP5039946B2 (en) | Technology for relaying communication between client devices and server devices | |
CN109885792B (en) | Webdriver technology-based APP bridging method | |
US20230336636A1 (en) | Systems and methods for tracking user access across web domains | |
EP3502925B1 (en) | Computer system and method for extracting dynamic content from websites | |
CN115982257A (en) | Interface creation method and related device | |
US20220345517A1 (en) | Unified application management for heterogeneous application delivery |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20886970 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20886970 Country of ref document: EP Kind code of ref document: A1 |