Application program generation method, device, equipment and storage medium

By receiving functional keywords and scene attributes, retrieving and configuring the calling interface in the existing platform system, and generating applications, the problems of long development cycle and poor results of traditional software are solved, and fast and concise application development is achieved.

CN113918125BActive Publication Date: 2025-04-25BEIJING SHULIDE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111049825.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-08
Publication Date
2025-04-25
Estimated Expiration
2041-09-08

AI Technical Summary

Technical Problem

Traditional software development requires professional developers to write code manually, resulting in long cycles and poor results when developing software, limiting the company's innovation capabilities.

Method used

By receiving functional keywords, determining the scene attributes of the program to be developed, searching the calling interface in the existing platform system, and configuring it into a configuration template to generate an application.

Benefits of technology

It realizes the rapid and concise development of applications without pre-writing logical code or functional fragments, directly calling the ready-made system platform interface, and implementing the functions of applications to be developed through interface collaboration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113918125B_ABST
    Figure CN113918125B_ABST
Patent Text Reader

Abstract

The present application provides an application generation method, device, equipment and storage medium, which relates to the technical field of application development. It aims to realize the development of applications quickly and concisely. The method includes: determining the scene attributes applied by the program to be developed according to at least one received keyword; determining a configuration template according to the scene attributes; retrieving at least one call interface from at least one existing platform system according to the at least one keyword, and displaying the at least one call interface on the terminal interface; in response to the instruction information generated by the terminal interface based on the user operation, configuring the at least one call interface in the configuration template to generate an application.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of application development, and in particular to an application generation method, apparatus, device and storage medium. Background Art

[0002] As mobile applications become more and more popular and technologies such as cloud computing become more mature, corporate IT needs have increased exponentially. More companies have joined the wave of digital transformation and started to develop corresponding applications based on their own businesses.

[0003] However, traditional software development requires professional developers to manually write code based on actual needs. Non-software development companies are limited by software development technology and software development experience, and the software development cycle is long and the development effect is poor. This makes corporate innovation hindered by their current software development capabilities. Therefore, there is an urgent need for methods to achieve efficient application development. Summary of the invention

[0004] The embodiments of the present application provide an application generation method, apparatus, device and storage medium, aiming to realize application development quickly and concisely.

[0005] A first aspect of an embodiment of the present application provides an application generation method, which is applied to a terminal, and the method includes:

[0006] Determining, based on the received at least one keyword, a scene attribute to which the program to be developed is applied;

[0007] Determine a configuration template according to the scene attributes;

[0008] Retrieving at least one calling interface from at least one existing platform system according to the at least one keyword, and displaying the at least one calling interface on a terminal interface;

[0009] In response to instruction information generated by the terminal interface based on user operations, the at least one calling interface is configured in the configuration template to generate an application program.

[0010] Optionally, according to the at least one keyword, retrieving at least one calling interface from at least one existing platform system, and displaying the at least one calling interface on the terminal interface includes:

[0011] Acquire the functional fields of all interfaces in the at least one existing platform system; wherein the functional fields include a name field, a description field, and a role field;

[0012] Calculate the matching degree between the functional fields of each interface and the keyword respectively;

[0013] According to the matching degree between the functional field of each interface and the keyword, a calling interface for realizing the phased functions of the program to be developed is retrieved from at least one existing platform system.

[0014] Optionally, respectively calculating the matching degree between the functional field of each interface and the keyword includes:

[0015] For any functional field of the interface, calculate the string similarity between the value of the functional field and the keyword;

[0016] Performing word segmentation on the value of the functional field to obtain a first word segmentation set;

[0017] Segmenting the keywords to obtain a second segmentation set;

[0018] For any element in the first word segmentation set, respectively calculate the similarity between the arbitrary element and each element in the second word segmentation set to obtain a similarity set of the arbitrary element;

[0019] Superimposing the similarity set of each element in the first word segmentation set to obtain the semantic similarity between the value of the functional field and the keyword;

[0020] According to the string similarity and the semantic similarity of any interface, the matching degree between the functional field of the arbitrary interface and the keyword is calculated.

[0021] Optionally, the scene attributes include an execution class and a reminder class; and determining a configuration template according to the scene attributes includes:

[0022] Generate a configuration template configured with the execution parameters according to the execution parameters received by the first input interface; wherein the execution parameters include a device startup condition and a device startup time; and the first input interface is generated when the scene attribute is an execution type;

[0023] According to the reminder parameters received by the second input interface, a configuration template configured with reminder parameters is generated; wherein the reminder parameters include trigger message reminder conditions, message sending cycle and message sending time; the first input interface is generated when the scene attribute is a reminder type.

[0024] Optionally, in response to instruction information generated by the terminal interface based on a user operation, configuring the at least one calling interface in the configuration template, and generating the application program includes:

[0025] According to the instruction information, a front-end interface of the arbitrary calling interface is determined; wherein the front-end interface is used to provide input data of the arbitrary calling interface;

[0026] For any calling interface, the output data of the front-end interface is standardized according to the preset interface data standard;

[0027] Performing interface adaptation on the front-end interface that has completed the standardization processing and the arbitrary calling interface;

[0028] An application is generated according to at least one calling interface that completes interface adaptation.

[0029] Optionally, the method further comprises:

[0030] Count each field in the sample interface information to obtain a sample field set;

[0031] Set the weight value of each sample field according to the frequency of each sample field being related to the interface function;

[0032] Acquiring functional fields of all interfaces in the at least one existing platform system includes:

[0033] For any existing interface in the at least one existing platform system, multiple functional fields of the interface and a weight value of each functional field are obtained.

[0034] A second aspect of an embodiment of the present application provides an application generation device, located in a terminal, the device comprising:

[0035] A first determination module, configured to determine a scene attribute to be applied by the program to be developed according to the received at least one keyword;

[0036] A second determination module, used to determine a configuration template according to the scene attributes;

[0037] A retrieval module, configured to retrieve at least one calling interface from at least one existing platform system according to the at least one keyword, and display the at least one calling interface on a terminal interface;

[0038] The configuration module is used to respond to the instruction information generated by the terminal interface based on the user operation, configure the at least one calling interface in the configuration template, and generate an application.

[0039] Optionally, the retrieval module includes:

[0040] An acquisition submodule, used to acquire the functional fields of all interfaces in the at least one existing platform system; wherein the functional fields include a name field, a description field and a role field;

[0041] A calculation submodule, used to calculate the matching degree between the functional field of each interface and the keyword respectively;

[0042] The retrieval submodule is used to retrieve a calling interface for realizing the phased functions of the program to be developed from at least one existing platform system according to the matching degree between the functional fields of each interface and the keyword.

[0043] Optionally, the calculation module includes:

[0044] A first calculation subunit, configured to calculate, for any functional field of an interface, a string similarity between a value of the functional field and the keyword;

[0045] A first word segmentation subunit, used to segment the value of the functional field to obtain a first word segmentation set;

[0046] A second word segmentation subunit is used to segment the keyword to obtain a second word segmentation set;

[0047] A second calculation subunit is used to calculate, for any element in the first word segmentation set, the similarity between the arbitrary element and each element in the second word segmentation set, to obtain a similarity set for the arbitrary element;

[0048] A superposition subunit, used for superimposing a similarity set of each element in the first word segmentation set to obtain a semantic similarity between the value of the functional field and the keyword;

[0049] The third calculation subunit is used to calculate the matching degree between the functional field of any interface and the keyword according to the string similarity and the semantic similarity of any interface.

[0050] Optionally, the second determining module includes:

[0051] A first generation submodule, configured to generate a configuration template configured with execution parameters according to the execution parameters received by the first input interface; wherein the execution parameters include a device startup condition and a device startup time; and the first input interface is generated when the scene attribute is an execution type;

[0052] The second generation submodule is used to generate a configuration template configured with reminder parameters according to the reminder parameters received by the second input interface; wherein the reminder parameters include trigger message reminder conditions, message sending cycle and message sending time; the first input interface is generated when the scene attribute is a reminder type.

[0053] Optionally, the configuration module includes:

[0054] A determination submodule, used to determine a front-end interface of an arbitrary call interface according to the instruction information; wherein the front-end interface is used to provide input data of the arbitrary call interface;

[0055] A processing submodule, for performing standardized processing on the output data of the front-end interface according to a preset interface data standard for any calling interface;

[0056] An adapter module, used for performing interface adaptation on the front-end interface that has completed the standardization processing and the arbitrary call interface;

[0057] The third generating submodule is used to generate an application program according to at least one calling interface that completes the interface adaptation.

[0058] Optionally, the device further comprises:

[0059] The statistics module is used to count the various fields in the sample interface information to obtain a sample field set;

[0060] A setting module, used for setting a weight value of each sample field according to the frequency of each sample field being related to the interface function;

[0061] The acquisition submodule includes:

[0062] The acquisition subunit is used to acquire, for any existing interface in the at least one existing platform system, a plurality of functional fields of the interface and a weight value of each functional field.

[0063] A third aspect of an embodiment of the present application provides a readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps in the method described in the first aspect of the present application are implemented.

[0064] A fourth aspect of an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the method described in the first aspect of the present application are implemented.

[0065] According to the received functional keywords, the embodiment of the present application retrieves a single interface or multiple collaborative interfaces that can realize the functions required by the application to be developed in the system platform that has been put into use, and displays the retrieved interface as a calling interface in the visual interface, so that the user can further determine whether the interface retrieved by the terminal meets the functions required by the application to be developed. At the same time, according to the received functional keywords, the configuration template is determined, and then the instruction information generated by the terminal interface based on the user operation is responded to, and the single interface or multiple collaborative interfaces are configured in the configuration template. The terminal directly runs the script file and configuration parameters of the configuration template to generate the application. The above-mentioned entire process of generating the application does not require the developer to pre-write the logic code to implement the application, nor does it require the developer to write the code to implement the functional fragment. The ready-made interface in the existing system platform is directly called, and the function of the application to be developed is realized through interface collaboration, and the development of the application is completed quickly and concisely. At the same time, the embodiment of the present application sets different configuration templates for the scene attributes used by the application to be developed, so as to avoid the redundant and complex configuration of the business interface caused by the complexity and diversity of the existing system platform interface. BRIEF DESCRIPTION OF THE DRAWINGS

[0066] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0067] Figure 1 is a flowchart of the steps of the application generation method proposed in the embodiment of the present application;

[0068] Figure 2 is a flowchart of generating an application program according to an embodiment of the present application;

[0069] Figure 3 is a schematic diagram of a visual interface in an example of the present application;

[0070] Figure 4 This is a schematic diagram of the structure of the front-end interface output data tree obtained by an example of this application

[0071] Figure 5 It is a functional module diagram of the application generation device proposed in the embodiment of the present application. DETAILED DESCRIPTION

[0072] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0073] Figure 1 is a flowchart of the steps of the application generation method proposed in the embodiment of the present application, such as Figure 1 As shown, it is applied to a terminal, and the terminal includes a mobile phone, a computer, a tablet, etc. The steps include:

[0074] Step S11: Determine the scene attribute to which the program to be developed is applied according to the received at least one keyword.

[0075] The user types in functional keywords that realize the program function requirements in the terminal interface according to the required program functions, and queries the interface collaboration information or single interface information, and the configuration template.

[0076] Step S12: Determine a configuration template according to the scene attributes.

[0077] The scene attributes used by the program to be developed include execution class and reminder class. In one example of the present application, the terminal determines that the scene attribute used by the program to be developed is a reminder class based on the city, haze and reminder of the keywords input by the user, and then selects a configuration template of the reminder class from the locally stored templates.

[0078] Different configuration templates have different frameworks, script files, and configuration parameters to be filled in.

[0079] Step S13: According to the at least one keyword, at least one calling interface is retrieved from at least one existing platform system, and the at least one calling interface is displayed on the terminal interface.

[0080] Calling an interface involves searching the interfaces of various existing platform systems and then selecting a target interface to call.

[0081] In one example of the present application, the terminal retrieves the positioning interface of a taxi-hailing platform, the haze detection interface of a weather forecast system, and the message sending interface of a message push platform based on the city, haze, and reminder keywords entered by the user, and displays the above-mentioned positioning interface, haze detection interface, and message sending interface on the visual interface of the terminal, so that the user can click, drag, long press, and other operations on the above-mentioned interfaces based on the visual interface.

[0082] Step S14: In response to instruction information generated by the terminal interface based on user operations, the at least one calling interface is configured in the configuration template to generate an application.

[0083] The instruction information can be information for filling a specific interface into a specific position of a configuration template. According to the instruction information, the terminal configures the calling interface in the configuration template, runs the script file and configuration parameters of the configuration template, generates the executable code of the program to be developed, calls the program fragments of each interface, and completes the low-code development of the application.

[0084] According to the received functional keywords, the embodiment of the present application retrieves a single interface or multiple collaborative interfaces that can realize the functions required by the application to be developed in the system platform that has been put into use, and displays the retrieved interface as a calling interface in the visual interface, so that the user can further determine whether the interface retrieved by the terminal meets the functions required by the application to be developed. At the same time, according to the received functional keywords, the configuration template is determined, and then the instruction information generated by the terminal interface based on the user operation is responded to, and the single interface or multiple collaborative interfaces are configured in the configuration template. The terminal directly runs the script file and configuration parameters of the configuration template to generate the application. The above-mentioned entire process of generating the application does not require the developer to pre-write the logic code to implement the application, nor does it require the developer to write the code to implement the functional fragment. The ready-made interface in the existing system platform is directly called, and the function of the application to be developed is realized through interface collaboration, and the development of the application is completed quickly and concisely. At the same time, the embodiment of the present application sets different configuration templates for the scene attributes used by the application to be developed, so as to avoid the redundant and complex configuration of the business interface caused by the complexity and diversity of the existing system platform interface.

[0085] The embodiments of the present application also focus on possible problems that may exist in the process of configuring at least one calling interface in a configuration template, running the script file and configuration parameters of the configuration template, calling the program fragments of each calling interface, and realizing collaboration of the calling interfaces: when the calling interfaces are located in different platform systems, due to the program differences of the system platforms, the data format and data structure of the calling interfaces are different, making the collaboration process between the calling interfaces difficult and inefficient. An interface collaboration method is proposed to solve the above problems.

[0086] Figure 2 This is a flowchart of an embodiment of the present application to generate an application program, such as Figure 2 As shown, in response to the instruction information generated by the terminal interface based on the user operation, in the configuration template, configuring the at least one calling interface, generating the application includes:

[0087] Step S21: determining a front-end interface of an arbitrary calling interface according to the instruction information; wherein the front-end interface is used to provide input data of the arbitrary calling interface;

[0088] The front interface of any calling interface refers to the calling interface that outputs the input data of the calling interface. In one example of the present application, the terminal retrieves multiple calling interfaces including a positioning interface, a haze detection interface, and a message sending interface. According to the instruction information, it is determined that the positioning interface is the front interface of the haze detection interface, the haze detection interface is the front interface of the message sending interface, the message sending interface is the rear interface of the haze detection interface, and the haze detection interface is the rear interface of the positioning interface. After the output data of the positioning interface is input into the haze detection interface, the program fragment that calls the haze detection interface is run, and the haze index is detected, the haze detection interface can output the output data containing its front interface information, and the haze detection interface outputs the data of the haze index of the specified location.

[0089] Figure 3 is a schematic diagram of a visual interface in an example of the present application, in which a front interface of a haze detection interface is determined based on the visual interface in this example. Figure 3 As shown, according to the instruction information generated in response to the user's click operation and drag operation, the input of the haze detection interface is connected to the output of the positioning interface, and it is determined that the front interface of the haze detection interface is the positioning interface.

[0090] Step S22: for any calling interface, the output data of the front-end interface is standardized according to a preset interface data standard.

[0091] According to the preset interface data standard, the output data of the front interface is standardized to obtain standardized data, including:

[0092] According to the requirement of calling the interface data, determining the root directory of the preset interface data standard; wherein the root directory includes: a business status code field, a call description message field and a response data field;

[0093] The applicant has found that although the interfaces of existing applications have different data structures, the data returned by the interfaces of existing applications all contain information: business status code, call description message, and response data. The embodiment of the present application sets a preset interface data standard based on the above-discovered demand for calling interface data. The root directory of the preset interface data standard set by the present application is the business status code field, the call description message field, and the response data field.

[0094] According to the business status code field, you can determine whether the interface call is successful; according to the call description message field, you can determine whether the interface call successfully returns data; the response data field interface represents the information body returned by the interface, representing all business information data, and is used to directly extract the input data of the interface's post-interface.

[0095] Determine the basic type of the front interface as a leaf node; wherein the basic type includes a string, a number, a Boolean value, and a list;

[0096] This application adopts a unified data acquisition method to obtain output data in Json format from the front-end interface. Four basic types of string "String", number "Number", Boolean value (Boolean) and list "ArrayList" are determined as leaf nodes. In the process of traversing the Json format output data of the front node, when traversing to the above four basic types, the traversal will stop, or start traversal from another path.

[0097] Each object type of the front-end interface is used as a traversal subtree; the object type refers to the Object type.

[0098] In an example of this application, it is assumed that the Json format output data of the news website interface is:

[0099]

