Nothing Special   »   [go: up one dir, main page]

CN113868481A - Component acquisition method, device, electronic device and storage medium - Google Patents

Component acquisition method, device, electronic device and storage medium Download PDF

Info

Publication number
CN113868481A
CN113868481A CN202111242920.0A CN202111242920A CN113868481A CN 113868481 A CN113868481 A CN 113868481A CN 202111242920 A CN202111242920 A CN 202111242920A CN 113868481 A CN113868481 A CN 113868481A
Authority
CN
China
Prior art keywords
components
component
user
target user
behavior data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111242920.0A
Other languages
Chinese (zh)
Inventor
杨磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202111242920.0A priority Critical patent/CN113868481A/en
Publication of CN113868481A publication Critical patent/CN113868481A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/906Clustering; Classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/907Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/908Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Library & Information Science (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请实施例公开了一种组件获取方法、装置及电子设备和存储介质,获得目标用户已选择的至少部分组件;至少基于上述至少部分组件,确定至少部分组件的关联组件,生成关联组件列表;显示关联组件列表,以用于目标用户进行组件选择。基于本申请,在用户搭建交互表单的过程中,可以根据用户已选择的至少部分组件为用户推荐已选择的至少部分组件的关联组件,降低了用户选择组件的范围,从而降低了用户获取所需组件的难度。

Figure 202111242920

The embodiments of the present application disclose a component acquisition method, apparatus, electronic device, and storage medium, to acquire at least some components selected by a target user; based on at least the above at least some components, determine the associated components of at least some of the components, and generate a list of associated components; Displays a list of associated components for component selection by target users. Based on the present application, in the process of building an interactive form by a user, the associated components of at least some of the selected components can be recommended for the user according to at least some of the components selected by the user, which reduces the range of components selected by the user, thereby reducing the need for users to obtain Difficulty of components.

Figure 202111242920

Description

组件获取方法、装置及电子设备和存储介质Component acquisition method, device, electronic device and storage medium

技术领域technical field

本申请涉及软件技术领域,更具体地说,涉及一种组件获取方法、装置及电子设备和存储介质。The present application relates to the field of software technology, and more particularly, to a component acquisition method, apparatus, electronic device, and storage medium.

背景技术Background technique

低代码平台能够让用户(即软件开发者)通过拖、拉、拽组件,就能够完成应用程序的交互表单的搭建,降低了对用户的技术要求。然而,用户在利用低代码平台开发软件的过程中,需要通过获取组件这种资源来搭建交互表单。目前主要由用户根据检索关键字/词进行检索来获得所需的组件,然后将获得的组件拖拽到设计区进行表单搭建。这种方法在低代码平台中组件的数量规模较大时,用户检索组件的难度就会增大。The low-code platform enables users (ie, software developers) to complete the construction of interactive forms of applications by dragging, pulling, and dragging components, reducing the technical requirements for users. However, in the process of developing software using a low-code platform, users need to build interactive forms by acquiring resources such as components. At present, the user mainly searches according to the search keywords/words to obtain the required components, and then drags the obtained components to the design area to build the form. This approach increases the difficulty for users to retrieve components when the number of components in a low-code platform is large.

因此,如何降低用户获取组件的难度成为亟待解决的技术问题。Therefore, how to reduce the difficulty for users to obtain components has become an urgent technical problem to be solved.

发明内容SUMMARY OF THE INVENTION

本申请的目的是提供一种组件获取方法、装置及电子设备和存储介质,包括如下技术方案:The purpose of this application is to provide a component acquisition method, device, electronic device and storage medium, including the following technical solutions:

一种组件获取方法,所述方法包括:A component acquisition method, the method includes:

获得目标用户已选择的至少部分组件;Obtain at least some of the components that the target user has selected;

至少基于所述至少部分组件,确定所述至少部分组件的关联组件,生成关联组件列表;At least based on the at least some of the components, determine the associated components of the at least some of the components, and generate a list of associated components;

显示所述关联组件列表,以用于所述目标用户进行组件选择。The list of associated components is displayed for component selection by the target user.

上述方法,优选的,还包括:获得所述目标用户的属性特征;The above method, preferably, further comprises: obtaining the attribute characteristics of the target user;

所述至少基于所述至少部分组件,确定所述至少部分组件的关联组件,包括:The determining, based at least on the at least some of the components, an associated component of the at least some of the components includes:

基于所述目标用户的属性特征,以及所述至少部分组件,确定所述至少部分组件的关联组件。Based on the attribute characteristics of the target user and the at least part of the components, an associated component of the at least part of the components is determined.

上述方法,优选的,所述基于所述目标用户的属性特征,以及所述至少部分组件,确定所述至少部分组件的关联组件,包括:In the above method, preferably, the determining of the associated components of the at least part of the components based on the attribute characteristics of the target user and the at least part of the components includes:

通过组件预测引擎处理所述目标用户的属性特征和所述至少部分组件,得到所述至少部分组件的关联组件;Process the attribute feature of the target user and the at least some of the components by a component prediction engine to obtain the associated components of the at least some of the components;

所述组件预测引擎基于低代码平台的各个用户的属性特征和历史行为数据得到;每个用户的历史行为数据至少包括该用户历史搭建交互表单时选择的组件,以及选择的组件的顺序。The component prediction engine is obtained based on the attribute characteristics and historical behavior data of each user of the low-code platform; the historical behavior data of each user at least includes the components selected when the user historically built the interactive form, and the order of the selected components.

上述方法,优选的,所述基于所述目标用户的属性特征,以及所述至少部分组件,确定所述至少部分组件的关联组件,包括:In the above method, preferably, the determining of the associated components of the at least part of the components based on the attribute characteristics of the target user and the at least part of the components includes:

获得所述目标用户的属性特征关联的目标组件预测引擎;Obtain the target component prediction engine associated with the attribute feature of the target user;

通过所述目标组件预测引擎处理所述目标用户的属性特征和所述至少部分组件,得到所述至少部分组件的关联组件;Process the attribute feature of the target user and the at least some components by the target component prediction engine, and obtain the associated components of the at least some components;

所述目标组件预测引擎基于低代码平台的具有所述属性特征或相似属性特征的各个用户的属性特征和历史行为数据得到;每个用户的历史行为数据至少包括该用户历史搭建交互表单时选择的组件,以及选择的组件的顺序。The target component prediction engine is obtained based on the attribute characteristics and historical behavior data of each user with the attribute characteristics or similar attribute characteristics of the low-code platform; the historical behavior data of each user at least includes the historical behavior data selected by the user when building an interactive form. components, and the order in which the components are selected.

上述方法,优选的,所述目标组件预测引擎通过如下方式得到:In the above method, preferably, the target component prediction engine is obtained in the following manner:

对所述低代码平台的各个用户的属性特征进行聚类,得到第一聚类结果;Clustering the attribute features of each user of the low-code platform to obtain a first clustering result;

对所述低代码平台的各个用户的历史行为数据按照所述第一聚类结果中的各个聚类类别进行分类;classifying the historical behavior data of each user of the low-code platform according to each clustering category in the first clustering result;

对应每一聚类类别,利用分类得到的该聚类类别的历史行为数据对组件预测引擎进行训练,得到该聚类类别关联的组件预测引擎;Corresponding to each cluster category, use the historical behavior data of the cluster category obtained by classification to train the component prediction engine, and obtain the component prediction engine associated with the cluster category;

所述目标用户的属性特征所属的聚类类别关联的组件预测引擎为所述目标组件预测引擎。The component prediction engine associated with the cluster category to which the attribute feature of the target user belongs is the target component prediction engine.

上述方法,优选的,还包括:The above method, preferably, also includes:

在所述目标用户未选择组件时,根据所述目标用户的属性特征确定至少一个历史选择组件,生成历史选择组件列表;所述至少一个历史选择组件为具有所述属性特征或相似属性特征的各个用户的历史行为数据的首个选择的组件中,选择频率最高的至少一个组件;When the target user does not select a component, at least one historical selection component is determined according to the attribute characteristics of the target user, and a list of historical selection components is generated; the at least one historical selection component is each of the attribute characteristics or similar attribute characteristics. Among the first selected components of the user's historical behavior data, at least one component with the highest frequency is selected;

显示所述历史选择组件列表,以用于所述目标用户选择用于搭建表单的首个组件。The list of historically selected components is displayed for the target user to select the first component for building the form.

上述方法,优选的,还包括:The above method, preferably, also includes:

从数据库中获取所述关联组件列表中的组件;Obtain the components in the associated component list from the database;

将获取到的组件进行缓存。Cache the obtained components.

一种组件获取装置,包括:A component acquisition device, comprising:

获得模块,用于获得目标用户已选择的至少部分组件;Obtaining a module for obtaining at least some of the components selected by the target user;

确定模块,用于至少基于所述至少部分组件,确定所述至少部分组件的关联组件,生成关联组件列表;a determining module, configured to determine the associated components of the at least some of the components based on at least the at least some of the components, and generate a list of associated components;

显示模块,用于显示所述关联组件列表,以用于所述目标用户进行组件选择。A display module, configured to display the associated component list for the target user to select components.

一种电子设备,包括:An electronic device comprising:

存储器,用于存储计算机程序;memory for storing computer programs;

处理器,用于执行所述计算机程序,实现如上任一项所述的组件获取方法的各个步骤。The processor is configured to execute the computer program to implement each step of the component acquisition method described in any one of the above.

一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时,实现如上任一项所述的组件获取方法的各个步骤。A computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements each step of the component acquisition method described in any one of the above.

通过以上方案可知,本申请提供的一种组件获取方法、装置及电子设备和存储介质,获得目标用户已选择的至少部分组件;至少基于上述至少部分组件,确定至少部分组件的关联组件,生成关联组件列表;显示关联组件列表,以用于目标用户进行组件选择。基于本申请,在用户搭建交互表单的过程中,可以根据用户已选择的至少部分组件为用户推荐已选择的至少部分组件的关联组件,降低了用户选择组件的范围,从而降低了用户获取所需组件的难度。It can be seen from the above solutions that a component acquisition method, device, electronic device, and storage medium provided by the present application can obtain at least some components selected by a target user; based on at least some of the above components, determine the associated components of at least some components, and generate associations Component list; displays a list of associated components for component selection by target users. Based on the present application, in the process of building an interactive form by a user, the associated components of at least some of the selected components can be recommended for the user according to at least some of the components selected by the user, which reduces the range of components selected by the user, thereby reducing the need for users to obtain Component difficulty.

附图说明Description of drawings

为了更清楚地说明本申请实施例的技术方案,下面将对实施例所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions of the embodiments of the present application more clearly, the following briefly introduces the accompanying drawings that are used in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application, which are very important in the art. For those of ordinary skill, other drawings can also be obtained from these drawings without any creative effort.

图1为本申请实施例提供的组件获取方法的一种实现流程图;FIG. 1 is a flow chart of an implementation of a method for obtaining a component provided by an embodiment of the present application;

图2为本申请实施例提供的基于目标用户的属性特征,以及上述至少部分组件,确定上述至少部分组件的关联组件的一种实现流程图;2 is a flowchart of an implementation of determining the associated components of the above at least some components based on the attribute characteristics of the target user and the above at least some components according to the embodiment of the present application;

图3为本申请实施例提供的对低代码平台的各个用户的历史行为数据按照第一聚类结果中的各个聚类类别进行分类的一种实现流程图;Fig. 3 is a kind of realization flow chart of classifying the historical behavior data of each user of the low-code platform according to each clustering category in the first clustering result provided by the embodiment of the present application;

图4为本申请实施例提供的组件获取装置的一种结构示意图;FIG. 4 is a schematic structural diagram of a component acquisition device provided by an embodiment of the present application;

图5为本申请实施例提供的电子设备的硬件结构框图的示例图。FIG. 5 is an example diagram of a hardware structural block diagram of an electronic device provided by an embodiment of the present application.

说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”“第四”等(如果存在)是用于区别类似的部分,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例,能够以除了在这里图示的以外的顺序实施。The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims and the above-mentioned drawings are used to distinguish similar parts and not necessarily to describe a particular order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the application described herein can be implemented in sequences other than those illustrated herein.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有付出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the protection scope of the present application.

目前,用户(即软件开发人员)在利用低代码平台搭建交互表单的时候,主要是根据检索关键词进行检索来获得所需的组件,然后将获得的组件拖拽到设计区进行表单(应用程序的前端交互界面,该交互界面中可以包括例如输入框、下拉框、支持搜索的列表、支持翻页的列表等等)搭建。这种基于检索关键字/词的方法依赖于用户对组件资源的索引关键字/词的掌握程度,如果用户不了解该组件资源的关键字/词,就无法准确找到该组件资源。而且,随着组件资源数量的增多,用户掌握组件资源的索引关键字/词的难度也随之增加(因为需要记忆的索引关键字/词的数量增多了),进一步增加了用户获取所需组件的难度。At present, when users (ie software developers) build interactive forms using a low-code platform, they mainly search according to search keywords to obtain the required components, and then drag and drop the obtained components to the design area to make the form (application program). The front-end interactive interface, which can include, for example, an input box, a drop-down box, a list that supports searching, a list that supports page turning, etc.) This method based on retrieval keywords/words depends on the user's mastery of the index keywords/words of the component resources. If the user does not know the keywords/words of the component resources, the component resources cannot be accurately found. Moreover, as the number of component resources increases, the difficulty for users to master the index keywords/words of component resources also increases (because the number of index keywords/words that need to be memorized increases), which further increases users' acquisition of required components difficulty.

也有一些方案通过对低代码平台的组件资源分类,提供组件资源浏览查找功能,但该方法依赖用户对资源组件所属分类的了解,如果资源组件本身分类不清晰或者用户对该分类不了解,就很难快速定位到所需的组件资源。There are also some solutions that provide the component resource browsing and searching function by classifying the component resources of the low-code platform, but this method relies on the user's understanding of the classification of the resource component. If the resource component itself is not clearly classified or the user does not understand the classification, it is very It is difficult to quickly locate the required component resources.

为了降低用户获取所需组件的难度,提出本申请方案。In order to reduce the difficulty for users to obtain required components, the solution of the present application is proposed.

请参阅图1,为本申请实施例提供的组件获取方法的一种实现流程图,可以包括:Please refer to FIG. 1, which is an implementation flowchart of the component acquisition method provided by the embodiment of the present application, which may include:

步骤S101:获得目标用户已选择的至少部分组件。Step S101: Obtain at least some components selected by the target user.

这里的目标用户可以是指登录低代码平台的任意一个用户。用户在登录低代码平台后,可以根据开发需求选择组件来搭建交互表单。The target user here can refer to any user who logs in to the low-code platform. After logging in to the low-code platform, users can select components to build interactive forms according to development requirements.

本申请实施例中,目标用户已选择的组件可以是目标用户在低代码平台通过检索关键字/词检索到的组件,或者,可以是基于本申请实施例提供的组件获取方法选择的组件,或者,部分是在低代码平台通过检索关键字/词检索到的组件,部分是基于本申请实施例提供的组件获取方法选择的组件。In this embodiment of the present application, the component selected by the target user may be a component retrieved by the target user by searching keywords/words on the low-code platform, or may be a component selected based on the component acquisition method provided in this embodiment of the present application, or , some of which are components retrieved on the low-code platform by retrieving keywords/words, and some are components selected based on the component acquisition method provided by the embodiments of the present application.

目标用户已选择的至少部分组件可以是指目标用户登录低代码平台后选择的所有组件,或者,可以是指目标用户登录低代码平台后选择的所有组件中最后选择的部分组件(比如,最后选择的一个或两个组件,当然,这里只是示例性说明,具体实现时,最后选择的部分组件还可以是其它数量,比如,最后选择的3个组件,最后选择的4个组件等等)。At least some of the components selected by the target user may refer to all the components selected by the target user after logging in to the low-code platform, or may refer to the last selected part of all the components selected by the target user after logging in to the low-code platform (for example, the last selected component). Of course, this is only an exemplary description. During specific implementation, some components selected at the end may also be other numbers, for example, the last selected 3 components, the last selected 4 components, etc.).

步骤S102:至少基于上述至少部分组件,确定该至少部分组件的关联组件,生成关联组件列表。Step S102: Based on at least some of the above-mentioned components, determine the associated components of the at least some of the components, and generate a list of associated components.

本申请实施例中,可以仅基于上述至少部分组件确定上述至少部分组件的关联组件,或者,可以基于上述至少部分组件,以及其它信息确定上述至少部分组件的关联组件。In this embodiment of the present application, the associated components of the above at least some components may be determined only based on the above at least some components, or the associated components of the above at least some components may be determined based on the above at least some components and other information.

上述至少部分组件的关联组件是指上述至少部分组件出现在表单设计区(被目标用户选择)后,下一个可能会出现在表单设计区的组件(即下一个可能会被目标用户选择的组件,或者说是目标用户下一个可能会选择的组件)。The associated component of the above at least some components refers to the component that may appear in the form design area next after at least some of the above components appear in the form design area (selected by the target user) (that is, the next component that may be selected by the target user, Or the next component the target user might choose).

步骤S103:显示关联组件列表,以用于目标用户进行组件选择。Step S103: Display a list of associated components for the target user to select components.

显示关联组件列表即是将关联组件列表中的组件推荐给目标用户,用户可以在该关联组件列表中选择组件进行表单搭建。Displaying the list of associated components means recommending the components in the list of associated components to the target user, and the user can select components in the list of associated components to build a form.

该关联组件列表可以通过一个交互窗口进行显示,用户可以将交互窗口内容的组件拖拽到表单设计区以在表单设计区搭建表单。The list of associated components can be displayed through an interactive window, and the user can drag and drop the components of the interactive window content to the form design area to build a form in the form design area.

该交互窗口可以显示在表单设计区的周边某个位置;或者,The interactive window can be displayed somewhere around the form design area; or,

交互窗口可以悬浮显示在表单设计区上方,目标用户可以对交互窗口进行拖拽,以改变交互窗口的显示位置。The interactive window can be suspended above the form design area, and the target user can drag and drop the interactive window to change the display position of the interactive window.

本申请实施例提供的组件获取方法,在用户搭建交互表单的过程中,可以根据用户已选择的至少部分组件为用户推荐已选择的至少部分组件的关联组件,降低了用户选择组件的范围,从而降低了用户获取所需组件的难度。In the component acquisition method provided by the embodiment of the present application, in the process of building the interactive form by the user, the associated components of at least some of the selected components can be recommended for the user according to at least some of the components selected by the user, which reduces the scope of the components selected by the user, thereby reducing the scope of the user's selection of components. It reduces the difficulty for users to obtain the required components.

在可以选的实施例中,还可以获取目标用户的属性特征,基于此,上述至少基于上述至少部分组件,确定上述至少部分组件的关联组件的一种实现方式可以为:In an optional embodiment, the attribute characteristics of the target user may also be acquired, and based on this, an implementation manner of determining the associated components of the at least some of the above-mentioned at least some of the above-mentioned components may be as follows:

基于目标用户的属性特征,以及上述至少部分组件,确定上述至少部分组件的关联组件。Based on the attribute characteristics of the target user and the above at least some components, the associated components of the above at least some components are determined.

用户的属性特征可以包括用户的专业特征,比如,用户所属的专业领域。可选的,用户的属性特征可以在目标用户登录低代码平台后,从目标用户注册的身份信息中提取,比如,用户所属的专业领域可以是用户所从事的工作岗位(软件工程师)和工作性质(比如,研发、运维等);或者,用户所属的专业领域可以是用户注册的所研发软件的应用领域(比如,财务领域、法务领域等)。The attribute feature of the user may include the professional feature of the user, for example, the professional field to which the user belongs. Optionally, the attribute characteristics of the user can be extracted from the identity information registered by the target user after the target user logs in to the low-code platform. For example, the professional field to which the user belongs can be the job position (software engineer) and the nature of the job the user is engaged in. (for example, research and development, operation and maintenance, etc.); or, the professional field to which the user belongs may be the application field of the developed software registered by the user (for example, the financial field, the legal field, etc.).

本申请实施例中,结合低代码平台用户的属性特征,以及低代码平台用户的历史行为数据来确定目标用户已选择的至少部分组件的关联组件,使得所确定的关联组件符合用户的属性特征,从而进一步降低用户获取所需组件的难度。In the embodiment of the present application, the associated components of at least some components selected by the target user are determined in combination with the attribute characteristics of the low-code platform user and the historical behavior data of the low-code platform user, so that the determined associated components conform to the user's attribute characteristics, This further reduces the difficulty for users to obtain required components.

在一可选的实施例中,上述基于目标用户的属性特征,以及上述至少部分组件,确定上述至少部分组件的关联组件的一种实现方式可以包括:In an optional embodiment, an implementation manner of determining the associated components of the above at least some components based on the attribute characteristics of the target user and the above at least some components may include:

通过组件预测引擎处理目标用户的属性特征和上述至少部分组件,得到上述至少部分组件的关联组件;其中,The attribute features of the target user and the above at least some of the components are processed by the component prediction engine to obtain the associated components of the above at least some of the components; wherein,

上述组件预测引擎基于低代码平台的各个用户的属性特征和历史行为数据得到;每个用户的历史行为数据至少包括该用户历史搭建交互表单时选择组件,以及选择的组件的顺序。The above component prediction engine is obtained based on the attribute characteristics and historical behavior data of each user of the low-code platform; the historical behavior data of each user includes at least the components selected when the user historically builds the interactive form, and the order of the selected components.

也就是说,本申请实施例中,对于低代码平台的每个用户,每次该用户搭建交互表单后,代码交互平台可以保存该用户搭建交互表单所选择的组件,以及组件的选择顺序,作为该用户的一个历史行为数据。That is to say, in this embodiment of the present application, for each user of the low-code platform, each time the user builds the interactive form, the code interactive platform can save the components selected by the user to build the interactive form, and the selection order of the components, as A historical behavior data of the user.

在得到多个用户的多个历史行为数据后,对于每个用户,可以将该用户的属性特征,以及从该用户的历史行为数据中截取的部分数据(该部分数据为历史行为数据中的至少一个组件,以及该至少一个组件的在历史行为数据中的选择顺序,当该部分数据为历史行为数据中的至少两个组件时,该至少两组件为选择顺序连续的至少两个组件),作为一个样本数据,该样本数据的标签为该用户的历史行为数据中,位于所截取的至少一个组件的下一个组件。得到样本数据集后,利用该样本数据集训练组件预测引擎。After obtaining a plurality of historical behavior data of a plurality of users, for each user, the attribute characteristics of the user and part of the data intercepted from the historical behavior data of the user (the part of the data is at least one part of the historical behavior data) can be obtained. One component, and the selection order of the at least one component in the historical behavior data, when the partial data is at least two components in the historical behavior data, the at least two components are at least two consecutive components in the selection order), as A piece of sample data, where the label of the sample data is located in the next component of the intercepted at least one component in the historical behavior data of the user. After obtaining the sample data set, use the sample data set to train the component prediction engine.

在训练组件预测引擎时,该组件预测引擎的输入为样本数据(即用户的属性特征以及至少一个组件及该至少一个组件的选择顺序),该组件预测引擎的输出为输入的至少一个组件的下一个组件的预测结果,以下一个组件的预测结果趋近于输入的样本数据的标签为目标,对组件预测引擎的参数进行更新,直至满足训练结束条件,得到训练好的组件预测引擎。可选的,训练组件预测引擎所使用的算法可以是回归算法(比如线性回归算法),也可以是其它算法,本申请不做具体限定。When training the component prediction engine, the input of the component prediction engine is sample data (that is, the attribute characteristics of the user and at least one component and the selection order of the at least one component), and the output of the component prediction engine is the lower part of the input at least one component. For the prediction result of one component, the prediction result of the next component is close to the label of the input sample data as the target, and the parameters of the component prediction engine are updated until the training end condition is met, and the trained component prediction engine is obtained. Optionally, the algorithm used by the training component prediction engine may be a regression algorithm (such as a linear regression algorithm), or may be other algorithms, which are not specifically limited in this application.

在一可选的实施例中,上述基于目标用户的属性特征,以及上述至少部分组件,确定上述至少部分组件的关联组件的一种实现流程图如图2所示,可以包括:In an optional embodiment, an implementation flowchart for determining the associated components of the above at least some components based on the attribute characteristics of the target user and the above at least some components is shown in FIG. 2 , and may include:

步骤S201:获得目标用户的属性特征关联的目标组件预测引擎。Step S201: Obtain a target component prediction engine associated with the attribute feature of the target user.

本申请实施例中,根据用户的属性特征设置了多个组件预测引擎,不同的组件预测引擎关联的属性特征不同,不同的属性特征关联的组件预测引擎可能相同(比如,相似的属性特征关联的组件预测引擎相同),也可能不同。In the embodiment of the present application, multiple component prediction engines are set according to the attribute characteristics of the user, different component prediction engines are associated with different attribute characteristics, and the component prediction engines associated with different attribute characteristics may be the same (for example, similar attribute component prediction engine is the same), may be different.

步骤S202:通过目标组件预测引擎处理目标用户的属性特征和至少部分组件,得到上述至少部分组件的关联组件。Step S202: Process the attribute features of the target user and at least some of the components by the target component prediction engine to obtain the associated components of the above at least some of the components.

其中,目标组件预测引擎基于低代码平台的具有所述目标用户的属性特征或相似属性特征的各个用户的属性特征和历史行为数据得到;每个用户的历史行为数据至少包括该用户历史搭建交互表单时选择的组件,以及选择的组件的顺序。Wherein, the target component prediction engine is obtained based on the attribute characteristics and historical behavior data of each user with the attribute characteristics or similar attribute characteristics of the target user on the low-code platform; the historical behavior data of each user includes at least the user's historical construction interactive form The components selected at the time, and the order of the selected components.

本申请实施例中,目标组件预测引擎是通过学习与目标用户的属性特征相关的历史行为数据得到的。其中,与目标用户的属性特征相关的历史行为数据可以包括:In the embodiment of the present application, the target component prediction engine is obtained by learning historical behavior data related to the attribute characteristics of the target user. Among them, the historical behavior data related to the attribute characteristics of the target user may include:

属性特征与目标用户的属性特征相同的用户的历史行为数据,以及属性特征与目标用户的属性特征相似的用户的历史行为数据。The historical behavior data of users whose attribute characteristics are the same as those of the target user, and the historical behavior data of users whose attribute characteristics are similar to those of the target user.

通过设置关联不同属性特征的组件预测引擎,可以利用目标用户的属性特征关联的目标组件预测引擎来预测上述至少部分组件的关联组件,使得预测到的关联组件更加符合目标用户的属性特征,从而进一步降低用户选择组件的难度。By setting the component prediction engine associated with different attribute features, the target component prediction engine associated with the attribute features of the target user can be used to predict the associated components of at least some of the above components, so that the predicted associated components are more in line with the attribute features of the target user, thereby further Make it easier for users to select components.

可选的,目标组件预测引擎可以通过如下方式训练得到:Optionally, the target component prediction engine can be trained as follows:

步骤1,对低代码平台的各个用户的属性特征进行聚类,得到第一聚类结果。Step 1: Cluster the attribute features of each user of the low-code platform to obtain a first clustering result.

进行聚类的目的就是确定相似的属性特征。The purpose of clustering is to identify similar attributes.

步骤2,对低代码平台的各个用户的历史行为数据按照第一聚类结果中的各个聚类类别进行分类。Step 2, classify the historical behavior data of each user of the low-code platform according to each clustering category in the first clustering result.

可以利用概率统计方法对低代码平台的各个用户的历史行为数据按照第一聚类结果中的各个聚类类别进行分类。The historical behavior data of each user of the low-code platform may be classified according to each clustering category in the first clustering result by using a probability and statistical method.

比如,可以利用贝叶斯分类算法对低代码平台的各个用户的历史行为数据按照第一聚类结果中的各个聚类类别进行分类。即对于每个一用户的每一个历史行为数据,计算在该历史行为数据出现的条件下,各个聚类类别出现的概率,将在该历史行为数据出现的条件下,出现的概率最大的聚类类别即为该历史行为数据的分类类别。For example, a Bayesian classification algorithm may be used to classify the historical behavior data of each user of the low-code platform according to each clustering category in the first clustering result. That is, for each historical behavior data of each user, calculate the probability of each cluster category appearing under the condition that the historical behavior data appears, and select the cluster with the largest probability of appearing under the condition that the historical behavior data appears. The category is the classification category of the historical behavior data.

步骤3,对应每一聚类类别,利用分类(即步骤2)得到的该聚类类别的历史行为数据对组件预测引擎进行训练,得到该聚类类别关联的组件预测引擎。Step 3: Corresponding to each cluster category, use the historical behavior data of the cluster category obtained by classification (ie, step 2) to train the component prediction engine to obtain the component prediction engine associated with the cluster category.

可以先对该聚类类别的历史行为数据进行处理,得到样本数据。具体处理过程可以参看前述得到样本数据的过程,这里不再详述。The historical behavior data of the clustering category can be processed first to obtain sample data. For the specific processing process, refer to the aforementioned process of obtaining sample data, which will not be described in detail here.

然后利用样本数据对组件预测引擎进行训练,训练过程可以参看前述实施例,这里不再赘述。Then, the component prediction engine is trained by using the sample data. For the training process, reference may be made to the foregoing embodiment, which will not be repeated here.

目标用户的属性特征所属的聚类类别关联的组件预测引擎为目标组件预测引擎。The component prediction engine associated with the cluster category to which the attribute feature of the target user belongs is the target component prediction engine.

在一可选的实施例中,为了提高为用户推荐的组件的有效性,进一步降低用户获取组件的难度,上述对低代码平台的各个用户的历史行为数据按照第一聚类结果中的各个聚类类别进行分类的一种实现流程图如图3所示,可以包括:In an optional embodiment, in order to improve the effectiveness of the components recommended for users and further reduce the difficulty of obtaining components for users, the above-mentioned historical behavior data of each user of the low-code platform is based on each cluster in the first clustering result. An implementation flow chart of class classification is shown in Figure 3, which may include:

步骤S301:对低代码平台的各个用户的历史行为数据进行聚类,得到第二聚类结果。Step S301: Cluster the historical behavior data of each user of the low-code platform to obtain a second clustering result.

对低代码平台的各个用户的历史行为数据进行聚类的目的,是为了确定相似的历史行为数据。The purpose of clustering the historical behavior data of each user of the low-code platform is to determine similar historical behavior data.

步骤S302:根据第二聚类结果,提取目标历史行为数据;目标历史行为数据为历史行为数据的数量大于阈值的聚类类别下的历史行为数据。Step S302 : extracting target historical behavior data according to the second clustering result; the target historical behavior data is historical behavior data under a clustering category with a quantity of historical behavior data greater than a threshold.

也就是说,本申请保留了使用较多的历史行为数据(即目标历史行为数据)。而对于历史行为数据的数量小于阈值的聚类类别中的历史行为数据,认为该历史行为数据的使用较少,不会去学习该历史行为数据,则剔除该历史行为数据。That is to say, the present application retains the historical behavior data that is used more (ie, the target historical behavior data). For the historical behavior data in the clustering category whose quantity of historical behavior data is less than the threshold, it is considered that the historical behavior data is used less, and the historical behavior data will not be learned, and the historical behavior data is eliminated.

步骤S303:对目标历史行为数据按照第一聚类结果中的各个聚类类别进行分类。Step S303: Classify the target historical behavior data according to each clustering category in the first clustering result.

在一可选的实施例中,上述至少基于上述至少部分组件,确定上述至少部分组件的关联组件的一种实现方式可以为:In an optional embodiment, an implementation manner of determining the associated components of the above at least some components based on at least the above at least some components may be:

通过组件预测引擎处理上述至少部分组件,得到上述至少部分组件的关联组件;Process the at least part of the components by the component prediction engine, and obtain the associated components of the at least part of the components;

其中,组件预测引擎基于低代码平台的各个用户的历史行为数据得到;每个用户的历史行为数据包括该用户历史搭建交互表单时选择的组件,以及选择的组件的顺序。The component prediction engine is obtained based on the historical behavior data of each user of the low-code platform; the historical behavior data of each user includes the components selected by the user when the user historically built the interactive form, and the order of the selected components.

可以对低代码平台的各个用户的历史行为数据进行处理,得到样本数据。比如,对于每个用户,可以将从该用户的历史行为数据中截取的部分数据(该部分数据为历史行为数据中的至少一个组件,以及该至少一个组件的在历史行为数据中的选择顺序,当该部分数据为历史行为数据中的至少两个组件时,该至少两组件为选择顺序连续的至少两个组件),作为一个样本数据,该样本数据的标签为该用户的历史行为数据中,位于所截取的至少一个组件的下一个组件。得到样本数据集后,利用该样本数据集训练组件预测引擎。The historical behavior data of each user of the low-code platform can be processed to obtain sample data. For example, for each user, part of the data can be intercepted from the user's historical behavior data (this part of data is at least one component in the historical behavior data, and the selection order of the at least one component in the historical behavior data, When the partial data is at least two components in the historical behavior data, the at least two components are at least two components that are consecutive in the selection sequence), as a sample data, the label of the sample data is in the historical behavior data of the user, Located in the next component of the intercepted at least one component. After obtaining the sample data set, use the sample data set to train the component prediction engine.

在训练组件预测引擎时,该组件预测引擎的输入为样本数据(即至少一个组件及该至少一个组件的选择顺序),该组件预测引擎的输出为输入的至少一个组件的下一个组件的预测结果,以下一个组件的预测结果趋近于输入的样本数据的标签为目标,对组件预测引擎的参数进行更新,直至满足训练结束条件,得到训练好的组件预测引擎。可选的,训练组件预测引擎所使用的算法可以是回归算法(比如线性回归算法),也可以是其它算法,本申请不做具体限定。When training the component prediction engine, the input of the component prediction engine is sample data (ie at least one component and the selection order of the at least one component), and the output of the component prediction engine is the prediction result of the next component of the input at least one component , the prediction result of the next component is close to the label of the input sample data as the goal, and the parameters of the component prediction engine are updated until the training end condition is met, and the trained component prediction engine is obtained. Optionally, the algorithm used by the training component prediction engine may be a regression algorithm (such as a linear regression algorithm), or may be other algorithms, which are not specifically limited in this application.

在一可选的实施例中,在目标用户刚刚登录低代码平台,还没有选择任何组件的时候,可以根据目标用户的属性特征确定至少一个历史选择组件,生成历史选择组件列表;该至少一个历史选择组件为具有目标用户的属性特征或相似属性特征(即与目标用户的属性特征相似的属性特征)的各个用户的历史行为数据的首个选择的组件中,选择频率最高的至少一个组件。In an optional embodiment, when the target user has just logged into the low-code platform and has not selected any components, at least one historical selection component may be determined according to the attribute characteristics of the target user, and a list of historical selection components may be generated; The selection component is at least one component with the highest selection frequency among the first selected components of the historical behavior data of each user having the attribute characteristics of the target user or similar attribute characteristics (ie, attribute characteristics similar to the attribute characteristics of the target user).

显示历史选择组件列表,以用于目标用户选择用于搭建表单的首个组件。Displays a list of historically selected components for the target user to select the first component used to build the form.

也就是说,在目标用户未选择组件时,可以对低代码平台的具有目标用户的属性特征或相似属性特征的各个用户的历史行为数据中的首个组件(即用户的历史行为数据中第一个选择的组件)进行统计分析,确定选择频率最高的至少一个组件,该选择频率最高的至少一个组件可以是选择频率排序前N的至少一个组件,或者,可以是选择频率大于频率阈值的组件。That is to say, when the target user does not select a component, the first component in the historical behavior data of each user with the attribute characteristics or similar attribute characteristics of the target user on the low-code platform (that is, the first component in the user's historical behavior data Statistical analysis is performed to determine at least one component with the highest selection frequency, and the at least one component with the highest selection frequency may be at least one component of the top N in the selection frequency ranking, or may be a component whose selection frequency is greater than a frequency threshold.

本申请实施例,在用户没有选择组件的情况下,也可以实现组件的自动推荐,进一步降低用户选择组件的难度。In this embodiment of the present application, even if the user does not select a component, the automatic recommendation of the component can also be implemented, which further reduces the difficulty for the user to select the component.

在一可选的实施例中,在生成关联组件列表后,还可以从数据库中获取关联组件列表中的组件,并进行缓存,从而可以在目标用户选择关联组件列表中的组件时,从缓存中提取组件,而不是从数据库中获取,从而提高目标用户的组件选择效率。In an optional embodiment, after the associated component list is generated, the components in the associated component list can also be obtained from the database and cached, so that when the target user selects a component in the associated component list, the components in the associated component list can be retrieved from the cache. Extract components instead of fetching them from the database, thereby improving the efficiency of component selection for target users.

在一可选的实施例中,在目标用户确定保存搭建的表单后,还可以保存目标用户选择的组件以及选择的组件的顺序作为目标用户的一次历史行为数据,以便后续对组件预测引擎进行优化更新。In an optional embodiment, after the target user decides to save the built form, the components selected by the target user and the order of the selected components can also be saved as the historical behavior data of the target user, so that the component prediction engine can be optimized subsequently. renew.

在一可选的实施例中,如果所生成的关联列表中没有目标用户所需要的组件,目标用户可以基于关键字/词检索所需要的组件,基于此,本申请实施例提供的组件获取方法还可以包括:In an optional embodiment, if there is no component required by the target user in the generated association list, the target user can search for the required component based on keywords/words. Based on this, the component acquisition method provided by the embodiment of the present application Can also include:

获得检索指令,该检索指令中携带关键字/词;Obtain a retrieval instruction, which carries keywords/words;

在组件数据库中检索与所述关键字/词匹配的组件(记为匹配组件);具体匹配过程可以参看已有的方案,这里不再详述。Retrieve the components matching the keyword/word in the component database (referred to as matching components); the specific matching process can refer to the existing solution, which will not be described in detail here.

显示检索到的匹配的组件,以便目标用户选择。Displays the retrieved matching components for selection by the target user.

与方法实施例相对应,本申请实施例还提供一种组件获取装置,本申请实施例提供的组件获取装置的一种结构示意图如图4所示,可以包括:Corresponding to the method embodiment, the embodiment of the present application further provides a component acquisition device. A schematic structural diagram of the component acquisition device provided by the embodiment of the present application is shown in FIG. 4 , which may include:

获得模块401,确定模块402和显示模块403;其中,Obtaining module 401, determining module 402 and displaying module 403; wherein,

获得模块401用于获得目标用户已选择的至少部分组件;The obtaining module 401 is used to obtain at least some components selected by the target user;

确定模块402用于至少基于所述至少部分组件,确定所述至少部分组件的关联组件,生成关联组件列表;The determining module 402 is configured to determine, based on at least the at least some of the components, associated components of the at least some of the components, and generate a list of associated components;

显示模块403用于显示所述关联组件列表,以用于所述目标用户进行组件选择。The display module 403 is configured to display the associated component list for the target user to select components.

本申请实施例提供的组件获取装置,在用户搭建交互表单的过程中,可以根据用户已选择的至少部分组件为用户推荐已选择的至少部分组件的关联组件,降低了用户选择组件的范围,从而降低了用户获取所需组件的难度。In the component acquisition device provided by the embodiment of the present application, in the process of building the interactive form by the user, the associated components of at least some of the selected components can be recommended for the user according to at least some of the components selected by the user, which reduces the scope of the components selected by the user, thereby reducing the scope of the components selected by the user. It reduces the difficulty for users to obtain the required components.

在一可选的实施例中,获得模块401还可以用于:获得所述目标用户的属性特征;In an optional embodiment, the obtaining module 401 may also be used to: obtain the attribute characteristics of the target user;

确定模块402用于:The determination module 402 is used to:

基于所述目标用户的属性特征,以及所述至少部分组件,确定所述至少部分组件的关联组件。Based on the attribute characteristics of the target user and the at least part of the components, an associated component of the at least part of the components is determined.

在一可选的实施例中,确定模块402用于:In an optional embodiment, the determining module 402 is used to:

通过组件预测引擎处理所述目标用户的属性特征和所述至少部分组件,得到所述至少部分组件的关联组件;Process the attribute feature of the target user and the at least some of the components by a component prediction engine to obtain the associated components of the at least some of the components;

所述组件预测引擎基于低代码平台的各个用户的属性特征和历史行为数据得到;每个用户的历史行为数据至少包括该用户历史搭建交互表单时选择的组件,以及选择的组件的顺序。The component prediction engine is obtained based on the attribute characteristics and historical behavior data of each user of the low-code platform; the historical behavior data of each user at least includes the components selected when the user historically built the interactive form, and the order of the selected components.

在一可选的实施例中,确定模块402用于:In an optional embodiment, the determining module 402 is used to:

获得所述目标用户的属性特征关联的目标组件预测引擎;Obtain the target component prediction engine associated with the attribute feature of the target user;

通过所述目标组件预测引擎处理所述目标用户的属性特征和所述至少部分组件,得到所述至少部分组件的关联组件;Process the attribute feature of the target user and the at least some components by the target component prediction engine, and obtain the associated components of the at least some components;

所述目标组件预测引擎基于低代码平台的具有所述属性特征或相似属性特征的各个用户的属性特征和历史行为数据得到;每个用户的历史行为数据至少包括该用户历史搭建交互表单时选择的组件,以及选择的组件的顺序。The target component prediction engine is obtained based on the attribute characteristics and historical behavior data of each user with the attribute characteristics or similar attribute characteristics of the low-code platform; the historical behavior data of each user at least includes the historical behavior data selected by the user when building an interactive form. components, and the order in which the components are selected.

在一可选的实施例中,还包括:训练模块,用于:In an optional embodiment, it also includes: a training module for:

对所述低代码平台的各个用户的属性特征进行聚类,得到第一聚类结果;Clustering the attribute features of each user of the low-code platform to obtain a first clustering result;

对所述低代码平台的各个用户的历史行为数据按照所述第一聚类结果中的各个聚类类别进行分类;classifying the historical behavior data of each user of the low-code platform according to each clustering category in the first clustering result;

对应每一聚类类别,利用分类得到的该聚类类别的历史行为数据对组件预测引擎进行训练,得到该聚类类别关联的组件预测引擎;Corresponding to each cluster category, use the historical behavior data of the cluster category obtained by classification to train the component prediction engine, and obtain the component prediction engine associated with the cluster category;

所述目标用户的属性特征所属的聚类类别关联的组件预测引擎为所述目标组件预测引擎。The component prediction engine associated with the cluster category to which the attribute feature of the target user belongs is the target component prediction engine.

在一可选的实施例中,所述训练模块对所述低代码平台的各个用户的历史行为数据按照所述第一聚类结果中的各个聚类类别进行分类时,用于:In an optional embodiment, when the training module classifies the historical behavior data of each user of the low-code platform according to each clustering category in the first clustering result, it is used to:

对所述低代码平台的各个用户的历史行为数据进行聚类,得到第二聚类结果;Clustering the historical behavior data of each user of the low-code platform to obtain a second clustering result;

根据所述第二聚类结果,提取目标历史行为数据;所述目标历史行为数据为历史行为数据的数量大于阈值的聚类类别下的历史行为数据;According to the second clustering result, extract the target historical behavior data; the target historical behavior data is the historical behavior data under the clustering category in which the quantity of the historical behavior data is greater than the threshold;

对所述目标历史行为数据按照所述第一聚类结果中的各个聚类类别进行分类。Classify the target historical behavior data according to each clustering category in the first clustering result.

在一可选的实施例中,确定模块402用于:In an optional embodiment, the determining module 402 is used to:

通过组件预测引擎处理所述至少部分组件,得到所述至少部分组件的关联组件;Process the at least part of the components by a component prediction engine to obtain the associated components of the at least part of the components;

所述组件预测引擎基于低代码平台的各个用户的历史行为数据得到;每个用户的历史行为数据包括该用户历史搭建交互表单时选择的组件,以及选择的组件的顺序。The component prediction engine is obtained based on the historical behavior data of each user of the low-code platform; the historical behavior data of each user includes the components selected when the user historically built the interactive form, and the order of the selected components.

在一可选的实施例中,确定模块402还用于:In an optional embodiment, the determining module 402 is further configured to:

在所述目标用户未选择组件时,根据所述目标用户的属性特征确定至少一个历史选择组件,生成历史选择组件列表;所述至少一个历史选择组件为具有所述属性特征或相似属性特征的各个用户的历史行为数据的首个选择的组件中,选择频率最高的至少一个组件;When the target user does not select a component, at least one historical selection component is determined according to the attribute characteristics of the target user, and a list of historical selection components is generated; the at least one historical selection component is each of the attribute characteristics or similar attribute characteristics. Among the first selected components of the user's historical behavior data, at least one component with the highest frequency is selected;

现实模块403还用于显示所述历史选择组件列表,以用于所述目标用户选择用于搭建表单的首个组件。The reality module 403 is further configured to display the list of historically selected components for the target user to select the first component for building the form.

在一可选的实施例中,还包括:In an optional embodiment, it also includes:

缓存模块,用于从数据库中获取所述关联组件列表中的组件;将获取到的组件进行缓存。The caching module is used for acquiring the components in the associated component list from the database; caching the acquired components.

在一可选的实施例中,还包括:In an optional embodiment, it also includes:

保存模块,用于保存所述目标用户选择的组件以及选择的组件的顺序,以便对组件预测引擎进行优化更新。The saving module is used for saving the components selected by the target user and the order of the selected components, so as to optimize and update the component prediction engine.

在一可选的实施例中,还包括:In an optional embodiment, it also includes:

检索模块,用于获得检索指令,该检索指令中携带关键字/词;A retrieval module, used to obtain a retrieval instruction, the retrieval instruction carries keywords/words;

在组件数据库中检索与所述关键字/词匹配的组件(记为匹配组件)。Search the component database for components matching the keyword/word (referred to as matching components).

显示模块403还用于显示检索到的匹配的组件,以便目标用户选择。The display module 403 is also used to display the retrieved matched components for selection by the target user.

与方法实施例相对应,本申请还提供一种电子设备设备,如终端、服务器等。其中,服务器可以是独立的物理服务器,也可以是多个物理服务器构成的服务器集群或者分布式系统,还可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、CDN、以及大数据和人工智能平台等基础云计算服务的云服务器。终端可以是智能手机、平板电脑、笔记本电脑等移动端,也可以是台式计算机等,但并不局限于此。在一些实施例中,上述终端或服务器可以是一个分布式系统中的一个节点,其中,该分布式系统可以为区块链系统,该区块链系统可以是由该多个节点通过网络通信的形式连接形成的分布式系统。其中,节点之间可以组成点对点(P2P,Peer To Peer)网络,任意形式的计算设备,比如服务器、终端等电子设备都可以通过加入该点对点网络而成为该区块链系统中的一个节点。Corresponding to the method embodiments, the present application further provides an electronic device, such as a terminal, a server, and the like. The server may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or may provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, and cloud communications. , middleware services, domain name services, security services, CDN, and cloud servers for basic cloud computing services such as big data and artificial intelligence platforms. The terminal may be a mobile terminal such as a smart phone, a tablet computer, a notebook computer, etc., or a desktop computer, etc., but is not limited thereto. In some embodiments, the above-mentioned terminal or server may be a node in a distributed system, wherein the distributed system may be a blockchain system, and the blockchain system may be communicated by the plurality of nodes through a network A distributed system formed by formal connections. Among them, a peer-to-peer (P2P, Peer To Peer) network can be formed between nodes, and any form of computing devices, such as servers, terminals and other electronic devices can become a node in the blockchain system by joining the peer-to-peer network.

本申请实施例提供的电子设备的硬件结构框图的示例图如图5所示,可以包括:An example diagram of a hardware structural block diagram of an electronic device provided by an embodiment of the present application is shown in FIG. 5 , which may include:

处理器1,通信接口2,存储器3和通信总线4;processor 1, communication interface 2, memory 3 and communication bus 4;

其中处理器1、通信接口2、存储器3通过通信总线4完成相互间的通信;The processor 1, the communication interface 2, and the memory 3 complete the communication with each other through the communication bus 4;

可选的,通信接口2可以为通信模块的接口,如GSM模块的接口;Optionally, the communication interface 2 can be an interface of a communication module, such as an interface of a GSM module;

处理器1可能是一个中央处理器CPU,或者是特定集成电路ASIC(ApplicationSpecific Integrated Circuit),或者是被配置成实施本申请实施例的一个或多个集成电路。The processor 1 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.

存储器3可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatilememory),例如至少一个磁盘存储器。The memory 3 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk memory.

其中,处理器1具体用于执行存储器3中存储的计算机程序,以执行如下步骤:Wherein, the processor 1 is specifically used for executing the computer program stored in the memory 3 to execute the following steps:

获得目标用户已选择的至少部分组件;Obtain at least some of the components that the target user has selected;

至少基于所述至少部分组件,确定所述至少部分组件的关联组件,生成关联组件列表;At least based on the at least some of the components, determine the associated components of the at least some of the components, and generate a list of associated components;

显示所述关联组件列表,以用于所述目标用户进行组件选择。The list of associated components is displayed for component selection by the target user.

可选的,所述计算机程序的细化功能和扩展功能可参照上文描述。Optionally, the detailed functions and extended functions of the computer program may refer to the above description.

本申请实施例还提供一种可读存储介质,该存储介质可存储有适于处理器执行的计算机程序,所述计算机程序用于:Embodiments of the present application further provide a readable storage medium, where the storage medium can store a computer program suitable for execution by a processor, where the computer program is used for:

获得目标用户已选择的至少部分组件;Obtain at least some of the components that the target user has selected;

至少基于所述至少部分组件,确定所述至少部分组件的关联组件,生成关联组件列表;At least based on the at least some of the components, determine the associated components of the at least some of the components, and generate a list of associated components;

显示所述关联组件列表,以用于所述目标用户进行组件选择。The list of associated components is displayed for component selection by the target user.

可选的,所述计算机程序的细化功能和扩展功能可参照上文描述。Optionally, the detailed functions and extended functions of the computer program may refer to the above description.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.

在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.

应当理解,本申请实施例中,从权、各个实施例、特征可以互相组合结合,都能实现解决前述技术问题。It should be understood that, in the embodiments of the present application, the rights, various embodiments, and features can be combined with each other, and the aforementioned technical problems can be solved.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes .

对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本申请。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本申请的精神或范围的情况下,在其它实施例中实现。因此,本申请将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments enables any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, this application is not intended to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1.一种组件获取方法,所述方法包括:1. A component acquisition method, the method comprising: 获得目标用户已选择的至少部分组件;Obtain at least some of the components that the target user has selected; 至少基于所述至少部分组件,确定所述至少部分组件的关联组件,生成关联组件列表;At least based on the at least some of the components, determine the associated components of the at least some of the components, and generate a list of associated components; 显示所述关联组件列表,以用于所述目标用户进行组件选择。The list of associated components is displayed for component selection by the target user. 2.根据权利要求1所述的方法,还包括:获得所述目标用户的属性特征;2. The method according to claim 1, further comprising: obtaining the attribute characteristics of the target user; 所述至少基于所述至少部分组件,确定所述至少部分组件的关联组件,包括:The determining, based at least on the at least some of the components, an associated component of the at least some of the components includes: 基于所述目标用户的属性特征,以及所述至少部分组件,确定所述至少部分组件的关联组件。Based on the attribute characteristics of the target user and the at least part of the components, an associated component of the at least part of the components is determined. 3.根据权利要求2所述的方法,所述基于所述目标用户的属性特征,以及所述至少部分组件,确定所述至少部分组件的关联组件,包括:3. The method according to claim 2, wherein determining the associated components of the at least some components based on the attribute characteristics of the target user and the at least some components, comprising: 通过组件预测引擎处理所述目标用户的属性特征和所述至少部分组件,得到所述至少部分组件的关联组件;Process the attribute feature of the target user and the at least some of the components by a component prediction engine to obtain the associated components of the at least some of the components; 所述组件预测引擎基于低代码平台的各个用户的属性特征和历史行为数据得到;每个用户的历史行为数据至少包括该用户历史搭建交互表单时选择的组件,以及选择的组件的顺序。The component prediction engine is obtained based on the attribute characteristics and historical behavior data of each user of the low-code platform; the historical behavior data of each user at least includes the components selected when the user historically built the interactive form, and the order of the selected components. 4.根据权利要求2所述的方法,所述基于所述目标用户的属性特征,以及所述至少部分组件,确定所述至少部分组件的关联组件,包括:4. The method according to claim 2, wherein determining the associated components of the at least some components based on the attribute characteristics of the target user and the at least some components, comprising: 获得所述目标用户的属性特征关联的目标组件预测引擎;Obtain the target component prediction engine associated with the attribute feature of the target user; 通过所述目标组件预测引擎处理所述目标用户的属性特征和所述至少部分组件,得到所述至少部分组件的关联组件;Process the attribute feature of the target user and the at least some components by the target component prediction engine, and obtain the associated components of the at least some components; 所述目标组件预测引擎基于低代码平台的具有所述属性特征或相似属性特征的各个用户的属性特征和历史行为数据得到;每个用户的历史行为数据至少包括该用户历史搭建交互表单时选择的组件,以及选择的组件的顺序。The target component prediction engine is obtained based on the attribute characteristics and historical behavior data of each user with the attribute characteristics or similar attribute characteristics of the low-code platform; the historical behavior data of each user at least includes the historical behavior data selected by the user when building an interactive form. components, and the order in which the components are selected. 5.根据权利要求4所述的方法,所述目标组件预测引擎通过如下方式得到:5. The method according to claim 4, wherein the target component prediction engine is obtained in the following manner: 对所述低代码平台的各个用户的属性特征进行聚类,得到第一聚类结果;Clustering the attribute features of each user of the low-code platform to obtain a first clustering result; 对所述低代码平台的各个用户的历史行为数据按照所述第一聚类结果中的各个聚类类别进行分类;classifying the historical behavior data of each user of the low-code platform according to each clustering category in the first clustering result; 对应每一聚类类别,利用分类得到的该聚类类别的历史行为数据对组件预测引擎进行训练,得到该聚类类别关联的组件预测引擎;Corresponding to each cluster category, use the historical behavior data of the cluster category obtained by classification to train the component prediction engine, and obtain the component prediction engine associated with the cluster category; 所述目标用户的属性特征所属的聚类类别关联的组件预测引擎为所述目标组件预测引擎。The component prediction engine associated with the cluster category to which the attribute feature of the target user belongs is the target component prediction engine. 6.根据权利要求2-5任意一项所述的方法,还包括:6. The method according to any one of claims 2-5, further comprising: 在所述目标用户未选择组件时,根据所述目标用户的属性特征确定至少一个历史选择组件,生成历史选择组件列表;所述至少一个历史选择组件为具有所述属性特征或相似属性特征的各个用户的历史行为数据的首个选择的组件中,选择频率最高的至少一个组件;When the target user does not select a component, at least one historical selection component is determined according to the attribute characteristics of the target user, and a list of historical selection components is generated; the at least one historical selection component is each of the attribute characteristics or similar attribute characteristics. Among the first selected components of the user's historical behavior data, at least one component with the highest frequency is selected; 显示所述历史选择组件列表,以用于所述目标用户选择用于搭建表单的首个组件。The list of historically selected components is displayed for the target user to select the first component for building the form. 7.根据权利要求1所述的方法,还包括:7. The method of claim 1, further comprising: 从数据库中获取所述关联组件列表中的组件;Obtain the components in the associated component list from the database; 将获取到的组件进行缓存。Cache the obtained components. 8.一种组件获取装置,包括:8. A component acquisition device, comprising: 获得模块,用于获得目标用户已选择的至少部分组件;Obtaining a module for obtaining at least some of the components selected by the target user; 确定模块,用于至少基于所述至少部分组件,确定所述至少部分组件的关联组件,生成关联组件列表;a determining module, configured to determine the associated components of the at least some of the components based on at least the at least some of the components, and generate a list of associated components; 显示模块,用于显示所述关联组件列表,以用于所述目标用户进行组件选择。A display module, configured to display the associated component list for the target user to select components. 9.一种电子设备,包括:9. An electronic device comprising: 存储器,用于存储计算机程序;memory for storing computer programs; 处理器,用于执行所述计算机程序,实现如权利要求1-7中任一项所述的组件获取方法的各个步骤。A processor, configured to execute the computer program, to implement each step of the component acquisition method according to any one of claims 1-7. 10.一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时,实现如权利要求1-7中任一项所述的组件获取方法的各个步骤。10. A computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements each step of the component acquisition method according to any one of claims 1-7.
CN202111242920.0A 2021-10-25 2021-10-25 Component acquisition method, device, electronic device and storage medium Pending CN113868481A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111242920.0A CN113868481A (en) 2021-10-25 2021-10-25 Component acquisition method, device, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111242920.0A CN113868481A (en) 2021-10-25 2021-10-25 Component acquisition method, device, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN113868481A true CN113868481A (en) 2021-12-31

Family

ID=78997453

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111242920.0A Pending CN113868481A (en) 2021-10-25 2021-10-25 Component acquisition method, device, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN113868481A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114911387A (en) * 2022-01-13 2022-08-16 北京网界科技有限公司 Data processing system and method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105117810A (en) * 2015-09-24 2015-12-02 国网福建省电力有限公司泉州供电公司 Residential electricity consumption mid-term load prediction method under multistep electricity price mechanism
CN109359188A (en) * 2018-09-30 2019-02-19 北京数聚鑫云信息技术有限公司 A kind of component method of combination and system
CN110471735A (en) * 2019-08-21 2019-11-19 中国工商银行股份有限公司 Operational view interface method for pushing and device
CN112148973A (en) * 2020-09-04 2020-12-29 京东数字科技控股股份有限公司 Data processing method and device for information push
CN112650482A (en) * 2020-12-25 2021-04-13 浙江蓝卓工业互联网信息技术有限公司 Recommendation method and related device for logic component

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105117810A (en) * 2015-09-24 2015-12-02 国网福建省电力有限公司泉州供电公司 Residential electricity consumption mid-term load prediction method under multistep electricity price mechanism
CN109359188A (en) * 2018-09-30 2019-02-19 北京数聚鑫云信息技术有限公司 A kind of component method of combination and system
CN110471735A (en) * 2019-08-21 2019-11-19 中国工商银行股份有限公司 Operational view interface method for pushing and device
CN112148973A (en) * 2020-09-04 2020-12-29 京东数字科技控股股份有限公司 Data processing method and device for information push
CN112650482A (en) * 2020-12-25 2021-04-13 浙江蓝卓工业互联网信息技术有限公司 Recommendation method and related device for logic component

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
王喜宾: "《基于优化支持向量机的个性化推荐研究》", 30 April 2017, pages: 20 - 24 *
米宝全: "《计算机基础及Office办公软件应用 Windows7+0ffice 2010版》", 31 August 2016, pages: 47 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114911387A (en) * 2022-01-13 2022-08-16 北京网界科技有限公司 Data processing system and method thereof
CN114911387B (en) * 2022-01-13 2023-07-28 北京网界科技有限公司 Data processing system and method thereof

Similar Documents

Publication Publication Date Title
JP6643554B2 (en) Entity recommendation method and apparatus
US11348693B2 (en) Graph convolution based gene prioritization on heterogeneous networks
TWI729472B (en) Method, device and server for determining feature words
US11288573B2 (en) Method and system for training and neural network models for large number of discrete features for information rertieval
CN110837550A (en) Knowledge graph-based question and answer method and device, electronic equipment and storage medium
US20150347420A1 (en) Performing Application Searches
CN111930962A (en) Document data value evaluation method and device, electronic equipment and storage medium
US20150095300A1 (en) System and method for mark-up language document rank analysis
JP2020024674A (en) Method and apparatus for pushing information
CN112380331A (en) Information pushing method and device
JP2022024102A (en) Method for training search model, method for searching target object and device therefor
CN108763556A (en) Usage mining method and device based on demand word
CN109471978B (en) Electronic resource recommendation method and device
US20170308620A1 (en) Making graph pattern queries bounded in big graphs
WO2017121076A1 (en) Information-pushing method and device
CN112989208B (en) Information recommendation method and device, electronic equipment and storage medium
US9684726B2 (en) Realtime ingestion via multi-corpus knowledge base with weighting
JP2014106661A (en) User state prediction device, method and program
JP2023516209A (en) METHOD, APPARATUS, APPARATUS AND COMPUTER-READABLE STORAGE MEDIUM FOR SEARCHING CONTENT
US20210272013A1 (en) Concept modeling system
JP2023536773A (en) Text quality evaluation model training method and text quality determination method, device, electronic device, storage medium and computer program
CN111259220A (en) Data acquisition method and system based on big data
CN110245357B (en) Main entity identification method and device
CN113868481A (en) Component acquisition method, device, electronic device and storage medium
CN113901056A (en) Interface recommendation method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination