Movatterモバイル変換


[0]ホーム

URL:


CN113495723B - Method, device and storage medium for calling functional component - Google Patents

Method, device and storage medium for calling functional component
Download PDF

Info

Publication number
CN113495723B
CN113495723BCN202110853769.8ACN202110853769ACN113495723BCN 113495723 BCN113495723 BCN 113495723BCN 202110853769 ACN202110853769 ACN 202110853769ACN 113495723 BCN113495723 BCN 113495723B
Authority
CN
China
Prior art keywords
component
functional
function
client
operation interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110853769.8A
Other languages
Chinese (zh)
Other versions
CN113495723A (en
Inventor
焦靖伟
汪宗斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Infosec Technologies Co Ltd
Original Assignee
Beijing Infosec Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Infosec Technologies Co LtdfiledCriticalBeijing Infosec Technologies Co Ltd
Priority to CN202110853769.8ApriorityCriticalpatent/CN113495723B/en
Publication of CN113495723ApublicationCriticalpatent/CN113495723A/en
Application grantedgrantedCritical
Publication of CN113495723BpublicationCriticalpatent/CN113495723B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The present disclosure relates to the field of cryptographic application, and discloses a method, a device and a storage medium for calling a functional component, which are applied to a computing device loaded with a low-code development platform, wherein the method comprises the following steps: the method comprises the steps of receiving a call request, determining a preset functional component corresponding to the call request based on a function keyword carried by the call request, matching the function keyword with a function description corresponding to the functional component, judging whether the matching is successful, generating and presenting a corresponding component operation interface based on the functional component if the matching is successful, transmitting source codes corresponding to the functional component to a client if the matching is unsuccessful, and generating and presenting a corresponding component operation interface based on the edited functional component when the client responds to a component editing operation triggered by the source codes, so that the functional component or the edited functional component is called when the client responds to a drag operation triggered by the component operation interface, the client uniformly calls the functional component, repeated writing of codes is reduced, and development efficiency is improved.

Description

Method, device and storage medium for calling functional component
Technical Field
The present application relates to the field of cryptographic applications, and in particular, to a method, an apparatus, and a storage medium for invoking a functional component.
Background
Custom development is often encountered during development, for example, requiring new functionality in existing functional components, retrofitting existing functional components, and the like. In such a case, the existing code will not be available, typically requiring a developer to re-write the code and perform a functional test on the re-written code.
In particular, in the related art, in the process of customized development, developers often have repetitive labor, for example, functional components with the same functions may be applied by multiple different requirements of customized development; and, developers often need to apply the rewritten codes after the functional test is qualified and stably operated, and the functional components qualified in the functional test need to be added in the application process, that is, the functional components are called. In summary, in the existing customized development process, the process of acquiring codes needs to consume a longer period, the development process is complex, and the development efficiency is low.
Disclosure of Invention
The embodiment of the disclosure provides a method, a device and a storage medium for calling a functional component, which are used for improving development efficiency by using a unified functional component mode.
The specific technical scheme provided by the disclosure is as follows:
in a first aspect, a method of invoking a functional component for use with a computing device loaded with a low code development platform, the method comprising:
receiving a call request, wherein the call request carries a function keyword, and determining a preset function component corresponding to the call request based on the function keyword, wherein the preset function component is stored in a low-code development platform;
matching the function keywords with the function descriptions corresponding to the function components, and judging whether the matching is successful;
if yes, generating and presenting a corresponding component operation interface based on the functional component, and calling the functional component when responding to the drag operation triggered by the client side aiming at the component operation interface;
otherwise, the source code corresponding to the functional component is sent to the client, when the source code-triggered component editing operation is responded to the client, a corresponding component operation interface is generated and presented based on the edited functional component, and when the dragging operation triggered by the client for the component operation interface is responded to the client, the edited functional component is called.
Optionally, if the function keyword is matched with the function descriptions corresponding to the plurality of function components, generating and presenting a corresponding component operation interface based on the function components, and calling the function components when responding to a drag operation triggered by the client for the component operation interface, including:
based on the function keywords, carrying out series aggregation on a plurality of functional components to obtain a combined functional component;
based on the combined functional components, generating and presenting corresponding component operation interfaces, and calling each aggregated functional component when responding to the drag operation triggered by the client for the component operation interfaces.
Optionally, if the call request is a client call request, generating and presenting a corresponding component operation interface based on the functional component, and calling the functional component when responding to a drag operation triggered by the client for the component operation interface, including:
determining the number of parameters corresponding to the call request of the client, and searching the functional components matched with the number of parameters;
generating a first Software Development Kit (SDK) based on the searched functional components, generating and presenting a corresponding component operation interface, and calling the first SDK when responding to the drag operation triggered by the client aiming at the component operation interface.
Optionally, if the call request is a server call request, generating and presenting a corresponding component operation interface based on the functional component, and calling the functional component when responding to a drag operation triggered by the client for the component operation interface, where the method includes:
analyzing the service-side call request through a web service module to acquire a uniform resource identifier uri and parameters contained in the service-side call request, wherein the web service module is arranged in a low-code development platform;
searching a functional component which is matched with uri and parameters, generating a second SDK based on the searched functional component, generating and presenting a corresponding component operation interface, and calling the second SDK when responding to the drag operation triggered by the client aiming at the component operation interface.
Optionally, the source code corresponding to the functional component is sent to the client, and when the source code-triggered component editing operation is responded to the client, a corresponding component operation interface is generated and presented based on the edited functional component, and when the drag operation triggered by the client for the component operation interface is responded to, the edited functional component is called, including:
the method comprises the steps that a functional component is sent to a client in a source code mode, and when the functional component responds to component editing operation triggered by the client based on the source code, the edited functional component is uploaded to a server to carry out static code scanning;
Compiling and generating a third SDK corresponding to the edited functional assembly after the scanning result is qualified;
and generating and presenting a corresponding component operation interface based on the third SDK, and calling the third SDK when responding to the drag operation triggered by the client for the component operation interface.
In a second aspect, a method for calling a functional component is applied to a client, and the method includes:
responding to the operation of a calling function component triggered by aiming at a low-code development platform, and generating a calling request, wherein the calling request carries a function keyword;
sending a call request to the computing device to cause the computing device to: determining a preset functional component corresponding to the call request based on the functional keyword, matching the functional keyword with a functional description corresponding to the functional component, judging whether the matching is successful, and generating and presenting a corresponding component operation interface based on the functional component if the matching is successful; if the matching is unsuccessful, the source codes corresponding to the functional components are sent to the client, wherein the preset functional components are stored in a low-code development platform;
if the source code corresponding to the functional component is received, performing component editing operation on the source code, so that the computing device executes the following operations: generating and presenting a corresponding component operation interface based on the edited functional component;
Drag operation is carried out on the component operation interface so that the computing device can execute the following operations: and when the drag operation triggered by the client aiming at the component operation interface is responded, the function component or the edited function component is called.
In a third aspect, an apparatus for invoking a functional component, applied to a computing device loaded with a low code development platform, comprises:
the receiving module is used for receiving a calling request, wherein the calling request carries a function keyword, and a preset functional component corresponding to the calling request is determined based on the function keyword, and the preset functional component is stored in the low-code development platform;
the judging module is used for matching the function keywords with the function descriptions corresponding to the function components and judging whether the matching is successful or not;
the first execution module is used for generating and presenting a corresponding component operation interface based on the functional component when the matching is successful, and calling the functional component when the drag operation triggered by the client aiming at the component operation interface is responded;
the second execution module is used for sending the source code corresponding to the functional component to the client when the matching is unsuccessful, generating and presenting a corresponding component operation interface based on the edited functional component when the source code-triggered component editing operation of the client is responded, and calling the edited functional component when the dragging operation of the client for the component operation interface is responded.
In a fourth aspect, an apparatus for calling a functional component, applied to a client, includes:
the response module is used for responding to the operation of the calling function component triggered by the low-code development platform and generating a calling request, wherein the calling request carries a function keyword;
the operation module is used for sending the call request to the computing device so that the computing device can execute the following operations: determining a preset functional component corresponding to the call request based on the functional keyword, matching the functional keyword with a functional description corresponding to the functional component, judging whether the matching is successful, and generating and presenting a corresponding component operation interface based on the functional component if the matching is successful; if the matching is unsuccessful, the source codes corresponding to the functional components are sent to the client, wherein the preset functional components are stored in a low-code development platform;
the editing operation module is used for carrying out component editing operation on the source codes if the source codes corresponding to the functional components are received, so that the computing equipment executes the following operations: generating and presenting a corresponding component operation interface based on the edited functional component;
the drag operation module is used for carrying out drag operation on the component operation interface so as to enable the computing equipment to execute the following operations: and when the drag operation triggered by the client aiming at the component operation interface is responded, the function component or the edited function component is called.
In a fifth aspect, a computing device includes:
a memory for storing executable instructions;
a processor for reading and executing executable instructions stored in a memory to implement the method of any one of the first aspects.
In a sixth aspect, a client includes:
a memory for storing executable instructions;
a processor for reading and executing executable instructions stored in a memory to implement the method as in any of the second aspects.
In a seventh aspect, a computer readable storage medium, which when executed by a processor, causes the processor to perform the method of any of the first aspects above.
In an eighth aspect, a computer readable storage medium, which when executed by a processor, causes the processor to perform the method of any of the second aspects above.
In summary, in the embodiment of the disclosure, the computing device loaded with the low-code development platform receives the call request, determines the preset function component corresponding to the call request based on the function keyword carried by the computing device, matches the function keyword with the function description corresponding to the function component, determines whether the matching is successful, generates and presents the corresponding component operation interface based on the function component if the matching is successful, and sends the source code corresponding to the function component to the client if the matching is unsuccessful, and generates and presents the corresponding component operation interface based on the edited function component when responding to the component editing operation triggered by the client based on the source code, so that the function component or the edited function component is called when responding to the drag operation triggered by the client for the component operation interface.
Drawings
FIG. 1 is a schematic diagram of a system architecture for invoking functional components in an embodiment of the present application;
FIG. 2 is a flow chart of a method for a computing device to execute a call function component in accordance with an embodiment of the present application;
FIG. 3 is a flowchart of a method for executing a call function component by a computing device in source code form according to an embodiment of the present application;
FIG. 4 is a flowchart of a method for a client to execute a call function component in an embodiment of the present application;
FIG. 5 is a schematic diagram of a logic architecture of a computing device in an embodiment of the present disclosure;
FIG. 6 is a schematic diagram of a client logic architecture in an embodiment of the disclosure;
FIG. 7 is a schematic diagram of a physical architecture of a computing device in an embodiment of the disclosure;
fig. 8 is a schematic diagram of a physical architecture of a client in an embodiment of the disclosure.
Detailed Description
In order to ensure development efficiency, in the embodiment of the application, a computing device loaded with a low-code development platform receives a call request, determines a preset functional component corresponding to the call request based on a function keyword carried by the computing device, matches the function keyword with a function description corresponding to the functional component, judges whether the matching is successful, generates and presents a corresponding component operation interface based on the functional component if the matching is successful, sends source codes corresponding to the functional component to a client if the matching is unsuccessful, and generates and presents a corresponding component operation interface based on the edited functional component when responding to a component editing operation triggered by the client based on the source codes, so that the functional component or the edited functional component is called when responding to a drag operation triggered by the client for the component operation interface.
The preferred embodiments of the present application will be described in detail below with reference to the attached drawing figures, which illustrate the execution of methods by computing devices and clients to invoke functional components. Referring to fig. 1, in the embodiment of the present disclosure, implementation of a method for executing a call function component is mainly divided into two types, namely a computing device side and a client side, where the computing device is loaded with a low-code development platform, and is described below.
Computing device side: when a call request is received, judging whether a function keyword corresponding to the call request is consistent with the function description of the function component, if so, presenting the function component with a corresponding component operation interface, and allowing the client to carry out drag operation; if the function components are inconsistent, the function components are sent to the client in the form of source codes, after the client edits the function components, corresponding component operation interfaces are generated and presented on the edited function components, and the client is allowed to drag.
Client side: after a call request is sent to the computing equipment, if the functional component presented on the component operation interface is received, the functional component is directly called in a dragging operation mode; and if the function component in the source code form is received, performing component editing operation on the function component, and calling the edited function component by the dragging operation mode after the computing equipment generates and presents a corresponding component operation interface based on the edited function component.
The following describes a case where a method of calling a functional component is performed by a computing device. Referring to fig. 2, in an embodiment of the disclosure, a specific flow of executing a call function component by a computing device is as follows:
step 201: receiving a call request, wherein the call request carries a function keyword, and determining a preset function component corresponding to the call request based on the function keyword, wherein the preset function component is stored in a low-code development platform.
It should be noted that, the computing device is loaded with a low-code development platform, which is a development platform that can quickly generate an application program without encoding or through a small amount of code, and the client creates a web page and a mobile application program by means of a graphical user interface through a method of performing application program development by visualization, and drag a component and a model.
When a call request sent by a client is received, the computing device judges function keywords carried in the call request, such as an addition containing two addends, an addition containing three addends, a function of searching examination scores and the like.
Since the preset functional components are stored in the low-code development platform, in order to adapt to the call request, in the storage process, the preset functional components correspondingly store functional descriptions, such as addition operation (limited by two addends), addition operation (limited by three addends), examination score query function, and the like.
In the implementation process, the preset functional component corresponding to the call request is determined through the functional keyword, for example, when the call request is an addition including two addends, the preset functional component corresponding to the call request is determined to be an addition operation (limited by two addends) through the functional keyword. If no addition operation (limited by two addends) exists in the preset functional components, only the addition operation (limited by three addends) and the examination score query function exist, the preset functional components corresponding to the call request are determined to be the addition operation (limited by three addends) through the function keywords.
Step 202: matching the function keywords with the function descriptions corresponding to the function components, and judging whether the matching is successful; if yes, go to step 203; otherwise, step 204 is performed.
In order to call the function component corresponding to the call request, the function keyword corresponding to the function component is matched with the function description of the preset function component, namely, the function component consistent with the function of the call request is searched in the preset function component.
In the implementation process, if the matching is successful, that is, a functional component consistent with the function of the call request is found, step 203 is executed; if the match is unsuccessful, i.e., the function of the preset function component is inconsistent with the function of the call request, step 204 is performed.
Step 203: and generating and presenting a corresponding component operation interface based on the functional component, and calling the functional component when responding to the drag operation triggered by the client for the component operation interface.
In the implementation process, under the condition that a functional component consistent with the function of the call request is found, the computing device directly generates a corresponding component operation interface according to the functional component, and in order to facilitate the call of a client, the component operation interface can be intuitively presented in the computing device. The component operation interface may be presented on an interface of the computing device in a full screen or non-full screen manner.
Further, in the specific calling process, when the client triggers a drag operation for the component operation interface, the computing device responds to the drag operation and allows the client to call the functional component in a drag mode.
Because the call request sent by the client is complex and changeable, the following is a case:
Case one: if the function keyword is matched with the function descriptions corresponding to the plurality of function components, the computing device generates and presents a corresponding component operation interface based on the function components, and when responding to a drag operation triggered by the client for the component operation interface, the computing device calls the function components, including:
(1) Based on the function keywords, a plurality of function components are serially aggregated to obtain a combined function component.
It is assumed that the above-mentioned functional keywords include functions of addition including three addends and search for test scores, and function descriptions corresponding to two preset functional components of addition operation (limited to three addends) and test score query function in the low-code development platform are matched therewith.
In the implementation process, the computing device connects two preset functional components of the addition operation (limited by three addends) and the examination score query function in series according to the sequence of the description of the functional keywords (namely, adding before searching), namely, firstly executing the preset functional component of the addition operation (limited by three addends), then executing the preset functional component of the examination score query function, and aggregating the results of executing the two preset functional components, namely, integrating the two preset functional components to obtain a combined functional component.
(2) Based on the combined functional components, generating and presenting corresponding component operation interfaces, and calling each aggregated functional component when responding to the drag operation triggered by the client for the component operation interfaces.
In order to facilitate unified call of the client, the computing device generates a corresponding component operation interface according to the combined functional component, and intuitively presents the component operation interface in the computing device. In the specific calling process, when the client triggers a drag operation for the component operation interface, the computing device responds to the drag operation and allows the client to call the combined function component in a drag mode.
And a second case: if the call request is a client call request, generating and presenting a corresponding component operation interface based on the functional component, and calling the functional component when responding to a drag operation triggered by the client for the component operation interface, wherein the method comprises the following steps:
1) And determining the number of parameters corresponding to the call request of the client, and searching the functional components matched with the number of parameters.
In consideration of the different parameter transmission numbers set in each functional component, in order to facilitate the client to call the functional component consistent with the parameter transmission numbers, the computing device firstly obtains the number of parameters corresponding to the client call request, and further searches the functional component matched with the parameter according to the number, wherein the number of the parameters of the functional component is not particularly limited.
It should be noted that, in the first scenario and the third scenario, the number of parameters corresponding to the call request is also related to the number of parameters, and the description in the upper section is also adopted to implement the method.
2) Generating a first software development kit (Software Development Kit, SDK) based on the searched functional components, generating and presenting a corresponding component operation interface, and calling the first SDK when responding to the drag operation triggered by the client for the component operation interface.
In the implementation process, after the computing device acquires the function components with the matched numbers, the computing device directly generates a corresponding component operation interface according to the function components, so that the component operation interface can be intuitively presented in the computing device for facilitating the call of a client.
Further, when the drag operation triggered by the client aiming at the component operation interface is responded, the computing device compiles codes of the functional component, a first software development kit (Software Development Kit, SDK) is generated according to the compiling result, and the client can realize the client calling request by running the first SDK.
It should be noted that, when compiling code is involved in the scenarios of the first case and the third case, the implementation is also performed using the description in the above paragraph.
And a third case: if the call request is a server call request, generating and presenting a corresponding component operation interface based on the functional component, and calling the functional component when responding to a drag operation triggered by the client for the component operation interface, wherein the method comprises the following steps:
[1] and analyzing the service call request through a World Wide Web (Web) service module to acquire a uniform resource identifier (uniform resource identifier, uri) and parameters contained in the service call request, wherein the Web service module is arranged in a low-code development platform.
In practice, in the case of receiving a server-side call request, the computing device first parses the remote call request through a web service module also stored in the low-code development platform, e.g., when the received remote call request includesAnd the web service module analyzes the parameters so as to obtain specific uri and parameters.
[2] Searching a functional component which is matched with uri and parameters, generating a second SDK based on the searched functional component, generating and presenting a corresponding component operation interface, and calling the second SDK when responding to the drag operation triggered by the client aiming at the component operation interface.
In the implementation process, after the computing device acquires the uri and the parameters, the computing device needs to search matched functional components, namely functional components matched with the uri and the parameters. After the functional component is determined, the computing device generates a corresponding component operation interface according to the functional component, and the component operation interface can be intuitively presented in the computing device for facilitating the call of the client.
Further, when the drag operation triggered by the client aiming at the component operation interface is responded, after the computing device acquires the functional component, the computing device compiles codes of the functional component, generates a second SDK according to the compiling result, and the client runs the second SDK to realize the server call request.
Step 204: the method comprises the steps of sending source codes corresponding to functional components to a client, generating and presenting corresponding component operation interfaces based on the edited functional components when the source codes trigger component editing operation of the client is responded, and calling the edited functional components when the dragging operation of the client for the component operation interfaces is responded.
If the function corresponding to the call request is inconsistent with the function of the functional component, that is, the existing functional component is inconsistent with the function of the call request, the computing device allows the client to edit the source code of the functional component in this scenario, so as to implement the function corresponding to the call request, and referring to fig. 3, the executing steps specifically include:
Step 2041: and transmitting the functional components to the client in the form of source codes, and uploading the edited functional components to a server for static code scanning when the functional components respond to the component editing operation triggered by the client based on the source codes.
In the implementation process, when the function of the preset function component is inconsistent with the function of the call request, the computing device searches for the preset function component related to the call request to realize the function, for example, the call request is addition comprising two addends, and only addition operations (limited by three addends) are performed in the preset function component, and then the preset function component corresponding to the call request is determined to be addition operations (limited by three addends) through the function keyword.
The computing device provides the searched functional components to the client in the form of source codes, so that the client can edit the source codes, namely, edit the functions corresponding to the call request (for example, addition operation (limited by three addends)) into the functional components (addition comprising two addends) in the form of codes, namely, edit the preset addition comprising two addends into the addition comprising three addends in the form of source codes.
Because the codes of the preset functional modules are changed, in the implementation process, when the computing equipment responds to the component editing operation triggered by the client based on the source codes, the edited functional components are uploaded to the server for static code scanning, and the purpose of scanning is to prevent malicious codes from affecting the operation of the server.
Step 2042: and compiling and generating a third SDK corresponding to the edited functional assembly after the scanning result is qualified.
In the implementation process, after the scanning result in step 2041 is qualified, that is, after malicious codes in the added functional component are removed, the computing device compiles all codes of the edited functional component, and generates a service corresponding to the edited functional component, where the service is a network service for a service end call request, and generates a third SDK, and the client runs the third SDK to implement the service end call request.
Step 2043: and generating and presenting a corresponding component operation interface based on the third SDK, and calling the third SDK when responding to the drag operation triggered by the client for the component operation interface.
In the implementation process, after the third SDK is determined, the computing device provides the third SDK for the client, generates a corresponding component operation interface according to the third SDK, and intuitively presents the component operation interface in the computing device. In the specific calling process, when the client triggers the drag operation for the component operation interface, the computing device responds to the drag operation and allows the client to call the third SDK in a drag mode, so that the client can realize the calling request of the server after running the third SDK.
The foregoing is a procedure for executing a method for calling a functional component by a computing device loaded with a low-code development platform, and a method for calling a functional component by a client is described below, referring to fig. 4, specifically including:
step 301: and responding to the operation of the call function component triggered by aiming at the low-code development platform, and generating a call request, wherein the call request carries a function keyword.
In an implementation process, the client responds to call function component operations triggered by the low-code development platform, for example, call function component operations triggered by the low-code development platform, such as clicking, double clicking, sliding and the like, and the client generates a call request.
Step 302: sending a call request to the computing device to cause the computing device to: determining a preset functional component corresponding to the call request based on the functional keyword, matching the functional keyword with a functional description corresponding to the functional component, judging whether the matching is successful, and generating and presenting a corresponding component operation interface based on the functional component if the matching is successful; and if the matching is unsuccessful, transmitting the source code corresponding to the functional component to the client, wherein the preset functional component is stored in the low-code development platform.
In the implementation process, after generating the call request, the client sends the call request to the computing device, so that the computing device performs the operations of steps 201 to 204, which are not described in detail herein.
Step 303: if the source code corresponding to the functional component is received, performing component editing operation on the source code, so that the computing device executes the following operations: based on the edited functional components, corresponding component operation interfaces are generated and presented.
In the implementation process, after receiving the source code corresponding to the preset functional component, the client performs component editing operation on the source code, namely, modifies the source code of the preset functional component according to the function of the function keyword of the call request, and sends the modified source code to the computing equipment. Because the edited functional assembly is newly generated, in order to facilitate the call of the client, the computing device generates and presents a corresponding assembly operation interface based on the edited functional assembly.
Step 304: drag operation is carried out on the component operation interface so that the computing device can execute the following operations: and when the drag operation triggered by the client aiming at the component operation interface is responded, the function component or the edited function component is called.
In the implementation process, after generating the component operation interface, the computing device allows the client to drag the component operation interface, so that the computing device performs the following operations: when the drag operation triggered by the client aiming at the component operation interface is responded, the functional component or the edited functional component is called, so that the client can conveniently and rapidly call the functional component or the edited functional component.
Based on the same inventive concept, referring to fig. 5, an apparatus for calling a functional component is provided in an embodiment of the present application, and is applied to a computing device loaded with a low-code development platform, and includes:
the receiving module 501 is configured to receive a call request, where the call request carries a function keyword, and determine a preset function component corresponding to the call request based on the function keyword, where the function component is stored in the low-code development platform;
the judging module 502 is configured to match the function keyword with a function description corresponding to the function component, and judge whether the matching is successful;
a first execution module 503, configured to generate and present a corresponding component operation interface based on the functional component when the matching is successful, and call the functional component when responding to a drag operation triggered by the client for the component operation interface;
The second execution module 504 is configured to send the source code corresponding to the functional component to the client when the matching is unsuccessful, generate and present a corresponding component operation interface based on the edited functional component when the response to the component editing operation triggered by the client based on the source code, and call the edited functional component when the response to the drag operation triggered by the client for the component operation interface is responded.
Based on the same inventive concept, referring to fig. 6, an apparatus for calling a functional component is provided in an embodiment of the present application, and is applied to a client, and includes:
the response module 601 is configured to generate a call request in response to an operation of a call function component triggered by the low-code development platform, where the call request carries a function keyword;
an operation module 602, configured to send a call request to the computing device, so that the computing device performs the following operations: determining a preset functional component corresponding to the call request based on the functional keyword, matching the functional keyword with a functional description corresponding to the functional component, judging whether the matching is successful, and generating and presenting a corresponding component operation interface based on the functional component if the matching is successful; if the matching is unsuccessful, the source code corresponding to the functional component is sent to the client, wherein the functional component is stored in the low-code development platform;
The editing operation module 603 is configured to, if source codes corresponding to the functional components are received, perform component editing operation on the source codes, so that the computing device performs the following operations: generating and presenting a corresponding component operation interface based on the edited functional component;
the drag operation module 604 is configured to drag the component operation interface, so that the computing device performs the following operations: and when the drag operation triggered by the client aiming at the component operation interface is responded, the function component or the edited function component is called.
Based on the same inventive concept, referring to fig. 7, an embodiment of the present disclosure provides a computing device, including:
memory 701 for storing executable instructions.
A processor 702 for reading and executing executable instructions stored in a memory to implement a method as in any of the first aspects above;
wherein in fig. 7, a bus architecture may comprise any number of interconnected buses and bridges, and in particular one or more processors represented by processor 702 and various circuits of memory represented by memory 701, linked together. The bus architecture may also link together various other circuits such as peripheral devices, voltage regulators, power management circuits, etc., which are well known in the art and, therefore, will not be described further herein. The bus function provides the function. The transceiver may be a plurality of elements, i.e. comprising a transmitter and a transceiver, providing a means for communicating with various other apparatus over a transmission medium. The processor 702 is responsible for managing the bus architecture and general processing, and the memory 701 may store data used by the processor 702 in performing operations.
The processor 702 is responsible for managing the bus architecture and general processing, and the memory 701 may store data used by the processor 700 in performing operations.
The memory 701 and the processor 702 cooperate to implement any method executed by the computing device in steps 201 to 204 in the above embodiment, which is not described herein.
Based on the same inventive concept, referring to fig. 8, an embodiment of the present disclosure provides a client, including:
a memory 801 for storing executable instructions.
A processor 802 for reading and executing executable instructions stored in a memory to implement the method of the second aspect described above;
where in FIG. 8, a bus architecture may comprise any number of interconnected buses and bridges, with one or more processors, represented in particular by processor 802, and various circuits of memory, represented by memory 801, linked together. The bus architecture may also link together various other circuits such as peripheral devices, voltage regulators, power management circuits, etc., which are well known in the art and, therefore, will not be described further herein. The bus function provides the function. The transceiver may be a plurality of elements, i.e. comprising a transmitter and a transceiver, providing a means for communicating with various other apparatus over a transmission medium. The processor 802 is responsible for managing the bus architecture and general processing, and the memory 801 may store data used by the processor 802 in performing operations.
The processor 802 is responsible for managing the bus architecture and general processing, and the memory 801 may store data used by the processor 800 in performing operations.
The memory 801 and the processor 802 cooperate to implement any method executed by the client in steps 301-304 in the above embodiments, which is not described herein.
Based on the same inventive concept, an embodiment of the present application provides a computer-readable storage medium, which when executed by a processor, causes the processor to perform the method of any one of the above-described first aspects.
Based on the same inventive concept, an embodiment of the present application provides a computer readable storage medium, which when executed by a processor, enables the processor to perform the method of the second aspect.
In summary, in the embodiment of the present application, the computing device loaded with the low-code development platform receives the call request, determines the preset function component corresponding to the call request based on the function keyword carried by the computing device, matches the function keyword with the function description corresponding to the function component, determines whether the matching is successful, generates and presents the corresponding component operation interface based on the function component if the matching is successful, and sends the source code corresponding to the function component to the client if the matching is unsuccessful, and generates and presents the corresponding component operation interface based on the edited function component when responding to the component editing operation triggered by the client based on the source code, so that the function component or the edited function component is called when responding to the drag operation triggered by the client for the component operation interface, and thus, in the development process, the client can directly utilize the existing preset function component to realize the corresponding function, thereby omitting the process of writing codes one by one, and effectively reducing the repeated writing of codes and improving the development efficiency.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product system. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product system embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program product systems according to the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present application without departing from the spirit or scope of the application. Thus, it is intended that the present application also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (11)

