Application extension system, method and device for low-code development platform

By encapsulating the front-end and back-end modules independently and transmitting data through the target protocol, the problem of low application expansion flexibility of the low-code development platform is solved, achieving higher application expansion flexibility and meeting business needs.

CN114860205BActive Publication Date: 2024-08-23VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210498699.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-09
Publication Date
2024-08-23
Estimated Expiration
2042-05-09

AI Technical Summary

Technical Problem

The low-code development platform has low flexibility for application expansion. The service integration of the front-end and back-end modules makes it impossible to use low-code functions independently, which limits the scalability of the application.

Method used

By encapsulating the front-end module and the back-end module in different containers to make them independent of each other and providing target protocols for data transmission, users can choose to use the low-code functions of the front-end module or the back-end module independently, reducing restrictions on application expansion. .

Benefits of technology

The low-code development platform improves the application expansion flexibility. Users can independently use the low-code functions of the front-end or back-end modules, which enhances the application expansion capabilities and meets business needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114860205B
    Figure CN114860205B
Patent Text Reader

Abstract

The present application discloses an application expansion system, method and device for a low-code development platform, the system comprising: a front-end module, the front-end module being encapsulated in a first container; a back-end module, the back-end module being encapsulated in a second container, the first container and the second container being different; when using the low-code function of the front-end module, the front-end module is used to obtain a first application resource, render the first application resource, obtain target content, and output the target content to a second application to display the target content in the second application; when using the low-code function of the back-end module, the back-end module parses the custom code and function configuration uploaded by the second application, and generates a corresponding function service interface for remote calling.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of terminal device technology, and specifically relates to an application expansion system, method and device for a low-code development platform. Background Art

[0002] As a new trend in software development, the Low-Code Development Platform (LCDP) is a development platform that can quickly generate applications without coding or with a small amount of code. It can be developed using a reusable, component-based architecture to speed up the development and delivery cycle of applications. The low-code development platform provides visual modeling tools that enable developers with different experience levels to create web pages or mobile applications, data models, and build business processes by dragging and dropping components and model-driven logic, and can add their own code when necessary. At the same time, the low-code development platform encapsulates basic database add, delete, modify, and query operations, as well as commonly used general business logic, so that business personnel can focus more on business development, greatly reducing development and maintenance costs. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide an application expansion system, method and device for a low-code development platform, which reduces the restrictions of the low-code development platform on expanding the application and improves the flexibility of the low-code development platform on expanding the application.

[0004] In the first aspect, an embodiment of the present application provides an application expansion system of a low-code development platform, the system comprising: a front-end module, the front-end module being encapsulated in a first container; a back-end module, the back-end module being encapsulated in a second container, the first container and the second container being different; when using the low-code function of the front-end module, the front-end module is used to obtain a first application resource, render the first application resource, obtain target content, and output the target content to a second application to display the target content in the second application; when using the low-code function of the back-end module, the back-end module parses the custom code and function configuration uploaded by the second application, and generates a corresponding function service interface for remote calling.

[0005] In second aspect, an embodiment of the present application provides an application expansion method for a low-code development platform, the method comprising: when using the low-code function of the front-end module, obtaining a first application resource through the front-end module; rendering the first application resource through the front-end module to obtain target content; outputting the target content to a second application through the front-end module to display the target content in the second application; when using the low-code function of the back-end module, parsing the custom code and function configuration uploaded by the second application through the back-end module, and generating a corresponding function service interface for remote calling.

[0006] In the third aspect, an embodiment of the present application provides an application expansion device of a low-code development platform, which includes: an acquisition module, which is used to acquire a first application resource through the front-end module while using the low-code function of the front-end module; a rendering module, which is used to render the first application resource through the front-end module to obtain target content; an output module, which is used to output the target content to a second application through the front-end module to display the target content in the second application; and a parsing module, which is used to parse the custom code and function configuration uploaded by the second application through the back-end module while using the low-code function of the back-end module, and generate a corresponding function service interface for remote calling.

[0007] In a fourth aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, and when the program or instruction is executed by the processor, the steps of the method of the second aspect are implemented.

[0008] In a fifth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method in the second aspect are implemented.