[0100] Object types include: head, rtnMsg, rtnCode, body, and news. Traverse downward from the root path of the above-mentioned Json format output data. When the above-mentioned Object type fields are read, the Object type is used as the traversal subtree to continue reading the child nodes of the Object type. For example, after reading the head field, the child node rtnMsg field of the head field is read immediately. The rtnMsg field is still of Object type, so the string of the child node "Request Success" of the rtnMsg field is read. The string of the four basic types of "Request Success" is a leaf node, so "Request Success" is the end point of the traversal subtree: head-rtnMsg-"Request Success". Traverse downward from the root path again, read the head field, rtnCode field, and "000000" field in turn, and end the traversal of another traversal subtree. Finally, after reading the body field and the news field in turn, the list "ArrayList" in the basic type is read. Even if the list contains the Object type, there is no need to continue reading downward. Through the above method of traversing the Json format output data, the front-end interface output data tree is obtained, Figure 4 This is a schematic diagram of the structure of the front-end interface output data tree obtained by an example of the present application, such as Figure 4 As shown, data value 1, data value 2 and data value 3 can be directly extracted from the front-end interface output data tree. Data value 1 is "request successful", data value 2 is "000000", and data value 3 is:

[0101] "[{"id":"20170313 / 42857340-0", / / News ID

[0102] "title": "A motorcycle rider walks on a tightrope and encounters strong winds" / / News title,

[0103] "issueTime": "2017-03-13 10:56" / / Release time,}

[0104] {

[0105] "id": "20170313 / 42857339-0", / / News ID

[0106] "title": "B also had a low point!", / / News title

[0107] "issueTime": "2017-03-13 10:56", / / Release time,}]"

[0108] Another embodiment of the present application obtains the keyword corresponding to the data value while obtaining the data value. The specific method of obtaining the keyword and the data value matching the keyword is as follows:

[0109] For any traversed subtree, when the traversed current node is not the leaf node, extract the first string of the current node; when the traversed current node is the leaf node, concatenate at least one first string to obtain the keyword, and determine the second string of the current node as the data value matching each keyword.

[0110] The keyword is extracted from the output data of the front-end interface. The keyword is a character string of the root directory extracted after mapping the data value to the preset interface data standard.

[0111] The first character string may be a node character of a non-leaf node, and the second character string may be a node character of a leaf node.

[0112] Continue to refer Figure 4 Taking the traversal of the subtree head-rtnMsg-"request successful" as an example, when the leaf node "request successful" is not traversed, the first string head of the head node is extracted, and the child node rtnMsg of head is continued to be read. The first string rtnMsg of the rtnMsg node is extracted. When the leaf node "request successful" is read, head and rtnMsg are concatenated to obtain the keyword "head rtnMsg", and the node characters of the leaf node are extracted to obtain the data value "request successful" that matches the keyword "head rtnMsg".

[0113] By traversing each traversal subtree using the above method, other keywords and data values ​​can be obtained. The keywords are used as keys and the data values ​​are used as values ​​to obtain the first key-value set. The first key-value set includes keywords: "headrtnMsg", "head rtnCode", "body news", and data values ​​corresponding to the above keywords. Keywords and their corresponding data values ​​form key-value pairs, which are elements in the first key-value set. For example: key (head rtnMsg) - value ("request successful") is a key-value pair in the first key-value set.

[0114] Taking the leaf node as the traversal end point, traversing multiple traversal subtrees in sequence to obtain multiple data values;

[0115] Each data value is mapped to a root directory corresponding to the data value to obtain the standardized data.

[0116] Taking the leaf node as the traversal end point, traversing multiple traversal subtrees in sequence to obtain multiple data values, including:

[0117] For any traversed subtree, when the current node traversed is not the leaf node, extract the first string of the current node;

[0118] When the current node traversed is the leaf node, at least one first string is concatenated to obtain a keyword, and the second string of the current node is determined as the data value matching each keyword.

[0119] To obtain standardized data, the following processing is required:

[0120] The method further comprises:

[0121] Count the high-frequency word segments in the business status code field sample, the call description message field sample, and the response data field sample respectively;

[0122] In one example of the present application, output data is obtained from the front-end interface positioning application interface, and after standardization of the output data, standardized data is obtained: tnCode-{request successful}, rtnMsg-{000000}, data seat-{30°N 102°E} and data Tem-{36°C}. According to the function of the haze detection interface of the rear-end interface, which is to detect haze in the user's city, it is determined that the key value of the input data of the haze detection interface is the city.

[0123] Mapping each data value to a root directory corresponding to the data value to obtain the standardized data includes:

[0124] Determine the field sample corresponding to the maximum weight coefficient as the target field sample of the arbitrary data value;

[0125] The arbitrary data value is mapped to the root directory corresponding to the target field sample to obtain the standardized data.

[0126] The data returned by the interface of the existing system platform includes information: business status code, call description message, and the current status of response data, and the interface data standard of the root directory including the business status code field, the call description message field, and the response data field is set. After reading the output data of the front interface, the specified data is extracted from the output data, and the specified data is mapped to the root directory business status code field, the call description message field, or the response data field to complete the standardized processing of the output data.

[0127] The method of extracting specified data from the output data can be adopted by traversing each node of the output data in turn according to the Json format of the output data, and finding the data value corresponding to the business status code field, the data value corresponding to the call description message field, and the data value corresponding to the response data field.

[0128] In one example of the present application, the output data of the news website interface is traversed to find the data value 1 corresponding to the service status code field "rtnMsg": "Request successful", the data 2 corresponding to the situation description message field "rtnCode": "000000", and the data value 3 corresponding to the response data field "data news":

[0129]

[0130]

[0131] The business status code field and data value 1 are combined into a key-value pair, the call description message field and data value 2 are combined into a key-value pair, and the response data field and data value 3 are combined into a key-value pair, so as to obtain standardized data containing three sets of key-value pairs.

[0132] Step S23: interface adaptation is performed on the front-end interface that has completed the standardization process and the arbitrary call interface.

[0133] Interface adaptation may refer to extracting data for input to a rear-end interface from the data obtained after standardization processing of the front-end interface based on the input data required by the rear-end interface, and converting the format of the extracted data to obtain data that matches the data format and data interface of the rear-end interface.

[0134] Determine, from the standardized data, a target data value that matches the input data of the rear interface of the front interface;

[0135] Extracting a function sequence program according to a data conversion example library; wherein the function sequence program is used to convert the target data value into a data format that conforms to the rear interface;

[0136] Performing data conversion on the target data value using the function sequence program;

[0137] The target data value after data conversion is input into the rear interface, and the program of the rear interface is called to run, so that the program of the rear interface uses the target data value after data conversion as input data when running, and outputs a result carrying the front interface information.

[0138] In one example of the present application, output data is obtained from the front-end interface positioning application interface, and after standardization of the output data, standardized data is obtained: tnCode-{request successful}, rtnMsg-{000000}, data seat-{30°N 102°E} and data Tem-{36°C}. According to the function of the haze detection interface of the rear-end interface, which is to detect haze in the user's city, it is determined that the key value of the input data of the haze detection interface is the city.

[0139] Continuing to explain the above example of this application, the similarities between tnCode, rtnMsg and seat and the city are calculated respectively.

[0140] Assume that there are two strings to be compared, str1 and str2, where str1 is a shorter string (str1 length ≤ str2 length). There are two methods for calculating the similarity between str1 and str2: a character-based string similarity calculation method and a semantic-based string semantic similarity calculation method.

[0141] The specific implementation process of the character-based string similarity calculation method is as follows: calculate all substrings of str1 with a length greater than 2 to obtain the substring set S1 of str1, traverse the substring 1 of str1 in S1 in descending order of length, and use the string matching algorithm to determine whether substring 1 is also a substring of str2. If substring 1 is also a substring of str2, r1 , str2's substring, and the substring is used as a common substring, then its length is obtained as the maximum common substring length len(str1,str2) of str1 and str2, and the operation ends. If there is no matching common substring after traversing S1 until the end, the value of len is 0. Assuming that the length of the longer string str2 is L, the similarity value Sim between str1 and str2 is defined as the ratio of the length of the maximum common substring to the length of the longer string, that is, Sim=len(str1,str2) / L.

[0142] The implementation process of the semantic similarity calculation method of strings based on semantics is: segment str1 and str2 respectively, and obtain the segmentation set of str1 Set1 and the segmentation set of str2 Set2. Traverse Set1 and Set2 to calculate the element W in Set1 i and the element W in Set2 j The similarity of i ,W j ). The value range of i is 1 to n, n is the number of elements in Set1, and the value range of j is 1 to m, m is the number of elements in Set2. The similarity between str1 and str2 is further obtained, and the calculation method is shown in formula (1):

[0143]

[0144] After completing the data mapping between the front interface and the rear interface, according to the mapping relationship, the output data of the front interface is input into the rear interface, the program of the rear interface is called to run, and the final result is output, thereby completing the multi-interface collaboration of interfaces from different platforms or systems. However, due to the data difference problem between different interfaces, directly substituting the data provided by the front interface into the corresponding field of the rear interface data as input will often cause errors. Therefore, the embodiment of the present application converts the data format and data structure of the target data value of the front interface to obtain data that can be correctly recognized by the rear interface.

[0145] Determining a key value of input data of the rear interface according to a function of the rear interface;

[0146] Determining a target data value matching input data of a rear interface of the front interface from the standardized data comprises:

[0147] Calculate the similarity between each keyword and the key value respectively;

[0148] Determine the keyword with the greatest similarity as the target keyword;

[0149] A data value matching the target keyword is determined as the target data value.

[0150] Based on the data conversion sample library, extract the function sequence program, including:

[0151] In the data conversion example library, searching for a first conversion example that satisfies the front-end interface, the front-end interface, and the target keyword;

[0152] According to the query result, the function sequence program is extracted.

[0153] According to the query result, the function sequence program is extracted, including:

[0154] When the first conversion example exists in the data conversion example library, extracting the function sequence program from the target conversion example;

[0155] When the first conversion example does not exist in the data conversion example library, searching the data conversion example library for at least one second conversion example that satisfies the format of the target data value and the data format required by the rear interface;

[0156] According to the at least one second conversion example, a plurality of functions are matched from a preset function library;

[0157] According to the data conversion logic, the multiple functions are combined to obtain the function sequence program;

[0158] The function sequence program, the front-end interface, the format of the front-end interface, the target keyword, and the target data value are stored in the data conversion example library.

[0159] Interface adaptation can also refer to establishing a one-to-one correspondence between the output data of the front interface and the input data of the back interface according to the key value in the key-value pair. Then determine whether there is a format difference between the data corresponding to the front and back interfaces, which hinders the call of the back interface. If there is a problem of format difference, it is necessary to perform a certain conversion on the data provided by the front interface, and then use the converted data to call the back interface to complete the collaboration between the interfaces, thereby realizing the reuse of program logic in the low-code development process.

[0160] The embodiment of the present application obtains data for inputting into the rear-end interface from the data obtained after the front-end interface completes the standardization processing by calculating the similarity between the keyword and the key value in the key-value pair.

[0161] In an example of the present application, it is assumed that the arbitrary call interface is a haze detection interface, and the front interface of the arbitrary call interface is a positioning interface. After the output data of the positioning interface is standardized, the standardized data obtained includes: the service status code field "rtnMsg"-"Request successful", the situation description message field "rtnCode"-"000000", and the response data field "data seat"-{30° north latitude, 102° east longitude}. According to the functional keywords haze and detection input by the user, it is determined that the data required to be input to the haze detection interface is the city city, and the similarity of rtnMsg, rtnCode and seat with city is calculated respectively, and the correspondence between the response data field "data seat"-{30° north latitude, 102° east longitude} and the input data of the haze detection interface is determined. The data value in the key-value pair "data seat"-{30° north latitude, 102° east longitude} is obtained by querying, which is the input data of the haze detection interface.

[0162] In the embodiment of the present application, after determining the data obtained after the standardization processing is completed from the front-end interface, the data for inputting the rear-end interface is queried, and the data value is formatted based on the historical conversion example. Specifically, in the data conversion example library, the conversion examples that meet the front-end interface, the front-end interface, and the key value matching in the key-value pair "data seat" are queried; multiple functions are extracted from the conversion examples, and the data value is converted into a data format using the extracted multiple functions.

[0163] In an example of the present application, the overall process of matching a conversion instance, extracting multiple functions from the conversion instance, and performing data conversion on a data value using a function sequence program composed of the extracted multiple functions may include the following process:

[0164] 1. First define the function set F set , and the data format set P set . Medium F set It contains a large number of data conversion related functions, which are used to maintain all the functions that need to be called during the data conversion process. set Used to maintain the format category set to which the interface data belongs. These two sets will be continuously enriched and improved as the conversion task is executed.

[0165] 2. Establish a data conversion example library that includes historical conversion examples. Historical conversion examples are multiple pieces of related information stored in the process of converting the output data formats of multiple front-end interfaces into data formats that meet the input requirements of their rear-end interfaces during multiple data conversion processes.

[0166] 3. The process of data conversion between interfaces can be expressed by formula (2):

[0167]

[0168] Wherein, API1 represents the front-end interface, a represents the target data value of the front-end interface, a.for mat=A represents the format of the target data value is A, b.for mat=B represents the format of the target data value is B, [F1, F2, ...] represents the function sequence program, and the functions F1 and F2 in [F1, F2, ...] are arranged in the logical order of the conversion format. Formula (2) represents the process of converting data a with the keyword key1 in the output data of the front-end interface API1, and the format of data a is A, and after being processed by the function sequence program [F1, F2, ...], it is converted into data b in the field with the key value key2 in the input data of the back-end interface API2, and the format of data b is B.

[0169] 4. First, search the data conversion example library to determine whether there is a historical conversion instance in multiple historical conversion instances that satisfies the requirements that the front interface is API1, the back interface is API2, the keyword of the front interface is key1, and the key value of the back interface is key2. If there is such a conversion instance, execute the function sequence in this historical conversion instance to complete the data conversion.

[0170] 5. If there are no historical conversion instances that meet the conditions in the data conversion example library, you need to first match the formats of data a and data b to find their corresponding formats A and B respectively. Search the data conversion example library to find all instances of conversion from format A to format B, and select several conversion instances as examples. The function set F set As a function code library, the example-based data conversion method is used to obtain the conversion function sequence program to complete the data conversion.

[0171] Step S24: Generate an application program according to at least one calling interface that has completed interface adaptation.

[0172] When a single calling interface is retrieved from the existing platform system according to the keyword, the configuration parameters of the script file preset by the configuration template are run, the program fragment in the calling interface is called, and an application program is generated.

[0173] When multiple call interfaces are retrieved from the existing platform system according to keywords, the configuration parameters of the script file pre-set in the configuration template are run, and the first call interface located at the total input position of the configuration template is first called by program, and the output data of the first call interface is obtained. The output data is input into the rear interface of the first call interface, and the rear interface is continued to be called by program until the last call interface located at the total output position of the configuration template outputs the result. The records and program codes of the running of each interface program are saved, and the application program is obtained by combining the script file and configuration parameters of the configuration template.

[0174] Another embodiment of the present application proposes a specific method for retrieving and calling interfaces from an existing platform system. For multi-interface collaboration, the functionality of each interface is mainly reflected through the final interfaces in the collaboration process. Therefore, the embodiment of the present application first counts the functional fields of interfaces in a large number of existing platform systems. In specific applications, the functional fields of the interface can be directly obtained, the similarity between the keyword and the statistical functional fields can be calculated, and a single interface or multi-interface collaboration information that can meet the functions required by the user can be found.

[0175] Step S31: Acquire the functional fields of all interfaces in the at least one existing platform system; wherein the functional fields include a name field, a description field, and a function field. In an example of the present application, the name field is the "name" character in the basic information of the interface, the description field is the "description" field in the basic information of the interface, and the function field is the "function" field in the basic information of the interface.

[0176] After obtaining the functional fields of the interface in at least one existing platform system, all functional fields can also be grouped into a functional field set. And all elements in the functional field set are weighted. The various fields in the sample interface information are counted to obtain a sample field set; the weight value of each sample field is set according to the frequency of each sample field being related to the interface function. When the application retrieves the interface, the functional fields of the existing interface of the platform system can be accurately selected. Specifically, for any existing interface in the at least one existing platform system, multiple functional fields of the interface and the weight value of each functional field are obtained.

[0177] In an example of the present application, the functional fields in the basic interface information of an e-commerce platform are counted to obtain a functional field set {function, Description, name}. According to the frequency of function, Description, and name appearing in the basic interface information of an e-commerce platform, a weight of 0.1 is assigned to function, a weight of 0.8 is assigned to Description, and a weight of 0.25 is assigned to name.

[0178] Step S32: Calculate the matching degree between the functional field of each interface and the keyword respectively.

[0179] For a specific system platform, after extracting the functional fields of each interface, the functional fields are used as the basis to match the values ​​of the functional fields in the basic information of the interface, and the similarity of the keywords of the values ​​of the functional fields is calculated to obtain the matching degree between the functional fields and the keywords.

[0180] Specifically, for the functional field of any interface, the string similarity between the value of the functional field and the keyword is calculated; the value of the functional field is segmented to obtain a first segmentation set; the keyword is segmented to obtain a second segmentation set; for any element in the first segmentation set, the similarity between the arbitrary element and each element in the second segmentation set is calculated respectively to obtain a similarity set of the arbitrary element; the similarity sets of each element in the first segmentation set are superimposed to obtain the semantic similarity between the value of the functional field and the keyword; based on the string similarity and the semantic similarity of any interface, the matching degree between the functional field of the arbitrary interface and the keyword is calculated.

[0181] Continuing to explain the above example of this application, the user input is the city, and the various interfaces of a taxi-hailing platform are queried to retrieve the interface that can execute the determined city. First, obtain the pre-counted functional field set {function, Description, name}, and then match each interface in turn to obtain the value of the above functional field from the interface. Assuming that the current interface is the positioning interface, the values ​​of the functional fields are function longitude and latitude, Description obtains the location of the passenger, and name positioning. First, calculate the character similarity between longitude and latitude, position, location and city, then segment the longitude and longitude, position and location to get the first segmentation set {longitude, latitude, passenger, position, location}, segment the city to get the second segmentation set {city}, calculate the similarity between longitude and city, the similarity between latitude and city, the similarity between passenger and city, the similarity between position and city, the similarity between location and city, and the similarity between location and city, and accumulate each of the above similarities to get the matching degree between the positioning interface and the keyword.

[0182] Step S33: According to the matching degree between the functional fields of each interface and the keyword, a calling interface for realizing the phased functions of the program to be developed is retrieved from at least one existing platform system.

[0183] Phased functions refer to the functions required in the process of realizing the output results of the application to be developed. For example, if the user requires the application to be developed to implement the function of early warning of smog in the city, then the phased functions of the program to be developed include: positioning function, smog detection function and message reminder function.

[0184] Another embodiment of the present application proposes an implementation method for determining a configuration template. In this implementation method, the terminal determines different configuration templates based on whether the specific value of the scene attribute is an execution class or a reminder class, displays the configuration template on a visual interface, and pops up a data input window or other input interface based on the parameter requirements of the configuration template to receive the execution parameters or reminder parameters input by the user, and generates a complete configuration template with execution parameters.

[0185] According to the execution parameters received by the first input interface, a configuration template configured with the execution parameters is generated; wherein the execution parameters include the device startup condition and the device startup time; the first input interface is generated when the scene attribute is the execution class; the first input interface is an input interface generated by the terminal based on the determined configuration interface when the scene attribute is the execution class.

[0186] For example, the execution parameter may be a condition for starting the haze purifier, a duration of each operation of the haze purifier, and the like.

[0187] According to the reminder parameters received by the second input interface, a configuration template configured with the reminder parameters is generated; wherein the reminder parameters include triggering message reminder conditions, message sending cycle, and message sending time; the first input interface is generated when the scene attribute is a reminder type. The second input interface is an input interface generated by the terminal based on the determined configuration interface when the scene attribute is a reminder type.

[0188] For example, the reminder parameter may be a condition for triggering a reminder message, an interval for sending a reminder message, a number of times a reminder message is sent, and the like.

[0189] Based on the same inventive concept, an embodiment of the present application provides an application generating device. Figure 5 : is a functional module diagram of the application generating device proposed in the embodiment of the present application. Figure 5 As shown, the device comprises:

[0190] A first determining module 51, configured to determine a scene attribute to be applied by the program to be developed according to the received at least one keyword;

[0191] A second determination module 52, configured to determine a configuration template according to the scene attributes;

[0192] A retrieval module 53, configured to retrieve at least one calling interface from at least one existing platform system according to the at least one keyword, and display the at least one calling interface on a terminal interface;

[0193] The configuration module 54 is used to respond to the instruction information generated by the terminal interface based on the user operation, configure the at least one calling interface in the configuration template, and generate an application.

[0194] Optionally, the retrieval module includes:

[0195] An acquisition submodule, used to acquire the functional fields of all interfaces in the at least one existing platform system; wherein the functional fields include a name field, a description field and a role field;

[0196] A calculation submodule, used to calculate the matching degree between the functional field of each interface and the keyword respectively;

[0197] The retrieval submodule is used to retrieve a calling interface for realizing the phased functions of the program to be developed from at least one existing platform system according to the matching degree between the functional fields of each interface and the keyword.

[0198] Optionally, the calculation module includes:

[0199] A first calculation subunit, configured to calculate, for any functional field of an interface, a string similarity between a value of the functional field and the keyword;

[0200] A first word segmentation subunit, used to segment the value of the functional field to obtain a first word segmentation set;

[0201] A second word segmentation subunit is used to segment the keyword to obtain a second word segmentation set;

[0202] A second calculation subunit is used to calculate, for any element in the first word segmentation set, the similarity between the arbitrary element and each element in the second word segmentation set, to obtain a similarity set for the arbitrary element;

[0203] A superposition subunit, used for superimposing a similarity set of each element in the first word segmentation set to obtain a semantic similarity between the value of the functional field and the keyword;

[0204] The third calculation subunit is used to calculate the matching degree between the functional field of any interface and the keyword according to the string similarity and the semantic similarity of any interface.

[0205] Optionally, the second determining module includes:

[0206] A first generation submodule, configured to generate a configuration template configured with execution parameters according to the execution parameters received by the first input interface; wherein the execution parameters include a device startup condition and a device startup time; and the first input interface is generated when the scene attribute is an execution type;

[0207] The second generation submodule is used to generate a configuration template configured with reminder parameters according to the reminder parameters received by the second input interface; wherein the reminder parameters include trigger message reminder conditions, message sending cycle and message sending time; the first input interface is generated when the scene attribute is a reminder type.

[0208] Optionally, the configuration module includes:

[0209] A determination submodule, used to determine a front-end interface of an arbitrary call interface according to the instruction information; wherein the front-end interface is used to provide input data of the arbitrary call interface;

[0210] A processing submodule, for performing standardized processing on the output data of the front-end interface according to a preset interface data standard for any calling interface;

[0211] An adapter module, used for performing interface adaptation on the front-end interface that has completed the standardization processing and the arbitrary call interface;

[0212] The third generating submodule is used to generate an application program according to at least one calling interface that completes the interface adaptation.

[0213] Optionally, the device further comprises:

[0214] The statistics module is used to count the various fields in the sample interface information to obtain a sample field set;

[0215] A setting module, used for setting a weight value of each sample field according to the frequency of each sample field being related to the interface function;

[0216] The acquisition submodule includes:

[0217] The acquisition subunit is used to acquire, for any existing interface in the at least one existing platform system, a plurality of functional fields of the interface and a weight value of each functional field.

[0218] Based on the same inventive concept, another embodiment of the present application provides a readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in the application generation method described in any of the above embodiments of the present application.

[0219] Based on the same inventive concept, another embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executed, implements the steps in the application generation method described in any of the above embodiments of the present application.

[0220] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0221] Each embodiment in this specification is described in a progressive or illustrative manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referenced to each other.

[0222] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, devices, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0223] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, apparatuses, and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0224] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0225] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable terminal device. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0226] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present application.

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

[0228] The above is a detailed introduction to an application generation method, device, equipment and storage medium provided by the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for a person skilled in the art, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A method for generating an application, characterized in that: Applied to a terminal, the method comprises: Determining the scene attribute to which the program to be developed is applied according to at least one received keyword, wherein the keyword is a functional keyword entered by a user in a terminal interface according to a required program function to realize the program function requirement; Determine a configuration template according to the scene attributes; According to the at least one keyword, at least one calling interface is retrieved from at least one existing platform system, and the at least one calling interface is displayed on a terminal interface, wherein the calling interface is used to determine whether the function meets the requirements of the program to be developed; In response to the instruction information generated by the terminal interface based on the user operation, the at least one calling interface is configured in the configuration template, the script file and configuration parameters of the configuration template are run, the executable code of the program to be developed is generated, the program fragments of each interface are called, the low-code development of the application is completed, and the application is generated, wherein the instruction information is information for filling a specific interface into a specific position of the configuration template; The method of retrieving at least one calling interface from at least one existing platform system according to the at least one keyword and displaying the at least one calling interface on the terminal interface includes: Acquire functional fields of all interfaces in the at least one existing platform system, wherein the functional fields include a name field, a description field, and a role field; Calculate the matching degree between the functional fields of each interface and the keyword respectively; According to the matching degree between the functional field of each interface and the keyword, a calling interface for realizing the phased functions of the program to be developed is retrieved from at least one existing platform system; The scene attributes include execution and reminder categories; According to the scene attributes, a configuration template is determined, including: Generate a configuration template configured with the execution parameters according to the execution parameters received by the first input interface, wherein the execution parameters include a device startup condition and a device startup time, and the first input interface is generated when the scene attribute is an execution type; Generate a configuration template configured with reminder parameters according to the reminder parameters received by the second input interface, wherein the reminder parameters include triggering message reminder conditions, message sending cycle and message sending time, and the first input interface is generated when the scene attribute is a reminder type; Also includes: Count each field in the sample interface information to obtain a sample field set; Set the weight value of each sample field according to the frequency of each sample field being related to the interface function; Acquiring functional fields of all interfaces in the at least one existing platform system includes: For any existing interface in the at least one existing platform system, multiple functional fields of the interface and a weight value of each functional field are obtained.

2. The method according to claim 1, characterized in that The matching degree between the functional fields of each interface and the keyword is calculated respectively, including: For any functional field of an interface, calculate the string similarity between the value of the functional field and the keyword; Performing word segmentation on the value of the functional field to obtain a first word segmentation set; Segmenting the keywords to obtain a second segmentation set; For any element in the first word segmentation set, respectively calculate the similarity between the arbitrary element and each element in the second word segmentation set to obtain a similarity set for the arbitrary element; Superimposing the similarity set of each element in the first word segmentation set to obtain the semantic similarity between the value of the functional field and the keyword; According to the string similarity and the semantic similarity of any interface, the matching degree between the functional field of the arbitrary interface and the keyword is calculated.

3. The method according to claim 1, characterized in that In response to instruction information generated by the terminal interface based on user operation, configuring the at least one calling interface in the configuration template, and generating the application program includes: Determine a front-end interface of the arbitrary calling interface according to the instruction information, wherein the front-end interface is used to provide input data of the arbitrary calling interface; For any calling interface, the output data of the front-end interface is standardized according to the preset interface data standard; Performing interface adaptation on the front-end interface that has completed the standardization processing and the arbitrary calling interface; An application is generated according to at least one calling interface that completes interface adaptation.

4. An application generation device, characterized in that: Located at the terminal, the device comprises: A first determination module is used to determine the scene attribute applied by the program to be developed according to at least one received keyword, wherein the keyword is a functional keyword entered by the user in the terminal interface according to the required program function to realize the program function requirement; A second determination module, used to determine a configuration template according to the scene attributes; A retrieval module, used to retrieve at least one calling interface from at least one existing platform system according to the at least one keyword, and display the at least one calling interface on a terminal interface, wherein the calling interface is used to determine whether it meets the function required by the program to be developed; A configuration module, which is used to respond to the instruction information generated by the terminal interface based on the user operation, configure the at least one calling interface in the configuration template, run the script file and configuration parameters of the configuration template, generate the executable code of the program to be developed, call the program fragments of each interface, complete the low-code development of the application, and generate the application. The instruction information is the information for filling a specific interface into a specific position of the configuration template; Wherein, the retrieval module includes: An acquisition submodule, used to acquire the functional fields of all interfaces in the at least one existing platform system; wherein the functional fields include a name field, a description field and a role field; A calculation submodule, used to calculate the matching degree between the functional field of each interface and the keyword respectively; A retrieval submodule, used to retrieve a calling interface for realizing the phased functions of the program to be developed from at least one existing platform system according to the matching degree between the functional fields of each interface and the keyword; The scene attributes include execution and reminder; The second determining module is specifically used to: Generate a configuration template configured with the execution parameters according to the execution parameters received by the first input interface, wherein the execution parameters include a device startup condition and a device startup time, and the first input interface is generated when the scene attribute is an execution type; Generate a configuration template configured with reminder parameters according to the reminder parameters received by the second input interface, wherein the reminder parameters include triggering message reminder conditions, message sending cycle and message sending time, and the first input interface is generated when the scene attribute is a reminder type; Also includes: The statistics module is used to count the various fields in the sample interface information to obtain a sample field set; A setting module, used for setting a weight value of each sample field according to the frequency of each sample field being related to the interface function; The acquisition submodule is specifically used for: For any existing interface in the at least one existing platform system, multiple functional fields of the interface and a weight value of each functional field are obtained.

5. A readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps in any one of the methods described in claims 1 to 3 are implemented.

6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When executed, the processor implements the steps of the method according to any one of claims 1 to 3.

Citation Information

Patent Citations

  • Component-based page generation method and device, electronic equipment and storage medium

    CN110825374A

  • Information processing system, computer readable storage medium, and electronic device

    CN112559865A