A component management method, device and medium

By obtaining and managing components in the low-code development platform, the problem of irregular component management is solved, the integration and reuse of component resources is realized, and development efficiency and user experience are improved.

CN114089962BActive Publication Date: 2024-09-20INSPUR GENERSOFT CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202111369922.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-18
Publication Date
2024-09-20
Estimated Expiration
2041-11-18

AI Technical Summary

Technical Problem

It is difficult for the existing low-code development platform to carry out systematic and standardized management of various components, resulting in non-standard component development, insufficient resource integration, and difficulty in reuse.

Method used

By obtaining the user's keyword search instructions, search for preset components in the component management library, determine the configuration file and subclass according to the component type, call the component extension interface to obtain the custom structure content, realize the project function, and provide component upload, download, Maintenance management and data analysis, optimizing component resource sharing and reuse.

Benefits of technology

It realizes the standardized integration and sharing of component resources, reduces the development process, and improves the reuse rate and user experience of component code.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114089962B
    Figure CN114089962B
Patent Text Reader

Abstract

The embodiment of the present application discloses a component management method, device and medium. Obtain a keyword search instruction sent by a user, and find the preset component corresponding to the keyword in the component management library according to the keyword; wherein the component management library includes multiple preset components; according to the type of the preset component, determine the configuration file corresponding to the preset component, and determine the subclass corresponding to the preset component in the configuration file; according to the subclass corresponding to the preset component, call the component extension interface to obtain the custom structure content corresponding to the preset component; wherein the custom structure content is the component content associated with the current project; based on the custom structure content, implement the function corresponding to the current project. Through the above method, the components are systematically managed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of low-code development, and in particular to a component management method, device and medium. Background Art

[0002] As a new trend in software development, 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, thereby speeding up the development and delivery cycle of applications.

[0003] In actual applications, if you want to complete a relatively complex project development, it usually involves more than a dozen components. So many components are difficult to manage.

[0004] Therefore, in the existing technology, it is difficult for low-code development platforms to carry out systematic and standardized management of the above scenarios. Summary of the invention

[0005] The embodiments of the present application provide a component management method, device and medium, which are used to solve the following technical problem: It is difficult to perform systematic and standardized management of a large number of components with the existing technology.

[0006] The present application embodiment adopts the following technical solutions:

[0007] The embodiment of the present application provides a component management method, which includes obtaining a keyword search instruction sent by a user, and searching for a pre-set component corresponding to the keyword in a component management library according to the keyword; wherein the component management library includes a plurality of the pre-set components; determining a configuration file corresponding to the pre-set component according to the type of the pre-set component, and determining a subclass corresponding to the pre-set component in the configuration file; calling a component extension interface according to the subclass corresponding to the pre-set component to obtain a custom structure content corresponding to the pre-set component; wherein the custom structure content is a component content associated with the current project; and realizing the function corresponding to the current project based on the custom structure content.

[0008] By obtaining pre-set components, the embodiment of the present application can save the components that the developer develops later and meet the functions of the current project, so as to not only meet the current project requirements, but also reuse the components and reuse them in similar projects to reduce the development process. Secondly, the embodiment of the present application searches for components that meet the requirements through keywords, and obtains the custom structure content corresponding to the pre-set components by calling the component extension interface to realize the specific functions in the current project. Not only can it effectively integrate component resources and make component development standardized and systematic, but it can also fully realize the sharing and reuse of component codes.

[0009] In one implementation of the present application, a configuration file corresponding to the pre-set component is determined according to the type of the pre-set component, and a subclass corresponding to the pre-set component is determined in the configuration file, specifically including: comparing the type of the pre-set component with the types in multiple configuration files to determine a configuration file that matches the type of the pre-set component; determining a logical subclass and a structural subclass corresponding to the pre-set component according to the configuration file; wherein the configuration files corresponding to components of the same type are the same.

[0010] In one implementation of the present application, a component extension interface is called according to a subclass corresponding to a preset component to obtain a custom structural content corresponding to the preset component, specifically including: determining an extension interface implementation corresponding to the component according to a logical subclass corresponding to the preset component; and determining the custom structural content in the preset component according to a structural subclass corresponding to the preset component; and calling the component extension interface through the extension interface implementation to obtain the custom structural content corresponding to the current project.

[0011] In one implementation of the present application, before finding the preset component corresponding to the keyword in the component management library, the method also includes: obtaining a component structure description file corresponding to the component management library, and obtaining a component information description based on the component structure description file; wherein the component information description includes at least one or more of the component number, component name, component type, component version, class name, method name, return value, parameter list, description information, and component content; and obtaining a component implementation extension interface to obtain, save, and serialize the component content through the component implementation extension interface.

[0012] In an implementation of the present application, before finding the pre-installed component corresponding to the keyword in the component management library, the method further includes: maintaining and managing the acquired pre-installed component based on the component management library.

[0013] The embodiment of the present application realizes resource sharing and reuse of common logic by providing component upload and download functions. Moreover, based on the construction management library, the uploaded components can be maintained and managed to update the components in real time to make them more in line with project requirements. In addition, data analysis is performed on the components, and popular components are pushed to users to help users choose appropriate components and improve the user experience.

[0014] In one implementation of the present application, the acquired pre-installed components are maintained and managed, specifically including: receiving component upgrade instructions to upgrade the components corresponding to the instructions, and displaying the upgraded latest version of the components to the user; and receiving component expiration instructions to update the status of the components corresponding to the instructions to an expired status, and no longer displaying the expired components to the user.

[0015] In one implementation of the present application, before finding the preset component corresponding to the keyword in the component management library, the method also includes: real-time monitoring and analysis of component usage data; wherein the usage data includes at least one or more of the number of queries, browsing times, and download times of the component by users; and statistics of usage feedback information corresponding to the component; wherein the usage feedback information includes at least one or more of the number of likes and comment data of the component by users; and sorting the components according to the usage data and usage feedback information to select popular components, and push the popular components to users in a priority manner.

[0016] In one implementation of the present application, before determining the configuration file corresponding to the pre-set component according to the type of the pre-set component, the method also includes: determining the characteristic information of the component according to the data information corresponding to the developed component; wherein the characteristic information includes at least one or more of the component type, functional characteristics, and industry field; uploading the component and the characteristic information corresponding to the component to the component management library to determine the corresponding type of pre-set component according to the instructions input by the user.

[0017] An embodiment of the present application provides a component management device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can: obtain a keyword search instruction sent by a user, and find a preset component corresponding to the keyword in a component management library based on the keyword; wherein the component management library includes multiple preset components; according to the type of the preset component, determine a configuration file corresponding to the preset component, and determine a subclass corresponding to the preset component in the configuration file; according to the subclass corresponding to the preset component, call a component extension interface to obtain a custom structure content corresponding to the preset component; wherein the custom structure content is component content associated with a current project; based on the custom structure content, implement a function corresponding to the current project.

[0018] A non-volatile computer storage medium provided by an embodiment of the present application stores computer executable instructions, wherein the computer executable instructions are configured to: obtain a keyword search instruction sent by a user, and search for a preset component corresponding to the keyword in a component management library according to the keyword; wherein the component management library includes multiple preset components; according to the type of the preset component, determine a configuration file corresponding to the preset component, and determine a subclass corresponding to the preset component in the configuration file; according to the subclass corresponding to the preset component, call a component extension interface to obtain a custom structure content corresponding to the preset component; wherein the custom structure content is component content associated with a current project; and based on the custom structure content, implement a function corresponding to the current project.

[0019] At least one of the above technical solutions adopted in the embodiments of the present application can achieve the following beneficial effects: the embodiments of the present application can save the components that are developed by developers later and meet the functions of the current project by obtaining pre-set components, so as to not only meet the current project requirements, but also reuse the components and reuse the components in similar projects to reduce the development process. Secondly, the embodiments of the present application search for components that meet the requirements through keywords, and obtain the custom structure content corresponding to the pre-set components by calling the component extension interface to realize specific functions in the current project. Not only can it effectively integrate component resources and make component development standardized and systematic, but it can also fully realize the sharing and reuse of component codes. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0021] In the figure:

[0022] Figure 1 A flowchart of a component management method provided in an embodiment of the present application;

[0023] Figure 2 A schematic diagram of a component management method provided in an embodiment of the present application;

[0024] Figure 3 A schematic diagram of the structure of a component management device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0025] Embodiments of the present application provide a component management method, device, and medium.

[0026] In order to enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.

[0027] As a new trend in software development, Low-Code Development Platform (LCDP) is a development platform that can quickly generate applications without coding or with a small amount of code. In applications, if you want to complete a more complex project development, you usually have to involve more than a dozen components. For example, the water system of City A developed a water fee arrears payment notification function, and this function also needs to be developed in the water system of City B. The same function must be implemented in different projects, and the functional requirements are consistent. Since different developers implement it in different projects, there are two sets of final logical implementations.

[0028] In addition, it is not easy for developers to search for components, and the content of components is not systematic, which can easily lead to omissions. Therefore, for the large number of components in low-code development platforms, it is difficult for existing technologies to manage them in a systematic and standardized manner.

[0029] In order to solve the above problems, the embodiments of the present application provide a component management method, device and medium. By obtaining the pre-set components, the components developed by the developers later and meeting the functions of the current project can be saved, so as to not only meet the current project requirements, but also reuse the components and reuse the components in similar projects to reduce the development process. Secondly, the embodiments of the present application search for components that meet the requirements through keywords, and obtain the custom structure content corresponding to the pre-set components by calling the component extension interface to realize the specific functions in the current project. Not only can the component resources be effectively integrated to make the component development standardized and systematic, but also the component code can be fully shared and reused.

[0030] The technical solution proposed in the embodiments of the present application is described in detail below with reference to the accompanying drawings.

[0031] Figure 1 A flowchart of a component management method provided in an embodiment of the present application. Figure 1 As shown, the component management method includes the following steps:

[0032] S101: The component management device obtains a keyword search instruction sent by a user, and searches for a preset component corresponding to the keyword in a component management library according to the keyword. The component management library includes a plurality of preset components.

[0033] In one embodiment of the present application, the component management device obtains the component structure description file corresponding to the component management library, and obtains the component information description based on the component structure description file, and obtains the component implementation extension interface to obtain, save and serialize the component content through the component implementation extension interface.

[0034] Specifically, a general component structure description file is defined in advance for the component management library. The file provides basic component information description. The component information description includes at least one or more of component number, component name, component type, component version, class name, method name, return value type, parameter list, description information, component content, and whether it is expired. For details, see the description table of a general component structure description file shown in Table 1.

[0035] Property Name meaning CompCode Component number. CompName The name of the component. CompType Component type. CompVersion Component version. ClassName The class name to which it belongs. It is used to record the class to which the component's corresponding code belongs. MethodName Method name. Used to record the method name corresponding to the component. ReturnType Return value type. Used to record the type of the method return value. ParamList Parameter list. Used to record parameter encoding, type and other information. Note Description information: Used to record the purpose and characteristics of the component. Content Component content. Used to record custom content of different types of components. Enable Whether it has expired.

[0036] Table 1

[0037] As shown in Table 1, the general component structure description file contains multiple attributes, and different components can be determined according to different attributes, so that components that meet the current project requirements can be accurately found. Among them, the customized content based on the current project requirements is written into the component content, so that the customized content can be called through the component extension interface.

[0038] For example, a description type class can be encapsulated for return value and parameter type, mainly including basic type, collection type, and user-defined class full name. For details, see Table 2 for a specific description table of the encapsulated description type class.

[0039]

[0040] Table 2

[0041] Specifically, a general component implementation extension interface is defined in advance for the component management library. The interface provides the necessary methods for component operation, mainly including component content acquisition method, component content storage method, and component content serialization method. For details, please refer to the description table of a component implementation extension interface shown in Table 3.

[0042]

[0043] Table 3

[0044] In one embodiment of the present application, an extended interface is implemented based on various types of components, and is centrally scheduled by a component library during runtime.

[0045] In one embodiment of the present application, characteristic information of the component is determined based on data information corresponding to the developed component. The characteristic information includes at least one or more of component type, functional characteristics, and industry field. The component and the characteristic information corresponding to the component are uploaded to the component management library to determine the corresponding type of pre-set component according to the instruction input by the user.

[0046] Specifically, developers write custom content into the component content according to the current project requirements. Developers need to determine the characteristics of the component in advance, such as the type of the component, the functional characteristics of the component, and the industry field to which the component belongs. The component and the corresponding characteristic information of the component are uploaded to the component management library. At this time, each component will have a corresponding label. When users search for related components later, they only need to enter keywords to find the corresponding components for download and use.

[0047] In one embodiment of the present application, the acquired pre-installed components are maintained and managed based on the component management library.

[0048] In one embodiment of the present application, the component management device receives a component upgrade instruction to upgrade the component corresponding to the instruction and displays the upgraded latest version of the component to the user. It also receives a component expiration instruction to update the state of the component corresponding to the instruction to an expired state and no longer displays the expired component to the user.

[0049] Specifically, in the component management library function, developers can continuously maintain the components they upload. After the component is upgraded, the component library will uniformly upgrade and manage the version. Other developers can see and use the specific version of the component. The component management library provides the latest version of the component by default. In addition, in the component management library function, developers can set the specific version of the component they uploaded to an expired state. After the expiration, other developers will not be able to query the version.

[0050] In addition, in the component management library function, developers can query components according to different dimensions. For example, component type, functional characteristics, industry field, etc. Also, in the component management library function, developers can upload components they have developed. After uploading, the component library will manage and classify them uniformly. At the same time, developers can also search for required components in the component library according to their needs. At this time, the component management library will filter out components that meet the conditions. Developers can select components that suit them and download them for use.

[0051] In one embodiment of the present application, the component management device monitors and analyzes the usage data of the component in real time. The usage data includes at least one or more of the number of queries, browsing times, and download times of the component by the user. And the component management device counts the usage feedback information corresponding to the component. The usage feedback information includes at least one or more of the number of likes and comment data of the component by the user. According to the usage data and the usage feedback information, the components are sorted to select popular components, and the popular components are pushed to the user first.

[0052] Specifically, in the component management library function, statistics and analysis will be conducted on the query, browsing, and downloading of components to identify various hot components. It also provides functions such as likes and comments, so that developers can provide feedback on the use of components or make valuable suggestions after use. The component management library will also rank components based on hot components, the number of likes, and other information to push popular components.

[0053] In one embodiment of the present application, the user obtains the corresponding component in the component management library according to the current project requirements. At this time, the user can enter the keyword corresponding to the component to be searched to perform component search.

[0054] For example, in a certain project, a low-code development platform is used to develop organizational management functions. Based on the low-code development platform, rapid modeling is performed to complete basic operations such as adding, deleting, modifying, and checking organizational management functions. However, the organizational structure is a tree structure, and tree-structure related components need to be added. With the help of the component management function, search for the keyword "tree structure", and the returned results include a component group called "tree structure component operation package", which includes components: adding the same-level web component, adding a child-level web component, adding the same-level assembly component, adding a child-level assembly component, deleting and cascading child components, query components for obtaining data by level, components for verifying tree information before saving, and whether to calculate detailed components. At this time, users can package and download the above components.

[0055] S102: Determine a configuration file corresponding to the pre-installed component according to the type of the pre-installed component, and determine a subclass corresponding to the pre-installed component in the configuration file.

[0056] In one embodiment of the present application, the type of the pre-set component is compared with the types in multiple configuration files to determine the configuration file that matches the type of the pre-set component. According to the configuration file, the logical subclass and structural subclass corresponding to the pre-set component are determined. Among them, the configuration files corresponding to the components of the same type are the same.

[0057] Specifically, the embodiment of the present application is provided with a configuration file in advance, and the configuration file contains a component type and a component subclass. Among them, each configuration file corresponds to a type of component. According to the component type, the corresponding configuration file can be determined, and the logic subclass and the structure subclass can be determined according to the configuration file. Among them, the component logic subclass is an interface implementation, and the component structure subclass is a custom structure. For details, please refer to the description table of a configuration file shown in Table 4.

[0058] Property Name meaning CompType Component type. ComponentClassName The full name of the component structure subclass. ComponentManager The full name of the component logic implementation class subclass.

[0059] Table 4

[0060] Specifically, the configuration file mainly includes the component type, the full name of the component structure subclass, and the full name of the component logic implementation subclass. Each type of configuration file corresponds to the corresponding full name of the structure subclass and the corresponding full name of the logic subclass.

[0061] S103: According to the subclass corresponding to the preset component, the component extension interface is called to obtain the user-defined structure content corresponding to the preset component.

[0062] In one embodiment of the present application, the extended interface implementation corresponding to the pre-set component is determined according to the logical subclass corresponding to the pre-set component. And the custom structure content in the pre-set component is determined according to the structural subclass corresponding to the pre-set component. The component extended interface is called through the extended interface implementation to obtain the custom structure content corresponding to the current project.

[0063] Specifically, in the configuration file corresponding to the pre-installed component found, the logical subclass of the pre-installed component is determined, so that the corresponding extended interface implementation of the pre-installed component is determined according to the logical subclass. And according to the structural subclass corresponding to the configuration file, the custom structural content corresponding to the pre-installed component is determined. Therefore, the corresponding acquisition method of the pre-installed component is reflected and called to acquire the custom structural content.

[0064] Figure 2 A schematic diagram of a component management method provided in an embodiment of the present application. Figure 2As shown, developers can upload various components such as submission and approval web components, personnel management attendance statistics web components, and personnel management performance query web components to the low-code development platform. Users search for corresponding components in the component management library according to the current project requirements, and can call the component common structure in the component management library at this time. According to the type of component, the configuration file of the component is determined, and the corresponding extension interface implementation is determined through the configuration file. The web component, or the assembly component, or the custom content in the pre-deletion verification component is retrieved through the extension interface. For example, if the function that the current project needs to implement is personnel attendance statistics, then the corresponding interface implementation is used to call the component extension interface to obtain the personnel management attendance statistics web component in the web component. Download the component to implement the function of the current project.

[0065] S104. Based on the custom structure content, the corresponding function of the current project is realized.

[0066] In one embodiment of the present application, developers can also search for required components in the component management library according to their needs. At this time, the component management library will filter out components that meet the conditions. Developers can select components that are suitable for them according to the custom structure content in the components and download them for use.

[0067] For example, the user uses the component management function to search for the keyword "tree structure", and the returned results include the component group of "tree structure component operation package". It contains components: adding the same-level web component, adding the child-level web component, adding the same-level assembly component, adding the child-level assembly component, deleting the child component in cascade after deletion, query component for obtaining data by level, component for verifying tree information before saving, component for whether to calculate details, etc. At this time, the user downloads the component he has found.

[0068] Based on the current project requirements, add assembly components in the back-end view layer modeling, add the same-level assembly components, and add the sub-level assembly components. Add web components in the front-end form modeling, add the same-level web components, and add the sub-level web components. At this point, the function has completed the implementation of adding tree-level organizations and sub-organizations.

[0069] Furthermore, in the back-end business entity modeling, add a post-deletion component to cascade delete the child components. At this time, in the organization management function, when an organization is deleted, the subordinate organizations will be cascade deleted.

[0070] Furthermore, a query extension component is added to the back-end view layer modeling, and a query component for obtaining data by level is added. At this time, when querying data in the organization management function, the hierarchical loading logic is implemented, which improves the performance of function loading.

[0071] Furthermore, in the back-end business entity modeling, a pre-save check component and a check tree information component are added. At this time, in the organization management function, when data is saved, it will be checked whether the parent data of the current check exists to avoid junk data that has no parent node and is not a root node.

[0072] Furthermore, in the back-end business entity modeling, add the expansion component after data acquisition and the detailed calculation component. At this time, in the organization management function, after obtaining the data, it will determine whether the data is a detailed point according to the current data query structure, and correct the value of the detailed field.

[0073] Figure 3 This is a schematic diagram of the structure of a component management device provided in an embodiment of the present application. Figure 3 As shown, the component management device includes:

[0074] at least one processor; and,

[0075] a memory communicatively connected to the at least one processor; wherein,

[0076] The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:

[0077] Acquire a keyword search instruction sent by a user, and search for a preset component corresponding to the keyword in a component management library according to the keyword; wherein the component management library includes a plurality of the preset components;

[0078] According to the type of the pre-installed component, a configuration file corresponding to the pre-installed component is determined, and a subclass corresponding to the pre-installed component is determined in the configuration file;

[0079] According to the subclass corresponding to the preset component, the component extension interface is called to obtain the custom structure content corresponding to the preset component; wherein the custom structure content is the component content associated with the current project;

[0080] Based on the custom structure content, the corresponding function of the current project is implemented.

[0081] The embodiment of the present application provides a non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured as follows:

[0082] Acquire a keyword search instruction sent by a user, and search for a preset component corresponding to the keyword in a component management library according to the keyword; wherein the component management library includes a plurality of the preset components;

[0083] According to the type of the pre-installed component, a configuration file corresponding to the pre-installed component is determined, and a subclass corresponding to the pre-installed component is determined in the configuration file;

[0084] According to the subclass corresponding to the preset component, the component extension interface is called to obtain the custom structure content corresponding to the preset component; wherein the custom structure content is the component content associated with the current project;

[0085] Based on the custom structure content, the corresponding function of the current project is implemented.

[0086] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device, equipment, and non-volatile computer storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0087] The above describes specific embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0088] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the embodiments of the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the embodiments of the present application should be included in the scope of the claims of the present application.

Claims

1. A component management method, It is characterized in that The method comprises: Acquire a keyword search instruction sent by a user, and search for a preset component corresponding to the keyword in a component management library according to the keyword; wherein the component management library includes a plurality of the preset components; According to the type of the pre-installed component, a configuration file corresponding to the pre-installed component is determined, and a subclass corresponding to the pre-installed component is determined in the configuration file; According to the subclass corresponding to the preset component, the component extension interface is called to obtain the custom structure content corresponding to the preset component; wherein the custom structure content is the component content associated with the current project; Based on the custom structure content, the corresponding function of the current project is implemented.

2. A component management method according to claim 1, It is characterized in that The step of determining a configuration file corresponding to the pre-installed component according to the type of the pre-installed component, and determining a subclass corresponding to the pre-installed component in the configuration file specifically includes: Comparing the type of the preset component with the types in the plurality of configuration files to determine a configuration file that matches the type of the preset component; According to the configuration file, determining the logic subclass and the structure subclass corresponding to the preset component; Among them, the configuration files corresponding to components of the same type are the same.

3. A component management method according to claim 2, It is characterized in that The calling of the component extension interface according to the subclass corresponding to the preset component to obtain the custom structure content corresponding to the preset component specifically includes: Determining the extended interface implementation corresponding to the preset component according to the logical subclass corresponding to the preset component; and Determining the custom structure content in the prefabricated component according to the structural subclass corresponding to the prefabricated component; The component extension interface is called through the extension interface to obtain the custom structure content corresponding to the current project.

4. A component management method according to claim 1, It is characterized in that Before searching the component management library for the preset component corresponding to the keyword, the method further includes: Obtaining a component structure description file corresponding to the component management library, and obtaining a component information description based on the component structure description file; wherein the component information description includes at least one or more of a component number, a component name, a component type, a component version, a class name, a method name, a return value, a parameter list, a description information, and a component content; and The component implementation extension interface is obtained, so as to obtain, save and serialize the component content through the component implementation extension interface.

5. A component management method according to claim 1, It is characterized in that Before searching the component management library for the preset component corresponding to the keyword, the method further includes: Based on the component management library, maintenance and management are performed on the acquired pre-installed components.

6. A component management method according to claim 5, It is characterized in that The maintenance and management of the acquired pre-installed components specifically includes: receiving a component upgrade instruction, upgrading the component corresponding to the instruction, and displaying the upgraded latest version of the component to the user; and A component expiration instruction is received to update the state of the component corresponding to the instruction to an expired state, and the expired component is no longer displayed to the user.

7. A component management method according to claim 5, It is characterized in that Before searching the component management library for the preset component corresponding to the keyword, the method further includes: Performing real-time monitoring and analysis on usage data of the component; wherein the usage data includes at least one or more of the number of queries, browsing times, and download times of the component by the user; and Collecting statistics on usage feedback information corresponding to the component; wherein the usage feedback information includes at least one or more of the number of likes and comment data of the user on the component; The components are sorted according to the usage data and the usage feedback information to select popular components, and the popular components are pushed to users in priority.

8. A component management method according to claim 1, It is characterized in that Before determining the configuration file corresponding to the preset component according to the type of the preset component, the method further includes: Determine characteristic information of the component according to data information corresponding to the developed component; wherein the characteristic information includes at least one or more of component type, functional characteristics, and industry field; The components and the characteristic information corresponding to the components are uploaded to the component management library, so as to determine the corresponding type of pre-set components according to the instructions input by the user.

9. A component management device, include: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to: Acquire a keyword search instruction sent by a user, and search for a preset component corresponding to the keyword in a component management library according to the keyword; wherein the component management library includes a plurality of the preset components; According to the type of the pre-installed component, a configuration file corresponding to the pre-installed component is determined, and a subclass corresponding to the pre-installed component is determined in the configuration file; According to the subclass corresponding to the preset component, the component extension interface is called to obtain the custom structure content corresponding to the preset component; wherein the custom structure content is the component content associated with the current project; Based on the custom structure content, the corresponding function of the current project is implemented.

10. A non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured to: Obtaining a keyword search instruction sent by a user, and searching for a preset component corresponding to the keyword in a component management library according to the keyword; in, The component management library includes a plurality of the pre-set components; According to the type of the pre-installed component, a configuration file corresponding to the pre-installed component is determined, and a subclass corresponding to the pre-installed component is determined in the configuration file; According to the subclass corresponding to the preset component, the component extension interface is called to obtain the custom structure content corresponding to the preset component; wherein the custom structure content is the component content associated with the current project; Based on the custom structure content, the corresponding function of the current project is implemented.

Citation Information

Patent Citations

  • Low-code application software development system and method

    CN110825362A

  • Visual component generation method and device, computer equipment and readable storage medium

    CN112861059A

  • Database extension method and equipment for low-code development platform

    CN112905624A

  • Low-Code Development Platform

    US20210255842A1