CN116055572B - Global integration compiling and arranging flow protocol generation method and execution method - Google Patents

Global integration compiling and arranging flow protocol generation method and execution method Download PDF

Info

Publication number
CN116055572B
CN116055572B CN202310001644.1A CN202310001644A CN116055572B CN 116055572 B CN116055572 B CN 116055572B CN 202310001644 A CN202310001644 A CN 202310001644A CN 116055572 B CN116055572 B CN 116055572B
Authority
CN
China
Prior art keywords
protocol
node
canvas
editing
controller
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310001644.1A
Other languages
Chinese (zh)
Other versions
CN116055572A (en
Inventor
吴景行
卢超
林京
王剑
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Xuanwu Wireless Technology Co Ltd
Original Assignee
Guangzhou Xuanwu Wireless Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Xuanwu Wireless Technology Co Ltd filed Critical Guangzhou Xuanwu Wireless Technology Co Ltd
Priority to CN202310001644.1A priority Critical patent/CN116055572B/en
Publication of CN116055572A publication Critical patent/CN116055572A/en
Application granted granted Critical
Publication of CN116055572B publication Critical patent/CN116055572B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/06Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/26Special purpose or proprietary protocols or architectures
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention relates to a global integrated stream editing protocol generation method and an execution method. The generation method is executed by a canvas controller and a protocol generator and comprises the following steps: initializing a canvas by a canvas controller; the canvas controller responds to the node setting instruction, generates corresponding node parameters and transmits the node parameters to the protocol generator; the protocol generator generates a node protocol according to the node parameters and stores the node protocol into a topological structure in a main function; the canvas controller is used for updating the canvas according to the topological structure. The global integrated stream editing protocol generation method and the execution method of the invention can convert the real business record into the global integrated stream editing protocol generation and execution rule without the role of taking charge of specific platform users and the generation and execution of the global integrated stream editing protocol.

Description

Global integration compiling and arranging flow protocol generation method and execution method
Technical Field
The present invention relates to the field of data structures, and in particular, to a global integrated streaming protocol generation method and an execution method.
Background
The integrated arranging flow system utilizes a preset logic interaction element node, and draws a complete service circulation logic on a canvas through arranging a plurality of element nodes and dragging connecting lines among the element nodes. In order to enable the content in the canvas to be saved, modified and transferred to the back-end service for execution according to the programmed logic, the content in the canvas is essentially mapped with a front-end protocol, and when element node arrangement and connection editing are completed, a corresponding protocol is generated or modified.
With the development of business, an integrated orchestration flow system has more complex interaction scenes and application boundaries, and the structured xml or json protocol generated by simply dragging layout and field input cannot meet the requirements, which is expressed as follows:
1. the structured protocol cannot be directly executed by the back-end service, xml or json analysis is needed, corresponding logic functions are searched according to preset fields and structures, assignment execution is performed, and execution efficiency is low.
2. In the debugging stage, the structured protocol can only be tested in the back-end service, and frequent debugging is performed, particularly when a plurality of people develop, server resources are occupied, and the distributed resource advantage of the front-end browser cannot be utilized.
3. In the debugging process, the structured protocol cannot carry out common debugging means such as single step, current variable value output and the like, and each debugging needs to be completely executed.
4. Since the structured protocol depends on the back-end service execution, the structured protocol cannot deviate from the inherent execution environment, and cannot fully utilize the execution resource advantages of the edge and the mobile end under the cooperative environment of the cloud edge integration.
5. The structured protocol is a descriptive language, needs to be subjected to a series of processes, and can be executed after being parsed by a parser developed by a specific language, such as java, and needs to be developed in other environments, such as iOS.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a global integrated streaming protocol generation method and execution method that can convert a specific platform user into a global integrated streaming protocol generation and execution rule according to an actually generated service record without performing a role of responsibility and global integrated streaming protocol generation and execution on the specific platform user.
In a first aspect, the present invention provides a global integrated streaming protocol generation method, the method being performed by a canvas controller and a protocol generator, the method comprising the steps of:
initializing a canvas by a canvas controller;
the canvas controller responds to the node setting instruction, generates corresponding node parameters and transmits the node parameters to the protocol generator;
the protocol generator generates a node protocol according to the node parameters and stores the node protocol into a topological structure in a main function;
the canvas controller is used for updating the canvas according to the topological structure.
Further, the node setting instruction includes at least one of:
the method comprises a trigger node setting instruction, a trigger node editing instruction, a process node setting instruction, a process node editing instruction, a logic node editing instruction and a loop node editing instruction.
Further, the canvas controller responds to the node setting instruction to generate corresponding node parameters, including:
the canvas controller responds to the node setting instruction and inquires available nodes;
if the query is the first query, the canvas controller calls the protocol generator to acquire a node query interface protocol, and the query interface protocol is added into a main function through a function injection function interface;
the canvas controller calls a node query interface protocol, and obtains nodes in the authority range from a server;
the canvas controller transmits the acquired nodes to the canvas, and an editing popup window is generated on the canvas;
and the canvas controller generates node parameters corresponding to the editing instructions according to the editing instructions of the user.
Further, when the node setting instruction is a process node setting instruction, the canvas controller transfers the acquired node to the canvas, and after the canvas generates the editing popup, the canvas further includes:
acquiring an editing instruction of a user;
if the process node edited by the user needs account authentication, the canvas controller calls a corresponding third party service to perform account authentication;
the canvas controller acquires an authentication result of the third party service and transmits the authentication result and the authentication parameter to a protocol generator;
the protocol generator generates an encrypted authentication protocol according to the authentication parameters and stores the encrypted authentication protocol in a global variable of a main function.
Further, when the node setting instruction is a logic node editing instruction, the protocol generator generates a node protocol according to the node parameter, and stores the node protocol into a topology structure in a main function, including:
the protocol main function extracts the logic expressions in the logic expression protocol to form a set, and returns the set to the canvas along with the reversely acquired process node editing parameters;
the canvas controller constructs a logic judgment node editing frame on the canvas, and uses the reversely acquired process node editing parameters as grammar intelligent prompt in the editing process;
acquiring an editing instruction of a user, and merging an editing result corresponding to the editing instruction with a logic protocol by using the main function to generate a logic node protocol;
and updating the topological structure according to the logic node protocol, searching for two nodes of the original connecting line, adding new nodes into the two nodes, generating a plurality of branches according to the edited judging conditions, and connecting all the branches with the atomic nodes.
Further, the protocol generator generates a node protocol according to the node parameter, and stores the node protocol into a topology structure in a main function, including:
the protocol generator checks the node parameters;
after the verification is passed, the protocol generator generates a node protocol according to the node parameters;
and saving the node protocol into a topological structure in the main function.
Further, the method further comprises the steps of:
and responding to a storage instruction of a user, and obtaining the well-arranged protocol.
In a second aspect, the present invention further provides a protocol execution method, which is characterized by comprising the following steps:
acquiring a protocol generated according to any of the methods according to the first aspect of the invention;
and executing the protocol at the server side of the node. Js operation environment.
Further, the method also comprises the following steps:
and debugging the protocol in the front-end browser through an execution engine.
The generation method and execution method of the global integrated stream editing protocol provided by the invention are based on the integrated stream editing protocol constructed by JavaScript, and can run on a Chrome browser or node. Js with v8 and JavaScript core as cores, wherein the latter is a very mature and widely used running environment; thanks to the support of the Chrome browser, the debugging capability of the browser can be directly applied; and because the JavaScript can run in any environment with JavaScript running, the terminal application boundary can be broken through.
In practical use, 1. The protocol is not required to be converted and can be directly executed; 2. the debugging stage can be separated from the server, and necessary debugging work is completed in the front-end integrated stream arranging system; 3. supporting debugging modes known to developers; 4. the protocol runs independent of the particular environment and may be cross-platform.
For a better understanding and implementation, the present invention is described in detail below with reference to the drawings.
Drawings
FIG. 1 is a schematic diagram illustrating steps of a method for generating a global integrated streaming protocol according to the present invention;
FIG. 2 is a flow diagram of initializing a canvas in one embodiment;
FIG. 3 is a flow diagram of configuring a trigger node in one embodiment;
FIG. 4 is a flow diagram of configuring a process node in one embodiment;
FIG. 5 is a flow diagram of editing a logical node in one embodiment;
FIG. 6 is a flow diagram of editing loop nodes in one embodiment;
FIG. 7 is a flow diagram of generating an execution protocol in one embodiment;
FIG. 8 is a flow diagram of post-processing of an execution protocol generated in one embodiment.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the following detailed description of the embodiments of the present application will be given with reference to the accompanying drawings.
It should be understood that the described embodiments are merely some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the embodiments of the present application, are within the scope of the embodiments of the present application.
The terminology used in the embodiments of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the embodiments of the application. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.
When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as detailed in the accompanying claims. In the description of this application, it should be understood that the terms "first," "second," "third," and the like are used merely to distinguish between similar objects and are not necessarily used to describe a particular order or sequence, nor should they be construed to indicate or imply relative importance. The specific meaning of the terms in this application will be understood by those of ordinary skill in the art as the case may be.
Furthermore, in the description of the present application, unless otherwise indicated, "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
In a specific application scenario, the method for generating the global integrated streaming protocol is based on JavaScript construction. Specifically, the method is completed by 3 parts of canvas, a canvas controller and a protocol generator.
1. The canvas is used for presenting a canvas interface for a user, and the user can conduct protocol arrangement by clicking instructions such as adding, modifying, deleting nodes and the like on the canvas interface.
2. The canvas controller is used for receiving and responding to the operation instruction of the user on the canvas interface, calling and exchanging data with the protocol generator and controlling the updating change of the canvas interface.
3. The protocol generator is used for receiving the call and data exchange of the canvas controller, and generating and modifying the arranged protocol of the user.
In view of the problems in the background art, an embodiment of the present application provides a global integrated streaming protocol generation method, which is executed by a canvas controller as a main body, as shown in fig. 1, and includes the following steps:
s01: the canvas controller initializes the canvas.
Specifically, the canvas controller responds to a canvas initialization instruction, calls a protocol generator to generate a protocol main function, and generates a starting node and a terminating node on the canvas through the protocol main function.
In practical application, as shown in fig. 2, the main function returns to the canvas controller, is loaded by the JavaScript engine in the canvas controller, and simultaneously takes out the start node and the end node through the node description function in the main function, and gives the starting node and the end node to the canvas for drawing.
Preferably, the protocol main function includes:
the node description function is used for acquiring the type, value and text description attribute of the appointed node;
the function injection function is used for dynamically adding a new function to the main function in the subsequent compiling process;
and the node operation function is used for adding, modifying and deleting nodes, changing the relation between the nodes, initializing the starting node and the ending node in advance in the process of generating the main function, and describing the relation in the topological structure.
S02: the canvas controller responds to the node setting instruction, generates corresponding node parameters and transmits the node parameters to the protocol generator.
In a preferred embodiment, the following sub-steps are included:
s021: the canvas controller responds to the node setting instruction and inquires available nodes;
s022: if the query is the first query, the canvas controller calls the protocol generator to acquire a node query interface protocol, and the query interface protocol is added into a main function through a function injection function interface;
s023: the canvas controller calls a node query interface protocol, and obtains nodes in the authority range from a server;
s024: the canvas controller transmits the acquired nodes to the canvas, and an editing popup window is generated on the canvas;
s025: and the canvas controller generates node parameters corresponding to the editing instructions according to the editing instructions of the user.
When the node setting instruction is a process node setting instruction, the canvas controller transmits the acquired node to the canvas, and after the canvas generates the editing popup, the method further comprises the steps of:
s026: acquiring an editing instruction of a user;
s027: if the process node edited by the user needs account authentication, the canvas controller calls a corresponding third party service to perform account authentication;
s028: the canvas controller acquires an authentication result of the third party service and transmits the authentication result and the authentication parameter to a protocol generator;
s029: the protocol generator generates an encrypted authentication protocol according to the authentication parameters and stores the encrypted authentication protocol in a global variable of a main function.
S03: and the protocol generator generates a node protocol according to the node parameters and stores the node protocol into a topological structure in the main function.
Preferably, the method comprises the following substeps:
s031: the protocol generator checks the node parameters;
s032: after the verification is passed, the protocol generator generates a node protocol according to the node parameters;
s033: and saving the node protocol into a topological structure in the main function.
In other embodiments, when the node setting instruction is a logical node editing instruction, the method further includes the following sub-steps:
s034: the protocol main function extracts the logic expressions in the logic expression protocol to form a set, and returns the set to the canvas along with the reversely acquired process node editing parameters;
s035: the canvas controller constructs a logic judgment node editing frame on the canvas, and uses the reversely acquired process node editing parameters as grammar intelligent prompt in the editing process;
s036: acquiring an editing instruction of a user, and merging an editing result corresponding to the editing instruction with a logic protocol by using the main function to generate a logic node protocol;
s037: and updating the topological structure according to the logic node protocol, searching for two nodes of the original connecting line, adding new nodes into the two nodes, generating a plurality of branches according to the edited judging conditions, and connecting all the branches with the atomic nodes.
S04: the canvas controller is used for updating the canvas according to the topological structure.
Preferably, the method further comprises the steps of:
s05: and responding to a storage instruction of a user, and obtaining the well-arranged protocol.
In a preferred embodiment, the node setting instruction includes: the method comprises a trigger node setting instruction, a trigger node editing instruction, a process node setting instruction, a process node editing instruction, a logic node editing instruction and a loop node editing instruction.
Specifically, as shown in fig. 3-7, a complete global integration orchestration flow protocol generation step includes:
1. the canvas of the integrated stream arranging system is initialized, a protocol generator is called through a canvas controller, and a protocol main function is generated, wherein the protocol main function comprises the following parts: the node description function is used for acquiring the type, value, text description and other attributes of a certain designated node; the function injection function is used for dynamically adding a new function to the main function in the subsequent compiling process; the node operation function is used for adding, modifying and deleting nodes, changing the relation between the nodes, initializing the starting node and the ending node in advance in the process of generating the main function, and describing the relation in the topological structure. The main function returns to the canvas controller, is loaded by the JavaScript engine in the canvas controller, and simultaneously takes out the starting node and the ending node through the node description function in the main function, and gives the starting node and the ending node to the canvas for drawing.
2. After initialization of the canvas, subsequent orchestration operations may be performed. And clicking the trigger node, and configuring the trigger node. The trigger node calls the canvas controller to inquire available trigger nodes, the canvas controller calls the protocol generator for the first time to acquire the trigger node inquiry interface protocol, the inquiry interface protocol is added into the main function through the main function registration function interface, and the canvas controller calls the trigger node inquiry interface protocol to acquire the trigger nodes in the authority range from the server. The acquired trigger node is handed to canvas and popup window is selected. The selected trigger node enters an editing state, the parameters are transmitted to a protocol generator after the user edits through interface elements, the protocol generator checks the transmitted parameters, after all the parameters pass the check, a trigger node protocol is generated, and the trigger node protocol is stored in a topological structure in a main function and is updated.
3. After the trigger node is set, the process node can be set. And (5) selecting a connecting line between the two nodes, and carrying out process node configuration.
The canvas connection line calls the canvas controller to inquire available process nodes, the canvas controller calls the protocol generation 5 device for the first time to acquire the process node inquiry interface protocol, and the inquiry interface protocol is added to the main function through the main function registration function interface
In the number, the canvas controller calls a process node query interface protocol to acquire a process node in the authority range from the server. The acquired process nodes are handed to canvas and popup window for selection. The selected process nodes enter an editing state, and in the process, part of the process nodes are needed in the execution of a subsequent server and account authentication is performed, so that after book account authentication, canvas is controlled
The controller calls the corresponding third party service to carry out account authentication, returns the authentication result, gives the authentication result 0 and authentication parameters to the protocol generator, generates an encrypted authentication protocol, and stores the encrypted authentication protocol in the global variable of the main function. By using
After the user edits the interface elements, the related parameters and the authentication protocol are transferred to a protocol generator, the protocol generator checks the transferred parameters, and after all the parameters pass the check, a process node protocol is generated, the topological structure in the main function is modified, and the canvas is updated.
4. In the integrated stream orchestration process, logical nodes may be edited. Clicking the add button on the link, selecting the add logic judgment junction 5. Triggering the main function logic in the canvas controller. The main function reversely extracts the process junction from the topological structure of the current connection line
The parameters edited by the points are simultaneously called by the main function, and the logic protocol template and all the defined logic expression protocols are fetched from the protocol generator. For the first time, both are cached in the master function. The main function will extract the logic expression in the logic expression protocol to form a set, and return to the drawing along with the reversely acquired process node editing parameters
And (3) cloth. Besides constructing a logical judgment node editing frame, the canvas also uses returned contents as grammar intelligent 0-raising indicator in the editing process, and provides convenient writing. After the editing is finished, the editing result is returned to the controller. The main function coordinates the editing result with logic
And merging the protocols to generate a logic node protocol. And updating the topological structure, searching two nodes of the original connecting line, adding new nodes into the two nodes, generating a plurality of branches according to the edited judging conditions, connecting all the branches with the atomic nodes, and finally notifying canvas update.
5. In the integrated stream orchestration process, loop nodes may be edited. Clicking the add button on the link selects the add cycle node.
Triggering the main function logic in the canvas controller. The main function reversely extracts the parameters edited by the process node 5 from the topology structure of the current connection, and simultaneously the main function calls a protocol generator, and takes out the cyclic protocol template and all the parameters already from the protocol generator
Defined logical expression protocol. For the first time, both are cached in the master function. The master function extracts the logical expressions in the logical expression protocol to form a set, and returns the set to the canvas along with the reversely acquired process node editing parameters.
The canvas not only constructs the loop node edit box, but also uses the returned content as the grammar intelligent prompt in the edit process,
and providing convenient writing. After the editing is finished, the editing result is returned to the controller. The master function combines the editing result with the loop protocol to generate 0 a loop node protocol. Then updating the topology structure, searching two nodes of the original connection line, and adding the circulation nodes and the circulation single-division into the two nodes
And finally notifying the canvas of updating.
6. And 3, 4 and 5 steps above are circulated, and the editing of the whole editing and arranging stream can be completed, wherein the process nodes can be nested in the logic judging nodes or the circulating nodes, the circulating nodes can be nested in the logic judging nodes, and the logic judging nodes can also be nested in the circulating nodes.
7. And after editing, generating an execution protocol according to the storage.
In a second aspect, an embodiment of the present application further provides a protocol executing method, as shown in fig. 8, including the following steps:
s1: a protocol generated according to any of the methods of the first aspect of the present application is obtained.
S2: and executing the protocol at the server side of the node. Js operation environment.
S3: and debugging the protocol in the front-end browser through an execution engine.
The generation method and execution method of the global integrated stream editing protocol provided by the invention are based on the integrated stream editing protocol constructed by JavaScript, and can run on a Chrome browser or node. Js with v8 and JavaScript core as cores, wherein the latter is a very mature and widely used running environment; thanks to the support of the Chrome browser, the debugging capability of the browser can be directly applied; and because the JavaScript can run in any environment with JavaScript running, the terminal application boundary can be broken through.
In practical use, 1. The protocol is not required to be converted and can be directly executed; 2. the debugging stage can be separated from the server, and necessary debugging work is completed in the front-end integrated stream arranging system; 3. supporting debugging modes known to developers; 4. the protocol runs independent of the particular environment and may be cross-platform.
The above examples illustrate only a few embodiments of the invention, which are described in detail and are not to be construed as limiting the scope of the invention. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the invention, which are all within the scope of the invention.

Claims (8)

1. A method of generating a global integrated orchestration flow protocol, the method being performed by a canvas controller and a protocol generator, the method comprising the steps of:
initializing a canvas by a canvas controller;
the canvas controller responds to the node setting instruction and inquires available nodes; if the query is the first query, the canvas controller calls the protocol generator to acquire a node query interface protocol, and the query interface protocol is added into a main function through a function injection function; the canvas controller calls a node query interface protocol, and obtains nodes in the authority range from a server; the canvas controller transmits the acquired nodes to the canvas, and an editing popup window is generated on the canvas; the canvas controller generates node parameters corresponding to the editing instructions according to the editing instructions of the user, and transmits the node parameters to the protocol generator;
the protocol generator generates a node protocol according to the node parameters and stores the node protocol into a topological structure in a main function;
the canvas controller is used for updating the canvas according to the topological structure.
2. The method of claim 1, wherein the node setting instruction comprises at least one of:
the method comprises a trigger node setting instruction, a trigger node editing instruction, a process node setting instruction, a process node editing instruction, a logic node editing instruction and a loop node editing instruction.
3. The method of claim 1, wherein when the node setting instruction is a process node setting instruction, the canvas controller transfers the acquired node to the canvas, and further comprising, after the canvas generates the edit popup:
acquiring an editing instruction of a user;
if the process node edited by the user needs account authentication, the canvas controller calls a corresponding third party service to perform account authentication;
the canvas controller acquires an authentication result of the third party service and transmits the authentication result and the authentication parameter to a protocol generator;
the protocol generator generates an encrypted authentication protocol according to the authentication parameters and stores the encrypted authentication protocol in a global variable of a main function.
4. A global integrated streaming protocol generation method according to claim 3, wherein when the node setting instruction is a logical node editing instruction, the protocol generator generates a node protocol according to the node parameter, and stores the node protocol into a topology structure in a main function, including:
the protocol main function extracts the logic expressions in the logic expression protocol to form a set, and returns the set to the canvas along with the reversely acquired process node editing parameters;
the canvas controller constructs a logic judgment node editing frame on the canvas, and uses the reversely acquired process node editing parameters as grammar intelligent prompt in the editing process;
acquiring an editing instruction of a user, and merging an editing result corresponding to the editing instruction with a logic protocol by using the main function to generate a logic node protocol;
and updating the topological structure according to the logic node protocol, searching for two nodes of the original connecting line, adding new nodes into the two nodes, generating a plurality of branches according to the edited judging conditions, and connecting all the branches with the atomic nodes.
5. The method for generating a global integrated streaming protocol according to claim 2, wherein the generating a node protocol by the protocol generator according to the node parameter, and storing the node protocol in a topology structure in a main function, includes:
the protocol generator checks the node parameters;
after the verification is passed, the protocol generator generates a node protocol according to the node parameters;
and saving the node protocol into a topological structure in the main function.
6. The method for generating a global integrated streaming protocol according to claim 1, further comprising the steps of:
and responding to a storage instruction of a user, and obtaining the well-arranged protocol.
7. A method for executing a protocol, comprising the steps of:
acquiring a protocol generated according to any of the methods of claims 1-6;
and executing the protocol at the server side of the node. Js operation environment.
8. The protocol execution method according to claim 7, further comprising the steps of:
and debugging the protocol in the front-end browser through an execution engine.
CN202310001644.1A 2023-01-03 2023-01-03 Global integration compiling and arranging flow protocol generation method and execution method Active CN116055572B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310001644.1A CN116055572B (en) 2023-01-03 2023-01-03 Global integration compiling and arranging flow protocol generation method and execution method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310001644.1A CN116055572B (en) 2023-01-03 2023-01-03 Global integration compiling and arranging flow protocol generation method and execution method

Publications (2)

Publication Number Publication Date
CN116055572A CN116055572A (en) 2023-05-02
CN116055572B true CN116055572B (en) 2024-01-16

Family

ID=86123203

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310001644.1A Active CN116055572B (en) 2023-01-03 2023-01-03 Global integration compiling and arranging flow protocol generation method and execution method

Country Status (1)

Country Link
CN (1) CN116055572B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9621428B1 (en) * 2014-04-09 2017-04-11 Cisco Technology, Inc. Multi-tiered cloud application topology modeling tool
WO2017109791A1 (en) * 2015-12-22 2017-06-29 Tangirala Srinivas A system and method for building enterprise applications
CN113961291A (en) * 2021-10-21 2022-01-21 南京工业职业技术大学 Mobile equipment remote control method and system based on touch gesture recognition and compressed representation
CN114115852A (en) * 2021-11-30 2022-03-01 深圳壹账通智能科技有限公司 Visual service arranging method, device, equipment and medium
US11323330B1 (en) * 2019-06-27 2022-05-03 Juniper Networks, Inc. Validating network topologies
CN114579004A (en) * 2022-03-09 2022-06-03 北京百度网讯科技有限公司 Method and device for generating flow canvas and electronic equipment
CN114691308A (en) * 2020-12-25 2022-07-01 第四范式(北京)技术有限公司 Online task arranging method and online task arranging device
CN114721656A (en) * 2022-04-13 2022-07-08 北京字节跳动网络技术有限公司 Interface structure extraction method, device, medium and electronic equipment
CN114996006A (en) * 2022-05-31 2022-09-02 济南浪潮数据技术有限公司 Server arrangement configuration execution method, device, equipment and medium
CN115079916A (en) * 2022-06-15 2022-09-20 广州市玄武无线科技股份有限公司 Visual integrated editing canvas drawing method, system, terminal equipment and medium
CN115495067A (en) * 2022-09-29 2022-12-20 济南浪潮数据技术有限公司 Method and device for visually generating topological graph editor codes and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9621428B1 (en) * 2014-04-09 2017-04-11 Cisco Technology, Inc. Multi-tiered cloud application topology modeling tool
WO2017109791A1 (en) * 2015-12-22 2017-06-29 Tangirala Srinivas A system and method for building enterprise applications
US11323330B1 (en) * 2019-06-27 2022-05-03 Juniper Networks, Inc. Validating network topologies
CN114691308A (en) * 2020-12-25 2022-07-01 第四范式(北京)技术有限公司 Online task arranging method and online task arranging device
CN113961291A (en) * 2021-10-21 2022-01-21 南京工业职业技术大学 Mobile equipment remote control method and system based on touch gesture recognition and compressed representation
CN114115852A (en) * 2021-11-30 2022-03-01 深圳壹账通智能科技有限公司 Visual service arranging method, device, equipment and medium
CN114579004A (en) * 2022-03-09 2022-06-03 北京百度网讯科技有限公司 Method and device for generating flow canvas and electronic equipment
CN114721656A (en) * 2022-04-13 2022-07-08 北京字节跳动网络技术有限公司 Interface structure extraction method, device, medium and electronic equipment
CN114996006A (en) * 2022-05-31 2022-09-02 济南浪潮数据技术有限公司 Server arrangement configuration execution method, device, equipment and medium
CN115079916A (en) * 2022-06-15 2022-09-20 广州市玄武无线科技股份有限公司 Visual integrated editing canvas drawing method, system, terminal equipment and medium
CN115495067A (en) * 2022-09-29 2022-12-20 济南浪潮数据技术有限公司 Method and device for visually generating topological graph editor codes and storage medium

Also Published As

Publication number Publication date
CN116055572A (en) 2023-05-02

Similar Documents

Publication Publication Date Title
Berardi et al. Automatic composition of e-services that export their behavior
CN101777004B (en) Method and system for realizing BPEL sub-process multiplexing based on template in service-oriented environment
CN104156313B (en) Method for automatically generating Web service testing case
US9158510B2 (en) System and computer program product for creating a telecommunications application
CN110244941B (en) Task development method and device, electronic equipment and computer readable storage medium
CN109240670A (en) Modular software development methodology, system, equipment and medium
CN109491777A (en) Task executing method, device, equipment and storage medium
EP1583076A1 (en) System and method for automatic generation of dialogue run time systems
CN111104106A (en) Visual development method, system and medium for integrating business process and communication message
CN110825430A (en) API document generation method, device, equipment and storage medium
CN111061551A (en) Node merging and scheduling method, device, equipment and storage medium
CN115328465A (en) Multi-objective optimization platform based on low codes and establishment method thereof
CN101695080A (en) Execution method of BPMN composition service and execution device thereof
CN115934097A (en) Method, device, storage medium and electronic device for generating executable statement
CN111104181A (en) Webpage data filling system for visually editing task flow
CN114327692A (en) Task flow direction identification method and system, electronic equipment and storage medium
CN116055572B (en) Global integration compiling and arranging flow protocol generation method and execution method
CN112667204B (en) Data processing method and device for micro-service application and computer equipment
Davydova et al. Mining hybrid UML models from event logs of SOA systems
CN110019207A (en) Data processing method and device and script display methods and device
Konnerth et al. JADL–an agent description language for smart agents
CN107239265A (en) The binding method and device of Java functions and C function
CN109189468A (en) A kind of access of examination & approval data source configurationization and XML map configurationization system
CN114357672A (en) Simulation verification method of model-based avionics system
CN102866924B (en) Method and device for scheduling content integration engine

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant