Method and apparatus for recommending connectors and actions, and computing device
By building a frequent pattern library of connectors and actions, recommending the optimal combination and assisting in parameter filling, the problem of difficulty in connector selection and parameter filling in the existing technology is solved, and the efficiency and accuracy of zero/low code development are improved. sex.
Patent Information
- Application Number
- PCT/CN2024/070383
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-24
- Filing Date
- 2024-01-03
- Publication Date
- 2024-09-12
AI Technical Summary
Existing zero/low-code development platforms have difficulties in connector selection and parameter filling, which results in extended development time and lack of differentiated connector recommendations, making development more difficult.
By obtaining historical data, we apply data mining algorithms to build a frequent pattern library of connectors and actions, recommend the optimal combination of connectors and actions, assist users in dynamically filling in parameters, and reduce parameter filling errors.
It reduces the difficulty and time cost of zero/low code development, improves development efficiency and online progress, and ensures parameter accuracy and completeness.
Smart Images

Figure CN2024070383_12092024_PF_FP_ABST
Abstract
Description
Recommended method, apparatus and computing device for connector and action
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on March 7, 2023, with application number 202310215340.5 and application name “Method, device and computing device for recommending low-code platform”, and the Chinese patent application filed with the State Intellectual Property Office of China on March 24, 2023, with application number 202310302634.1 and application name “Method, device and computing device for recommending connectors and actions”, all contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of cloud computing, and more particularly, to a method, apparatus, and computing device for recommending a connector and an action. Background Art
[0003] With the rapid development of information technology (IT) and the mobile internet, more and more traditional enterprises are using technology to transform their processes and management to reduce costs and increase efficiency, making business development more efficient and standardized. However, during this digital transformation, problems such as low construction efficiency, long system development cycles, and high development barriers are often encountered. Low-code development is an effective solution to this problem. Low-code development aims to enable developers to build applications with minimal or no coding.
[0004] Although zero-code / low-code development platforms can significantly lower the barrier to entry for developers to build systems, shorten system development cycles, and enable rapid generation and delivery, current zero-code / low-code development tools require users to clearly identify the required connectors and then drag and drop components, define rules, configure parameters, and orchestrate services before they can build, iterate, and deploy applications. This increases the difficulty and time required for zero-code / low-code development.
[0005] In view of this, how to reduce the difficulty of zero / low-code development and save development time has become a technical problem that needs to be solved urgently.
[0006] Summary of the Invention
[0007] The present application provides a method, apparatus, and computing device for recommending connectors and actions. This method can reduce the difficulty of zero / low-code development, save development time for developers, and improve development efficiency.
[0008] In a first aspect, a method for recommending connectors and actions is provided, which is applied to a zero / low-code platform, and the method includes: obtaining historical data, the historical data including at least one of the following: historical data of a low-code canvas, historical call data of an action, the historical data of the low-code canvas including information about connectors and actions historically created on the low-code canvas, as well as connection relationships between historically created connectors and connection relationships between historically created actions; performing data mining on the historical data according to a data mining algorithm to obtain a frequent pattern library of connectors and actions, the frequent pattern library including associated connectors and associated actions; after receiving an instruction to add an action sent by a user, determining a combined recommendation list of connectors and actions from the frequent pattern library of the connectors and actions based on business information corresponding to the connectors and actions created by the user, the combined recommendation list including multiple recommended connectors and multiple recommended actions; displaying the combined recommendation list of connectors and actions to the user, the user selecting an action from the combined recommendation list, and adding the selected action to the low-code canvas.
[0009] In the above technical solution, based on the mined business significance, the optimal combination of connectors and actions can be recommended to developers through zero / low-code development tools or cloud services, thereby reducing the difficulty of zero / low-code development, saving development time for developers and improving development efficiency.
[0010] In combination with the first aspect, in some implementations of the first aspect, the recommendation list further includes at least one of the following information: description information, confidence information, and additional information of the recommended multiple connectors and recommended multiple actions.
[0011] In combination with the first aspect, in certain implementations of the first aspect, the recommendation list includes a first recommendation table and a second recommendation table, the first recommendation table includes multiple recommended connectors, the second recommendation table includes multiple operations (actions) corresponding to the recommended first connector, the first connector is a connector selected by the user from the multiple recommended connectors, and the user selects one or more operations (actions) from the multiple operations (actions) corresponding to the recommended first connector for addition.
[0012] In combination with the first aspect, in some implementations of the first aspect, the recommendation list includes multiple recommended actions and the connector to which each action belongs, and the user selects one or more actions from the multiple recommended actions to add.
[0013] In combination with the first aspect, in certain implementations of the first aspect, the method includes: after the user adds the selected action in the low-code canvas, determining a parameter recommendation list from the parameter association set; displaying the parameter recommendation list to the user, and the user selecting parameters to be filled in for the added action from the parameter recommendation list.
[0014] In the above technical solution, the most suitable connectors and actions can be automatically recommended based on upstream and downstream connectors and action information, and users can be assisted to dynamically fill in the parameters of the action, avoiding repeated debugging failures due to incorrect parameter filling or dynamic association of other parameters that do not conform to business significance. It saves time and cost for developers' low-code development, ensures that the parameters for low-code development are accurate and complete, and helps low-code developed services to be released quickly and accurately, thereby improving overall development efficiency and online progress.
[0015] In combination with the first aspect, in certain implementations of the first aspect, the parameter association set includes a static parameter set and a dynamic association parameter set of the added operation (action). After the user adds the selected operation (action) in the low-code canvas, a static parameter recommendation list is determined from the static parameter set of the operation (action); and / or after the user adds the selected operation (action) in the low-code canvas, a dynamic association parameter recommendation list is determined from the dynamic association parameter set of the operation (action); the static parameter recommendation list is displayed to the user, and the user selects the static parameters to be filled in for the added operation (action) from the static parameter recommendation list; and / or the dynamic association parameter recommendation list is displayed to the user, and the user selects the dynamic association parameters to be filled in for the added operation (action) from the dynamic association parameter recommendation list.
[0016] In combination with the first aspect, in certain implementations of the first aspect, the static parameter recommendation list also includes at least one of the following information: parameter combination information, historical parameter filling time, and confidence information.
[0017] In combination with the first aspect, in certain implementations of the first aspect, the dynamic association parameter recommendation list further includes at least one of the following information: parameters to be filled in, associated parameters, associated operations (actions), and confidence information.
[0018] In combination with the first aspect, in certain implementations of the first aspect, the method further includes: extracting historical parameter information from the historical data, and analyzing the parameter information to obtain the parameter association set.
[0019] In the second aspect, a connector and action recommendation device is provided, which is applied to a zero / low-code platform and includes: an acquisition module, a data processing module, a selection module, and a display module, wherein the acquisition module is used to obtain historical data, and the historical data includes at least one of the following: historical data of a low-code canvas, historical call data of an action, and the historical data of the low-code canvas includes information on connectors and actions historically created on the low-code canvas, as well as connection relationships between connectors created historically and connection relationships between actions created historically; the data processing module is used to perform data mining on the historical data according to a data mining algorithm to obtain frequent calls to connectors and actions. A pattern library, wherein the frequent pattern library includes associated connectors and associated actions; the selection module is used to determine a combination recommendation list of connectors and actions from the frequent pattern library of connectors and actions after receiving an instruction to add an action sent by the user, based on the business information corresponding to the connectors and actions created by the user, wherein the combination recommendation list includes multiple recommended connectors and multiple recommended actions; the display module is used to display the combination recommendation list of connectors and actions to the user, and the user selects an action from the combination recommendation list and adds the selected action to the low-code canvas.
[0020] In combination with the second aspect, in certain implementations of the second aspect, the combined recommendation list further includes at least one of the following information: description information, confidence information, and additional information of the recommended multiple connectors and the recommended multiple actions.
[0021] In combination with the second aspect, in certain implementations of the second aspect, the combined recommendation list includes a first recommendation table and a second recommendation table, the first recommendation table includes multiple recommended connectors, and the second recommendation table includes multiple operations (actions) corresponding to the recommended first connector. The first connector is a connector selected by the user from the multiple recommended connectors, and the user selects one or more operations (actions) from the multiple operations (actions) corresponding to the recommended first connector to add.
[0022] In combination with the second aspect, in some implementations of the second aspect, the combined recommendation list includes multiple actions and the connector to which each action belongs, and the user selects one or more actions from the recommended multiple actions to add.
[0023] In combination with the second aspect, in certain implementations of the second aspect, the selection module is further used to determine a parameter recommendation list from the parameter association set after the user adds the selected operation (action) in the low-code canvas; the display module is also used to display the parameter recommendation list to the user, and the user selects the parameters to be filled in for the added operation (action) from the parameter recommendation list.
[0024] In combination with the second aspect, in certain implementations of the second aspect, the parameter association set includes a static parameter set and a dynamic association parameter set of the action. The data processing module is specifically used to determine a static parameter recommendation list from the static parameter set corresponding to the action after the user adds the selected action in the low-code canvas; and / or the data processing module is specifically used to determine a dynamic association parameter recommendation list from the dynamic association parameter set corresponding to the action after the user adds the selected action in the low-code canvas; the display module is specifically used to display the static parameter recommendation list to the user, and the user selects the static parameters to be filled in for the added action from the static parameter recommendation list; and / or the display module is specifically used to display the dynamic association parameter recommendation list to the user, and the user selects the dynamic association parameters to be filled in for the added action from the dynamic association parameter recommendation list.
[0025] In combination with the second aspect, in certain implementations of the second aspect, the static parameter recommendation list also includes at least one of the following information: parameter combination information, historical parameter filling time, and confidence information.
[0026] In combination with the second aspect, in certain implementations of the second aspect, the dynamic association parameter recommendation list further includes at least one of the following information: parameters to be filled in, associated parameters, associated operations (actions), and confidence information.
[0027] In combination with the second aspect, in some implementations of the second aspect, the data processing module is further configured to extract historical parameter information from the historical data, and analyze the parameter information to obtain the parameter association set.
[0028] In a third aspect, a computing device is provided, comprising a processor and a memory, and optionally, an input / output interface. The processor is configured to control the input / output interface to send and receive information, the memory is configured to store a computer program, and the processor is configured to retrieve and execute the computer program from the memory, so as to perform the method of the first aspect or any possible implementation of the first aspect.
[0029] Optionally, the processor may be a general-purpose processor, which may be implemented in hardware or software. When implemented in hardware, the processor may be a logic circuit, an integrated circuit, or the like; when implemented in software, the processor may be a general-purpose processor implemented by reading software code stored in a memory, which may be integrated into the processor or located independently of the processor.
[0030] In a fourth aspect, a computing device cluster is provided, comprising at least one computing device, each computing device comprising a processor and a memory; the processor of the at least one computing device is used to execute instructions stored in the memory of the at least one computing device, so that the computing device cluster executes the method in the first aspect or any possible implementation of the first aspect.
[0031] In a fifth aspect, a chip is provided, which obtains instructions and executes the instructions to implement the method in the above-mentioned first aspect and any implementation manner of the first aspect.
[0032] Optionally, as an implementation, the chip includes a processor and a data interface, and the processor reads instructions stored in the memory through the data interface to execute the method in the above-mentioned first aspect and any implementation of the first aspect.
[0033] Optionally, as an implementation method, the chip may also include a memory, in which instructions are stored, and the processor is used to execute the instructions stored on the memory. When the instructions are executed, the processor is used to execute the method in the first aspect and any one of the implementation methods of the first aspect.
[0034] In a sixth aspect, a computer program product comprising instructions is provided. When the instructions are executed by a computing device, the computing device executes the method in the first aspect and any one of the implementations of the first aspect.
[0035] In a seventh aspect, a computer program product comprising instructions is provided. When the instructions are executed by a computing device cluster, the computing device cluster executes the method in the first aspect and any one of the implementations of the first aspect.
[0036] In an eighth aspect, a computer-readable storage medium is provided, characterized in that it includes computer program instructions. When the computer program instructions are executed by a computing device, the computing device executes the method in the above-mentioned first aspect and any one of the implementations of the first aspect.
[0037] By way of example, these computer-readable storages include, but are not limited to, one or more of the following: read-only memory (ROM), programmable ROM (PROM), erasable PROM (EPROM), Flash memory, electrically EPROM (EEPROM), and a hard drive.
[0038] Optionally, as an implementation manner, the above-mentioned storage medium may specifically be a non-volatile storage medium.
[0039] In the ninth aspect, a computer-readable storage medium is provided, characterized in that it includes computer program instructions. When the computer program instructions are executed by a computing device cluster, the computing device cluster executes the method in the above-mentioned first aspect and any one of the implementations of the first aspect.
[0040] By way of example, these computer-readable storages include, but are not limited to, one or more of the following: read-only memory (ROM), programmable ROM (PROM), erasable PROM (EPROM), Flash memory, electrically EPROM (EEPROM), and a hard drive.
[0041] Optionally, as an implementation manner, the above-mentioned storage medium may specifically be a non-volatile storage medium. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] FIG1 is a schematic block diagram of a cloud scenario applicable to an embodiment of the present application.
[0043] FIG2 is a schematic flow chart of a connector and a recommended method of operation provided in an embodiment of the present application.
[0044] FIG3 is a schematic block diagram of data mining provided in an embodiment of the present application.
[0045] FIG4 is a schematic block diagram of a connector and action recommendation system provided in an embodiment of the present application.
[0046] FIG5 is a schematic diagram of a front-end interface for recommending connectors to users, provided in an embodiment of the present application.
[0047] FIG6 is a schematic diagram of a front-end interface for recommending actions to users according to an embodiment of the present application.
[0048] FIG7 is a schematic diagram of another front-end interface for recommending actions to users provided in an embodiment of the present application.
[0049] FIG8 is a schematic flowchart of a recommended method for filling in action parameters provided in an embodiment of the present application.
[0050] Figure 9 is a schematic diagram of the front-end interface of a static auxiliary parameter filling list for an action recommended to the user provided in an embodiment of the present application.
[0051] Figure 10 is a schematic diagram of the front-end interface of a dynamic auxiliary parameter filling list for operations (actions) recommended to users provided in an embodiment of the present application.
[0052] FIG11 is a schematic block diagram of a connector and action recommendation device 1100 provided in an embodiment of the present application.
[0053] FIG12 is a schematic diagram of the architecture of a computing device 1500 provided in an embodiment of the present application.
[0054] FIG13 is a schematic diagram of the architecture of a computing device cluster provided in an embodiment of the present application.
[0055] FIG14 is a schematic diagram of a network connection between computing devices 1500A and 1500B provided in an embodiment of the present application. DETAILED DESCRIPTION
[0056] The technical solution in this application will be described below with reference to the accompanying drawings.
[0057] This application will present various aspects, embodiments, or features around systems including multiple devices, components, modules, etc. It should be understood and appreciated that each system may include additional devices, components, modules, etc., and / or may not include all of the devices, components, modules, etc. discussed in conjunction with the figures. Furthermore, combinations of these aspects may also be used.
[0058] Additionally, in the embodiments of this application, words such as "exemplary" and "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described in this application as "exemplary" should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of the word "exemplary" is intended to present concepts in a concrete manner.
[0059] In the embodiments of the present application, “corresponding” and “relevant” may sometimes be used interchangeably. It should be noted that when the distinction between them is not emphasized, the meanings they intend to express are consistent.
[0060] The business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. A person skilled in the art will appreciate that, with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are equally applicable to similar technical problems.
[0061] References to "one embodiment" or "some embodiments" in this specification mean that a particular feature, structure, or characteristic described in conjunction with that embodiment is included in one or more embodiments of the present application. Thus, phrases such as "in one embodiment," "in some embodiments," "in other embodiments," and "in yet other embodiments" appearing in various places in this specification do not necessarily refer to the same embodiment, but rather mean "one or more but not all embodiments," unless otherwise specifically emphasized. The terms "including," "comprising," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0062] In this application, "at least one" means one or more, and "more" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: including the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.
[0063] For ease of description, several concepts involved in the embodiments of the present application are first explained below.
[0064] 1. Action
[0065] An action is an application programming interface (API) that implements a specific function. For cloud vendors, this can refer to a specific API within a cloud service. An action can also be called an action module.
[0066] 2. Connectors
[0067] A connector refers to a collection of operations that handle the same type of business. For cloud vendors, it can refer to a specific cloud service.
[0068] 3. Zero / Low-Code Development Tools
[0069] Zero / low-code development tools can also be called zero / low-code development platforms. This development platform is designed to require developers to write as little or no code as possible when building applications.
[0070] 4. Low-Code Canvas
[0071] The low-code canvas, also known as the canvas for short, refers to the visualization panel of the low-code platform where users can develop their main business.
[0072] 5. Low-code canvas data
[0073] Low-code canvas data includes but is not limited to: the names of connectors and actions that users have created on the low-code canvas, the connection relationships between the created connectors and actions (for example, sequence, upstream and downstream relationships, etc.), and parameter value information of the created actions (including static parameter value information, dynamic parameter value information, etc.).
[0074] With the rapid development of information technology (IT) and the mobile internet, more and more traditional enterprises are using technology to transform their processes and management to reduce costs and increase efficiency, making business development more efficient and standardized. However, during this digital transformation, problems such as low construction efficiency, long system development cycles, and high development barriers are often encountered. Low-code development is an effective solution to this problem. Low-code development aims to enable developers to build applications with minimal or no coding.
[0075] When developers use zero-code / low-code development tools, they often need to integrate connectors provided by tools, cloud services, or third parties. Currently, in each zero-code / low-code development tool, users must clearly identify the required connectors and then drag and drop components, define rules, configure parameters, and orchestrate services to build, iterate, and deploy applications.
[0076] Although zero / low-code development platforms can greatly lower the threshold for developers to build systems, shorten the system development cycle, and complete rapid generation and delivery, existing zero / low-code development cloud services and related tools still have problems in terms of connector selection and parameter filling.
[0077] For example, consider a user selecting a connector from a zero-code / low-code development tool (also known as a zero-code / low-code development cloud service). In one related technical solution, the zero-code / low-code development tool does not recommend any connectors. When developers add nodes to the canvas, they always see a default list of connectors. This list is typically categorized by provider and sorted alphabetically. In another related technical solution, the zero-code / low-code development tool indiscriminately recommends popular connectors. This means that all developers, when developing for different business needs or adding nodes for different business functions to the canvas, always see the same list of recommended connectors. This list can be generated based on network-wide usage or hard-coded in the backend according to predefined rules. In another related technical solution, the zero-code / low-code development tool recommends connectors based on the user's most recently added connectors. This means that when developers add connectors to the canvas, they see a list of connectors sorted in reverse order of addition. In another related technical solution, the zero-code / low-code development tool uses a hybrid approach to recommend connectors. When developers add nodes to the canvas, they see a list of multiple connectors recommended in a fixed order.
[0078] In summary, the relevant technical solutions fail to consider the business implications of developers adding connectors to zero-code / low-code development tools, and therefore are unable to provide a differentiated list of recommended connectors. Developers need to be familiar with the functions of these connectors in order to select the appropriate connector from the multiple connectors in the zero-code / low-code development tools. Some zero-code / low-code development tools offer hundreds of types, thousands, or even tens of thousands, of connectors. This requires developers to possess certain expertise, increasing the difficulty and time of zero-code / low-code development. Furthermore, the zero-code / low-code development tools in the related prior art do not support recommended actions. Developers need to be familiar with the functions of actions in order to select the appropriate action from the multiple actions in the zero-code / low-code development tools. This also requires developers to possess certain expertise, which also increases the difficulty and time of zero-code / low-code development.
[0079] In view of this, an embodiment of the present application provides a method for recommending connectors and actions, which can be applied to low-code platforms. Based on the mined business significance, the optimal combination of connectors and actions is recommended to developers through zero / low-code development tools or cloud services, thereby reducing the difficulty of zero / low-code development, saving development time for developers, and improving development efficiency.
[0080] In one possible implementation, the method provided in the embodiments of this application can be applied to cloud service scenarios, where a cloud management platform in the cloud service scenario deploys a low-code development cloud service on the cloud computing resources it manages, and the cloud management platform executes the method. In another possible implementation, the method can also be used for low-code desktop services, low-code web services, and the like. This embodiment of the application does not specifically limit this.
[0081] For example, the cloud service scenario is described in detail below with reference to FIG1 .
[0082] FIG1 is a schematic block diagram of a cloud scenario applicable to an embodiment of the present application. As shown in FIG1 , the cloud scenario may include: a cloud management platform 110 , the Internet 120 , and a client 130 .
[0083] As shown in Figure 1, the cloud management platform 110 is used to manage the infrastructure that provides multiple cloud services. The infrastructure includes multiple cloud data centers, each of which includes multiple servers, each of which includes cloud service resources to provide corresponding cloud services to tenants.
[0084] The cloud management platform 110 can be located in a cloud data center, which can provide an access interface (such as an interface or an application program interface (API)). The tenant can operate the client 130 to remotely access the access interface to register a cloud account and password on the cloud management platform 110, and log in to the cloud management platform 110. After the cloud management platform 110 successfully authenticates the cloud account and password, the tenant can further pay to select and purchase a virtual machine with specific specifications (processor, memory, disk) on the cloud management platform 110. After the payment is successful, the cloud management platform 110 provides the remote login account and password of the purchased virtual machine, and the client 130 can remotely log in to the virtual machine, install and run the tenant's application in the virtual machine. Therefore, the tenant can create, manage, log in and operate virtual machines in the cloud data center through the cloud management platform 110. Among them, the virtual machine can also be called a cloud server (elastic compute service, ECS) or an elastic instance (different cloud service providers have different names).
[0085] It should be understood that tenants of cloud services can be individuals, enterprises, schools, hospitals, administrative agencies, etc.
[0086] The functions of the cloud management platform 110 include, but are not limited to, a user console, computing management services, network management services, storage management services, authentication services, and image management services. The user console provides an interface or API for interacting with tenants. The computing management service is used to manage servers running virtual machines and containers, as well as bare metal servers. The network management service is used to manage network services (such as gateways and firewalls). The storage management service is used to manage storage services (such as data bucket services). The authentication service is used to manage tenant accounts and passwords. The image management service is used to manage virtual machine images. Tenants can use the client 130 to log in to the cloud management platform 110 via the Internet 120 to manage the rented cloud services.
[0087] Figure 2 is a schematic flow chart of a connector and a recommended method for operation provided by an embodiment of the present application. As shown in Figure 2, the method may include steps 210-240, which are described in detail below.
[0088] Step 210: Obtain canvas data and / or action call data.
[0089] As an example, as shown in FIG3 , an embodiment of the present application can collect a large amount of canvas data stored in a graph data structure based on zero / low-code services and tools provided by different manufacturers.
[0090] It should be understood that canvas data may include but is not limited to: the names of connectors and actions that users have created on the low-code canvas, the connection relationships between the created connectors and actions (for example, sequence, upstream and downstream relationships, etc.), and parameter value information of the created actions (including static parameter value information, dynamic parameter value information, etc.).
[0091] As an example, as shown in Figure 3, the embodiment of the present application can also collect call data of all historical user operations (actions) across the entire network. In one possible implementation, if the connector is managed by the same source (same manufacturer), in order to augment the data to more accurately mine frequent patterns and parameter associations, call relationship data corresponding to the operation (action) can also be collected from the API gateway (APIG).
[0092] Optionally, in some embodiments, as shown in Figure 3, connector and action definitions, as well as canvas standards for different zero-code / low-code services and tools, can also be collected to facilitate subsequent parsing of the canvas, connectors, and actions. Connector and action definitions can typically be obtained from the service's software development kit (SDK) documentation, OpenAPI definitions, or interface layer code.
[0093] Optionally, in some embodiments, as shown in FIG3 , data such as APIG data parsing rules may also be collected.
[0094] Step 220: Parse and extract data from the canvas data and / or the action call data.
[0095] As an example, the following describes the process of parsing and extracting canvas data using canvas data as an example.
[0096] Optionally, before parsing the data, if the acquired canvas data comes from different manufacturers or different business systems, the acquired canvas data needs to be cleaned and normalized.
[0097] As shown in Figure 3, the canvas data parsing and data extraction process of this embodiment includes, but is not limited to, extracting combinations of actions from the canvas data. Optionally, it also includes extracting parameter values and dependencies for each action in the canvas data to facilitate subsequent recommendations for the selected action and assist in filling in dynamic parameters.
[0098] Optionally, if the canvas data also includes codes or expressions, the above data extraction process further includes: processing the codes or expressions.
[0099] As another example, the following takes the acquired data as the call data of an action as an example, and describes in detail the process of parsing the call data of the action and extracting the data.
[0100] Optionally, before parsing the data, the embodiment of the present application may pre-process the action call data according to the time window and perform normalization processing based on the action call data and APIG data parsing rules.
[0101] As shown in Figure 3, the process of parsing and extracting data from action call data in the embodiment of the present application includes, but is not limited to, extracting an action sequence from the action call data. The action sequence may include an ordered list of multiple actions, or an unordered list of multiple actions, which is not specifically limited in the present application.
[0102] Step 230: Call an algorithm to mine and create a frequent pattern library of connectors and actions.
[0103] In one possible implementation, taking the extracted data as a combination of actions in canvas data as an example, as shown in Figure 3, embodiments of the present application can use a frequent subgraph mining algorithm to mine frequent subgraphs of connectors and actions, and construct a frequent pattern library of connectors and actions. Examples of such frequent subgraph mining algorithms include, but are not limited to, Apriori, gSpan, and GNN algorithms.
[0104] In another possible implementation, taking the extracted data as the code / expression in the canvas data as an example, as shown in Figure 3, the embodiment of the present application can use code analysis technology to mine frequent subgraphs of connectors and actions and build a frequent pattern library of connectors and actions.
[0105] In another possible implementation, taking the extracted data as an action sequence in action call data as an example, as shown in Figure 3, the embodiment of the present application can use a frequent sequence mining algorithm to mine frequent patterns or frequent sequences of action call relationships and build a frequent pattern library of connectors and actions. As an example, the frequent sequence mining algorithm can include but is not limited to: FPGrowth, PrefixSpan, and other algorithms.
[0106] It should be understood that the library of frequent patterns of connectors and actions constructed above may include, but is not limited to, combinations of mined connectors and actions. This frequent pattern library can be used to recommend connectors and actions relevant to the user's business needs to the user (also known as the developer), or directly recommend an action and its corresponding connector for the user to select.
[0107] Optionally, in some embodiments, expert knowledge may be used to summarize typical patterns and label connectors and actions, which are then manually reviewed and summarized into a frequent pattern library of connectors and actions.
[0108] Step 240: Recommend accurate combinations of connectors and actions to the user from a frequent pattern library of connectors and actions.
[0109] When users insert nodes in the zero / low-code canvas, they can accurately recommend connectors and actions that are relevant to the user's business significance from the frequent pattern library of connectors and actions constructed in Figure 3.
[0110] As an example, Figure 4 shows a combined recommendation system of connectors and actions provided by an embodiment of the present application. As shown in Figure 4, when a user needs to add a connector in a zero / low-code canvas, the recommendation system can select a list of connectors recommended to the user from the frequent pattern library of connectors and actions. For example, the connectors recommended to the user include: Connector 1, Connector 2, Connector 3, and the user can select a connector from the list. When the user needs to select an action from the selected connector, the recommendation system can select a list of actions recommended to the user from the frequent pattern library of connectors and actions. For example, the connectors recommended to the user include: Action 1, Action 2, Action 3, and the user can select an action from the list.
[0111] It should be noted that the recommendation system shown in FIG4 is a possible combination recommendation method, that is, recommending the optimal connector and corresponding action to the user. The present application embodiment can also provide other combination recommendation methods, such as directly recommending an action and the connector to which the action belongs from a frequent pattern library of connectors and actions for the user to select.
[0112] It should also be noted that the recommended combination list of connectors and actions is grouped and changes dynamically according to different business scenarios. The upstream and downstream nodes of the same action recommend different recommended combination lists of connectors and actions.
[0113] The following describes several possible front-end interfaces for recommending connectors and actions to users provided by the embodiments of the present application in conjunction with Figures 5-7. It should be understood that the examples of Figures 5-7 are merely intended to help those skilled in the art understand the embodiments of the present application, and are not intended to limit the application embodiments to the specific numerical values or specific scenarios illustrated in Figures 5-7. It is obvious that those skilled in the art can make various equivalent modifications or changes based on the following examples given in Figures 5-7, and such modifications and changes also fall within the scope of the embodiments of the present application.
[0114] Figure 5 shows that when the user clicks "Add" on the canvas presented by the zero / low-code service and tool, a list of connectors recommended by the background algorithm is presented to the user through a pop-up form, etc. The user selects a connector from the recommended connector list based on the required business and expected functions. As shown in Figure 5, the interface includes connectors recommended for the user, a description of each connector, and confidence information. The user can refer to the description of each connector and the confidence level of each connector based on the required business, and select a connector from the list to add. Optionally, the interface can also include additional information corresponding to each connector for the user to refer to when selecting a connector.
[0115] Figure 6 shows that when a user selects a connector from the list of recommended connectors in Figure 5, a list of actions corresponding to the connector recommended by the background algorithm is presented to the user through a pop-up form or other means. The user selects an action from the recommended action list based on the required business and expected functions. As shown in Figure 6, the interface includes actions recommended for the user, a description corresponding to each action, and confidence information. The user can refer to the description corresponding to each action and the confidence level corresponding to each action based on the required business, and select an action from the list to add. Optionally, the interface can also include additional information corresponding to each action for the user to refer to when selecting an action.
[0116] Figure 7 is a schematic diagram of a combined recommendation list of actions provided directly to users. That is, in the front-end presentation, Figures 5 and 6 can also be combined to connect all proprietary and third-party connectors and actions, and directly recommend the best action and its corresponding connector to the user. With this presentation method, users can directly select the action without having to select a connector first and then the action. As shown in Figure 7, the interface includes actions recommended to users, the connector to which each action belongs, a description of each action, and confidence information. Users can refer to the description of each action and the confidence level of each action according to the required business, and directly select an action from the list to add.
[0117] In some embodiments, after the user selects and creates an action on the low-code canvas, they also need to fill in the relevant parameters of the action. Due to the large number of connector parameters, if they are filled in incorrectly, it will bring great difficulties to the debugging and troubleshooting of the entire zero / low-code development business. Some connector parameters require dynamic content to be filled in. This dynamic content is mainly obtained by association based on upstream nodes. Users must not only be familiar with the association relationship between upstream and downstream connectors, but also need to be familiar with the detailed parameter association relationship.
[0118] In view of this, an embodiment of the present application also provides a recommendation method for filling in action parameters, which can automatically recommend the most suitable connectors and actions based on upstream and downstream connectors and action information, and assist users to dynamically fill in the parameters of the action, avoiding repeated debugging failures due to incorrect parameter filling or dynamic association of other parameters that do not conform to business significance, saving time and cost for developers' low-code development, ensuring that the parameters for low-code development are accurate and complete, and helping low-code developed services to be released quickly and accurately, thereby improving overall development efficiency and online progress.
[0119] Figure 8 is a schematic flow chart of a recommended method for filling in action parameters provided by an embodiment of the present application. As shown in Figure 8, the method may include steps 810-840, which are described in detail below.
[0120] Step 810: Obtain canvas data and action call data.
[0121] As an example, as shown in Figure 3, the embodiment of the present application can also collect call data of all user historical operations (actions) in the entire network. Optionally, in some embodiments, data such as APIG data parsing rules can also be collected.
[0122] Optionally, in some embodiments, as shown in Figure 3, the definitions of connectors and actions, as well as canvas standards of different zero / low-code services and tools, can also be collected so that the canvas, connectors and actions can be parsed in subsequent steps.
[0123] Step 820: Parse and extract data from canvas data and / or action call data.
[0124] As an example, the following describes the process of parsing and extracting canvas data using canvas data as an example.
[0125] Optionally, before parsing the data, if the acquired canvas data comes from different manufacturers or different business systems, the acquired canvas data needs to be cleaned and normalized.
[0126] As shown in FIG3 , the process of parsing and extracting data from canvas data in an embodiment of the present application includes, but is not limited to, extracting parameter values and dependencies of each action in the canvas data, so as to facilitate subsequent recommendations for the selected action and assist in filling in dynamic parameters.
[0127] As another example, the following takes the acquired data as action call data as an example to describe in detail the process of parsing and extracting the action call data.
[0128] Optionally, before parsing the data, the embodiment of the present application may pre-process the action call data according to the time window and perform normalization processing based on the action call data and APIG data parsing rules.
[0129] As shown in FIG3 , the process of parsing and extracting data from action call data in the embodiment of the present application includes but is not limited to: extracting request parameter values, extracting response results and other information.
[0130] Step 830: Mining and creating an action parameter association set.
[0131] In one possible implementation method, taking the extracted data as the parameter values and dependency relationships of the operations (actions) in the canvas data as an example, as shown in Figure 3, the embodiment of the present application can perform association analysis on the parameter values and dependency relationships of each operation (action) extracted from the canvas data through dynamic parameter association analysis to obtain a dynamic parameter association set of the operation (action).
[0132] In another possible implementation method, taking the extracted data as an example of extracting request parameter values and extracting response results and other information, as shown in Figure 3, the embodiment of the present application can perform association analysis on the parameter values and dependency relationships of each operation (action) extracted from the canvas data through static parameter association analysis to obtain an operation (action) static parameter association set.
[0133] It should be understood that the action dynamic parameter association set and the action static parameter association set may also be collectively referred to as the action parameter association set.
[0134] Step 840: Recommend a parameter list for the action to the user from the parameter association set of the action.
[0135] When the user selects an action in the zero / low-code canvas, he or she can select the parameter list for the action from the action parameter association set constructed in Figure 3.
[0136] As shown in Figure 4, the combination recommendation system provided in the embodiment of the present application can also recommend a parameter list for the user to fill in the parameters of the operation (action), so as to help the user fill in the parameters of the operation (action). The filling of the parameters includes filling in the static parameters of the operation (action) and filling in the dynamic parameters. The embodiment of the present application does not specifically limit this. For example, in Figure 4, when the user fills in the parameters of the operation (action), the recommendation system can select a static auxiliary parameter list for the operation (action) from the operation (action) parameter association set. For example, the list includes parameter combination 1, parameter combination 2, and parameter combination 3. The user can select a parameter combination from the list to fill in the static parameters of the operation (action). The recommendation system can also select a dynamic auxiliary parameter list for the operation (action) from the operation (action) parameter association set. For example, the list includes associated parameter 1, associated parameter 2, and associated parameter 3. The user can select an associated parameter from the list to fill in the dynamic parameters of the operation (action). Finally, parameter verification can be performed.
[0137] Below in conjunction with Figures 9-10, several possible front-end interfaces for filling in parameter lists for user recommended operations (actions) provided in the embodiments of the present application are introduced. It should be understood that the examples of Figures 9-10 are only to help those skilled in the art understand the embodiments of the present application, rather than to limit the application embodiments to the specific numerical values or specific scenarios illustrated in Figures 9-10. It is obvious that those skilled in the art can make various equivalent modifications or changes based on the following examples given in Figures 9-10, and such modifications and changes also fall within the scope of the embodiments of the present application.
[0138] Figure 9 shows a pop-up window or other form that presents a static list of supplementary parameters recommended by the backend algorithm after the user has added an action to the canvas. The user can query the parameter combinations and descriptions, then select parameters from the list to fill in. The columns provided in Figure 9 provide a reference for the user to select from the historical records of the user or other users debugging the action. The user then selects the most reliable one.
[0139] Figure 10 shows a dynamic list of parameters recommended by the backend algorithm after the user has added an action to the canvas. This list is presented to the user through a pop-up form or other means. The user can query the parameters and associated evaluation indicators (such as confidence) of the upstream action associated with the parameter to be filled in, and finally select the parameter from the list to fill in. As shown in Figure 10, the parameters in the first column are the dynamic parameters of the action currently being filled in, and the associated parameters in the second column are the associated parameters associated with other upstream actions.
[0140] The method provided by the embodiment of the present application is described in detail above in conjunction with Figures 1 to 10. The embodiment of the device of the present application will be described in detail below in conjunction with Figures 11 to 14. It should be understood that the description of the method embodiment corresponds to the description of the device embodiment. Therefore, for parts not described in detail, reference can be made to the above method embodiment.
[0141] Figure 11 is a schematic block diagram of a connector and action recommendation device 1100 provided in an embodiment of the present application. The device 1100 can be implemented by software, hardware, or a combination of both. The device 1100 provided in an embodiment of the present application can implement the method flow shown in Figure 2 or Figure 8 of the embodiment of the present application. The device 1100 includes: an acquisition module 1110, a data processing module 1120, a selection module 1130, and a display module 1140, wherein the acquisition module 1110 is used to obtain historical data, and the historical data includes at least one of the following: historical data of the low-code canvas, historical call data of the action, and the historical data of the low-code canvas includes information on connectors and actions historically created on the low-code canvas, as well as the connection relationship between connectors created historically and the connection relationship between actions created historically; the data processing module 1120 is used to perform data mining on the historical data according to a data mining algorithm to obtain connection The frequent pattern library includes associated connectors and associated actions; the selection module 1130 is used to determine a combination recommendation list of connectors and actions from the frequent pattern library of connectors and actions after receiving an add instruction sent by the user, based on the business information corresponding to the connectors and actions created by the user, and the combination recommendation list includes multiple recommended connectors and multiple recommended actions; the display module 1140 is used to display the combination recommendation list of connectors and actions to the user, and the user selects an action from the combination recommendation list and adds the selected action to the low-code canvas.
[0142] Optionally, the recommendation list further includes at least one of the following information: description information, confidence information, and additional information of the multiple connectors and actions.
[0143] Optionally, the combined recommendation list includes a first recommendation table and a second recommendation table, the first recommendation table includes multiple connectors, the second recommendation table includes multiple operations (actions) corresponding to the first connector, the first connector is a connector selected by the user from the multiple connectors, and the user selects one or more operations (actions) from the multiple operations (actions) corresponding to the first connector to add.
[0144] Optionally, the combined recommendation list includes multiple actions and a connector to which each action belongs, and the user selects one or more actions from the multiple actions to add.
[0145] Optionally, the selection module 1130 is also used to determine a parameter recommendation list from the parameter association set after the user adds an action in the low-code canvas; the display module 1140 is also used to display the parameter recommendation list to the user, and the user selects parameters to be filled in for the added action from the parameter recommendation list.
[0146] Optionally, the parameter association set includes a static parameter set and a dynamic association parameter set of the action. The data processing module 1120 is specifically used to determine a static parameter recommendation list from the static parameter set of the action after the user adds the action in the low-code canvas; and / or determine a dynamic association parameter recommendation list from the dynamic association parameter set of the action after the user adds the action in the low-code canvas; the display module 1140 is specifically used to display the static parameter recommendation list to the user, and the user selects static parameters to be filled in for the added action from the static parameter recommendation list; and / or display the dynamic association parameter recommendation list to the user, and the user selects dynamic association parameters to be filled in for the added action from the dynamic association parameter recommendation list.
[0147] Optionally, the static parameter recommendation list also includes at least one of the following information: parameter combination information, historical parameter filling time, and confidence information.
[0148] Optionally, the dynamic associated parameter recommendation list further includes at least one of the following information: parameters to be filled in, associated parameters, associated operations (actions), and confidence information.
[0149] Optionally, the data processing module 1120 is further configured to extract historical parameter information from the historical data, and analyze the parameter information to obtain the parameter association set.
[0150] The apparatus 1100 herein may be embodied in the form of a functional module. The term "module" herein may be implemented in the form of software and / or hardware, and is not specifically limited thereto.
[0151] For example, a "module" can be a software program, hardware circuit, or a combination of the two that implements the aforementioned functions. For example, the implementation of acquisition module 1110 will be described below, using acquisition module 1110 as an example. Similarly, the implementation of other modules, such as data processing module 1120, selection module 1130, and presentation module 1140, can refer to the implementation of acquisition module 1110.
[0152] The acquisition module 1110 is taken as an example of a software functional unit, and the acquisition module 1110 may include code running on a computing instance. The computing instance may include at least one of a physical host (computing device), a virtual machine, and a container. Furthermore, the above-mentioned computing instance may be one or more. For example, the acquisition module 1110 may include code running on multiple hosts / virtual machines / containers. It should be noted that the multiple hosts / virtual machines / containers used to run the code may be distributed in the same region or in different regions. Furthermore, the multiple hosts / virtual machines / containers used to run the code may be distributed in the same availability zone (AZ) or in different AZs, each AZ including one data center or multiple geographically close data centers. Generally, a region may include multiple AZs.
[0153] Similarly, multiple hosts / virtual machines / containers running the code can be distributed within the same virtual private cloud (VPC) or across multiple VPCs. Typically, a VPC is set up within a region. Cross-region communication between two VPCs within the same region, or between VPCs in different regions, requires a communication gateway within each VPC to interconnect the VPCs.
[0154] As an example of a hardware functional unit, acquisition module 1110 may include at least one computing device, such as a server. Alternatively, acquisition module 1110 may be implemented using an application-specific integrated circuit (ASIC) or a programmable logic device (PLD). The PLD may be implemented using a complex programmable logical device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.
[0155] The multiple computing devices included in acquisition module 1110 can be distributed in the same region or in different regions. The multiple computing devices included in acquisition module 1110 can be distributed in the same AZ or in different AZs. Similarly, the multiple computing devices included in acquisition module 1110 can be distributed in the same VPC or in multiple VPCs. The multiple computing devices can be any combination of servers, ASICs, PLDs, CPLDs, FPGAs, GALs, and other computing devices.
[0156] Therefore, the modules of each example described in the embodiments of this application can be implemented with electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0157] It should be noted that: when the device provided in the above embodiment executes the above method, only the division of the above functional modules is used as an example. In actual application, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. For example, the acquisition module 1110 can be used to execute any step in the above method, the data processing module 1120 can be used to execute any step in the above method, the selection module 1130 can be used to execute any step in the above method, and the display module 1140 can be used to execute any step in the above method. The steps that the acquisition module 1110, the data processing module 1120, the selection module 1130, and the display module 1140 are responsible for implementing can be specified as needed. The acquisition module 1110, the data processing module 1120, the selection module 1130, and the display module 1140 respectively implement different steps in the above method to achieve all the functions of the above device.
[0158] In addition, the device and method embodiments provided in the above embodiments belong to the same concept, and their specific implementation processes are detailed in the method embodiments above and will not be repeated here.
[0159] The method provided in the embodiment of the present application can be performed by a computing device, which can also be referred to as a computer system. It includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer. The hardware layer includes hardware such as a processing unit, a memory and a memory control unit, and the function and structure of the hardware are subsequently described in detail. The operating system is any one or more computer operating systems that implement business processing through a process, for example, a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system or a Windows operating system. The application layer includes applications such as a browser, an address book, a word processing software, and an instant messaging software. Furthermore, optionally, the computer system is a handheld device such as a smart phone, or a terminal device such as a personal computer, and this application is not particularly limited, as long as the method provided in the embodiment of the present application can be used. The execution subject of the method provided in the embodiment of the present application can be a computing device, or a functional module in a computing device that can call a program and execute a program.
[0160] 12 , a computing device provided in an embodiment of the present application is described in detail.
[0161] FIG12 is a schematic diagram of the architecture of a computing device 1500 provided in an embodiment of the present application. The computing device 1500 may be a server, a computer, or other device with computing capabilities. The computing device 1500 shown in FIG12 includes: at least one processor 1510 and a memory 1520.
[0162] It should be understood that this application does not limit the number of processors and memories in the computing device 1500.
[0163] The processor 1510 executes the instructions in the memory 1520 so that the computing device 1500 implements the method provided in this application. Alternatively, the processor 1510 executes the instructions in the memory 1520 so that the computing device 1500 implements the functional modules provided in this application, thereby implementing the method provided in this application.
[0164] Optionally, the computing device 1500 further includes a communication interface 1530. The communication interface 1530 uses a transceiver module such as, but not limited to, a network interface card or a transceiver to implement communication between the computing device 1500 and other devices or a communication network.
[0165] Optionally, the computing device 1500 further includes a system bus 1540, wherein the processor 1510, the memory 1520, and the communication interface 1530 are respectively connected to the system bus 1540. The processor 1510 can access the memory 1520 through the system bus 1540. For example, the processor 1510 can read and write data or execute code in the memory 1520 through the system bus 1540. The system bus 1540 is a peripheral component interconnect express (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The system bus 1540 is divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in Figure 12, but it does not mean that there is only one bus or one type of bus.
[0166] In one possible implementation, the processor 1510 is primarily responsible for interpreting computer program instructions (or codes) and processing data in the computer software. The computer program instructions and the data in the computer software may be stored in the memory 1520 or the cache 1516.
[0167] Optionally, the processor 1510 may be an integrated circuit chip having signal processing capabilities. By way of example and not limitation, the processor 1510 is a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component. The general-purpose processor is a microprocessor, etc. For example, the processor 1510 is a central processing unit (CPU).
[0168] Optionally, each processor 1510 includes at least one processing unit 1512 and a memory control unit 1514 .
[0169] Processing unit 1512, also known as a core, is the most important component of a processor. Processing unit 1512 is manufactured from single-crystal silicon using a specific production process. All processor calculations, command reception, command storage, and data processing are performed by the core. Each processing unit independently executes program instructions, leveraging parallel computing capabilities to accelerate program execution. Each processing unit has a fixed logical structure. For example, a processing unit includes logical units such as a level 1 cache, a level 2 cache, an execution unit, an instruction-level unit, and a bus interface.
[0170] In one implementation example, the memory control unit 1514 is configured to control data exchange between the memory 1520 and the processing unit 1512. Specifically, the memory control unit 1514 receives memory access requests from the processing unit 1512 and controls access to the memory based on the memory access requests. By way of example and not limitation, the memory control unit is a device such as a memory management unit (MMU).
[0171] In one implementation example, each memory control unit 1514 addresses the memory 1520 via the system bus. An arbiter (not shown in FIG. 12 ) is configured in the system bus to handle and coordinate competing accesses by multiple processing units 1512 .
[0172] In an implementation example, the processing unit 1512 and the memory control unit 1514 are connected to each other via connection lines inside the chip, such as address lines, so as to achieve communication between the processing unit 1512 and the memory control unit 1514.
[0173] Optionally, each processor 1510 also includes a cache 1516, which is a buffer for data exchange (called a cache). When a processing unit 1512 needs to read data, it first searches the cache for the required data. If the data is found, it executes the request directly; if not, it searches the memory. Because the cache runs much faster than the memory, the cache helps the processing unit 1512 run faster.
[0174] Memory 1520 can provide runtime space for processes in computing device 1500. For example, memory 1520 stores computer programs (specifically, program code) used to generate processes. After the computer program is executed by the processor to generate a process, the processor allocates corresponding storage space for the process in memory 1520. Furthermore, the aforementioned storage space further includes a text segment, an initialized data segment, a bit-initialized data segment, a stack segment, a heap segment, and the like. Memory 1520 stores data generated during the execution of the process, such as intermediate data or process data, in the storage space corresponding to the aforementioned process.
[0175] Optionally, the memory is also called the internal memory. Its function is to temporarily store the data processed by the processor 1510 and the data exchanged with external storage such as a hard disk. As long as the computer is running, the processor 1510 will load the data to be calculated into the internal memory for calculation. When the calculation is completed, the processing unit 1512 will transmit the result.
[0176] By way of example and not limitation, memory 1520 is a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Non-volatile memory is read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory is random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus RAM (DR RAM). It should be noted that the memory 1520 of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0177] The structure of the computing device 1500 listed above is only for illustrative purposes, and the present application is not limited thereto. The computing device 1500 of the embodiment of the present application includes various hardware in the computer system in the prior art. For example, the computing device 1500 also includes other memories in addition to the memory 1520, such as disk storage, etc. Those skilled in the art should understand that the computing device 1500 may also include other devices necessary to achieve normal operation. At the same time, according to specific needs, those skilled in the art should understand that the above-mentioned computing device 1500 may also include hardware devices that implement other additional functions. In addition, those skilled in the art should understand that the above-mentioned computing device 1500 may also include only the devices necessary to implement the embodiment of the present application, and does not necessarily include all the devices shown in Figure 12.
[0178] The present application also provides a computing device cluster. The computing device cluster includes at least one computing device. The computing device may be a server. In some embodiments, the computing device may also be a terminal device such as a desktop computer, a laptop computer, or a smartphone.
[0179] As shown in Figure 13, the computing device cluster includes at least one computing device 1500. The memory 1520 in one or more computing devices 1500 in the computing device cluster may store the same instructions for executing the above method.
[0180] In some possible implementations, the memory 1520 of one or more computing devices 1500 in the computing device cluster may also store some instructions for executing the above method. In other words, the combination of one or more computing devices 1500 can jointly execute the instructions of the above method.
[0181] It should be noted that the memory 1520 in different computing devices 1500 in the computing device cluster can store different instructions, each for performing part of the functions of the above-mentioned apparatus. In other words, the instructions stored in the memory 1520 in different computing devices 1500 can implement the functions of one or more modules in the above-mentioned apparatus.
[0182] In some possible implementations, one or more computing devices in a computing device cluster can be connected via a network. The network can be a wide area network (WAN) or a local area network (LAN), among others. FIG. 14 illustrates one possible implementation. As shown in FIG. 14 , two computing devices 1500A and 1500B are connected via a network. Specifically, each computing device is connected to the network via a communication interface within the computing device.
[0183] It should be understood that the functionality of the computing device 1500A shown in FIG14 may also be implemented by multiple computing devices 1500. Similarly, the functionality of the computing device 1500B may also be implemented by multiple computing devices 1500.
[0184] This embodiment also provides a computer program product including instructions. The computer program product may be software or a program product including instructions that can be run on a computing device or stored in any available medium. When the computer program product is run on a computing device, it causes the computing device to perform the method provided above, or causes the computing device to implement the functions of the apparatus provided above.
[0185] This embodiment also provides a computer program product including instructions. The computer program product may be software or a program product including instructions that can be executed on a computing device cluster or stored in any available medium. When executed by a computing device cluster, the computer program product causes the computing device cluster to perform the above-mentioned method or implement the functions of the above-mentioned apparatus.
[0186] This embodiment also provides a computer-readable storage medium. The computer-readable storage medium can be any available medium capable of storing data on a computing device, or a data storage device such as a data center that contains one or more available media. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, or a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive). The computer-readable storage medium includes instructions that, when executed on a computing device, cause the computing device to perform the method provided above.
[0187] This embodiment also provides a computer-readable storage medium. The computer-readable storage medium can be any available medium capable of storing data on a computing device, or a data storage device such as a data center that contains one or more available media. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, or a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive). The computer-readable storage medium includes instructions that, when executed by a computing device cluster, cause the computing device cluster to perform the method provided above.
[0188] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0189] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0190] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0191] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0192] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0193] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0194] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0195] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
Claims
1. A method for recommending a connector and an action, characterized in that: The method is applied to a zero / low-code platform, and the method includes: Obtain historical data, the historical data including at least one of the following: historical data of the low-code canvas, historical call data of an action, the historical data of the low-code canvas including information about connectors and actions historically created on the low-code canvas, as well as connection relationships between connectors historically created, and connection relationships between actions historically created; Performing data mining on the historical data according to a data mining algorithm to obtain a frequent pattern library of connectors and actions, wherein the frequent pattern library includes associated connectors and associated actions; After receiving the adding instruction sent by the user, according to the business information corresponding to the connectors and actions created by the user on the low-code canvas, a combined recommendation list of connectors and actions is determined from the frequent pattern library, wherein the combined recommendation list includes a plurality of recommended connectors and a plurality of recommended actions; The combination recommendation list is displayed to the user, and the user selects an action from the combination recommendation list and adds the selected action in the low-code canvas.
2. The method according to claim 1, characterized in that The combined recommendation list further includes at least one of the following information: description information, confidence information, and additional information of the recommended multiple connectors and the recommended multiple actions.
3. The method according to claim 1 or 2, characterized in that: The combined recommendation list includes a first recommendation table and a second recommendation table, wherein the first recommendation table includes multiple recommended connectors, and the second recommendation table includes multiple operations (actions) corresponding to the recommended first connector. The first connector is a connector selected by a user from the multiple recommended connectors, and the user selects one or more operations (actions) from the multiple operations (actions) corresponding to the recommended first connector for addition.
4. The method according to claim 1, characterized in that: The combined recommendation list includes a plurality of recommended actions and a connector to which each action belongs, and the user selects one or more actions from the plurality of recommended actions to add.
5. The method according to any one of claims 1 to 4, characterized in that The method comprises: After the user adds a selected action in the low-code canvas, determining a parameter recommendation list from a parameter association set; The parameter recommendation list is displayed to the user, and the user selects parameters to be filled in for the added operation (action) from the parameter recommendation list.
6. The method according to claim 5, characterized in that The parameter association set includes a static parameter set and a dynamic association parameter set corresponding to the added operation (action), After the user adds a selected action in the low-code canvas, a parameter recommendation list is determined from the parameter association set, including: After the user adds a selected action in the low-code canvas, determining a static parameter recommendation list from a static parameter set corresponding to the added action; and / or After the user adds a selected action in the low-code canvas, a dynamic association parameter recommendation list is determined from a dynamic association parameter set corresponding to the added action; Displaying the parameter recommendation list to the user includes: Displaying the static parameter recommendation list to the user, and the user selecting a static parameter to be filled in for the added action from the static parameter recommendation list; and / or The dynamic association parameter recommendation list is displayed to the user, and the user selects a dynamic association parameter to be filled in for the added operation (action) from the dynamic association parameter recommendation list.
7. The method according to claim 6, characterized in that The static parameter recommendation list also includes at least one of the following information: parameter combination information, historical parameter filling time, and confidence information.
8. The method according to claim 6, characterized in that The dynamic associated parameter recommendation list also includes at least one of the following information: parameters to be filled in, associated parameters, associated operations (actions), and confidence information.
9. The method according to any one of claims 5 to 8, characterized in that The method further comprises: Historical parameter information is extracted from the historical data, and the parameter information is analyzed to obtain the parameter association set.
10. A connector and an action recommendation device, characterized in that: The device is applied to a zero / low-code platform, and the device includes: An acquisition module, used to acquire historical data, wherein the historical data includes at least one of the following: historical data of a low-code canvas, historical call data of an action, wherein the historical data of the low-code canvas includes information about connectors and actions historically created on the low-code canvas, as well as connection relationships between connectors historically created, and connection relationships between actions historically created; A data processing module, configured to perform data mining on the historical data according to a data mining algorithm to obtain a frequent pattern library of connectors and actions, wherein the frequent pattern library includes associated connectors and associated actions; A selection module, configured to determine a combination recommendation list of connectors and actions from the frequent pattern library after receiving an add instruction sent by a user, according to business information corresponding to connectors and actions created by the user on the low-code canvas, wherein the combination recommendation list includes a plurality of recommended connectors and a plurality of recommended actions; A display module is used to display the combination recommendation list to the user, and the user selects an action from the combination recommendation list and adds the selected action in the low-code canvas.
11. The device according to claim 10, characterized in that The combined recommendation list further includes at least one of the following information: description information, confidence information, and additional information of the recommended multiple connectors and the recommended multiple actions.
12. The device according to claim 10 or 11, characterized in that The combined recommendation list includes a first recommendation table and a second recommendation table, wherein the first recommendation table includes multiple recommended connectors, and the second recommendation table includes multiple operations (actions) corresponding to the first connector. The first connector is a connector selected by a user from the multiple recommended connectors, and the user selects one or more operations (actions) from the multiple operations (actions) corresponding to the recommended first connector for addition.
13. The device according to claim 10, characterized in that The combined recommendation list includes a plurality of recommended actions and a connector to which each action belongs, and the user selects one or more actions from the plurality of recommended actions to add.
14. The device according to any one of claims 10 to 13, characterized in that The selection module is further configured to determine a parameter recommendation list from a parameter association set after the user adds a selected action in the low-code canvas; The display module is further used to display the parameter recommendation list to the user, and the user selects parameters to be filled in for the added operation (action) from the parameter recommendation list.
15. The device according to claim 14, characterized in that The parameter association set includes a static parameter set and a dynamic association parameter set of the added operation (action), The data processing module is specifically used to determine a static parameter recommendation list from a static parameter set corresponding to the added action after the user adds a selected action in the low-code canvas; and / or The data processing module is specifically used to determine a recommended list of dynamic association parameters from a set of dynamic association parameters corresponding to the added operation (action) after the user adds a selected operation (action) in the low-code canvas; The display module is specifically used to display the static parameter recommendation list to the user, and the user selects the static parameter to be filled in for the added action from the static parameter recommendation list; and / or The display module is specifically used to display the dynamic association parameter recommendation list to the user, and the user selects the dynamic association parameter to be filled in for the added operation (action) from the dynamic association parameter recommendation list.
16. The device according to claim 15, characterized in that The static parameter recommendation list also includes at least one of the following information: parameter combination information, historical parameter filling time, and confidence information.
17. The device according to claim 15, characterized in that The dynamic associated parameter recommendation list also includes at least one of the following information: parameters to be filled in, associated parameters, associated operations (actions), and confidence information.
18. The device according to any one of claims 14 to 17, characterized in that The data processing module is further used to extract historical parameter information from the historical data and analyze the parameter information to obtain the parameter association set.
19. A computing device cluster, characterized in that: comprising at least one computing device, each computing device comprising a processor and a memory; The processor of the at least one computing device is configured to execute instructions stored in the memory of the at least one computing device, so that the computing device cluster executes the method according to any one of claims 1 to 9.
20. A computer program product comprising instructions, characterized in that When the instructions are executed by a computing device cluster, the computing device cluster is caused to perform the method according to any one of claims 1 to 9.
21. A computer-readable storage medium, characterized in that: The method comprises computer program instructions, and when the computer program instructions are executed by a computing device cluster, the computing device cluster performs the method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Method for realizing dynamic display effect of data on the basis of plotting library
CN107193970A
Information recommendation method, electronic equipment and storage medium
CN111814035A
Text recommendation method based on association rules
CN112989026A
Drawing content processing method and device for terminal equipment and terminal equipment
CN113407095A
Code program recommendation method and device, electronic equipment and storage medium
CN114546360A
Cited By
Object storage customized information and data synchronization method and device and storage medium
CN120892497A
Component recommendation method and device, computer equipment and storage medium
CN121807272A