[0009] In a sixth aspect, an embodiment of the present application provides a chip, the chip including a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the method of the second aspect.

[0010] In a seventh aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the second aspect.

[0011] In an embodiment of the present application, the application expansion system of the low-code development platform includes: a front-end module, which is encapsulated in a first container; a back-end module, which is encapsulated in a second container, and the first container and the second container are different; when using the low-code function of the front-end module, the front-end module is used to obtain the first application resource, render the first application resource, obtain the target content, and output the target content to the second application to display the target content in the second application; when using the low-code function of the back-end module, the back-end module parses the custom code and function configuration uploaded by the second application, and generates a corresponding function service interface for remote calling. In this way, the front-end module and the back-end module are independent of each other, and users can choose to use the low-code function in the front-end module or the low-code function in the back-end module independently, which reduces the restrictions on application expansion and improves the flexibility of application expansion. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 An architectural diagram of a low-code development platform provided in an embodiment of the present application is shown;

[0013] Figure 2 A result schematic diagram showing an application expansion system of a low-code development platform provided in an embodiment of the present application is shown;

[0014] Figure 3 A first flow chart of the application expansion method of the low-code development platform provided in an embodiment of the present application is shown;

[0015] Figure 4 A schematic diagram showing the structure of an application expansion device for a low-code development platform provided in an embodiment of the present application is shown;

[0016] Figure 5 A schematic diagram showing the structure of an electronic device provided in an embodiment of the present application is shown;

[0017] Figure 6 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0018] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0019] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0020] In some scenarios, applications created by low-code platforms use parsers that integrate the front-end and back-end modules to render and execute various operations of the application. Due to the integration of the services of the front-end and back-end modules, the low-code capabilities of the front-end and the low-code capabilities of the back-end modules are encapsulated together, and the low-code capabilities of the front-end and back-end modules cannot be used independently. The low-code development platform has greater restrictions on expanding the application and has lower flexibility.

[0021] The following, in combination with the accompanying drawings, describes in detail the application extension method of the low-code development platform provided by the embodiment of the present application through specific embodiments and their application scenarios.

[0022] like Figure 1 As shown, it is an architecture diagram of a low-code development platform disclosed in an embodiment of the present application, and the architecture diagram includes: a front-end module and a back-end module, which are independent of each other, the front-end module is encapsulated in a first container, and the back-end module is encapsulated in a second container, and the front-end module and the back-end module realize data pulling and pushing through a target protocol. Among them, the target protocol can be determined according to the application environment, such as the target protocol can be HyperText Transfer Protocol (HTTP).

[0023] Among them, the front-end module and the back-end module are independent of each other and are not strongly bound to each other. The front-end module includes the World Wide Web (Web) layer and the back-end (BFF) layer serving the front-end. The front-end module can independently implement low-code functions, deploy independently, and produce final applications, single pages, and micro-applications. The back-end module also independently implements low-code functions and deploys independently. When you only need to use the low-code capabilities of the server, you only need to integrate the Software Development Kit (SDK).

[0024] In addition, when using the front-end code capabilities and back-end code capabilities of the entire low-code platform, the embodiment of the present application also provides a visual editor to improve the efficiency of using the low-code capabilities, and users can configure data through the visual editor.

[0025] like Figure 1 As shown, the application extension architecture of a low-code development platform provided by an embodiment of the present application includes management backgrounds of various applications at the application layer, and the types of applications can be single pages, micro applications, etc. For a low-code platform, it includes: a front-end module and a back-end module. Among them, the Web layer in the front-end module is used to manage the application, and the content of managing the application includes but is not limited to "application menu", "application routing", "UI analysis", "custom component analysis", "micro application analysis", "iframe analysis", "dynamic js analysis", "API call interface management" and "authority management"; the BFF layer in the front-end module is used to output user-oriented system-level applications (such as management background), single pages and micro applications, etc. After the BFF layer verifies the user's login information, it can output system-level applications, single pages and micro applications, etc. The user passes the first application resource to the Web layer, and the Web layer renders the first application resource, integrates the expanded plug-ins, custom components, etc., and then outputs the user-oriented system-level applications (such as management background), single pages and micro applications, etc. through the BFF layer. The first application resources include but are not limited to user configuration data for the interface or interaction, or existing resources of the first application or extended plug-ins (which may be user-defined plug-ins) and custom components, etc.

[0026] The back-end module includes a service layer and a storage layer. The service layer includes but is not limited to configuration services and low-code services. The configuration service and the low-code service are independent of each other. The configuration service is responsible for parsing the configuration data related to the low-code development platform, while the low-code service can be an independent low-code SDK. The data of the configuration service and the low-code service can be stored independently in the back-end module, so as to achieve the purpose of data isolation and ensure data security; among them, the configuration service includes but is not limited to "configuration storage", "point statistics" and "log monitoring"; the low-code service includes but is not limited to "custom plug-ins", "custom functions" and "SDK parsing"; the storage layer includes but is not limited to various storage clusters, which are used to store data on the storage client. The storage layer includes but is not limited to Redies clusters, MySql master-slave clusters, Mongodb master-slave clusters, LPR disk caches and ES clusters.

[0027] The visual editor is used to provide users with "page management", "custom configuration", "template management" and "resource management". Among them, "page management" is used to provide users with options such as "menu configuration", "component configuration", "interface configuration", and "dynamic js writing"; custom configuration is used to provide users with options such as "component upload", "script upload" and "micro application access"; template management is used to provide users with options such as "page templates" and "code snippets"; and "resource management" is used to provide users with options such as "static resources" and "code deployment". It is worth noting that data can also be transmitted between the visual editor and the front-end module and the back-end module through the target protocol.

[0028] Through the architecture of the low-code development platform provided by the above-mentioned embodiment of the present application, the front-end module and the back-end module are independent of each other, and users can choose to use the low-code functions in the front-end module and the low-code functions in the back-end module independently, which reduces the restrictions on application expansion and improves the flexibility of application expansion. In addition, single pages or micro-applications can be output through the front-end module, supporting independent output and input of content, further reducing the restrictions on application expansion and improving the flexibility of application expansion.

[0029] Figure 2 A structural schematic diagram of an application extension system of a low-code development platform provided by an embodiment of the present application is shown. An application extension system of a low-code development platform disclosed in an embodiment of the present application includes: a front-end module 201, the front-end module 201 is encapsulated in a first container 202, and a back-end module 203, the back-end module 203 is encapsulated in a second container 204, and the first container and the second container are different. When using the low-code function of the front-end module, the front-end module 201 is used to obtain the first application resource, render the first application resource, obtain the target content, and output the target content to the second application to display the target content in the second application; when using the low-code function of the back-end module 203, the back-end module 203 parses the custom code and function configuration uploaded by the second application, and generates a corresponding function service interface for remote calling. Among them, data transmission between the front-end module 201 and the back-end module 203 can be carried out through the target protocol.

[0030] Among them, the front-end module 201 includes a BFF layer and a Web layer; when the front-end module is embedded in the second application, the type of the first application resource is parsed through the BFF layer, the type of the first application resource is output to the Web layer, the first application resource is rendered according to the type through the Web layer, the target content is obtained, and the target content is output to the second application; when the front-end module is not embedded in the second application, the type of the first application resource is parsed through the BFF layer, the type of the first application resource is output to the Web layer, the first application resource is rendered according to the type through the Web layer, the target content is obtained, and the target content is displayed in the first application currently used by the user.

[0031] Among them, the first application resource includes one of the following: user-configured resources; custom component resources; micro-application resources; script resources.

[0032] The back-end module 203 includes: a low-code tool unit, which is used to generate a function service interface corresponding to the function configuration according to the function configuration uploaded by the second application.

[0033] The back-end module 203 includes: a plug-in parser, which is used to parse the custom code uploaded by the second application, and generate a service interface corresponding to the custom plug-in through a low-code tool unit; the server is used to obtain resources corresponding to the custom code according to the parsing result of the custom code, and generate a functional service interface corresponding to the custom code according to the resources through the low-code tool unit.

[0034] In this way, the front-end module and the back-end module are independent of each other, and users can choose to use the front-end module and the back-end module independently, which reduces the restrictions on application expansion and improves the flexibility of application expansion. In addition, users can quickly expand more stable and efficient service interfaces through low-code tool units, solving the problem that when the service interface of the back-end module does not meet business needs, the orchestration function service interface can be expanded to meet business needs.

[0035] Combine the following Figure 1 and 2 The architecture of the low-code development platform mentioned illustrates an application expansion method of a low-code development platform provided in an embodiment of the present application. Figure 3 The flowchart of the application expansion method of a low-code development platform provided by an embodiment of the present application is shown, and the method can be executed by a terminal device. In other words, the method can be executed by software or hardware installed on the terminal device. Figure 3 As shown, the method may include the following steps.

[0036] Step S301: While using the low-code function of the front-end module, obtain the first application resource through the front-end module.

[0037] Specifically, the first application resource can be obtained from the content delivery network (CDN) of the back-end module based on the target protocol; the first application resource includes but is not limited to the configuration data configured by the user in the page management of the visual editor, the components customized by the user in the visual editor, micro-application resources, script resources, application resources of the existing first application, page framework information, and dynamic execution information corresponding to dynamic operations, etc.; the target protocol can be the HTTP protocol.

[0038] Among them, customized components provide users with expansion functions. Users can expand the component materials of the system through customized components to meet personalized needs and business needs; micro-application resources can be used as a carrier for existing applications or traditional customized development applications. The microservices of the front-end module can be realized through the combination of micro-applications.

[0039] In one possible implementation, the first application resource includes target dynamic execution information corresponding to the resources configured by the user. When using the low-code function of the front-end module, obtaining the first application resource through the front-end module includes: in response to a first operation on the first interface, obtaining the target dynamic execution information corresponding to the first operation according to a mapping relationship between a preset operation of the first application and the dynamic execution information; rendering the first application resource through the front-end module to obtain the target content includes: rendering the target dynamic execution information through the front-end module to obtain the execution result indicated by the target dynamic execution information.

[0040] Among them, the first operation can be a dynamic operation, and the target dynamic execution information corresponding to the script resource refers to the dynamic execution information corresponding to the dynamic operation that can be stored in the script resource. The dynamic execution information corresponding to the dynamic operation refers to the fact that there will be many scenarios in which users perform dynamic operations in real business, such as clicking buttons, clicking pop-up windows, dragging, etc. The front-end module can process these dynamic scenarios.

[0041] Step S303: Render the first application resource through the front-end module to obtain target content.

[0042] Among them, the above-mentioned configuration data, components customized by users in the visual editor, micro-application resources, application resources of the existing first application, and page frame information can be divided into schema-type resources and iframe-type resources; for schema-type resources, each field and description will be matched, and the front-end module will perform corresponding mapping and rendering through the drawing capabilities provided by the browser; for iframe-type resources, the corresponding application is pulled and loaded into the browser for rendering and execution. For script resources, it can be a dynamic script resource. The dynamic script resource can be pre-stored in a bucket. When triggered, the script can be taken out of the bucket for security filtering and execution. In addition, the context of the dynamic operation currently performed by the user can be obtained in the script resource and executed, thereby enhancing the secondary expansion capability of the low code in the front-end module.

[0043] Specifically, the dynamic execution information corresponding to the dynamic operation can be stored in the script resource. The dynamic execution information corresponding to the dynamic operation refers to the scenarios in which there are many user dynamic operation applications in real business, such as clicking a button, clicking a pop-up window, dragging, etc. The front-end module can process these dynamic scenarios. First, the process nodes (target dynamic execution information) corresponding to these dynamic operations are stored in the bucket. When the user performs the relevant dynamic operations, if these dynamic operations are triggered, these process nodes are taken out from the bucket for execution. In other words, the target dynamic execution information is rendered by the front-end module to obtain the execution result indicated by the target dynamic execution information. For example, when the dynamic operation is clicking a button, the process nodes related to clicking the button are "form pop-up window", "fill and verify", "call interface", "result prompt", and "refresh data". After the user clicks the button, the subsequent "form pop-up window" will be executed continuously, and then the relevant information will be filled and verified through the "fill and verify" node. After verification, the "call interface" node will be executed, and the call interface will store the verified data in the database, and finally the "result prompt" will be returned, and the "result prompt" will be rendered and presented in the form of a page.

[0044] Step S305: outputting the target content to the second application through the front-end module, so as to display the target content in the second application.

[0045] Specifically, the target content can be output to the second application through the BFF layer of the front-end module. It is worth noting that the target content output to the second application can be an SSR type page, and the second application can integrate the page output by the low-code platform into its own application, thereby realizing the independent output of the content of the low-code platform.

[0046] In addition, after the BFF layer obtains the application resource from the backend module, if the application resource indicates an embedded resource, the BFF layer integrates the application resource into the first application through two integration methods: iframe and micro-application, and highlights it to the Web layer of the first application, and finally presents it to the user in a visual form. If the application resource is a micro-application and page frame information, the BFF layer parses and loads this type of resource, outputs it to the Web layer, and then matches it to the display content corresponding to the micro-application and page frame information according to the route and presents it dynamically.

[0047] Step S307: When using the low-code function of the back-end module, the custom code and function configuration uploaded by the second application are parsed by the back-end module to generate a corresponding function service interface for remote calling.

[0048] In one possible implementation, step S307 includes: according to the function configuration uploaded by the second application, generating a function service interface corresponding to the function configuration through a low-code tool unit; or, parsing the custom code uploaded by the second application through a plug-in parser, obtaining resources corresponding to the custom code according to the parsing result of the custom code, and generating a function service interface corresponding to the custom code according to the resources through a low-code tool unit.

[0049] Specifically, the low-code tool unit may be an SDK, which generates a function service interface corresponding to the function configuration through the SDK, wherein the function configuration may be function parameters configured by the user; the custom code may be a custom plug-in, which is customized by the user and uploaded through a second application. After the custom plug-in is parsed by the plug-in parser, the function service interface corresponding to the custom plug-in is generated through the SDK.

[0050] Furthermore, the user fills in the configuration data (service data) according to the specifications, and after being parsed by the SDK, generates the CRUD service, import service, export service, etc., and generates the corresponding external functional service interface. Custom plug-ins can be uploaded by users. After obtaining the custom plug-in, the back-end server will pull the resources corresponding to the custom plug-in, and then parse and arrange it through the SDK to output the functional service interface. In this way, when the service interface of the server side improved by the low-code platform cannot meet the business needs, more functional service interfaces can be further expanded to meet business needs, further reducing the restrictions on application expansion.

[0051] In addition, users can also upload custom functions to the backend module through the second application. The server will access the context through each node in the script resource corresponding to the service interface through the custom function, so that the context can be modified, which expands the ability of application extension and further reduces the restrictions of application extension.

[0052] According to the technical solution disclosed in the embodiment of the present application, the front-end module and the back-end module are independent of each other, and the user can choose to use the front-end module and the back-end module independently, which reduces the restrictions on the expansion of the application and improves the flexibility of the expansion of the application.

[0053] In one possible implementation, rendering the first application resource through the front-end module to obtain the target content includes: when the front-end module is embedded in the second application, parsing the type of the first application resource through the BFF layer in the front-end module, outputting the type of the first application resource to the Web layer in the front-end module, rendering the first application resource according to the type through the Web layer to obtain the target content, and outputting the target content to the second application; when the front-end module is not embedded in the second application, parsing the type of the first application resource through the BFF layer, outputting the type of the first application resource to the Web layer, rendering the first application resource according to the type through the Web layer to obtain the target content, and displaying the target content in the first application currently used by the user.

[0054] Specifically, the type of the first application resource includes but is not limited to at least one of user-configured resources, custom component resources, and micro-application resources. After obtaining the first application resource, different processing methods can be determined according to whether the front-end module is embedded in the second application. In the case where the front-end module is not embedded in the second application, if the type of the first application resource is a micro-application resource, a page frame resource, and a custom component resource, the micro-application resource or the page frame resource or the custom component resource is parsed by the BFF layer in the front-end module, and the micro-application resource or the page frame resource or the custom component resource is rendered by the Web layer of the front-end module, and the display content corresponding to the micro-application or page frame information is displayed in the Web layer of the front-end module, thereby dynamically presenting the display content. In the case where the front-end module is embedded in the second application, the micro-application resources or page frame resources or custom component resources are parsed by the BFF layer in the front-end module, and the micro-application resources or page frame resources or custom component resources are rendered by the Web layer of the front-end module, and the rendered target content is output to the second application, wherein the Web layer can output SSR type pages to the second application, and the second application can be a third-party application, and the third-party application can integrate the low-code output page into its own application, thereby realizing the independent output of the content of the low-code platform, and can achieve mutual compatibility with the second application, reducing the restrictiveness of the low-code application. In addition, in the case where the front-end module is not embedded in the second application, the first application resource can be embedded in the first application in the low-code platform, and the embedding method can be two embedding methods of iframe and micro-application, and spit out in the Web layer of the front-end module, so as to finally be presented to the background of the first application used by the user. In this way, the low-code platform provided by the embodiment of the present application can be compatible with different applications, thereby reducing the restrictiveness of application expansion.

[0055] It is worth noting that the same or similar aspects of the application extension system of the low-code development platform and the application extension method of the low-code development platform provided in the above embodiments can be referenced to each other, and the embodiments of the present application will not be repeated here.

[0056] The application extension method of the low-code development platform provided in the embodiment of the present application can be executed by an application extension device of the low-code development platform. In the embodiment of the present application, the application extension device of the low-code development platform executing the application extension method of the low-code development platform is taken as an example to illustrate the application extension device of the low-code development platform provided in the embodiment of the present application.

[0057] Figure 4A structural schematic diagram of an application expansion device of a low-code development platform provided in an embodiment of the present application is shown, and the device 400 includes: an acquisition module 401, which is used to acquire a first application resource through a front-end module while using the low-code function of the front-end module; a rendering module 402, which is used to render the first application resource through the front-end module to obtain target content; an output module 403, which is used to output the target content to a second application through the front-end module to display the target content in the second application; a parsing module 404, which is used to parse the custom code and function configuration uploaded by the second application through the back-end module while using the low-code function of the back-end module, and generate a corresponding function service interface for remote calling.

[0058] In the embodiment of the present application, the front-end module and the back-end module are independent of each other, and the user can choose to use the front-end module and the back-end module independently, which reduces the restrictions on the expansion of the application and improves the flexibility of the expansion of the application.

[0059] In one possible implementation, the acquisition module 401 is also used to respond to the first operation on the first interface, and to obtain the target dynamic execution information corresponding to the first operation according to the mapping relationship between the preset operation of the first application and the dynamic execution information; the rendering module 402 is also used to render the target dynamic execution information through the front-end module to obtain the execution result indicated by the target dynamic execution information.

[0060] In a possible implementation, the acquisition module 401 is further configured to acquire the first application resource from the backend module based on the target protocol through the frontend module.

[0061] In a possible implementation, the parsing module 404 is further used to generate a function service interface corresponding to the function configuration through the low-code tool unit according to the function configuration uploaded by the second application; or to parse the custom code uploaded by the second application through the plug-in parser, obtain resources corresponding to the custom code according to the parsing result of the custom code, and generate a function service interface corresponding to the custom code according to the resources through the low-code tool unit.

[0062] In one possible implementation, the rendering module 402 is also used to, when the front-end module is embedded in the second application, parse the type of the first application resource through the BFF layer in the front-end module, output the type of the first application resource to the Web layer in the front-end module, render the first application resource according to the type through the Web layer to obtain the target content, and output the target content to the second application; when the front-end module is not embedded in the second application, parse the type of the first application resource through the BFF layer, output the type of the first application resource to the Web layer, render the first application resource according to the type through the Web layer to obtain the target content, and display the target content in the first application currently used by the user.

[0063] The application expansion device of the low-code development platform in the embodiment of the present application can be an electronic device, or a component in an electronic device, such as an integrated circuit or a chip. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc. It can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0064] The application expansion device of the low-code development platform in the embodiment of the present application can be a device with an operating system. The operating system can be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0065] The application expansion device of the low-code development platform provided in the embodiment of the present application can implement each process implemented in the above method embodiment and achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0066] Alternatively, if Figure 5As shown, an embodiment of the present application also provides an electronic device 500, including a processor 501 and a memory 502, wherein the memory 502 stores programs or instructions that can be run on the processor 501, and when the program or instructions are executed by the processor 501, the various steps of the application expansion method embodiment of the above-mentioned low-code development platform are implemented, and the same technical effect can be achieved. To avoid repetition, they will not be repeated here.

[0067] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.

[0068] Figure 6 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.

[0069] The electronic device 600 includes but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, and a processor 610.

[0070] Those skilled in the art will appreciate that the electronic device 600 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 610 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 6 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0071] Processor 610 is used to obtain the first application resource through the front-end module when using the low-code function of the front-end module; render the first application resource through the front-end module to obtain the target content; output the target content to the second application through the front-end module to display the target content in the second application; when using the low-code function of the back-end module, parse the custom code and function configuration uploaded by the second application through the back-end module, and generate a corresponding function service interface for remote calling.

[0072] The processor 610 is further configured to, in response to a first operation on the first interface, obtain target dynamic execution information corresponding to the first operation according to a mapping relationship between a preset operation of the first application and the dynamic execution information, and render the target dynamic execution information through a front-end module to obtain an execution result indicated by the target dynamic execution information.

[0073] The processor 610 is further configured to obtain the first application resource from the backend module based on the target protocol through the frontend module.

[0074] Processor 610 is also used to generate a function service interface corresponding to the function configuration through a low-code tool unit according to the function configuration uploaded by the second application; or, to parse the custom code uploaded by the second application through a plug-in parser, obtain resources corresponding to the custom code according to the parsing result of the custom code, and generate a function service interface corresponding to the custom code according to the resources through a low-code tool unit.

[0075] Processor 610 is also used to, when the front-end module is embedded in the second application, parse the type of the first application resource through the BFF layer in the front-end module, output the type of the first application resource to the Web layer in the front-end module, render the first application resource according to the type through the Web layer to obtain the target content, and output the target content to the second application; when the front-end module is not embedded in the second application, parse the type of the first application resource through the BFF layer, output the type of the first application resource to the Web layer, render the first application resource according to the type through the Web layer to obtain the target content, and display the target content in the first application currently used by the user.

[0076] It should be understood that in an embodiment of the present application, the input unit 604 may include a graphics processor (GPU) 6041 and a microphone 6042, and the graphics processor 6041 processes image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode.

[0077] The display unit 606 may include a display panel 6061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 607 includes a touch panel 6071 and at least one of other input devices 6072. The touch panel 6071 is also called a touch screen. The touch panel 6071 may include two parts: a touch detection device and a touch controller. Other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0078] The memory 609 can be used to store software programs and various data. The memory 609 can mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area can store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 609 can include a volatile memory or a non-volatile memory, or the memory 609 can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 609 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0079] The processor 610 may include one or more processing units; optionally, the processor 610 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 610.

[0080] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the application expansion method embodiment of the above-mentioned low-code development platform is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0081] The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory, a random access memory, a magnetic disk or an optical disk.

[0082] An embodiment of the present application further provides a chip, which includes a processor and a communication interface. The communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement each process of the application expansion method embodiment of the above-mentioned low-code development platform, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0083] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0084] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the application extension method embodiment of the low-code development platform as described above, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0085] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0086] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of each embodiment of the present application.

[0087] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. An application extension system for a low-code development platform, characterized in that: include: A front-end module, wherein the front-end module is encapsulated in a first container; A back-end module, wherein the back-end module is encapsulated in a second container, and the first container and the second container are different; In the case of using the low-code function of the front-end module, the front-end module is used to obtain a first application resource, render the first application resource, obtain target content, and output the target content to a second application to display the target content in the second application; When using the low-code function of the back-end module, the back-end module parses the custom code and function configuration uploaded by the second application, and generates a corresponding function service interface for remote calling.

2. The application expansion system of the low-code development platform according to claim 1, characterized in that: The front-end module includes a BFF layer and a Web layer; When the front-end module is embedded in the second application, the type of the first application resource is parsed by the BFF layer, the type of the first application resource is output to the Web layer, the first application resource is rendered according to the type by the Web layer to obtain target content, and the target content is output to the second application; When the front-end module is not embedded in the second application, the type of the first application resource is parsed by the BFF layer, the type of the first application resource is output to the Web layer, the first application resource is rendered according to the type by the Web layer to obtain the target content, and the target content is displayed in the first application currently used by the user.

3. The application expansion system of the low-code development platform according to claim 1, characterized in that: The first application resource includes at least one of the following: User-configured resources; Custom component resources; Micro-application resources; Script resources.

4. The application expansion system of the low-code development platform according to claim 1, characterized in that: The back-end module comprises: The low-code tool unit is used to generate a functional service interface corresponding to the functional configuration according to the functional configuration uploaded by the second application.

5. The application expansion system of the low-code development platform according to claim 4, characterized in that: The back-end module comprises: A plug-in parser, used to parse the custom code uploaded by the second application; The server is used to obtain resources corresponding to the custom code according to the parsing results of the custom code, and generate a functional service interface corresponding to the custom code according to the resources through the low-code tool unit.

6. The application expansion system of the low-code development platform according to claim 1, characterized in that: The front-end module and the back-end module communicate via a target protocol.

7. An application expansion method for a low-code development platform, characterized in that: Based on the application extension system of the low-code development platform according to any one of claims 1 to 6, the application extension method includes: In case of using the low-code function of the front-end module, obtaining the first application resource through the front-end module; Rendering the first application resource through the front-end module to obtain target content; Outputting the target content to a second application through the front-end module to display the target content in the second application; When using the low-code function of the back-end module, the custom code and function configuration uploaded by the second application are parsed by the back-end module to generate a corresponding function service interface for remote calling.

8. The application expansion method of the low-code development platform according to claim 7, characterized in that: The first application resource includes target dynamic execution information corresponding to the resource configured by the user, and in the case of using the low-code function of the front-end module, obtaining the first application resource through the front-end module includes: In response to a first operation on the first interface, acquiring target dynamic execution information corresponding to the first operation according to a mapping relationship between a preset operation of the first application and the dynamic execution information; The first application resource is rendered by the front-end module to obtain target content including: The target dynamic execution information is rendered by the front-end module to obtain the execution result indicated by the target dynamic execution information.

9. The application expansion method of the low-code development platform according to claim 7, characterized in that: In the case of using the low-code function of the front-end module, obtaining the first application resource through the front-end module includes: The first application resource is obtained from the backend module based on the target protocol through the frontend module.

10. The application expansion method of the low-code development platform according to claim 9, characterized in that: The step of parsing the custom code and function configuration uploaded by the second application through the backend module and generating a corresponding function service interface for remote calling includes: According to the function configuration uploaded by the second application, a function service interface corresponding to the function configuration is generated through a low-code tool unit; Alternatively, the custom code uploaded by the second application is parsed by a plug-in parser, resources corresponding to the custom code are obtained according to the parsing result of the custom code, and a functional service interface corresponding to the custom code is generated according to the resources by a low-code tool unit.

11. The application expansion method of the low-code development platform according to claim 7, characterized in that: The rendering of the first application resource by the front-end module to obtain the target content includes: In the case where the front-end module is embedded in the second application, the type of the first application resource is parsed by the BFF layer in the front-end module, the type of the first application resource is output to the Web layer in the front-end module, the first application resource is rendered according to the type by the Web layer to obtain target content, and the target content is output to the second application; When the front-end module is not embedded in the second application, the type of the first application resource is parsed by the BFF layer, the type of the first application resource is output to the Web layer, the first application resource is rendered according to the type by the Web layer to obtain the target content, and the target content is displayed in the first application currently used by the user.

12. An application expansion device for a low-code development platform, characterized in that: include: An acquisition module, used to acquire a first application resource through the front-end module when using a low-code function of the front-end module; A rendering module, used for rendering the first application resource through the front-end module to obtain target content; an output module, configured to output the target content to a second application through the front-end module, so as to display the target content in the second application; The parsing module is used to parse the custom code and function configuration uploaded by the second application through the back-end module when using the low-code function of the back-end module, and generate the corresponding function service interface for remote calling.

13. An electronic device, characterized in that: The electronic device includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor. When the program or instruction is executed by the processor, the steps of the application expansion method of the low-code development platform as described in any one of claims 7 to 11 are implemented.