Variable processing method and device for flow arrangement process, and storage medium

CN121646758APending Publication Date: 2026-03-10DOUYIN VISION CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

In the process of visual workflow orchestration, the accessibility control of the variable subsystem is highly complex, resulting in high development and maintenance costs.

Method used

A storage space is created for each process node to store the variables on the node, and accessibility of the variables is controlled through association relationships. An SDK is used to encapsulate the code library to simplify the development process.

Benefits of technology

It reduces the development and maintenance costs of the variable subsystem in the process orchestration system, improves the flexibility and universality of process orchestration operations, and enables rapid accessibility control of variables.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121646758A_ABST
    Figure CN121646758A_ABST
Patent Text Reader

Abstract

The invention relates to a variable processing method and device for a flow arrangement process, a storage medium and a program product, and relates to the technical field of computers. The variable processing method for the flow arrangement process comprises the following steps: for a plurality of flow nodes set in a flow arrangement interface, creating a storage space corresponding to each flow node; storing the variable defined on each flow node in the storage space corresponding to each flow node; and in response to an operation for acquiring a variable accessible to any process node, acquiring a variable in a storage space corresponding to a first process node having a first association relationship with the any process node as the variable accessible to the any process node, and displaying the variable in the process arrangement interface.
Need to check novelty before this filing date? Find Prior Art

Description

Variable processing method and device for process orchestration process, and storage medium TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of computer, in particular to a variable processing method and device for process orchestration process, a storage medium and a program product. BACKGROUND

[0002] Visual process orchestration is a method of designing and organizing business processes through a graphical interface, which allows users to create and modify processes using intuitive operations such as drag-and-drop on process nodes.

[0003] In the visual process orchestration process, a user may define variables on a target process node based on variables on other process nodes except the target process node. How to realize the accessibility control of variables in the visual process orchestration process is crucial to the development of the variable subsystem.

[0004] SUMMARY

[0005] This summary is provided to introduce a selection of concepts that are further described below in the detailed description. This summary is not intended to identify key or essential features of the claimed subject matter, nor is it used to limit the scope of the claimed subject matter's scope.

[0006] According to a first aspect of some embodiments of the present disclosure, a variable processing method for a process orchestration process is provided, comprising:

[0007] For a plurality of process nodes set in a process orchestration interface, a storage space corresponding to each process node is created;

[0008] In the storage space corresponding to each process node, a variable defined on the each process node is stored;

[0009] In response to an operation for obtaining variables accessible by any process node, variables in a storage space corresponding to a first process node having a first association relationship with the any process node are obtained as variables accessible by the any process node, for display on the process orchestration interface.

[0010] According to a second aspect of some embodiments of the present disclosure, a variable processing device for a process orchestration process is provided, comprising:

[0011] A creating module is configured to, for a plurality of process nodes set in a process orchestration interface, create a storage space corresponding to each process node;

[0012] a storage module, configured to store variables defined on each of the process nodes in a storage space corresponding to the each of the process nodes;

[0013] an acquisition module, configured to, in response to an operation for acquiring variables accessible by any of the process nodes, acquire, as the variables accessible by the any of the process nodes, variables in a storage space corresponding to a first process node having a first association relationship with the any of the process nodes, and display the variables in the process orchestration interface.

[0014] According to a third aspect of some embodiments of the present disclosure, there is provided a variable processing apparatus for a process orchestration procedure, comprising a memory and a processor coupled to the memory, the processor being configured to execute a variable processing method for a process orchestration procedure according to any of the embodiments of the present disclosure based on instructions stored in the memory.

[0015] According to a fourth aspect of some embodiments of the present disclosure, there is provided a computer readable storage medium having stored thereon a computer program, which, when executed by a processor, performs a variable processing method for a process orchestration procedure according to any of the embodiments of the present disclosure.

[0016] According to a fifth aspect of some embodiments of the present disclosure, there is provided a computer program product, which, when executed on a computer, causes the computer to implement a variable processing method for a process orchestration procedure according to any of the embodiments.

[0017] Other features, aspects, and advantages of the present disclosure will become apparent from the following detailed description of the exemplary embodiments with reference to the following drawings. BRIEF DESCRIPTION OF DRAWINGS

[0018] The preferred embodiments of the present disclosure will be described below with reference to the accompanying drawings. The accompanying drawings are used to provide further understanding of the present disclosure, and together with the specific description below, form a part of the description of the present disclosure. It should be understood that the accompanying drawings only relate to some embodiments of the present disclosure, and do not limit the present disclosure. In the drawings:

[0019] FIG. 1 is a flow diagram illustrating a variable processing method for a process orchestration procedure according to some embodiments of the present disclosure;

[0020] FIG. 2A is a schematic diagram illustrating a process orchestration interface in a fixed layout scenario according to some embodiments of the present disclosure;

[0021] FIG. 2B is a schematic diagram illustrating a process orchestration interface in a free layout scenario according to some embodiments of the present disclosure;

[0022] FIG. 3 is a flow diagram illustrating a variable processing method according to some embodiments of the present disclosure;

[0023] FIG. 4 is a diagram illustrating a tree data structure according to some embodiments of the present disclosure;

[0024] FIG. 5 is a block diagram illustrating a variable processing apparatus for a process orchestration procedure according to some embodiments of the present disclosure;

[0025] FIG. 6 is a block diagram illustrating a variable processing apparatus for a process orchestration procedure according to some embodiments of the present disclosure;

[0026] FIG. 7 illustrates a block diagram of an electronic device according to some embodiments of the present disclosure.

[0027] It should be understood that the dimensions of the various portions shown in the attached drawings are shown for purposes of convenience and do not necessarily correspond to the actual proportions. Identical or similar reference numerals are used to indicate identical or similar components in the various drawings. Thus, once a component is defined in one drawing, it can not be further discussed in subsequent drawings. DETAILED DESCRIPTION

[0028] The technical solutions in the embodiments of the present disclosure will be described clearly and completely below with reference to the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only some of the embodiments of the present disclosure, but not all the embodiments. The description of the embodiments below is actually only illustrative, and should not be construed as any limitation on the present disclosure and its application or use. It should be understood that the present disclosure can be implemented in various forms, and should not be construed as being limited to the embodiments described herein.

[0029] It should be understood that the various steps recited in the method embodiments of the present disclosure can be executed in different orders and / or in parallel. In addition, the method embodiments can include additional steps and / or omit the execution of the steps shown. The scope of the present disclosure is not limited in this respect. Unless otherwise specifically stated, the relative arrangement of components and steps, numerical expressions, and numerical values set forth in these embodiments should be interpreted as merely exemplary, and not limiting to the scope of the present disclosure.

[0030] The term "comprise" and variations thereof used in the present disclosure means an open term that includes at least the recited elements, but does not exclude other elements. In other words, the term "comprising" means "including, but not limited to". In addition, the term "comprise" and variations thereof used in the present disclosure means an open term that includes at least the recited elements, but does not exclude other elements. In other words, the term "comprising" means "including, but not limited to". Therefore, comprising and including are synonymous. The term "based on" means "at least partially based on".

[0031] Throughout the specification, the terms “one embodiment,” “some embodiments,” or “embodiments” mean that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the application. The terms “one embodiment,” “some embodiments,” or “embodiments” mean “at least one embodiment,” the term “another embodiment” means “at least one additional embodiment,” and the term “some embodiments” means “at least some embodiments.” Also, the appearance of the phrases “in one embodiment,” “in some embodiments,” or “in embodiments” at various places in the specification does not necessarily refer to the same embodiment, but can refer to different embodiments.

[0032] It should be noted that the terms “first”, “second”, and the like in the present disclosure are merely used to distinguish different devices, modules, or units, and are not intended to limit the functions performed by these devices, modules, or units or the mutual dependency relationship. Unless otherwise specified, the terms “first”, “second”, and the like are not intended to imply a given order or any other manner of given order in time, space, ranking, or any other manner.

[0033] It should be noted that the terms “one”, “multiple” in the present disclosure are illustrative and not limiting, and those skilled in the art should understand that unless otherwise explicitly specified in the context, it should be understood as “one or more”.

[0034] The names of the messages or information exchanged between the plurality of devices in the embodiments of the present disclosure are only for illustrative purposes, and are not intended to limit the scope of the messages or information.

[0035] The embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings, but the present disclosure is not limited to these specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes can not be described in some embodiments. In addition, in one or more embodiments, specific features, structures, or characteristics can be combined by any suitable manner from the present disclosure which is clear to those skilled in the art.

[0036] In visual process orchestration, a variable is an element for storing and managing data, which can be passed and used between different parts of an application. A process orchestration system usually includes a variable subsystem, which is a subsystem for managing information of variables and accessibility of variables in the process orchestration system. Due to the need for accessibility control of variables in the variable subsystem, there are technical problems of high complexity and high development and maintenance cost.

[0037] The present disclosure provides a technical solution, which can realize the accessibility control of variables in the process orchestration process and reduce the development and maintenance cost of the variable subsystem in the process orchestration system.

[0038] FIG. 1 is a flowchart illustrating a variable processing method for a process orchestration procedure according to some embodiments of the present disclosure.

[0039] As shown in FIG. 1, the variable processing method for the process orchestration procedure includes: step S10, creating a storage space corresponding to each process node for a plurality of process nodes set in a process orchestration interface; step S20, storing a variable defined on each process node in the storage space corresponding to each process node; and step S30, in response to an operation for obtaining a variable accessible by any process node, obtaining a variable in a storage space corresponding to a first process node having a first association relationship with the any process node as a variable accessible by the any process node for display in the process orchestration interface.

[0040] For example, each step in the variable processing method is packaged in the form of a pre-written code library in an SDK (Software Development Kit), helping developers of the process orchestration system to more easily develop a variable subsystem. In some embodiments, the SDK can be deployed in the variable processing apparatus. The SDK is only a packaging method for a code library, and those skilled in the art can also package the code library in other ways to provide it for use in programming by developers.

[0041] In the above embodiments, each process node corresponds to a storage space that can store a variable defined on the process node, and a variable accessible by any process node can be obtained from the storage space of a first process node having a first association relationship with the any process node for display, that is, based on the association relationship between the plurality of process nodes, the accessibility control of the variable in the process orchestration procedure is realized, and by providing a mechanism for obtaining a variable accessible by any process node, the development of the variable subsystem is more easily realized in the development process of the process orchestration system, the cost of developing and maintaining the variable subsystem by the process orchestration business is reduced, the process orchestration business is more quickly implemented in the variable subsystem, a high expansion mechanism is provided for the variable subsystem, and any type of visual process orchestration business can quickly implement the development of the process orchestration system, and the accessibility control of the variable is realized.

[0042] The process orchestration interface of the process orchestration system mentioned in the present disclosure may, for example, provide a fixed layout process orchestration service or a free layout process orchestration service.

[0043] FIG. 2A is a schematic diagram of a process orchestration interface in a fixed layout scenario according to some embodiments of the present disclosure.

[0044] As shown in FIG. 2A, in the fixed layout process orchestration, the process orchestration user can add the process node 2 by clicking the adding control (shown by "+" in FIG. 2A) between the process node 1 and the process node 3.

[0045] FIG. 2B is a schematic diagram illustrating a process orchestration interface in a free layout scenario, according to some embodiments of the present disclosure.

[0046] As shown in FIG. 2B, in the free layout process orchestration, the process orchestration user can drag the process node in the area 1 to the area 2. Referring to FIG. 2B, the process orchestration user drags the process node 1 and the process node 2 in the area 1 to the area 2. Further, the process orchestration user connects the process node 1 and the process node 2 by the connection line with the arrow direction, to represent that the process node 1 is executed before the process node 2.

[0047] The above-mentioned FIG. 2A and FIG. 2B are only as an example to help understand the technical solution of the present application, and do not specifically limit the scheme of the present disclosure.

[0048] No matter in the fixed layout scenario or the free layout scenario, the process orchestration user can define the variable on each process node. The storage space corresponding to each process node for storing the variable defined on the each process node can be any form of storage space, and the present disclosure does not specifically limit this.

[0049] The variable processing method of the present disclosure will be described in detail below in combination with other embodiments.

[0050] FIG. 3 is a flow schematic diagram illustrating a variable processing method, according to some embodiments of the present disclosure. The difference between FIG. 3 and FIG. 1 is that FIG. 3 illustrates the step S40 of the variable processing method in the embodiments of the present disclosure.

[0051] As shown in FIG. 3, the variable processing method includes the steps S10-S40.

[0052] In the step S10, for a plurality of process nodes set in the process orchestration interface, a storage space corresponding to each process node is created. The plurality of process nodes include the any process node and the first process node. The first process node can be one or more.

[0053] The steps in the variable processing method are packaged in the form of a pre-written code library in the SDK, for example, the operation of creating a storage space corresponding to each process node is represented as a function or interface for creating a storage space exposed to developers by the SDK. During the development of the process orchestration system, the developer can call the function or interface for creating a storage space in the variable processing method by coding, so that the process orchestration system can call the function or interface for creating a storage space to create a storage space corresponding to the process node set by the process orchestration personnel when the process orchestration personnel sets the process node in the process orchestration interface.

[0054] In step S20, the variable defined on each process node is stored in the storage space corresponding to each process node.

[0055] In some embodiments, storing the variable defined on each process node includes storing the variable defined on each process node in a tree data structure, wherein the tree data structure includes at least one tree node, each tree node stores one variable, and in the case where the tree data structure includes multiple tree nodes, the multiple tree nodes include a parent node and a child node, and the variable stored by the parent node has a hierarchical relationship with the variable stored by the child node. In this embodiment, storing the variable defined on each process node in a tree data structure can achieve the storage of variable hierarchical information, and is easier to develop and maintain the variable subsystem in the process orchestration system and is easy to expand.

[0056] For example, the hierarchical relationship includes a relationship in which the variable stored by the parent node contains the variable stored by the child node. An example of implementing the containing relationship between variables using a tree data structure can be referred to FIG. 4.

[0057] FIG. 4 is a schematic diagram of a tree data structure according to some embodiments of the present disclosure.

[0058] As shown in FIG. 4, the tree data structure includes tree nodes 1-5. The tree nodes 1-5 store variables 1-5, for example. The tree node 1 is the parent node of the tree nodes 2 and 3. The variable 1 stored by the tree node 1 contains the variable 2 stored by the tree node 2 and the variable 3 stored by the tree node 3. The tree node 3 is the parent node of the tree nodes 4 and 5. The variable 3 stored by the tree node 3 contains the variable 4 stored by the tree node 4 and the variable 5 stored by the tree node 5.

[0059] In some embodiments, the tree data structure comprises an Abstract Syntax Tree (AST), and each tree node is an AST node. The AST is usually used to represent the syntax structure of the code in a programming language. The AST supports the operation of various tools and libraries. The disclosure adopts the Abstract Syntax Tree to store the variables defined on each flow node to realize the storage of variable level information, which can simplify the work of code analysis and conversion, and further reduce the cost of flow orchestration business development and maintenance of variable subsystem.

[0060] Taking the case of packaging each step in the variable processing method in the form of a pre-written code library in an SDK, the background of the flow orchestration system developed by the developer receives the data of the variables defined by the flow orchestration personnel on each flow node from the front end, and combines these data into multiple AST nodes to describe the variable information by calling the SDK, and then synchronizes these variable information to the storage space corresponding to each flow node.

[0061] Returning to FIG. 3, in step S30, in response to an operation for acquiring the variables accessible by any flow node, the variables in the storage space corresponding to the first flow node having the first association relationship with the any flow node are acquired as the variables accessible by the any flow node, for display on the flow orchestration interface.

[0062] In some embodiments, the operation for acquiring the variables accessible by any flow node comprises: an operation of triggering the variables accessible by the any flow node to be updated; and / or an operation of triggering the variables accessible by the any flow node to be displayed on the flow orchestration interface.

[0063] For example, the operation of triggering the variables accessible by the any flow node to be updated comprises an operation of updating the variables defined on the first flow node. For example, the operation of triggering the variables accessible by the any flow node to be displayed on the flow orchestration interface comprises an operation of defining variables on the any flow node based on the variables defined on the first flow node.

[0064] In some embodiments, the first association relationship is obtained according to the flow orchestration business configuration. That is, the developer of the flow orchestration system can configure the first association relationship according to the flow orchestration business, realizing the personalized configuration of the first association relationship between multiple flow nodes, and improving the flexibility and universality of the flow orchestration business development. The universality here refers to the fact that the variable processing method provided by the disclosure can be applied to the development of flow orchestration businesses in various scenarios.

[0065] The first association relationship includes, for example, the relationship where any process node depends on the first process node. In some embodiments, the first association relationship can be a dependency relationship. For example, developers can set the rules corresponding to the dependency relationship through coding. For example, the rule corresponding to the dependency relationship can be "the node displayed in the first position in the process orchestration interface depends on the node displayed in the second position in the process orchestration interface", or it can be "when process node A points to process node B, process node B depends on process node A".

[0066] Taking a fixed-layout workflow orchestration example, a later-ordered workflow node cannot access a preceding workflow node, and variables of a child workflow node cannot be accessed by subsequent workflow nodes of its parent node. In contrast, with a free-layout workflow orchestration example, workflow node A can be connected to workflow node B via a line, allowing variables of workflow node A to be accessed by workflow node B. Dependencies can be configured based on these business requirements.

[0067] In some embodiments, obtaining variables in the storage space corresponding to a first process node that has a first association relationship with any of the process nodes includes: receiving information for accessing the storage space corresponding to the first process node, wherein the storage space corresponding to the first process node is determined according to the first association relationship; accessing the storage space corresponding to the first process node according to the information for accessing the storage space corresponding to the first process node, and obtaining variables in the storage space corresponding to the first process node.

[0068] Information used to access the storage space corresponding to the first process node includes: the identifier or access address of the storage space corresponding to the first process node. For example, the rules corresponding to the dependency relationships set by the developer through coding can be represented as a function. The input of this function is the identifier information of the storage space corresponding to any process node, and the output is the identifier information of the storage space corresponding to the first process node that any process node depends on.

[0069] In step S40, in response to the operation of updating the variable defined on any process node, the variable in the storage space corresponding to the second process node that has a second association with the first process node is updated according to the updated variable on the first process node. Multiple process nodes also include second process nodes. There can be one or more second process nodes. Taking the various steps of the variable processing method encapsulated in the SDK as an example, in the process orchestration system developed by the developer, there can be a module that receives the operation of updating the variable defined on any process node, and then this module triggers the SDK to update the variable in the storage space corresponding to the second process node that has a second association with the first process node according to the updated variable on the first process node.

[0070] In some embodiments, the second association relationship is obtained according to a process orchestration business configuration. That is, a developer of the process orchestration system can configure the second association relationship according to the process orchestration business, realizing personalized configuration of the second association relationship between multiple process nodes and improving the flexibility and universality of process orchestration business development. The universality here refers to the fact that the variable processing method provided by the present disclosure can be applied to process orchestration business development in various scenarios.

[0071] The second association relationship, for example, includes a relationship in which the second process node depends on any process node. In some embodiments, the second association relationship can be a dependency relationship or an override relationship, that is, any process node is dependent on the second process node or any process node overrides the second process node. For example, the developer can set rules corresponding to the dependency relationship or the override relationship through coding. For example, the rule corresponding to the override relationship can be "the node displayed at the second position in the process orchestration interface overrides the node displayed at the first position in the process orchestration interface", or "in the case where process node A points to process node B, process node A overrides process node B".

[0072] Taking a process orchestration business with a fixed layout as an example, a process node arranged later in the sequence cannot access a process node arranged earlier in the sequence, and a variable of a child process node cannot be accessed by a subsequent process node of a parent process node. Taking a process orchestration business with a free layout as an example, process node A can be connected to process node B through a connection line, and thus a variable of process node A can be accessed by process node B. The override relationship can be configured according to these business requirements.

[0073] In some embodiments, in the case where any process node has an override relationship with the second process node (that is, any process node overrides the second process node), the storage space corresponding to any process node also has an override relationship with the storage space corresponding to the second process node, that is, the storage space corresponding to any process node overrides the storage space corresponding to the second process node.

[0074] In some embodiments, updating the variable in the storage space corresponding to the second process node that has the second association relationship with any process node includes: receiving information for accessing the storage space corresponding to the second process node, wherein the storage space corresponding to the second process node is determined according to the second association relationship; and accessing the storage space corresponding to the second process node according to the information for accessing the storage space corresponding to the second process node, to update the variable in the storage space corresponding to the second process node. In this embodiment, the developer of the process orchestration system can directly output information for accessing the storage space through coding, so that the developer can realize personalized development and improve the flexibility of process orchestration system development.

[0075] The information for accessing the storage space corresponding to the second flow node includes an identifier or an access address of the storage space corresponding to the second flow node. For example, the rule corresponding to the dependency relationship or the coverage relationship set by the developer in a coded manner can be expressed as a function. The input of the function is the identifier information of the storage space corresponding to any flow node, and the output is the identifier information of the storage space corresponding to the second flow node covered by any flow node.

[0076] In some embodiments, the variable processing method further includes updating the variable in the storage space corresponding to the any flow node in response to an operation of updating the variable defined on the any flow node. Taking the encapsulation of each step of the variable processing method in the SDK as an example, in the process orchestration system developed by the developer, there can be a module that receives the operation of updating the variable defined on the any flow node, and then triggers the SDK to update the variable in the storage space corresponding to the any flow node.

[0077] In some embodiments, the variable processing method further includes deleting the storage space corresponding to the any flow node in response to deleting the any flow node in the plurality of flow nodes.

[0078] Taking the encapsulation of each step of the variable processing method in the SDK in the form of a pre-written code library as an example, the operation of deleting the storage space corresponding to the any flow node is expressed as a function or an interface for deleting the storage space exposed to the developer by the SDK. During the development of the process orchestration system, the developer can call the function or the interface for deleting the storage space in the variable processing method in a coded manner, so that when the process orchestrator deletes the flow node in the process orchestration interface, the process orchestration system can call the function or the interface for deleting the storage space to delete the storage space corresponding to the flow node deleted by the process orchestrator.

[0079] In some embodiments, the variable processing method further includes sending the variable accessible by the any flow node for display in the process orchestration interface. Taking the SDK as an example, there is a module in the process orchestration system developed by the developer for receiving the variable accessible by the any flow node sent by the SDK for display in the process orchestration interface.

[0080] In the above embodiments, the variables in the storage spaces corresponding to the any flow node and the second flow node having the second association relationship with the any flow node are updated in linkage, which further improves the accessibility control of the variables in the process orchestration process, thereby further reducing the development and maintenance costs of the variable subsystem in the process orchestration system.

[0081] The above is a variable processing method provided by some embodiments of the present disclosure. Next, a variable processing system device for a process orchestration procedure in some embodiments of the present disclosure will be described in conjunction with FIG. 5.

[0082] FIG. 5 is a block diagram illustrating a variable processing device for a process orchestration procedure according to some embodiments of the present disclosure.

[0083] As shown in FIG. 5, the variable processing device 5 for a process orchestration procedure includes a creating module 51, a storing module 52, and an obtaining module 53.

[0084] The creating module 51 is configured to create, for a plurality of process nodes set in a process orchestration interface, a storage space corresponding to each process node. The storing module 52 is configured to store, in the storage space corresponding to each process node, a variable defined on each process node. The obtaining module 53 is configured to, in response to an operation for obtaining a variable accessible by any process node, obtain, as a variable accessible by the any process node, a variable in a storage space corresponding to a first process node having a first association relationship with the any process node, for display in the process orchestration interface.

[0085] The variable processing device 5 for a process orchestration procedure can be used to perform steps S10-S30 of FIG. 1. In some embodiments, the variable processing device 5 for a process orchestration procedure can also perform any step of the variable processing method shown in other embodiments.

[0086] It should be noted that each of the above modules is only a logical module divided according to the specific function implemented thereby, and is not intended to limit the specific implementation manner, for example, each of the above modules can be implemented in software, hardware, or a combination of software and hardware. In actual implementation, each of the above modules can be implemented as an independent physical entity, or can also be implemented by a single entity (for example, a processor (CPU or DSP, etc.), an integrated circuit, etc.). In addition, each of the above modules is shown by a dashed line in the drawing to indicate that these modules can not actually exist, and the operations / functions implemented thereby can be implemented by the processing circuit itself.

[0087] FIG. 6 is a block diagram illustrating a variable processing device for a process orchestration procedure according to some other embodiments of the present disclosure.

[0088] As shown in FIG. 6, the variable processing device 6 for a process orchestration procedure includes a memory 61 and a processor 62 coupled to the memory 61, the processor 62 being configured to perform the variable processing method for a process orchestration procedure described in any of the preceding embodiments based on instructions stored in the memory 61.

[0089] The memory 61 is configured to store one or more computer-readable instructions. The memory 61 can include any combination of various computer-readable storage media, such as volatile memory and / or non-volatile memory, including, but not limited to, random access memory (RAM), dynamic random access memory (DRAM), static random access memory (SRAM), read-only memory (ROM), flash memory. The memory 61 may, for example, store an operating system, application programs, a boot loader, a database, and other programs, and can also store various application programs and various data.

[0090] The processor 62 is configured to run the computer-readable instructions to implement the variable processing method for process orchestration process according to any of the preceding embodiments. For specific implementation of each step of the variable processing method for process orchestration process, please refer to the above-mentioned embodiments, and the repeated parts will not be described here.

[0091] The processor 62 and the memory 61 can communicate with each other directly or indirectly. For example, the processor 62 and the memory 61 can communicate through a network. The network can include a wireless network, a wired network, and / or any combination of a wireless network and a wired network. The processor 62 and the memory 61 can also communicate with each other through a system bus, and the present disclosure does not limit the communication between the processor 62 and the memory 61.

[0092] It should be noted that the components of the electronic device 6 shown in FIG. 6 are only exemplary and not limiting, and the variable processing device for process orchestration process 6 can also have other components according to actual application needs. The processor 62 can combine other components in the variable processing device for process orchestration process 6 to perform the desired functions.

[0093] The variable processing device for process orchestration process can be implemented by software, firmware and / or hardware, and can be integrated into an electronic device with relevant application programs installed.

[0094] FIG. 7 shows a block diagram of an electronic device according to some embodiments of the present disclosure.

[0095] The electronic device 7 shown in FIG. 7 can be a computer system with a special hardware structure, which can perform corresponding functions when relevant application programs are installed.

[0096] The electronic device includes, but is not limited to, a mobile terminal such as a smartphone, a notebook computer, a Personal Digital Assistant (PDA), a Tablet Personal Computer (Tablet PC), a PMP (Portable Multimedia Player), a car terminal (e.g., a car navigation terminal), a wearable device, and the like, and a stationary terminal such as a digital television, a desktop computer, and the like.

[0097] As shown in FIG. 7, a central processing unit (CPU) 71 performs various processes according to a program stored in a read only memory (ROM) 72 or a program loaded from a storage section 78 to a random access memory (RAM) 73. In the RAM 73, data required when the CPU 71 performs various processes and the like is stored as necessary. The central processing unit is merely exemplary and can be other types of processors such as the various processors described above. The ROM 72, the RAM 73, and the storage section 78 can be various forms of computer readable storage media. Note that although the ROM 72, the RAM 73, and the storage section 78 are shown separately in FIG. 7, one or more of them can be combined or located in the same or different memory or storage module.

[0098] The CPU 71, the ROM 72, and the RAM 73 are connected to each other via a bus 74. An input / output interface 75 is also connected to the bus 74.

[0099] The following components are connected to the input / output interface 75: an input section 76 including a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, and the like; an output section 77 including a display such as a cathode ray tube (CRT), a liquid crystal display (LCD), a speaker, a vibrator, and the like; a storage section 78 including a hard disk, a magnetic tape, and the like; and a communication section 79 including a network interface card such as a LAN card, a modem, and the like. The communication section 79 allows communication processing to be performed via a network such as the Internet. It is readily understood that although the various devices or modules in the electronic device 7 are shown in FIG. 7 as communicating via the bus 74, they can also communicate through a network or other means, where the network can include a wireless network, a wired network, and / or any combination of a wireless network and a wired network.

[0100] A drive 710 is also connected to the input / output interface 75 as necessary. A removable medium 711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, and the like is mounted on the drive 710 as necessary, so that a computer program read therefrom is installed in the storage section 78 as necessary.

[0101] In a case where the above series of processes are realized by software, the program constituting the software can be installed from a network such as the Internet or a storage medium 711 such as a detachable medium.

[0102] According to embodiments of the present disclosure, the processes described above with reference to the flowcharts can be implemented as a computer software program. For example, some embodiments of the present disclosure include a computer program product that, when run on a computer, causes the computer to implement the variable processing method for process orchestration processes described in any of the preceding embodiments. The computer program product includes a computer program carried on a computer readable medium, which contains program code for executing the method shown in the flowchart. In such embodiments, the computer program can be downloaded and installed from a network by the communication section 79, or installed from the storage section 78, or installed from the ROM 72. When the computer program is executed by the CPU 71, the variable processing method for process orchestration processes of embodiments of the present disclosure is executed.

[0103] Note that, in the context of the present disclosure, the computer readable medium can be a tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device.

[0104] The computer readable medium can be a computer readable storage medium, or a computer readable signal medium, or any combination of the two.

[0105] The computer readable storage medium includes, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the above. More specific examples of the computer readable storage medium can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, the computer readable storage medium can be any tangible medium that contains or stores a program that can be used by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium stores a computer program that, when executed by a processor, implements the variable processing method for process orchestration processes described in any of the preceding embodiments.

[0106] A computer readable signal medium can include a propagated data signal with computer executable prograrn code embodied therein. The computer readable signal medium can take a variety of forms including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium can be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate or transport program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable signal medium can be transmitted using any appropriate medium, including but not limited to wireless, wire line, optical fiber cable, RF, etc., or any suitable combination of the foregoing. Computer program code embodied on a computer readable signal medium can be transmitted using any appropriate medium, including but not limited to wireless, wire line, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0107] The computer readable medium described above can be included in the electronic device described above; alternatively, the computer readable medium can exist as a separate entity in which the electronic device is incorporated.

[0108] In some embodiments, a computer program product is also provided, which, when running on a computer, causes the computer to implement the variable processing method for process orchestration procedure described in any of the embodiments above.

[0109] In some embodiments, a computer program is also provided, comprising instructions which, when executed by a processor, cause the processor to perform the variable processing method for process orchestration procedure of any of the embodiments above. For example, the instructions can be embodied in a computer program code.

[0110] In embodiments of the present disclosure, the computer program code for carrying out operations of the present disclosure can be written in one or more programming languages or combinations of languages including object oriented programming languages such as Java, Smalltalk, C++ or the like and conventional procedural programming languages such as "C" or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, programmable logic circuitry, application specific circuitry, or field programmable gate array (FPGA) circuitry can execute the computer program code. In some embodiments, some or all of the computer program code can be downloaded from a computer program product such as a floppy disk, a CD-ROM, a DVD, a Blu-ray Disc, a memory stick, or a memory card.

[0111] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0112] The functions described above can be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary hardware logic components that can be used include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.

[0113] While specific embodiments of this disclosure have been described in detail by way of example, those skilled in the art should understand that the examples are for illustrative purposes only and not intended to limit the scope of this disclosure. Those skilled in the art should understand that modifications can be made to the above embodiments without departing from the scope and spirit of this disclosure. The scope of this disclosure is defined by the appended claims.

Claims

1. A variable handling method for a process orchestration procedure, comprising: For multiple process nodes set in the process orchestration interface, create storage space corresponding to each process node; In the storage space corresponding to each process node, variables defined on each process node are stored; In response to the operation of obtaining variables accessible to any process node, variables in the storage space corresponding to the first process node that has a first association relationship with the process node are obtained as variables accessible to the process node and are used to display them in the process orchestration interface.

2. The variable processing method according to claim 1 further includes: In response to the operation of updating the variable defined on any of the process nodes, the variable in the storage space corresponding to the second process node that has a second association with the first process node is updated according to the updated variable on the first process node.

3. The variable processing method according to claim 2, wherein, Updating the variables in the storage space corresponding to the second process node that has a second association with any of the process nodes includes: Receive information for accessing the storage space corresponding to the second process node, wherein the storage space corresponding to the second process node is determined according to the second association relationship; Based on the information used to access the storage space corresponding to the second process node, access the storage space corresponding to the second process node to update the variables in the storage space corresponding to the second process node.

4. The variable processing method according to claim 2, wherein, The first and second association relationships are obtained based on the process orchestration business configuration.

5. The variable processing method according to claim 2, wherein: The first association relationship includes: the relationship where any process node depends on the first process node; and / or The second association includes: the relationship in which the second process node depends on any of the process nodes.

6. The variable processing method according to any one of claims 1-5, wherein, Retrieving the variables in the storage space corresponding to the first process node that has a first association relationship with any of the process nodes includes: Receive information for accessing the storage space corresponding to the first process node, wherein the storage space corresponding to the first process node is determined according to the first association relationship; Based on the information used to access the storage space corresponding to the first process node, access the storage space corresponding to the first process node to obtain the variables in the storage space corresponding to the first process node.

7. The variable processing method according to any one of claims 1-3, wherein, The variables defined on each of the process nodes include: A tree-like data structure is used to store variables defined on each process node. The tree-like data structure includes at least one tree node, and each tree node stores one variable. In the case where the tree-like data structure includes multiple tree nodes, the multiple tree nodes include parent nodes and child nodes, and there is a hierarchical relationship between the variables stored in the parent node and the variables stored in the child nodes.

8. The variable processing method according to claim 7, wherein: The tree-like data structure includes an abstract syntax tree; and / or The hierarchical relationship includes the relationship that the variables stored in the parent node contain the variables stored in the child node.

9. The variable processing method according to any one of claims 1-5, further comprising: In response to an operation that updates a variable defined on any of the process nodes, update the variable in the storage space corresponding to any of the process nodes; and / or In response to deleting any one of the plurality of process nodes, the storage space corresponding to that process node is deleted.

10. The variable processing method according to any one of claims 1-5, wherein, Operations for retrieving accessible variables at any process node include: Trigger an operation to update variables accessible to any of the process nodes; and / or This triggers an operation that displays the variables accessible to any of the process nodes on the process orchestration interface.

11. The variable processing method according to claim 10, wherein: The operations that trigger the updating of variables accessible to any of the process nodes include: updating variables defined on the first process node; and / or The operation that triggers the display of accessible variables at any process node in the process orchestration interface includes: performing a variable definition operation at any process node based on the variables defined on the first process node.

12. A variable processing device for a process orchestration procedure, comprising: The creation module is configured to create storage space corresponding to each process node for multiple process nodes set in the process orchestration interface. The storage module is configured to store variables defined on each process node in the storage space corresponding to each process node; The acquisition module is configured to, in response to an operation for acquiring variables accessible to any process node, acquire variables in the storage space corresponding to a first process node that has a first association with the process node, and use these variables as variables accessible to the process node for display on the process orchestration interface.

13. A variable processing device for a process orchestration procedure, comprising: Memory; as well as A processor coupled to the memory, the processor being configured to execute, based on instructions stored in the memory, a variable processing method for a process orchestration procedure as described in any one of claims 1 to 11.

14. A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the variable processing method for a process orchestration procedure as described in any one of claims 1 to 11.

15. A computer program product, when run on a computer, causes the computer to implement the variable processing method for a process orchestration procedure as described in any one of claims 1 to 11.

Citation Information

Cited By

  • Dynamic variable processing method and equipment based on graph topological relation

    CN121918824A

  • Method and device for processing dynamic variables based on atlas topological relations

    CN121918824B