sending the call request to a computing device to cause the computing device to: determining a preset functional component corresponding to the call request based on the functional keyword, matching the functional keyword with a functional description corresponding to the functional component, judging whether the matching is successful, and generating and presenting a corresponding component operation interface based on the functional component if the matching is successful; if the function keywords are matched with the function descriptions corresponding to the plurality of function components, generating and presenting corresponding component operation interfaces based on the combined function components; if the matching is unsuccessful, the source code corresponding to the functional component is sent to a client, wherein the functional component is stored in the low-code development platform;
the first execution module is used for generating and presenting a corresponding component operation interface based on the functional components when matching is successful, calling the functional components when responding to a drag operation triggered by a client for the component operation interface, carrying out series aggregation on the functional components based on the functional keywords if the functional keywords are matched with the functional descriptions corresponding to the functional components to obtain a combined functional component, generating and presenting the corresponding component operation interface based on the combined functional components, and calling the aggregated functional components when responding to the drag operation triggered by the client for the component operation interface;
an operation module, configured to send the call request to a computing device, so that the computing device performs the following operations: determining a preset functional component corresponding to the call request based on the functional keyword, matching the functional keyword with a functional description corresponding to the functional component, judging whether the matching is successful, and generating and presenting a corresponding component operation interface based on the functional component if the matching is successful; if the function keywords are matched with the function descriptions corresponding to the plurality of function components, generating and presenting corresponding component operation interfaces based on the combined function components; if the matching is unsuccessful, the source code corresponding to the functional component is sent to a client, wherein the functional component is stored in the low-code development platform;
CN202110853769.8A2021-07-282021-07-28Method, device and storage medium for calling functional componentActiveCN113495723B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202110853769.8ACN113495723B (en)2021-07-282021-07-28Method, device and storage medium for calling functional component

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202110853769.8ACN113495723B (en)2021-07-282021-07-28Method, device and storage medium for calling functional component

