Method, device, electronic device and medium for creating a process

By generating a visual interface and storing process node information as a database data table, the process templates and nodes are decoupled, which solves the problems of a single release mode and high maintenance cost of process templates, and enables flexible definition of processes and support for multiple execution modes.

CN113608733BActive Publication Date: 2024-09-20JINGDONG TECH HLDG CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110982523.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-25
Publication Date
2024-09-20
Estimated Expiration
2041-08-25

AI Technical Summary

Technical Problem

The process template publishing mode in the existing technology is single, the process nodes and templates are highly coupled, cannot be reused, the maintenance cost is high, the overall analysis has poor readability, cannot be flexibly defined and modified, and cannot meet the needs of periodic or scheduled triggering processes.

Method used

By generating a visual interface, it receives the composition information and configuration information of process nodes added by users and stores them as database data tables, decoupling process templates and nodes. Users can flexibly combine and configure process nodes to generate executable target processes.

Benefits of technology

It realizes the reuse and flexible setting of process templates and nodes, improves the readability and modification flexibility of the process, supports multiple execution modes such as normal sequence, periodic and timed trigger processes, and is suitable for use by non-technical personnel.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113608733B
    Figure CN113608733B
Patent Text Reader

Abstract

The present disclosure relates to a method, device, electronic device and medium for creating a process. The above method includes: receiving a user's request for creating a process to realize a target function; generating a visual interface when the above creation request is received; receiving the composition information of the target process node added by the user in the new template of the above visual interface and the configuration information for the above target process node, thereby generating a configured target template in the above visual interface; storing the above composition information and the above configuration information for the above target template in the form of a data table; and generating an executable target process based on the function definition information of the process node stored in the data table of the database, and the above composition information and the above configuration information for the above target template when the user's release instruction for the above target template is received.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a method, device, electronic device and medium for creating a process. Background Art

[0002] In order to implement a business system with specific functions, R&D personnel create corresponding processes based on business process templates, and then the created processes are used by business personnel.

[0003] In the process of realizing the concept of the present disclosure, the inventors found that there are at least the following technical problems in the related technology: the current process publishing mode is single. Since each service node in the process is highly coupled with the process, the corresponding process can only be published according to the defined process template. Each time a new process is created, the process template needs to be redefined and published, and the process template and service node cannot be reused. In addition, the storage of existing process template data is mainly based on the form of xml fields and blog fields, which can only be maintained by technical personnel, with high maintenance costs. The overall analysis readability of the process template is poor, and the model cannot be quickly defined and modified. The publishing of the process model is not flexible enough and cannot meet the implementation needs of periodic processes and timed trigger processes. Summary of the invention

[0004] In order to solve the above technical problems or at least partially solve the above technical problems, embodiments of the present disclosure provide a method, device, electronic device and medium for creating a process.

[0005] In the first aspect, an embodiment of the present disclosure provides a method for creating a process. The method includes: receiving a user's request to create a process for realizing a target function; generating a visualization interface upon receiving the creation request; receiving the composition information of the target process node added by the user in the new template of the visualization interface and the configuration information for the target process node, thereby generating a configured target template in the visualization interface; storing the composition information and the configuration information for the target template in the form of a data table; and upon receiving a user's release instruction for the target template, generating an executable target process based on the function definition information of the process node stored in the data table of the database, and the composition information and the configuration information for the target template.

[0006] According to an embodiment of the present disclosure, the above-mentioned configuration information includes at least one of the following: the execution order, trigger information, call information, and release-related parameter information of each added target process node. The above-mentioned execution order corresponds to the logical sequence of arrows between each target process node in the above-mentioned visual interface. The above-mentioned trigger information is used to limit the start of execution of the target process node by manual triggering, automatic triggering or timed triggering. The above-mentioned call information is used to limit the communication behavior when the target process node is called. The above-mentioned release-related parameter information is used to limit the associated parameters that need to be loaded by the above-mentioned target process node when the template is released.

[0007] According to an embodiment of the present disclosure, the target process node added in the above-mentioned new template is selected from the above-mentioned process nodes created in advance, and the functional definition information of the above-mentioned process nodes is pre-defined; or, the target process node added in the above-mentioned new template is a newly added process node in the process of creating the process, the above-mentioned process node includes the above-mentioned newly added process node, and the functional definition information of the above-mentioned newly added process node is defined in the process of creating the process.

[0008] According to one embodiment of the present disclosure, the above-mentioned process nodes include: service nodes and auxiliary nodes; wherein, the above-mentioned receiving the composition information of the target process node added by the user in the newly created template of the above-mentioned visual interface includes: receiving the first added information of the target service node selected by the user from the candidate service node options in the service node library to be added to the above-mentioned newly created template, and the above-mentioned first added information serves as the above-mentioned composition information; and / or, receiving the second added information of the user regarding the newly created service node in the above-mentioned newly created template, and the above-mentioned second added information serves as the above-mentioned composition information.

[0009] According to another embodiment of the present disclosure, the process node includes: a service node and an auxiliary node; wherein the composition information of the target process node added by the user in the newly created template of the above-mentioned visual interface includes: receiving the first added information of the target service node selected by the user from the candidate service node options in the service node library to be added to the above-mentioned newly created template, and / or, receiving the second added information about the newly created service node in the above-mentioned newly created template by the user; receiving the third added information of the auxiliary node selected by the user from the preset function module of the above-mentioned newly created template; the first added information and / or the second added information, together with the third added information, constitute the composition information. In the same paragraph, the preceding and following "A and / or B" correspond to each other. In the case where the preceding "A and / or B" only takes A, the following "A and / or B" also only takes A. Correspondingly, in the case where the preceding "A and / or B" only takes B, the following "A and / or B" also only takes B. In the case where the preceding "A and / or B" includes both A and B, the following "A and / or B" also includes both A and B.

[0010] According to an embodiment of the present disclosure, the method further includes: constructing a service node library. The construction of the service node library includes: receiving a construction request for the service node library; displaying a definition configuration interface of the service node upon receiving the construction request; receiving function definition information and a corresponding service node identifier configured by a user in the definition configuration interface; and generating a key-value pair list of the service node based on the function definition information and the corresponding service node identifier, and storing the list in a data table of a database, thereby constructing a service node library.

[0011] According to an embodiment of the present disclosure, the method further includes: generating a new service node. The generating of the new service node includes: receiving a user's request for a new service node; upon receiving the request, displaying a definition configuration interface of the service node; receiving function definition information configured by the user in the definition configuration interface; and generating a new service node based on the function definition information, and storing the new service node and the corresponding definition information in a data table of a database.

[0012] According to an embodiment of the present disclosure, the above-mentioned function definition information includes the definition of the operation executed by the service node, or includes both the definition of the operation executed by the service node and the extended information of the executed operation.

[0013] According to an embodiment of the present disclosure, the method further includes: receiving at least one of the first update information for the composition information, the second update information for the configuration information, and the third update information for the function definition information; and updating the corresponding data table in the database based on at least one of the first update information, the second update information, and the third update information. Wherein, the above-mentioned generation of an executable target process based on the function definition information of the process node stored in the data table of the database, the composition information of the process node, and the configuration information includes: generating an executable target process based on the function definition information, the composition information, and the configuration information of the process node stored in the data table of the updated database.

[0014] According to an embodiment of the present disclosure, the method further includes: after the target template is released and during the generation of the target process execution, the call information during the execution and the data generated by the execution are stored in the form of a data table.

[0015] In the second aspect, an embodiment of the present disclosure provides a device for creating a process. The device includes: a creation request receiving module, a visual interface generation module, a template configuration module, a data table storage module and a process publishing module. The creation request receiving module is used to receive a user's creation request for a process to achieve a target function. The visual interface generation module is used to generate a visual interface when receiving the creation request. The template configuration module is used to receive the composition information of the target process node added by the user in the new template of the visual interface and the configuration information for the target process node, so as to generate a configured target template in the visual interface. The data table storage module is used to store the composition information and the configuration information of the target template in the form of a data table. The process publishing module is used to generate an executable target process based on the function definition information of the process node, the composition information of the process node and the configuration information stored in the data table of the database when receiving the user's publishing instruction for the target template.

[0016] In a third aspect, an embodiment of the present disclosure provides an electronic device. The electronic device includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; the memory is used to store computer programs; and the processor is used to implement the method of creating a process as described above when executing the program stored in the memory.

[0017] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method for creating a process as described above is implemented.

[0018] The above technical solution provided by the embodiment of the present disclosure has at least some or all of the following advantages compared with the prior art:

[0019] (1) The function definition information of the process node, the composition information of the process node added to the new template, and the configuration information are stored separately through the data table of the database. In this way, the decoupling between the process template and the process node is achieved. The user does not need to create the process according to the unified process template definition. For the functional requirements to be implemented, the user only needs to add service nodes to the new template through the visual interface and configure the service nodes accordingly according to different business requirements, that is, to set the corresponding composition information and configuration information. The information of the target template is stored in the data table, which can be published multiple times to generate multiple processes. In addition, the process nodes can be added in various combinations according to user needs, which realizes the reuse and flexible setting of templates and process nodes. The storage method in the form of data tables improves the readability and modification flexibility of the process.

[0020] (2) Moreover, by setting the configuration information of the above process nodes accordingly, various modes such as normal sequential execution process, periodic execution process, timed trigger process, etc. can be realized;

[0021] (3) This method is applicable to a wide range of users, not limited to R&D personnel, but also business personnel who do not have knowledge of the underlying code. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0023] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0024] Figure 1 The system architecture of the method and device for creating a process applicable to the embodiment of the present disclosure is schematically shown;

[0025] Figure 2 A flowchart schematically shows a method for creating a process according to an embodiment of the present disclosure;

[0026] Figure 3 A schematic diagram schematically shows a visualization interface according to an embodiment of the present disclosure;

[0027] Figure 4 An exemplary implementation scenario of operation S203 according to an embodiment of the present disclosure is schematically shown;

[0028] Figure 5 An exemplary implementation scenario of operation S204 according to an embodiment of the present disclosure is schematically shown;

[0029] Figure 6 Another exemplary implementation scenario of operation S203 according to an embodiment of the present disclosure is schematically shown;

[0030] Figure 7 A flowchart schematically shows a method for creating a process according to another embodiment of the present disclosure;

[0031] Figure 8 The detailed implementation flow chart of operation S701 according to an embodiment of the present disclosure is schematically shown;

[0032] Fig. 9A flowchart schematically shows a method for creating a process according to another embodiment of the present disclosure;

[0033] Fig.10 The detailed implementation flow chart of operation S901 according to an embodiment of the present disclosure is schematically shown;

[0034] Fig.11 A flowchart schematically shows a method for creating a process according to another embodiment of the present disclosure;

[0035] Fig.12 Schematically shows an example of a scenario published after the process is created according to an embodiment of the present disclosure;

[0036] Fig.13 The data table architecture corresponding to the method for implementing the creation process of the embodiment of the present disclosure is schematically shown;

[0037] Fig.14 A structural block diagram schematically shows a device for creating a process according to an embodiment of the present disclosure; and

[0038] Fig.15 The structural block diagram of the electronic device provided by the embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0039] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present disclosure.

[0040] The embodiments of the present disclosure provide a method, device, electronic device and medium for creating a process. The above method includes: receiving a user's request to create a process for realizing a target function; generating a visualization interface when the above creation request is received; receiving the composition information of the target process node added by the user in the new template of the above visualization interface and the configuration information for the above target process node, thereby generating a configured target template in the above visualization interface; storing the above composition information and the above configuration information for the above target template in the form of a data table; and generating an executable target process based on the function definition information of the process node stored in the data table of the database, and the above composition information and the above configuration information for the above target template when the user's release instruction for the above target template is received.

[0041] Figure 1The system architecture of the method and apparatus for creating a process applicable to the embodiment of the present disclosure is schematically shown.

[0042] Reference Figure 1 As shown, Figure 1 The system architecture 100 schematically shows the method and apparatus for creating a flow applicable to the embodiment of the present disclosure, including: terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for a communication link between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0043] Users can use terminal devices 101, 102, 103 to interact with server 105 through network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, 103, such as business process applications / systems, shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only examples).

[0044] The terminal devices 101, 102, and 103 may be various electronic devices with display screens and support web browsing, such as electronic devices including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.

[0045] The server 105 may be a server that provides various services, such as a background management server (only as an example) that provides network services and data service support for the business process building operation initiated by the user in the business process system using the terminal devices 101, 102, 103. The background management server may analyze and process the received data such as the business process building operation, and feed back the processing results (such as web pages, information, or data obtained or generated according to the user's request) to the terminal device.

[0046] It should be noted that the method for creating a process provided in the embodiment of the present disclosure can generally be executed by the terminal devices 101, 102, and 103. Accordingly, the apparatus for creating a process provided in the embodiment of the present disclosure can generally be set in the above-mentioned terminal devices 101, 102, and 103.

[0047] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to the implementation requirements.

[0048] The embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.

[0049] A first exemplary embodiment of the present disclosure provides a method for creating a process.

[0050] Figure 2 The flowchart of the method for creating a process according to an embodiment of the present disclosure is schematically shown.

[0051] Reference Figure 2 As shown, the method for creating a process provided by the embodiment of the present disclosure includes the following operations: S201, S202, S203, S204 and S205. The above operations S201 to S205 can be performed by a terminal device, and a process system is installed on the above terminal device. The user can operate the process system on the terminal device to realize the creation, release and execution of one or more business processes with different functions.

[0052] In operation S201 , a user's request for creating a process for implementing a target function is received.

[0053] In operation S202, when the creation request is received, a visualization interface is generated.

[0054] In operation S203, the composition information of the target process node added by the user in the newly created template of the above visualization interface and the configuration information for the above target process node are received, so as to generate a configured target template in the above visualization interface.

[0055] In operation S204, the composition information and the configuration information for the target template are stored in the form of a data table.

[0056] In operation S205, upon receiving a user's publishing instruction regarding the target template, an executable target process is generated based on the function definition information of the process nodes stored in the data table of the database, and the composition information and configuration information for the target template.

[0057] Operations S201 to S204 are implemented once, and corresponding operation S205 can be implemented multiple times. After a target template is obtained in operation S204, multiple publishing instructions from the user can be received in operation S205, thereby correspondingly generating multiple target processes.

[0058] Based on the above operations S201 to S205, the function definition information of the process node, the composition information of the process node added to the new template, and the separate storage of the configuration information are realized through the data table of the database. In this way, the decoupling between the process template and the process node is realized. The user does not need to create the process according to the unified process template definition. For the functional requirements to be realized, the user only needs to add the service node to the new template through the visual interface and configure the service node accordingly according to different business requirements, that is, to set the corresponding composition information and configuration information. The information of the target template obtained is stored in the data table, and multiple processes can be generated by publishing multiple times. In addition, the process nodes can be added in various combinations according to the needs of the user, which realizes the reuse and flexible setting of the template and the process node, and the storage method in the form of the data table improves the readability and modification flexibility of the process. Moreover, by setting the configuration information of the above process nodes accordingly, various modes such as the process executed in normal order, the process executed in periodicity, and the process of timing triggering can be realized. The user application range of this method is wide, not limited to R&D personnel, but also business personnel who do not understand the underlying code knowledge.

[0059] The implementation scenario of the above operation S201 may be that, in order to achieve the target function, the user clicks the option of creating a new process in the process system installed on the terminal device, and the terminal device is deemed to have received a request for creating a process for achieving the target function initiated by the user. The above user may be a business person, a research and development person, or any person who uses the process system of the terminal device to create a process.

[0060] The above target function is the functional requirement that the user wants to create to satisfy the process. The process implemented by the above target function can be: a normal sequential execution process, a periodic execution process, a timed trigger process, and other modes.

[0061] For example, target function A is: when the user queries the clothing index, the weather status and corresponding dressing suggestions are fed back to the user. Target function B is: the weather status is regularly released at 10 am every day, and when the maximum temperature of the day is higher than 35℃, a text message reminder is automatically sent to the target group; when the maximum temperature of the day is less than 35℃, an email reminder is regularly sent to the target group at 12 o'clock every day.

[0062] In the above operation S202, when the above creation request is received, a visual interface is generated on the terminal device.

[0063] Figure 3 A schematic diagram of a visualization interface according to an embodiment of the present disclosure is schematically shown.

[0064] According to the embodiments of the present disclosure, referring to Figure 3 As shown, a new template 301 may be displayed on the above-mentioned visualization interface 300. The number of new templates may be one or more, and corresponding settings are made according to the creation needs of the user. The above-mentioned new template 301 has a preset function module 3011, and the preset function module includes but is not limited to: a start node 3011a for representing a process start function, an end node 3011b for representing a process end function, a condition node 3011c for representing a selection logic, and a concurrent node 3011d for representing multiple parallel execution logics. Figure 3 The preset function module 3011 is indicated by a dotted line, indicating that the preset function module 3011 can be hidden or directly displayed as a shortcut function bar. If hidden, it can be called out from the menu bar in the new template 301.

[0065] According to the embodiments of the present disclosure, referring to Figure 3 As shown, in addition to displaying the new template 301, the above-mentioned visualization interface 301 may also display candidate service node options 302a or display function keys 302b for selecting service nodes; in other embodiments, it may further include a function key 302b for creating a new service node.

[0066] In the implementation scenario of the above operation S203, the user splits the target function into the execution logic of multiple target process nodes according to the needs of realizing the target function. In the implementation process of operation S203, the user adds the target process nodes in the new template in sequence, and each time a target process node is added, it is necessary to configure the information of the target process node under the new template, so that as the user operates on the new template of the visual interface, the composition information of the corresponding target process node and the configuration information for the above target process node are received on the terminal device. After the new template is added with the target process node and configured by the user, a configured target template is generated in the visual interface (corresponding to operation S203), and the composition information and configuration information of the new template configuration process (that is, the target template obtained) are stored in the form of a data table (corresponding to operation S204).

[0067] The composition information of the target process node on the new / target template here is part of the basic information of the new / target template. The basic information of the new / target template may also include some preset parameter information of the new / target template itself.

[0068] The above configuration information is a different concept from the information about the operations to be performed carried by the target process node itself. The configuration information is used to limit the associated information of the target process node execution operation in the new / target template, such as: execution order, trigger information, call information, release associated parameter information, etc.

[0069] According to an embodiment of the present disclosure, in operation S203, the target process node added in the above-mentioned new template is selected from the above-mentioned process nodes created in advance (corresponding to the process nodes stored in the data table of operation S205), and the functional definition information of the above-mentioned process nodes is pre-defined; or, the target process node added in the above-mentioned new template is a newly added process node in the process of creating the process, and the above-mentioned process node (corresponding to the process node stored in the data table of operation S205) includes the above-mentioned newly added process node, and the functional definition information of the above-mentioned newly added process node is defined in the process of creating the process.

[0070] According to an embodiment of the present disclosure, the above-mentioned configuration information includes at least one of the following: the execution order, trigger information, call information, and release-related parameter information of each added target process node. The above-mentioned execution order corresponds to the logical sequence of arrows pointing between each target process node in the above-mentioned visual interface. The above-mentioned trigger information is used to limit the start of execution of the target process node by manual triggering, automatic triggering or timed triggering. The above-mentioned call information is used to limit the communication behavior when the target process node is called (for example, it can be a call form of http). The above-mentioned release-related parameter information is used to limit the associated parameters that need to be loaded by the above-mentioned target process node when the template is released.

[0071] By setting the configuration information to include at least one of the following: the execution order of each added target process node, trigger information, call information, release-related parameter information, etc., various modes such as normal sequential execution processes, periodic execution processes, and timed trigger processes can be implemented.

[0072] When each target process node is added to the new template, the window / interface for setting the configuration information of the current target process node will be displayed in the visual interface. If a service node does not require configuration information to be set, the user can choose to directly skip the configuration process of the service node or select the default in the window of its configuration information.

[0073] According to an embodiment of the present disclosure, the process node includes: a service node and an auxiliary node. The target process node may include a service node, which is an executable system service, for example, a service node is: a node corresponding to querying today's weather conditions, a function node corresponding to sending a text message, a function node corresponding to sending an email, etc.

[0074] The receiving of the composition information of the target process node added by the user in the newly created template of the above-mentioned visual interface includes: receiving the first added information of the target service node selected by the user from the candidate service node options in the service node library to be added to the above-mentioned newly created template, and the first added information is used as the composition information; and / or, receiving the second added information about the newly created service node in the above-mentioned newly created template by the user, and the second added information is used as the composition information. The function definition information of the newly created service node is defined by the user in the process of creating the process.

[0075] The operations performed by the above-mentioned service nodes are configured in real time by the above-mentioned user during the process of creating a process, or the above-mentioned service nodes are selected by the above-mentioned user from a preset service node library in the above-mentioned visual interface, and the above-mentioned service node library contains one or more candidate service nodes, and the operations performed by the above-mentioned candidate service nodes are pre-defined.

[0076] According to another embodiment of the present disclosure, the above-mentioned process node includes: a service node and an auxiliary node; the above-mentioned process node may include a service node and an auxiliary node. The above-mentioned auxiliary node does not correspond to a specific service, but only corresponds to some function nodes such as judgment, parallel, start, end, etc. that characterize the execution logic of the process, and the user needs to add it from the preset function module of the new template.

[0077] Among them, the above-mentioned receiving composition information of the target process node added by the user in the newly created template of the above-mentioned visualization interface includes: receiving the first added information of the target service node selected by the user from the candidate service node options in the service node library to be added to the above-mentioned newly created template, and / or, receiving the second added information about the newly created service node in the above-mentioned newly created template by the user; receiving the third added information of the auxiliary node selected by the user from the preset functional module of the above-mentioned newly created template; the above-mentioned first added information and / or the above-mentioned second added information, together with the above-mentioned third added information, constitute the above-mentioned composition information.

[0078] For example, the implementation scenario of operation S203 is described by taking the process creation process of target function A as an example. For the above target function A, it can be divided into: service nodes 11 to 14. The operation performed by service node 11 (which can also be described as the corresponding implemented function) is: receiving the user's request to query the clothing index. The operation performed by service node 12 is: querying the weather conditions of the day. The operation performed by service node 13 is: determining dressing suggestions according to the weather conditions. The above dressing suggestions are, for example: there is an 80% probability of rain today, please go out with an umbrella, wear raincoats and rain boots for protection; there is a 90% probability of a level 6 gale today, please pay attention to keep warm; the temperature today is higher than 30°C, and the ultraviolet rays are strong, please pay attention to sun protection, etc. The operation performed by service node 14 is: feedback the weather conditions and corresponding dressing suggestions to the user in the form of voice broadcast.

[0079] Figure 4 An exemplary implementation scenario of operation S203 according to an embodiment of the present disclosure is schematically illustrated.

[0080] Reference Figure 4 As shown, the user selects to add a target service node from the candidate service node option 302a, and the target process node only includes the service node as an example. In the implementation process of operation S203, the user adds service nodes 11, 12, 13 and 14 to the new template 1 400 respectively, and sets corresponding configuration information 41, 42, 43 and 44 for service nodes 11, 12, 13 and 14. Among them, when setting the corresponding configuration information 41 to 43 for service nodes 11 to 13, select default or skip. When setting the configuration information 44 for service node 14, since the date information of the day needs to be added when performing the operation of feeding back the weather status to the user, this date information belongs to the release-related parameter information, therefore, the configuration information 44 for service node 14 is set as: add the date information of the day when publishing.

[0081] Figure 5 An exemplary implementation scenario of operation S204 according to an embodiment of the present disclosure is schematically illustrated.

[0082] After the configuration is completed, the configured target template is generated in the above visual interface. The configured target template can be referred to Figure 4 The target template 400 includes service nodes 11, 12, 13 and 14. In the embodiment of the process creation of the target function A, the target template 400 is obtained in the visual interface 300. The target template 400 is composed of four target service nodes 11-14. The configuration information 41-44 of each target service node 11-14 is set in the process of adding the service node by the user. Figure 5 As shown, the composition information of the target template 400 is as follows: the target template 400 includes service nodes 11, 12, 13 and 14. The composition information and the configuration information 41-44 of each service node 11-14 can be stored in a data table of a local database, or forwarded to a data table of a remote database for storage (corresponding to operation S204). For example, referring to Figure 5 As shown in (a), the basic information of the target template is stored in the data table S1 for example. Figure 5 As shown in (b), the service node configuration information of the target template is stored in the data table S2 as an example.

[0083] In another example, the implementation scenario of operation S203 is described by taking the process creation process of target function B as an example. For the above-mentioned target function B, it can be divided into: service nodes 21, 23 and 24, and auxiliary node 22. The operation performed by service node 21 is: obtaining the weather status of the day, where the weather status includes the temperature forecast for the day. The operation performed by auxiliary node 22 is: judging / determining whether the maximum temperature of the day is ≥35°C. The operation performed by service node 23 is: sending SMS reminders to all users. The operation performed by service node 24 is: sending email reminders to users who have subscribed to the email reminder service.

[0084] Figure 6 Another exemplary implementation scenario of operation S203 according to an embodiment of the present disclosure is schematically illustrated.

[0085] Reference Figure 6 As shown, the user selects to add a target service node from the candidate service node option 302a, and the target process node includes both a service node and an auxiliary node as an example. In the implementation process of operation S203, the user adds service node 21, auxiliary node 22, service node 23 and service node 24 to the new template 2 600 respectively, and sets corresponding configuration information 61, 63 and 64 for service nodes 21, 23 and 24. The configuration information 61 set for service node 21 is: scheduled execution at 10 am every day, and the configuration information 61 here corresponds to the trigger information (it can realize the comprehensive process of periodic execution and scheduled triggering). The configuration information 63 set for service node 23 includes the execution order and trigger information, wherein the execution order set is: when the judgment of auxiliary node 22 is "yes", it can be executed; the trigger information set is: automatic trigger execution. The configuration information 64 set for service node 24 includes the execution order and trigger information, wherein the execution order set is: when the judgment of auxiliary node 22 is "no", it can be executed; the trigger information set is: scheduled trigger at 12 o'clock every day.

[0086] In this embodiment, the process of implementing operation S204 is similar to the above embodiment. The composition information of the target template 600 is as follows: the target template 600 includes a service node 21, an auxiliary node 22, a service node 23, and a service node 24. The composition information and the configuration information 61, 63, and 64 of each service node 21, 23, and 24 can be stored in a data table of a local database or forwarded to a data table of a remote database for storage. The configuration information for each service node is stored in the form of a key-value pair list.

[0087] Figure 7 The flowchart of a method for creating a process according to another embodiment of the present disclosure is schematically shown.

[0088] According to an embodiment of the present disclosure, a service node library needs to be constructed in advance, so that in operation S203, when the user implements the operation of adding a target process node, the user selects to add the target process node from the candidate service node options in the pre-constructed service node library.

[0089] Reference Figure 7 As shown, in addition to the operations S201 to S205, the method for creating a process also includes the following operation S701: building a service node library. The operation S701 can be pre-built once and can be called in the process of creating a process later. The operation S701 is performed before the operation S201. In addition, the operation S701 can be implemented by the same or different user as the user who creates the process.

[0090] Figure 8 The detailed implementation flowchart of operation S701 according to an embodiment of the present disclosure is schematically shown.

[0091] Reference Figure 8 As shown, the above operation S701 of building a service node library includes the following sub-operations: S7011, S7012, S7013 and S7014.

[0092] In sub-operation S7011, a request for building a service node library is received.

[0093] In sub-operation S7012, upon receiving the above-mentioned construction request, a definition configuration interface of the service node is displayed.

[0094] In sub-operation S7013, the function definition information and the corresponding service node identifier configured by the user in the above-mentioned definition configuration interface are received. The above-mentioned function definition information includes the operation definition executed by the service node (which can be used as the basic information of the service node), or includes both the operation definition executed by the service node and the extended information of the execution operation. The above-mentioned extended information includes, for example, parameter information that needs to be called when executing the operation, such as date, time, name and other parameter information.

[0095] In sub-operation S7014, based on the above function definition information and the corresponding service node identifier, a key-value pair list of the service node is generated and stored in a data table of the database, thereby constructing a service node library.

[0096] Fig. 9 The following schematically shows a flow chart of a method for creating a process according to another embodiment of the present disclosure.

[0097] According to another embodiment of the present disclosure, there is no need to build a service node library in advance, and the user can generate a new service node during the process of creating a process. Therefore, in operation S203, when the user implements the operation of adding a target process node, the new service node can be added to the new template.

[0098] Reference Fig. 9 As shown, the method for creating a flow includes, in addition to the operations S201 to S205, the following operation S901: generating a new service node.

[0099] Fig.10 The detailed implementation flow chart of operation S901 according to an embodiment of the present disclosure is schematically shown.

[0100] Reference Fig.10 As shown, the above operation S901 of generating a new service node includes the following sub-operations: S9011, S9012, S9013 and S9014.

[0101] In sub-operation S9011, a user's request for creating a new service node is received.

[0102] In sub-operation S9012, upon receiving the above request, a definition configuration interface of the service node is displayed.

[0103] In sub-operation S9013, the function definition information configured by the user in the definition configuration interface is received. The function definition information includes the operation definition executed by the service node, or includes both the operation definition executed by the service node and the extended information of the executed operation.

[0104] In sub-operation S9014, a new service node is generated based on the above function definition information, and the new service node and the corresponding definition information are stored in a data table of the database.

[0105] According to an embodiment of the present disclosure, the above-mentioned method for creating a process may also include operations S701 and S901, as well as operations S201 to S205. In this embodiment, the user can select some service nodes from a pre-built service node library as target service nodes, and add personalized service nodes that do not exist in the service node library and need to be defined by themselves as new service nodes, thereby achieving the reuse of existing service nodes while flexibly configuring personalized service nodes.

[0106] Fig.11 The following schematically shows a flow chart of a method for creating a process according to another embodiment of the present disclosure.

[0107] The method for creating a process provided by the embodiments of the present disclosure can also realize flexible updating of process information based on the embodiments including the above-mentioned operations S201 to S205, or the above-mentioned embodiments including operations S201 to S205 and S701, or the above-mentioned embodiments including S201 to S205 and S901, or the above-mentioned embodiments including operations S201 to S205, S701 and S901.

[0108] Reference Fig.11 As shown, based on the above embodiment, the following operations may be further included: S1101, S1102.

[0109] In operation S1101, at least one of first update information for the composition information, second update information for the configuration information, and third update information for the function definition information is received.

[0110] In operation S1102, based on at least one of the first update information, the second update information, and the third update information, a corresponding data table in the database is updated.

[0111] Among them, the operation S205 of generating an executable target process based on the function definition information of the process nodes, the composition information of the process nodes and the configuration information stored in the data table of the database includes: generating an executable target process based on the function definition information of the process nodes, the composition information of the process nodes and the configuration information stored in the data table of the updated database.

[0112] Fig.12 The following schematically shows an example of a scenario in which a process is created and published according to an embodiment of the present disclosure. Fig.12 As shown, the implementation scenarios corresponding to the two target functions A and B can be implemented in the same terminal device. By implementing operations S201 to S204, after configuring the newly created template, target template 1 or target template 2 can be obtained, and further implementing operation S205, after publishing, the corresponding target process 1 or target process 2 can be obtained.

[0113] According to an embodiment of the present disclosure, the above-mentioned method for creating a process can further include, based on the aforementioned embodiments: after the target template is released and during the process of generating the above-mentioned target process execution, the call information in the execution process and the data generated by the execution are stored in the form of a data table.

[0114] The call information during the execution process and the data generated by the execution specifically include: execution template information, execution variable information, execution personnel association information, execution call parameters or attachment information, etc.

[0115] Fig.13The data table architecture corresponding to the method for implementing the creation process of the embodiment of the present disclosure is schematically shown.

[0116] Reference Fig.13 As shown in the solid line box, an example of a data table architecture 1300 corresponding to the method for creating a process according to an embodiment of the present disclosure is shown. The data table architecture 1300 includes: a system access table 1301, a basic information table 1302 for process templates, a basic information table 1303a for process nodes, a configuration information definition / setting table 1304 for process nodes, a process execution task table 1306, a process execution template table 1308, a process execution variable table 1309, a process execution personnel association table 1310, a process execution required attachment information table 1311, and a process execution scheduled task table 1312.

[0117] Further, see Fig.13 As shown in the dotted box, the above data table architecture 1300 may further include: an extended information table 1303b of a process node, a configuration information definition / setting history table 1305 of a process node, a process execution task history table 1307, a process execution template history table 1313, a process execution variable history table 1314, and a process execution personnel association history table 1315.

[0118] The system access table 1301 defines the information of each business system (target function to be achieved) accessed by the process system.

[0119] The basic information table 1302 of the process template and the configuration information definition / setting table 1304 of the process node jointly define a template including multiple service nodes. The basic information table 1302 of the process template defines the composition information of the process template and includes the preset parameter information of the process template itself.

[0120] The process node configuration information definition / setting table 1304 stores the association information between the template and the service node, that is, the configuration information of the service node in the template, including the execution order, trigger information, call information, release association parameter information and other information of each target process node.

[0121] The basic information table 1303a of the process node defines the service nodes of the system and the specific actions executed by the process, for example, obtaining weather information and publishing weather information.

[0122] The extended information table 1303b of the process node defines the extended information of the service node, for example, date parameters and time parameters when obtaining weather information.

[0123] The configuration information definition / setting history table 1305 of the process node stores the history of template definition modification, the specific information of each template modification, and generates a corresponding historical version each time the template is modified.

[0124] The process execution task table 1306 saves the generated running process node information after the template is released, and executes specific service nodes, for example: executing a request to obtain weather information.

[0125] The process execution task history table 1307 stores the execution history of the service node.

[0126] The process execution template table 1308 is generated as a process after the template is published / deployed. This table stores the information of the running process.

[0127] The process execution variable table 1309 stores the parameters required by the service nodes in the process when they are running.

[0128] The process execution personnel association table 1310 is used to save the service node and the corresponding processing personnel information when the service node is defined as manual processing.

[0129] The attachment information table 1311 required for process execution stores the attachment (html, xml, form, etc.) information required by the service nodes in the process when running.

[0130] The process execution timer task table 1312 is used for the management and calling of periodic and trigger service nodes. After the template is released, a process is generated, which is defined as periodic and trigger service nodes. The service nodes need to be triggered at a specified time. This table stores the execution time and status of the service nodes.

[0131] The flow execution template history table 1313 stores the execution history of the flow.

[0132] The process execution variable history table 1314 stores the parameter history required by the service nodes in the process when they are running.

[0133] The process execution personnel associated history table 1315 stores the history of manual processing of service nodes.

[0134] Based on the method for creating a process provided by the embodiment of the present disclosure, the composition information and configuration information of a process template (for example, a business process template) used to implement the target function are configured and stored separately in the form of a data table, and the function definition information of each service node is stored in the data table, so that the corresponding target process can be effectively updated in scenarios where the template information, including changes in the composition of the service nodes, changes in the configuration information of the service nodes, and changes in the definition of the service nodes themselves.

[0135] A second exemplary embodiment of the present disclosure provides an apparatus for creating a process.

[0136] Fig.14 The structure block diagram of the device for creating a process according to an embodiment of the present disclosure is schematically shown.

[0137] Reference Fig.14 As shown, the apparatus 1400 for creating a process provided by the embodiment of the present disclosure includes: a creation request receiving module 1401 , a visual interface generating module 1402 , a template configuring module 1403 , a data table storing module 1404 and a process publishing module 1405 .

[0138] The creation request receiving module 1401 is used to receive a user's creation request for a process to implement a target function.

[0139] The visualization interface generation module 1402 is used to generate a visualization interface when receiving the creation request.

[0140] The template configuration module 1403 is used to receive the composition information of the target process node added by the user in the newly created template of the visualization interface and the configuration information for the target process node, so as to generate a configured target template in the visualization interface.

[0141] The data table storage module 1404 is used to store the composition information and the configuration information of the target template in the form of a data table.

[0142] The process publishing module 1405 is used to generate an executable target process based on the function definition information of the process nodes stored in the data table of the database, the composition information of the process nodes and the configuration information when receiving the publishing instruction of the user for the target template.

[0143] According to an embodiment of the present disclosure, the above-mentioned device 1400, in addition to the above-mentioned creation request receiving module 1401, visual interface generation module 1402, template configuration module 1403, data table storage module 1404 and process publishing module 1405, also includes at least one of the following modules: a service node construction module, a service node creation module, an update module, and a process execution data storage module.

[0144] The service node construction module is used to construct a service node library. The service node construction module includes functional modules or submodules for implementing sub-operations S7011 to S7014.

[0145] The service node creation module is used to generate a new service node. The service node creation module includes a functional module or submodule for implementing sub-operations S9011 to S9014.

[0146] The above-mentioned update module is used to receive at least one update information among the first update information for the above-mentioned composition information, the second update information for the above-mentioned configuration information and the third update information for the above-mentioned function definition information; and is used to update the corresponding data table in the above-mentioned database based on at least one update information among the above-mentioned first update information, the above-mentioned second update information and the above-mentioned third update information.

[0147] The process publishing module 1405 is also used to generate an executable target process based on the function definition information, process node composition information and configuration information of the process nodes stored in the data table in the updated database.

[0148] The process execution data storage module is used to store the call information and data generated during the execution in the form of a data table after the target template is released and the target process is generated.

[0149] Any of the above-mentioned creation request receiving module 1401, visual interface generating module 1402, template configuration module 1403, data table storage module 1404 and process publishing module 1405 can be combined in one module for implementation, or any one of them can be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules can be combined with at least part of the functions of other modules and implemented in one module. At least one of the creation request receiving module 1401, visual interface generating module 1402, template configuration module 1403, data table storage module 1404 and process publishing module 1405 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation methods of software, hardware and firmware or in an appropriate combination of any of them. Alternatively, at least one of the creation request receiving module 1401, the visual interface generating module 1402, the template configuring module 1403, the data table storing module 1404 and the process publishing module 1405 may be at least partially implemented as a computer program module, which may perform corresponding functions when executed.

[0150] A fifth exemplary embodiment of the present disclosure provides an electronic device.

[0151] Fig.15 The structural block diagram of the electronic device provided by the embodiment of the present disclosure is schematically shown.

[0152] Reference Fig.15As shown, the electronic device 1500 provided by the embodiment of the present disclosure includes a processor 1501, a communication interface 1502, a memory 1503 and a communication bus 1504, wherein the processor 1501, the communication interface 1502 and the memory 1503 communicate with each other through the communication bus 1504; the memory 1503 is used to store computer programs; the processor 1501 is used to implement the method of creating a process as described above when executing the program stored in the memory.

[0153] The sixth exemplary embodiment of the present disclosure further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method for constructing an image semantic segmentation model or the method for image processing as described above is implemented.

[0154] The computer-readable storage medium may be included in the device / apparatus described in the above embodiment; or it may exist independently without being assembled into the device / apparatus. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.

[0155] According to an embodiment of the present disclosure, a computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, apparatus, or device.

[0156] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0157] The foregoing is merely a specific embodiment of the present disclosure, which enables those skilled in the art to understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features applied herein.

Claims

1. A method for creating a process, characterized in that: include: Receive user requests for creating processes to achieve target functions; Upon receiving the creation request, generating a visual interface; Receiving composition information of a target process node added by a user in a newly created template in the visualization interface and configuration information for the target process node, thereby generating a configured target template in the visualization interface; The composition information and the configuration information for the target template are stored separately in the form of data tables; the separate storage means that the composition information and the configuration information are stored in different data tables, wherein the basic information table of the process template includes: the composition information of the process template and the preset parameter information of the process template itself; the configuration information definition table of the process node is used to store the configuration information of the target process node in the process template, and the configuration information includes at least one of the following: the execution order, trigger information, call information, and release-related parameter information of each added target process node; as well as When receiving a release instruction from a user regarding the target template, an executable target process is generated based on the function definition information of the process nodes stored in a data table of a database, and the composition information and the configuration information for the target template.

2. The method according to claim 1, characterized in that The execution order corresponds to the logical order of arrows between target process nodes in the visual interface; The trigger information is used to limit the target process node to start execution by manual triggering, automatic triggering or timed triggering; The call information is used to define the communication behavior when the target process node is called; The release-related parameter information is used to limit the associated parameters that need to be loaded by the target process node when the template is released.

3. The method according to claim 1, characterized in that The target process node added in the newly created template is selected from the pre-created process nodes, and the function definition information of the process nodes is pre-defined; or, The target process node added in the newly created template is a newly added process node in the process of creating a process, the process node includes the newly added process node, and the function definition information of the newly added process node is defined in the process of creating a process.

4. The method according to claim 3, characterized in that The process nodes include: service nodes and auxiliary nodes; The receiving of the composition information of the target process node added by the user in the new template of the visualization interface includes: Receiving first added information of a target service node selected by a user from candidate service node options in a service node library to be added to the newly created template, wherein the first added information serves as the component information; and / or, The second added information about the newly created service node in the newly created template is received, and the second added information is used as the composition information.

5. The method according to claim 3, characterized in that: The process nodes include: service nodes and auxiliary nodes; The receiving of the composition information of the target process node added by the user in the new template of the visualization interface includes: receiving first adding information of a target service node selected by a user from candidate service node options in a service node library to be added to the newly created template, and / or receiving second adding information of a newly created service node in the newly created template by the user; receiving third added information of an auxiliary node selected by a user from a preset function module of the newly created template; The first additional information and / or the second additional information, together with the third additional information, constitute the component information.

6. The method according to claim 4 or 5, characterized in that: Also includes: Build a service node library; The construction of the service node library includes: Receive a request to build a service node library; Upon receiving the build request, displaying a definition configuration interface of the service node; Receiving the function definition information and the corresponding service node identifier configured by the user in the definition configuration interface; and Based on the function definition information and the corresponding service node identifier, a key-value pair list of the service node is generated and stored in a data table of the database, thereby constructing a service node library.

7. The method according to claim 4 or 5, characterized in that: Also includes: Generate a new service node; The generating of a new service node comprises: Receive user requests for creating new service nodes; Upon receiving the request, displaying a definition configuration interface of the service node; Receiving function definition information configured by the user in the definition configuration interface; and Based on the function definition information, a new service node is generated, and the new service node and the corresponding definition information are stored in a data table of a database.

8. The method according to claim 1, characterized in that Also includes: receiving at least one of first update information for the composition information, second update information for the configuration information, and third update information for the function definition information; as well as Based on at least one of the first update information, the second update information and the third update information, updating a corresponding data table in the database; The step of generating an executable target process based on the function definition information of the process node stored in the data table of the database, the composition information of the process node and the configuration information comprises: An executable target process is generated based on the function definition information, process node composition information and configuration information of the process node stored in the data table of the updated database.

9. The method according to claim 1, characterized in that: Also includes: After the target template is published and during the generation and execution of the target process, the call information during the execution and the data generated by the execution are stored in the form of a data table.

10. A device for creating a process, characterized in that include: A creation request receiving module is used to receive a user's creation request for a process to achieve a target function; A visualization interface generation module, used to generate a visualization interface when receiving the creation request; A template configuration module, used to receive the composition information of the target process node added by the user in the newly created template of the visualization interface and the configuration information for the target process node, so as to generate a configured target template in the visualization interface; A data table storage module, used for separately storing the composition information and the configuration information of the target template in the form of a data table; the separate storage means that the composition information and the configuration information are stored in different data tables, wherein the basic information table of the process template includes: the composition information of the process template and the preset parameter information of the process template itself; the configuration information definition table of the process node is used to store the configuration information of the target process node in the process template, and the configuration information includes at least one of the following: the execution order, trigger information, call information, and release-related parameter information of each added target process node; as well as The process publishing module is used to generate an executable target process based on the function definition information of the process node, the process node composition information and the configuration information stored in the data table of the database when receiving the user's publishing instruction for the target template.

11. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; Memory, used to store computer programs; A processor, for implementing the method according to any one of claims 1 to 9 when executing a program stored in a memory.

12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.