Method, device, equipment and medium for configuring process nodes and data processing

CN114116111BActive Publication Date: 2024-10-18JINGDONG TECH HLDG CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111475221.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-03
Publication Date
2024-10-18
Estimated Expiration
2041-12-03

AI Technical Summary

Technical Problem

[0004]然而,发现存在以下技术问题:流程系统支持的请求方式是有限的,例如只支持超文本传输协议(http)形式的请求/调用方式,这就使得流程系统与应用系统交互的应用场景受限,导致流程系统无法满足多种应用系统或者复杂形式的调用

Benefits of technology

[0019]本公开实施例提供的上述技术方案至少具有如下优点的部分或全部:

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114116111B_ABST
    Figure CN114116111B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a method, device, equipment and medium for configuring process nodes and data processing, wherein the method for configuring process nodes comprises: receiving a first request for configuring a request method for a process node to be configured, wherein the request method represents a method for calling an application system; upon receiving the first request, generating a first visual configuration interface; receiving request method configuration information configured by a user in the first configuration interface; and based on the request method configuration information, calling a service framework for supporting the request method to generate an executable process node. The executable process node obtained covers various request / call types, thereby supporting the process system to implement various forms of calling the business system, and expanding the application scenarios for the interaction between the process system and the application system.
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, equipment and medium for configuring process nodes and data processing. Background Art

[0002] Application systems for different users can be of various types, such as business systems for consumers or business personnel, operation and maintenance systems for operation and maintenance personnel, and development systems for technical personnel. As the amount of user data and the dimensions of user data increase, process systems have emerged to support the smooth implementation of data processing in application systems or optimize processing logic. A process system is a system that supports the implementation of various tasks (such as consumer business, operation and maintenance tasks, development tasks, etc.) and includes various functional process nodes.

[0003] When the application system performs corresponding business processing, operation and maintenance tasks, software project development and other operations, it usually needs to interact with the process system. Summary of the invention

[0004] However, the following technical problems were found: the request methods supported by the process system are limited, for example, it only supports request / call methods in the form of Hypertext Transfer Protocol (http). This limits the application scenarios of the interaction between the process system and the application system, resulting in the process system being unable to meet the needs of multiple application systems or complex forms of calls.

[0005] 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, apparatus, device and medium for configuring process nodes and data processing.

[0006] In a first aspect, an embodiment of the present disclosure provides a method for configuring a process node. The method includes: receiving a first request for configuring a request method for a process node to be configured, wherein the request method represents a method for calling an application system; upon receiving the first request, generating a first visual configuration interface; receiving request method configuration information configured by a user in the first configuration interface; and based on the request method configuration information, calling a service framework for supporting the request method to generate an executable process node.

[0007] According to an embodiment of the present disclosure, when the above-mentioned first request is received, a visual first configuration interface is generated, including: when the above-mentioned first request is received, a target configuration template file matching the above-mentioned request method is determined in a preset configuration template file; and based on the above-mentioned target configuration template file, a visual first configuration interface is generated.

[0008] According to an embodiment of the present disclosure, there are multiple configuration template files, each of which is associated with an identification of an adaptation request method; or, the configuration target file contains multiple configuration template contents, each of which is associated with an identification of an adaptation request method. Wherein, the above-mentioned determination of the target configuration template file matching the above-mentioned request method in the preset configuration template file includes: determining the target identification corresponding to the target adaptation request method matching the above-mentioned request method in the identification of the adaptation request method associated with the above-mentioned configuration template file or configuration template content; and generating the target configuration template file according to the configuration template file or configuration template content associated with the above-mentioned target identification.

[0009] According to an embodiment of the present disclosure, the configuration template file includes: preset attribute groups and attribute values ​​to be configured, at least some of the attribute values ​​to be configured are null values; the target configuration template file includes: target attribute groups that match the request method, and target attribute values ​​to be configured corresponding to the target attribute groups. The above-mentioned generation of a visual first configuration interface based on the target configuration template file includes: generating an output interface in the form of a key-value pair based on the target attribute group and the target attribute values ​​to be configured in the target configuration template file, and the output interface serves as the above-mentioned first configuration interface.

[0010] According to an embodiment of the present disclosure, when the above-mentioned request mode includes an rpc request mode, the above-mentioned request mode configuration information includes: first configuration information for configuring attribute values ​​of attributes in a first attribute group; the attributes in the above-mentioned first attribute group include: request type, at least one of the name or identifier of the request method, request interface, parameter parsing type, execution parameter, timeout period, and serialization mode; when the above-mentioned request mode includes a java file request mode, the above-mentioned request mode configuration information includes: second configuration information for configuring attribute values ​​of attributes in a second attribute group; the attributes in the above-mentioned second attribute group include: request type, executed class file, execution parameter, and timeout period; when the above-mentioned request mode includes an mq request mode, the above-mentioned request mode configuration information includes: third configuration information for configuring attribute values ​​of attributes in a third attribute group; the attributes in the above-mentioned third attribute group include: request type, topic in a message processing process, execution parameter, and timeout period; when the above-mentioned request mode includes an http request mode, the above-mentioned request mode configuration information includes: fourth configuration information for configuring attribute values ​​of attributes in a fourth attribute group; the attributes in the above-mentioned fourth attribute group include: request type, request mode, request interface, execution parameter, and timeout period.

[0011] According to an embodiment of the present disclosure, before receiving the first request for configuring the request method of the process node to be configured, it also includes: receiving creation information of the process node, the above creation information includes: node identification information, description information for implementing the target function, and description information of the request method; and based on the above creation information, creating the process node to be configured, and the request method corresponding to the target function implemented by the above process node to be configured is in a to-be-configured state.

[0012] According to an embodiment of the present disclosure, before the above-mentioned generation of an executable process node, it also includes: receiving a second request for configuring the execution information of the process node to be configured; generating a second visual configuration interface when the above-mentioned second request is received; and receiving the execution configuration information configured by the user in the above-mentioned second configuration interface. Wherein, based on the above-mentioned request mode configuration information, calling a service framework for supporting the above-mentioned request mode to generate an executable process node includes: based on the above-mentioned request mode configuration information and the above-mentioned execution configuration information, calling a service framework for supporting the above-mentioned request mode to generate an executable process node.

[0013] According to an embodiment of the present disclosure, the above-mentioned execution information includes: at least one of trigger information and execution-related parameter information; the above-mentioned trigger information is used to limit the process node to start execution by manual triggering, automatic triggering or timed triggering; the above-mentioned execution-related parameter information is the associated parameters that need to be loaded when the above-mentioned process node is executed.

[0014] In a second aspect, an embodiment of the present disclosure provides a method for data processing. The method includes: receiving a node call request when an application system performs data processing; calling a target process node in sequence in pre-configured process nodes according to the node call request; wherein the pre-configured process node is configured using the method for configuring the process node as described above; the target process node obtains target data from the application system according to the pre-configured request method, performs preset processing on the target data, obtains a processing result, and feeds back the processing result to the application system based on the preset method.

[0015] In a third aspect, an embodiment of the present disclosure provides a device for configuring process nodes. The above-mentioned device includes: a request receiving module, an interface generating module, a configuration information receiving module and an executable node generating module. The above-mentioned request receiving module is used to receive a first request for configuring a request method for a process node to be configured, and the above-mentioned request method represents a method for calling an application system. The above-mentioned interface generating module is used to generate a visual first configuration interface when receiving the above-mentioned first request. The above-mentioned configuration information receiving module is used to receive the request method configuration information configured by the user in the above-mentioned first configuration interface. The above-mentioned executable node generating module is used to call a service framework for supporting the above-mentioned request method based on the above-mentioned request method configuration information to generate an executable process node.

[0016] In a fourth aspect, an embodiment of the present disclosure provides a device for data processing. The above-mentioned device includes: a call request receiving module, a node calling module, and an execution and interaction module. The above-mentioned call request receiving module is used to receive a node call request when the application system performs data processing. The above-mentioned node calling module is used to call the target process node in sequence in the pre-configured process nodes according to the above-mentioned node call request. Among them, the above-mentioned pre-configured process node is configured using the method for configuring the process node as described above or configured using the device for configuring the process node as described above; the above-mentioned execution and interaction module is arranged in the target process node, and is used to obtain the target data from the above-mentioned application system according to the pre-configured request method, perform preset processing on the above-mentioned target data, obtain the processing result, and feed back the processing result to the above-mentioned application system based on the preset method.

[0017] In a fifth 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 for configuring process nodes or the method for data processing as described above when executing the program stored in the memory.

[0018] In a sixth 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 configuring a process node or the method for data processing described above is implemented.

[0019] The above technical solution provided by the embodiments of the present disclosure has at least some or all of the following advantages:

[0020] By providing a visual configuration interface, request mode configuration information for configuring the request mode of the configured node is received. The above request mode can cover various request types, such as: rpc (remote procedure call), java file (compiled into class file form), mq (message queue), http (hypertext transfer protocol) and other request / call types. The corresponding service framework is called according to the above request configuration information to generate executable process nodes. The obtained executable process nodes cover various request / call types, thereby supporting the process system to realize various forms of calls to the business system, expanding the application scenarios of the interaction between the process system and the application system, so that the process system can meet the calls of multiple application systems or complex forms. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] 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.

[0022] 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.

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

[0024] Figure 2 A flowchart of a method for configuring a process node according to an embodiment of the present disclosure is schematically shown;

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

[0026] Figure 4 The detailed implementation flow chart of operation S202 according to the embodiment of the present disclosure is schematically shown;

[0027] Figure 5A The detailed implementation flow chart of determining a target configuration template file according to an embodiment of the present disclosure is schematically shown;

[0028] Figure 5B A detailed implementation flow chart of determining a target configuration template file according to another embodiment of the present disclosure is schematically shown;

[0029] Figure 6 The schematic diagram schematically shows the configuration of the request mode configuration information after the first configuration interface is configured according to an embodiment of the present disclosure;

[0030] Figure 7 A flowchart of a method for configuring a process node according to another embodiment of the present disclosure is schematically shown;

[0031] Figure 8 A flowchart of a method for configuring a process node according to another embodiment of the present disclosure is schematically shown;

[0032] Fig. 9 The flowchart schematically shows a method for data processing according to an embodiment of the present disclosure;

[0033] Fig.10 The structure block diagram of the device for configuring a process node according to an embodiment of the present disclosure is schematically shown;

[0034] Fig.11 A structural block diagram schematically shows a data processing device according to an embodiment of the present disclosure; and

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

[0036] The embodiments of the present disclosure provide a method, apparatus, device and medium for configuring process nodes and data processing. The configured executable process nodes cover various request / call types, thereby supporting the process system to implement various forms of calls to the business system, expanding the application scenarios of the interaction between the process system and the application system, and enabling the process system to meet the needs of multiple application systems or complex forms of calls.

[0037] The method for configuring a process node includes: receiving a first request for configuring a request method for a process node to be configured, wherein the request method represents a method for calling an application system; upon receiving the first request, generating a visual first configuration interface; receiving request method configuration information configured by a user in the first configuration interface; and based on the request method configuration information, calling a service framework for supporting the request method to generate an executable process node.

[0038] 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.

[0039] Figure 1The system architecture of the method and device for configuring process nodes applicable to the embodiments of the present disclosure is schematically shown.

[0040] Reference Figure 1 As shown, Figure 1 The system architecture 100 schematically shows a method and apparatus for configuring a process node applicable to an 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.

[0041] Users can use terminal devices 101, 102, 103 to interact with server 105 through network 104 to receive or send messages, etc. Various types of process systems / process applications, such as business process systems, operation and maintenance process systems, development process systems, etc., can be installed on terminal devices 101, 102, 103 to support the operation and data processing of various forms of application systems such as business systems, operation and maintenance systems, and software project development systems.

[0042] Other communication client applications may also be installed on the above-mentioned terminal devices 101, 102, 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only for example).

[0043] The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, such as electronic devices including but not limited to smart phones, tablet computers, laptop computers, desktop computers, smart watches, etc.

[0044] The server 105 may be a server that provides various services, such as a background management server (only as an example) that performs data processing to provide network services and data service support for the construction and configuration operations of the process nodes initiated by the user using the terminal devices 101, 102, and 103. The background management server may perform data analysis and processing on the received data processing requests such as the construction and configuration operations of the process nodes, 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.

[0045] It should be noted that the method for configuring a process node provided in the embodiment of the present disclosure can generally be executed by the terminal devices 101, 102, 103. Accordingly, the apparatus for configuring a process node provided in the embodiment of the present disclosure can generally be set in the terminal devices 101, 102, 103.

[0046] It should be understood that Figure 1The 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.

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

[0048] A first exemplary embodiment of the present disclosure provides a method for configuring a process node.

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

[0050] Reference Figure 2 As shown, the method for configuring a process node provided by an embodiment of the present disclosure includes the following operations: S201, S202, S203 and S204.

[0051] In operation S201, a first request for configuring a request mode for a process node to be configured is received, where the request mode represents a mode for calling an application system.

[0052] In operation S202, when the first request is received, a first visual configuration interface is generated.

[0053] In operation S203, the request mode configuration information configured by the user in the first configuration interface is received.

[0054] In operation S204, based on the request mode configuration information, a service framework for supporting the request mode is called to generate an executable process node.

[0055] The above operations S201 to S204 can be performed by a terminal device installed with a process system / application. The above process system / application is used to support the task implementation of the application system. The above application system can be located in the same device as the process system or in a different device. When the application system performs corresponding business processing, operation and maintenance tasks, software project development and other operations, it interacts with the process system for data; for example, the application system calls the process system so that the process system can request to call specific data in the application system to implement the preset data processing logic, and feed the processing results back to the application system.

[0056] In an exemplary scenario, the application system is a business system that processes asset business. The business system needs to execute business logic such as asset filtering and asset issuance. The process system is responsible for arranging the order of business system processing, for example, the preset order is: first process asset filtering, then process asset issuance. In the process of the business system executing the data processing logic, the business system calls the process system so that the process system first performs the asset filtering operation. During the execution process, it is necessary to call the asset data in the business system and perform the filtering operation on the asset data obtained based on the preset conditions. After the asset filtering operation is completed, the process system can feed back the execution result to the application system; then the process system calls the interface of the business system to perform the asset issuance operation. In this scenario, one or more process nodes in the process system need to implement the call request for the data / interface of the application system. In order to meet the calls in various forms and complex scenarios, the executable process nodes configured by the above operations S201 to S204 cover various request / call types, so as to support the process system to implement various forms of calls to the business system, and expand the application scenarios of the interaction between the process system and the application system.

[0057] In the above operation S201, the process node whose request mode has not been configured is referred to as a process node to be configured. In this embodiment, in order to distinguish it from the request for configuring execution information to be described in the subsequent embodiments, the request for configuring the request mode is referred to as the first request, and the subsequent request for configuring execution information is referred to as the second request. Accordingly, the visualization interface generated in response to the first request is described as the first configuration interface, and the visualization interface generated in response to the second request is described as the second configuration interface.

[0058] The implementation scenario of the above operation S201 may be: a process system / application is installed on the terminal device, and various function keys are displayed on the main interface of the process system / application, including a target function key for configuring the request method. The user initiates a configuration request by clicking the target function key on the main interface of the process system / application, and a first request for configuring the request method for the process node to be configured is received on the terminal device side.

[0059] Alternatively, in other implementation scenarios, the description information of the request method is displayed on the interface of the process node to be configured, for example, the description information of the request method is: remote procedure call (RPC), and the specific implementation logic of the request method has not been configured. The user can trigger the first request to configure the request method by clicking on the description information of the request method, or staying on the description information of the request method for a preset period of time; or the user can stay on the description information of the request method and click the right button of the mouse (which can be changed and adjusted according to the user's usage habits), and display the function key directory for configuring the request method, modifying the request method, deleting the request method, etc. The user triggers the first request to configure the request method by selecting the function key of the configuration operation, thereby receiving the above-mentioned first request on the terminal device.

[0060] A user can be a user who has the ability to configure process nodes. For example, in actual application scenarios, this can be a process development engineer, or a business person who has a certain understanding of both the application system and the process system.

[0061] The request method may include but is not limited to: RPC (remote procedure call) request method, Java file request method, MQ (message queue) request method, HTTP (hypertext transfer protocol) request method, etc.

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

[0063] In the above operation S202, upon receiving the above first request, the terminal device generates a first visual configuration interface. Figure 3 As shown, the first configuration interface 300 includes a description item 301, an attribute group 302, and an attribute value 303 to be configured corresponding to each attribute in the attribute group.

[0064] The description item 301 is used to fill in information according to the request method in operation S201, for example Figure 3 Taking the RPC request method as an example, the information filled in the description item 301 is, for example: request method-rpc.

[0065] The attribute group 302 is the attribute that needs to be configured in the request mode. The attribute content in the attribute group 302 is presented on the first configuration interface 300, for example Figure 3 The attribute group in the example consists of the following attributes: {request type, request method name, request method identifier, request interface, parameter parsing type, execution parameters, timeout period, serialization method}.

[0066] At least part of the attribute values ​​to be configured 303 is blank. The blank attribute values ​​to be configured need to be set / configured by the user. The setting / configuration method can be manual input or pasting, etc., and the corresponding attribute values ​​are configured according to the understanding of the application system to be interacted. Figure 3 In the example, the attribute value 303a to be configured corresponding to the request type is filled with the default value "rpc", and the value of the attribute value 303b to be configured corresponding to other attributes is blank.

[0067] For example, the to-be-configured attribute value corresponding to the request interface needs to fill in the corresponding data call interface in the application system, so as to call specific data in the application system.

[0068] In the implementation scenario of the above operation S203, the user can configure or set the request method configuration information on the first configuration interface 300. For example, the request method configuration information can be filled in or pasted at the location of the attribute value 303 to be configured on the first configuration interface 300, and the attribute values ​​of the request type, the name of the request method, the identifier of the request method, the request interface, the parameter parsing type, the execution parameters, the timeout period, the serialization method, etc. can be set / configured respectively, so that the request method configuration information is received on the terminal device.

[0069] When receiving the above request mode configuration information, the terminal device will call the service framework for supporting the corresponding request mode based on the above request mode configuration information to generate an executable process node.

[0070] Exemplarily, the rpc request method implements support for requests (or requests can also be described as calls) based on the rpc service framework. For example, the service framework that supports rpc call requests in the above operation S204 is: dubbo (an open source distributed service framework). The http request method implements support for requests through a service framework that can support http request sending. For requests for java files, calls are usually made to compiled java files, and the compiled java files are class files. Therefore, the service framework supported by the java file request method can be: dynamically loading and calling class files based on groovy (a lightweight but powerful dynamic language built on the Java virtual machine). The service framework corresponding to the mq request method can be: message middleware, such as rocketmq (an open source message middleware), which initiates calls to data queues through the message middleware.

[0071] Based on the above operations S201 to S204, a visual configuration interface is provided to receive request mode configuration information for configuring the request mode of the node to be configured. The above request mode can cover various request types, such as: rpc (remote procedure call), java file (compiled into class file format), mq (message queue), http (hypertext transfer protocol) and other request / call types. The corresponding service framework is called according to the above request configuration information to generate executable process nodes. The obtained executable process nodes cover various request / call types, thereby supporting the process system to realize various forms of calls to the business system, expanding the application scenarios of the interaction between the process system and the application system, so that the process system can meet the calls of multiple application systems or complex forms.

[0072] Figure 4 The detailed implementation flow chart of operation S202 according to the embodiment of the present disclosure is schematically shown.

[0073] According to the embodiments of the present disclosure, referring to Figure 4 As shown, in the case of receiving the above-mentioned first request, the operation S202 of generating a first visualized configuration interface includes the following operations: S401, S402.

[0074] In operation S401, when the first request is received, a target configuration template file matching the request method is determined in preset configuration template files.

[0075] In operation S402, a visual first configuration interface is generated based on the target configuration template file.

[0076] In the above operation S401, the preset configuration template file contains information associated with the request mode. For example, different configuration template files may be associated with different request modes; or the same configuration template file may contain different contents, each of which is associated with a different request mode.

[0077] Figure 5A A detailed implementation flow chart of determining a target configuration template file according to an embodiment of the present disclosure is schematically shown.

[0078] In an embodiment of the present disclosure, there are multiple preset configuration template files, and each configuration template file is associated with an identification of an adaptation request mode.

[0079] Accordingly, refer to Figure 5A As shown, in the above operation S401, determining a target configuration template file matching the above request method in a preset configuration template file includes the following operations: S511 and S512.

[0080] In operation S511, a target identifier corresponding to a target adaptation request method matching the request method is determined from identifiers of the adaptation request method associated with the configuration template file.

[0081] In operation S512, a target configuration template file is generated according to the configuration template file associated with the target identifier.

[0082] For example, there are four preset configuration template files, namely configuration template files M1, M2, M3, and M4, which correspond to the rpc request method, java file request method, mq request method, and http request method, respectively. Configuration template file M1 is associated with a first identifier adapted to rpc, configuration template file M2 is associated with a second identifier adapted to java file, configuration template file M3 is associated with a third identifier adapted to mq, and configuration template file M4 is associated with a fourth identifier adapted to http.

[0083] Exemplarily, the request method in the above operation S201 is rpc. By executing operations S511 to S512, the candidate first to fourth identifiers are matched with the request method rpc, and the target identifier is obtained as the first identifier. Then, the configuration template file M1 associated with the first identifier can be used as the target configuration template file.

[0084] Figure 5B A detailed implementation flow chart of determining a target configuration template file according to another embodiment of the present disclosure is schematically shown.

[0085] In another embodiment of the present disclosure, a preset configuration template file includes a plurality of configuration template contents, and each configuration template content is associated with an identification of an adaptation request mode.

[0086] Accordingly, refer to Figure 5B As shown, in the above operation S401, determining a target configuration template file matching the above request method in a preset configuration template file includes the following operations: S521 and S522.

[0087] In operation S521, a target identifier corresponding to a target adaptation request method matching the request method is determined from identifiers of the adaptation request method associated with the configuration template content.

[0088] In operation S522, a target configuration template file is generated according to the configuration template content associated with the target identifier.

[0089] For example, there is one preset configuration template file, and this configuration template file M includes four configuration template contents, namely configuration template contents C1, C2, C3, and C4, which correspond to the rpc request method, java file request method, mq request method, and http request method, respectively. The configuration template content C1 is associated with a first identifier adapted to rpc, the configuration template content C2 is associated with a second identifier adapted to the java file, the configuration template content C3 is associated with a third identifier adapted to mq, and the configuration template content C4 is associated with a fourth identifier adapted to http.

[0090] Exemplarily, the request mode in the above operation S201 is mq. By executing operations S521 to S522, the candidate first to fourth identifiers are matched with the request mode mq, and the target identifier is obtained as the third identifier. Then, the target configuration template file can be generated according to the configuration template content C3 associated with the third identifier.

[0091] In the above two embodiments, the preset configuration template file includes: a preset attribute group and attribute values ​​to be configured corresponding to the attributes in the preset attribute group, and at least some of the attribute values ​​to be configured are null values. Correspondingly, the target configuration template file includes: a target attribute group matching the above request method, and target attribute values ​​to be configured corresponding to the target attribute group.

[0092] In the above operation S402, a visual first configuration interface is generated based on the above target configuration template file, including: based on the target attribute group and the target attribute value to be configured in the above target configuration template file, an output interface in the form of a key-value pair is generated, and the above output interface serves as the above first configuration interface.

[0093] Exemplarily, the preset attribute group in the configuration template file M1 or the configuration template content C1 adapted to the rpc request method is the first attribute group. The first attribute group includes: {request type, at least one of the name or identifier of the request method, request interface, parameter parsing type, execution parameters, timeout period, serialization method}. Among them, the description information of the configuration template file M1 or the configuration template content C1 is: the request method is rpc, and the description information "the request method is rpc" can be used as the first identifier of M1 or C1. According to the target configuration template file obtained by the configuration template file M1 or the configuration template content C1, after generating the visual first configuration interface, the first identifier is displayed as the description item 301, the first attribute group is used as the target attribute group, and the attribute values ​​to be configured corresponding to each attribute in the first attribute group are used as the target attribute values ​​to be configured. The target attribute group and the target attribute values ​​to be configured are displayed in the form of key-value pairs to obtain the first configuration interface. The first configuration interface can refer to the aforementioned description about Figure 3 Description.

[0094] In addition, taking M1 as an example, in some embodiments, all the attributes to be configured in M1 are empty. In other embodiments, the terminal device automatically fills in the attribute value of the request type attribute according to the above description information. For example, the request type in M1 can be filled in as rpc by default, and the attributes to be configured of other attributes are empty, waiting for the user to configure. The first configuration interface generated based on the target configuration template file M1 can refer to the aforementioned description of Figure 3 The implementation of other configuration template files M2 to M4 and configuration template contents C1 to C4 is similar and will not be listed here one by one.

[0095] The preset attribute group in the configuration template file M2 or the configuration template content C2 adapted to the java file request method is the second attribute group. The second attribute group includes: {request type, executed class file, execution parameters, timeout period}. Among them, the description information of the configuration template file M2 or the configuration template content C2 is: the request method is java, and the description information "the request method is java" can be used as the second identifier of M2 or C2.

[0096] The preset attribute group in the configuration template file M3 or the configuration template content C3 adapted to the mq request mode is the third attribute group. The third attribute group includes: {request type, subject in the message processing process, execution parameters, timeout period}. Among them, the description information of the configuration template file M3 or the configuration template content C3 is: the request mode is mq, and the description information "the request mode is mq" can be used as the third identifier of M3 or C3.

[0097] The preset attribute group in the configuration template file M4 or the configuration template content C4 adapted to the http request method is the fourth attribute group. The fourth attribute group includes: {request type, request method, request interface, execution parameters, timeout period}. Among them, the description information of the configuration template file M4 or the configuration template content C4 is: the request method is http, and the description information "the request method is http" can be used as the fourth identifier of M4 or C4.

[0098] According to an embodiment of the present disclosure, when the above-mentioned request method includes an rpc request method, the above-mentioned request method configuration information includes: first configuration information for configuring attribute values ​​for attributes in the first attribute group. When the above-mentioned request method includes a java file request method, the above-mentioned request method configuration information includes: second configuration information for configuring attribute values ​​for attributes in the second attribute group. When the above-mentioned request method includes an mq request method, the above-mentioned request method configuration information includes: third configuration information for configuring attribute values ​​for attributes in the third attribute group. When the above-mentioned request method includes an http request method, the above-mentioned request method configuration information includes: fourth configuration information for configuring attribute values ​​for attributes in the fourth attribute group. The attributes specifically included in the first attribute group to the fourth attribute group can refer to the description of the previous embodiment.

[0099] Combine the following Figure 6 To exemplarily describe the request method configuration information.

[0100] Figure 6 The schematic diagram schematically shows the configuration of the request mode configuration information on the first configuration interface according to an embodiment of the present disclosure.

[0101] Take the function to be realized by the process node to be configured as: requesting business system 1 to obtain user access information, and the request method is rpc request method as an example. Figure 6 FIG. 6 is a schematic diagram showing an interface after configuring the attribute value 613 to be configured in the first configuration interface 610. Figure 6 As shown, the content of the description item 611 on the first configuration interface 610 is: request method - rpc, the attribute value configured for the request type or filled in by default is: rpc, the attribute value configured for the name of the request method is: getUserInfo (get user information); the attribute value configured for the identifier of the request method is: Beta.1.0 (an example method identification number); the attribute value configured for the request interface is: com.xy.poolinsky.UserInfo, where xy is the domain name information of the application system, and poolinsky is the name of the application system; the attribute value configured for the parameter resolution type is: com.xy.poolinsky.UserVo; the attribute value configured for the execution parameter is: {"app":"poolinsky","ip":"193.×.×.×","Username":"zhangsan",

[0102] "version": "1"}; the attribute value for the timeout configuration is: 6000 (in seconds); the attribute value for the serialization configuration is: Hessian (a dynamic type, binary serialization and Web service protocol designed for object-oriented transmission).

[0103] For example, the function to be implemented by the process node to be configured is: requesting business system 1 to obtain user access information, and the request method is a java file request method. The attribute value configured or filled by default for the request type is: class; the attribute value configured for the executed class file is, for example, export / server / userservice / UserInfo.class; the attribute value configured for the execution parameter is, for example, {"app":"poolinsky","ip":"193.×.×.×","Username":"zhangsan","version":"1"}; the attribute value configured for the timeout period is, for example, 6000.

[0104] For example, the function to be implemented by the process node to be configured is: requesting business system 1 to obtain user access information, and the request method is mq request method. The attribute value configured or filled by default for the request type is: mq; the attribute value configured for the topic in the message processing process is: UserInfo, and the attribute value configured for the execution parameter is: {"app":"poolinsky","ip":"193.×.×.×","Username":"zhangsan","version":"1"}; the attribute value configured for the timeout period is, for example: 6000.

[0105] For example, the function to be implemented by the process node to be configured is: requesting business system 1 to obtain user access information, and the request method is http request method. The attribute value configured or filled by default for the request type is: http; the attribute value configured for the request method is, for example, post; the attribute value configured for the request interface is, for example, http: / / 127.××0.1:8080 / user / getUserInfo; the attribute value configured for the timeout period is: 6000.

[0106] It should be understood that although the above example uses the function of requesting business system 1 to obtain user access information as an example, in fact, the process node can implement various functions, and the corresponding attribute values ​​configured for the above attribute group can also be presented in various forms, as long as the process node can successfully call the application system.

[0107] Figure 7 A flowchart of a method for configuring a process node according to another embodiment of the present disclosure is schematically shown.

[0108] The method for configuring a process node provided in the embodiment of the present disclosure includes, in addition to the above operations S201 to S204, the following operations: S701 and S702, for the sake of simplicity, Figure 7Only operations S701, S702 and S201 are shown in FIG. Figure 7 As shown, operations S701 and S702 are performed before operation S201.

[0109] In operation S701, creation information of a process node is received, wherein the creation information includes: node identification information, description information of a target function to be implemented, and description information of a request method.

[0110] The node identification information includes the node name, node code, etc. Exemplarily, the description information for implementing the target function is, for example, requesting the business system 1 to obtain user access information; the description information of the request method is, for example, rpc, mq, http, java, etc.

[0111] In operation S702, a process node to be configured is created according to the creation information, and a request mode corresponding to the target function implemented by the process node to be configured is in a state to be configured.

[0112] In the above embodiment, after the process node is created, the request mode of the process node is in a state to be configured, so the created process node is described as a process node to be configured. By repeatedly implementing operations S201 to S204, the process node to be configured is configured with different request modes, and executable process nodes corresponding to various request types to be implemented can be generated.

[0113] Figure 8 The flowchart of a method for configuring a process node according to another embodiment of the present disclosure is schematically shown.

[0114] In most scenarios, the executable process nodes generated after the above request mode configuration is completed can meet the task processing requirements of most application systems. However, in other complex task processing scenarios, the process system is expected to implement various modes such as normal sequential execution, periodic execution, and timed triggering. In addition, there are some special application scenario requirements. For example, in weather forecast applications, when providing users with voice feedback on weather conditions and corresponding outfit suggestions, it is necessary to add additional information about the date of the day.

[0115] In view of this, the embodiments of the present disclosure also optimize the configuration of the execution information of the process node to be configured.

[0116] On the basis of the above embodiments, before the operation S204 corresponding to the executable process node is generated, the following operations are also included: S801, S802 and S803. Figure 8Only operations S801 to S803 and S204a are illustrated. The execution order of the above operations S801 to S803 and operations S201 to S203 is not limited, and operation S801 can be executed at the same time as operation S201, or before or after operation S201; in addition, the first configuration interface and the second configuration interface can be two different independent interfaces; or they can be two different parts / areas in the same interface.

[0117] In operation S801 , a second request for configuring execution information of a process node to be configured is received.

[0118] In operation S802, when the second request is received, a second visual configuration interface is generated.

[0119] In operation S803, execution configuration information configured by the user in the second configuration interface is received.

[0120] Among them, in the above operation S204, based on the above request method configuration information, the service framework used to support the above request method is called to generate an executable process node, including operation S204a: based on the above request method configuration information and the above execution configuration information, the service framework used to support the above request method is called to generate an executable process node.

[0121] The above-mentioned execution information includes: at least one of trigger information and execution-related parameter information.

[0122] The trigger information is used to limit the process node to start execution by manual triggering, automatic triggering or timed triggering. Based on the setting of the trigger information, various modes such as normal sequential execution process, periodic execution process, and timed trigger process can be realized.

[0123] The above-mentioned execution-related parameter information is the associated parameter that needs to be loaded when the above-mentioned process node is executed. For example, in a weather forecast application, when the weather conditions and corresponding dressing suggestions are fed back to the user in the form of voice broadcast, the date information of the day needs to be added. The function to be realized by the process node to be configured is: to feed back the weather conditions and corresponding dressing suggestions to the user in the form of voice broadcast. At this time, the execution information may include: execution-related parameter information, and the execution-related parameter information is: to add the date information of the day when broadcasting.

[0124] Based on the same technical concept, a second exemplary embodiment of the present disclosure provides a data processing method.

[0125] Fig. 9 The flowchart schematically shows a method for data processing according to an embodiment of the present disclosure.

[0126] Reference Fig. 9 As shown, the data processing method provided by the embodiment of the present disclosure includes the following operations: S901, S902 and S903. The method can be executed by a device / apparatus installed with a process system, and the process system is used to perform data interaction with an application system to support the application system to implement task processing.

[0127] In operation S901, a node call request is received when the application system performs data processing.

[0128] In operation S902, according to the node calling request, the target process nodes are called in sequence in the pre-configured process nodes, and the pre-configured process nodes are configured by using the method for configuring process nodes as described above.

[0129] In operation S903, the target process node obtains target data from the application system according to a preconfigured request method, performs preset processing on the target data to obtain a processing result, and feeds back the processing result to the application system based on a preset method.

[0130] The target data mentioned above may be, for example, parameters, data to be processed, etc. The preset processing may be: data verification (for example, verification of user information), data query (for example, query of the weather conditions of the day), data prediction (for example, determining outfit suggestions based on the weather conditions), etc. The preset method may be: the result return form corresponding to the request method, for example, returning the result data through an interface, returning the result data through Hessian serialization, etc.

[0131] Since the pre-configured process nodes cover various request / call types, such as: rpc (remote procedure call), java files (compiled into class file format), mq (message queue), http (hypertext transfer protocol) and other request / call types, it can support the process system to implement various forms of calls to the business system, expand the application scenarios of the interaction between the process system and the application system, and enable the process system to meet the needs of multiple application systems or complex forms of calls.

[0132] A third exemplary embodiment of the present disclosure provides an apparatus for configuring a process node.

[0133] Fig.10 The structural block diagram of the device for configuring a process node according to an embodiment of the present disclosure is schematically shown.

[0134] Reference Fig.10 As shown, the apparatus 1000 for configuring a process node provided by an embodiment of the present disclosure includes: a request receiving module 1001 , an interface generating module 1002 , a configuration information receiving module 1003 and an executable node generating module 1004 .

[0135] The request receiving module 1001 is used to receive a first request for configuring a request method for a process node to be configured, where the request method represents a method for calling an application system.

[0136] The interface generation module 1002 is used to generate a first visual configuration interface when receiving the first request. The interface generation module 1002 includes functional modules or submodules corresponding to the operations S401 to S402.

[0137] The configuration information receiving module 1003 is used to receive the request mode configuration information configured by the user in the first configuration interface.

[0138] The executable node generation module 1004 is used to call the service framework supporting the request method based on the request method configuration information to generate an executable process node.

[0139] According to an embodiment of the present disclosure, the above-mentioned device 1000 for configuring process nodes may also include the following modules in addition to the above-mentioned request receiving module 1001, interface generating module 1002, configuration information receiving module 1003 and executable node generating module 1004: a creation information receiving module and a node creation module.

[0140] The creation information receiving module is used to receive the creation information of the process node. The creation information includes: node identification information, description information of the target function to be implemented, and description information of the request method.

[0141] The node creation module is used to create a process node to be configured according to the creation information. The request mode corresponding to the target function of the process node to be configured is in a state to be configured.

[0142] Based on the above embodiments, the request receiving module 1001 is further used to receive a second request for configuring the execution information of the process node to be configured. The interface generating module 1002 is further used to generate a visual second configuration interface when receiving the second request. The configuration information receiving module 1003 is further used to receive the execution configuration information configured by the user in the second configuration interface.

[0143] According to an embodiment of the present disclosure, the executable node generation module 1004 is used to call a service framework for supporting the request mode based on the request mode configuration information and the execution configuration information to generate an executable process node.

[0144] A fourth exemplary embodiment of the present disclosure provides a data processing device.

[0145] Fig.11 The structure block diagram of the data processing device according to the embodiment of the present disclosure is schematically shown.

[0146] Reference Fig.11 As shown, the data processing device 1100 provided by the embodiment of the present disclosure includes: a call request receiving module 1101, a node calling module 1102, and an execution and interaction module 1103.

[0147] The above-mentioned call request receiving module 1101 is used to receive a node call request when the application system performs data processing.

[0148] The node calling module 1102 is used to call the target process node in sequence in the pre-configured process nodes according to the node calling request. The pre-configured process nodes are configured by the method for configuring process nodes as described above or by the device 1000 for configuring process nodes as described above.

[0149] The execution and interaction module 1103 is arranged in the target process node, and is used to obtain target data from the application system according to a pre-configured request method, perform preset processing on the target data, obtain processing results, and feed back the processing results to the application system based on a preset method.

[0150] In the third embodiment, any multiple of the request receiving module 1001, the interface generating module 1002, the configuration information receiving module 1003, the executable node generating module 1004, the creation information receiving module and the node creating module can be combined in one module for implementation, or any one of the modules 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 request receiving module 1001, the interface generating module 1002, the configuration information receiving module 1003, the executable node generating module 1004, the creation information receiving module and the node creating module 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 a proper combination of any of them. Alternatively, at least one of the request receiving module 1001, the interface generating module 1002, the configuration information receiving module 1003, the executable node generating module 1004, the creation information receiving module and the node creating module may be at least partially implemented as a computer program module, which may execute corresponding functions when the computer program module is executed.

[0151] In the fourth embodiment described above, any multiple of the call request receiving module 1101, the node calling module 1102, and the execution and interaction module 1103 can be combined in one module for implementation, or any one of the modules 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 call request receiving module 1101, the node calling module 1102, and the execution and interaction module 1103 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 a suitable combination of any of them. Alternatively, at least one of the call request receiving module 1101, the node calling module 1102, and the execution and interaction module 1103 may be at least partially implemented as a computer program module, and when the computer program module is executed, the corresponding function may be executed.

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

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

[0154] Reference Fig.12 As shown, the electronic device 1200 provided by the embodiment of the present disclosure includes a processor 1201, a communication interface 1202, a memory 1203 and a communication bus 1204, wherein the processor 1201, the communication interface 1202 and the memory 1203 communicate with each other through the communication bus 1204; the memory 1203 is used to store computer programs; the processor 1201 is used to implement the method for configuring process nodes or the method for data processing as described above when executing the program stored in the memory.

[0155] 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 configuring a process node or the method for data processing as described above is implemented.

[0156] 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.

[0157] 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.

[0158] 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.

[0159] 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 configuring a process node, characterized in that: Applied to a terminal device installed with a process system, the process system supports call interactions of different request types; the method includes: receiving a first request for configuring a request mode of at least one process node to be configured in the process system, wherein the request mode represents a mode of call interaction between the process system and the application system; the request mode corresponding to the at least one process node to be configured has multiple request types, including: the same process node to be configured is configured as multiple request types, or different process nodes to be configured are respectively configured as different request types; In the case of receiving the first request, determining a target configuration template file matching the request method in a preset configuration template file; generating a first visual configuration interface based on the target configuration template file; the first configuration interface includes description items, attribute groups, and attribute values ​​to be configured of each attribute in the corresponding attribute group; the description items are used to fill in information according to the request method and present the configured request method; the attribute group is used to indicate the attributes that need to be configured for the request method; at least part of the attribute values ​​to be configured are blank and the blank attribute values ​​to be configured are to be configured by the user; Receive request mode configuration information configured by the user in the first configuration interface, including: request mode configuration information for configuring the attribute value to be configured in the attribute group; wherein the request type defined in the request mode configuration information corresponding to the at least one process node to be configured is different; and Based on the request mode configuration information, a service framework for supporting the request modes corresponding to at least two request types is called to generate an executable process node.

2. The method according to claim 1, characterized in that There are multiple configuration template files, each of which is associated with an identification of the adaptation request mode; or, the configuration template file contains multiple configuration template contents, each of which is associated with an identification of the adaptation request mode; The step of determining a target configuration template file that matches the request method in a preset configuration template file includes: Determine, from the identifier of the adaptation request mode associated with the configuration template file or the configuration template content, a target identifier corresponding to the target adaptation request mode that matches the request mode; and A target configuration template file is generated according to the configuration template file or the configuration template content associated with the target identifier.

3. The method according to claim 1, characterized in that The configuration template file includes: a preset attribute group and attribute values ​​to be configured, at least some of the attribute values ​​to be configured are null values; the target configuration template file includes: a target attribute group matching the request mode, and target attribute values ​​to be configured corresponding to the target attribute group; The step of generating a first visual configuration interface based on the target configuration template file includes: Based on the target attribute group and the target attribute value to be configured in the target configuration template file, an output interface in the form of a key-value pair is generated, and the output interface serves as the first configuration interface.

4. The method according to claim 1, characterized in that When the request mode includes an rpc request mode, the request mode configuration information includes: first configuration information for configuring attribute values ​​of attributes in a first attribute group; the attributes in the first attribute group include: a request type, at least one of a name or an identifier of a request method, a request interface, a parameter parsing type, an execution parameter, a timeout period, and a serialization mode; When the request mode includes a Java file request mode, the request mode configuration information includes: second configuration information for configuring attribute values ​​of attributes in a second attribute group; the attributes in the second attribute group include: request type, executed class file, execution parameters, and timeout period; When the request mode includes an mq request mode, the request mode configuration information includes: third configuration information for configuring attribute values ​​of attributes in a third attribute group; the attributes in the third attribute group include: request type, subject in a message processing process, execution parameters, and timeout period; When the request method includes an http request method, the request method configuration information includes: fourth configuration information for configuring attribute values ​​of attributes in a fourth attribute group; the attributes in the fourth attribute group include: request type, request method, request interface, execution parameters, and timeout period.

5. The method according to claim 1, characterized in that Before receiving a first request for configuring a request mode for at least one process node to be configured in the process system, the method further includes: receiving creation information of at least one process node in the process system, the creation information comprising: node identification information, description information of a target function to be implemented, and description information of a request method; and At least one to-be-configured process node is created according to the creation information, and a request mode corresponding to a target function implemented by the to-be-configured process node is in a to-be-configured state.

6. The method according to any one of claims 1 to 5, characterized in that Before generating the executable process node, the method further includes: receiving a second request for configuring execution information of the at least one process node to be configured; In case of receiving the second request, generating a second visual configuration interface; and Receiving execution configuration information configured by the user in the second configuration interface; Wherein, based on the request mode configuration information, calling a service framework for supporting the request mode to generate an executable process node includes: Based on the request mode configuration information and the execution configuration information, a service framework for supporting the request mode corresponding to at least two request types is called to generate an executable process node.

7. The method according to claim 6, characterized in that The execution information includes: at least one of trigger information and execution-related parameter information; The trigger information is used to limit the process node to start execution through manual triggering, automatic triggering or timed triggering; the execution-related parameter information is the associated parameters that need to be loaded when the above process node is executed.

8. A method of data processing, characterized in that: include: Receive node call requests when the application system performs data processing; According to the node call request, the target process node is called in sequence in the pre-configured process nodes; wherein the pre-configured process nodes are configured by the method described in any one of claims 1 to 7; The target process node obtains target data from the application system according to a pre-configured request method, performs preset processing on the target data to obtain a processing result, and feeds back the processing result to the application system based on a preset method.

9. A device for configuring a process node, characterized in that: The device includes a process system, and the process system supports call interactions of different request types; the device includes: A configuration request receiving module is used to receive a first request for configuring a request mode of at least one process node to be configured in the process system, wherein the request mode represents a mode of call interaction between the process system and the application system; the request mode corresponding to the at least one process node to be configured has multiple request types, including: the same process node to be configured is configured as multiple request types, or different process nodes to be configured are respectively configured as different request types; An interface generation module is used to determine, in the case of receiving the first request, a target configuration template file matching the request method in a preset configuration template file; based on the target configuration template file, generate a visual first configuration interface; the first configuration interface includes description items, attribute groups, and attribute values ​​to be configured for each attribute in the corresponding attribute group; the description items are used to fill in information according to the request method and present the configured request method; the attribute group is used to indicate the attributes that need to be configured for the request method; at least part of the attribute values ​​to be configured are blank and the blank attribute values ​​to be configured are to be configured by the user; a configuration information receiving module, configured to receive request mode configuration information configured by a user in the first configuration interface, including: request mode configuration information for configuring the attribute value to be configured in the attribute group; wherein the request type defined in the request mode configuration information corresponding to the at least one process node to be configured is different; and The executable node generation module is used to call the service framework for supporting the request mode based on the request mode configuration information to generate an executable process node.

10. A data processing device, characterized in that: include: A call request receiving module is used to receive node call requests when the application system performs data processing; A node calling module, used for calling the target process node in sequence in the pre-configured process nodes according to the node calling request; wherein the pre-configured process node is configured by the method described in any one of claims 1 to 7 or by the device described in claim 9; The execution and interaction module set in the target process node is used to obtain target data from the application system according to a pre-configured request method, perform preset processing on the target data, obtain processing results, and feed back the processing results to the application system based on a preset method.

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 8 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 8 is implemented.

Citation Information

Patent Citations

  • Process creating method and device, electronic equipment and medium

    CN113608733A