Publications (2)

Publication NumberPublication Date
CN113495723A CN113495723A (en)2021-10-12
CN113495723Btrue CN113495723B (en)2023-09-22

Family

ID=77995935

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202110853769.8AActiveCN113495723B (en)2021-07-282021-07-28Method, device and storage medium for calling functional component

Country Status (1)

CountryLink
CN (1)CN113495723B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114416027A (en)*2021-12-142022-04-29奇安信科技集团股份有限公司Software low-code development system and method
CN114706609B (en)*2022-03-082025-10-03青岛海尔科技有限公司 Component identification method, device and electronic device
CN114911535B (en)*2022-04-222023-12-19青岛海尔科技有限公司Application program component configuration method, storage medium and electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109862103A (en)*2019-02-262019-06-07上海南潮信息科技有限公司File data secure sharing method and device based on block chain
CN111124477A (en)*2019-12-192020-05-08华云数据有限公司Front-end configuration method and system and electronic equipment
WO2020211661A1 (en)*2019-04-152020-10-22阿里巴巴集团控股有限公司Graphical development method, medium, device, and apparatus
CN112463154A (en)*2021-02-012021-03-09北京宇信科技集团股份有限公司Page generation method, device and system and electronic equipment
CN112513820A (en)*2018-07-162021-03-16微软技术许可有限责任公司Transparent remote execution of development tool extension programs
CN112835560A (en)*2021-03-042021-05-25广州图创计算机软件开发有限公司WEB multi-terminal low-code intelligent software development platform

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US10599402B2 (en)*2017-07-132020-03-24Facebook, Inc.Techniques to configure a web-based application for bot configuration
US11907734B2 (en)*2019-04-242024-02-20Salesforce.Com, Inc.Dynamic linking of content elements to development tool resources
US11216602B2 (en)*2019-12-202022-01-04Accenture Global Solutions LimitedMicro frontends with model-based state

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112513820A (en)*2018-07-162021-03-16微软技术许可有限责任公司Transparent remote execution of development tool extension programs
CN109862103A (en)*2019-02-262019-06-07上海南潮信息科技有限公司File data secure sharing method and device based on block chain
WO2020211661A1 (en)*2019-04-152020-10-22阿里巴巴集团控股有限公司Graphical development method, medium, device, and apparatus
CN111124477A (en)*2019-12-192020-05-08华云数据有限公司Front-end configuration method and system and electronic equipment
CN112463154A (en)*2021-02-012021-03-09北京宇信科技集团股份有限公司Page generation method, device and system and electronic equipment
CN112835560A (en)*2021-03-042021-05-25广州图创计算机软件开发有限公司WEB multi-terminal low-code intelligent software development platform

Also Published As

Publication numberPublication date
CN113495723A (en)2021-10-12

Similar Documents

PublicationPublication DateTitle
US11163731B1 (en)Autobuild log anomaly detection methods and systems
CN113495723B (en)Method, device and storage medium for calling functional component
CN107391528B (en)Front-end component dependent information searching method and equipment
CN106547527B (en)JavaScript file construction method and device
US20170090892A1 (en)Systems and methods for dynamically replacing code objects for code pushdown
CN110196809B (en)Interface testing method and device
CN112769706B (en)Componentized routing method and system
CN111026634A (en)Interface automation test system, method, device and storage medium
CN111026670B (en) Test case generation method, test case generation device and storage medium
CN104572085A (en)Method and device for analyzing application program
CN114115904B (en)Information processing method, device, server and storage medium
CN114064712A (en)Data access method and device, electronic equipment and computer readable storage medium
CN105204917A (en)Method and device for loading configuration files at starting moment of application program
CN115599359A (en)Code generation method, device, equipment and medium
CN110806967A (en) A unit testing method and apparatus
CN113032004A (en)Method, apparatus and program product for managing development jobs in a development environment
CN110209565A (en)A kind of metadata schema adjustment method and its device
EP4538872A1 (en)Application management method, application subscription method, and related device
CN117033422A (en)Code query method and device
CN114610292B (en) Application development method, device and computer equipment
CN111562982B (en)Method and device for processing request data, computer readable storage medium and electronic equipment
CN115809176A (en)Log management method, log management device, electronic device, log management medium, and program product
CN117519814A (en) A sharing method and device
CN113031960A (en)Code compiling method, device, server and storage medium
CN113806327A (en)Database design method and device and related equipment

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp