A processing system, method and device for configurable tags

By designing a configurable tag processing system in e-commerce websites and using the collaborative work of the tag server and the search server, the problem of adding new tags in the existing technology requires secondary development, and the function of dynamically adjusting the database structure to support complex searches is realized.

CN112989142BActive Publication Date: 2025-06-17BEIJING JINGDONG TUOXIAN TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110293576.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-19
Publication Date
2025-06-17
Estimated Expiration
2041-03-19

AI Technical Summary

Technical Problem

In the tag marking scenario of e-commerce websites, new tags need to be developed in secondary ways, and the database structure cannot be dynamically adjusted to support complex searches.

Method used

A configurable tag processing system is designed, including a tag server and a search server that supports dynamic indexing. The tag server dynamically stores and searches tag information, generates appropriate column names and column values, and sends them to the search server for indexing and establishment.

Benefits of technology

It enables new tags and supports complex searches without secondary development, improving the flexibility and scalability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112989142B_ABST
    Figure CN112989142B_ABST
Patent Text Reader

Abstract

The present invention provides a processing system, method and device for configurable tags. The method includes: obtaining and storing newly added tag information, where the tag information includes a tag name and a tag type, and the tag type includes a master data type; receiving a tagging request for target content, searching in the stored tag information for the tag information corresponding to the tag name carried in the tagging request, generating a string containing the tag type in the tag information, and sending the string and the tag content carried in the tagging request to the search server respectively as the column name and column value of a column of newly added tagging data for the target content, so that the search server determines the dynamic template corresponding to the column name in the newly added tagging data of the target content according to the dynamic template corresponding to each master data type, and indexes the column value in the newly added tagging data of the target content according to the dynamic template corresponding to the column name in the newly added tagging data of the target content.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer application technologies, and particularly relates to a processing system, method, and device for configurable tags. Background Art

[0002] In e-commerce websites, scenarios of tagging certain content often occur, such as tagging products, tagging customers, etc. To make the product more intelligent, users can be allowed to customize tags, and support tagging these tags on the corresponding content, and further support complex searches for these tags.

[0003] In existing tagging scenarios, databases are mainly used to store tags in full, and complex searches for tags are supported by querying the database or formatting the stored content in the database into a search engine. Since the database does not support dynamically adding columns, only a fixed-column method can be adopted, which requires pre-setting all possible tag names, types, and identifiers, so as to realize the storage and search of tags in a database table. If a new tag needs to be added, secondary development is required, that is, new fields need to be added to the database and processing for the new fields needs to be added in the code to realize the storage and search of the new tag. Summary of the Invention

[0004] In view of this, the purpose of the present invention is to provide a processing system, method, and device for configurable tags, which can solve the problem that secondary development must be carried out when adding new tags in the tagging scenario of configurable tags.

[0005] To achieve the above purpose, the present invention provides the following technical solutions:

[0006] A processing system for configurable tags, comprising: a tag server and a search server supporting dynamic indexing;

[0007] The tag server is configured with a main data type for representing the main classification of tags; for obtaining and storing newly added tag information, the tag information includes a tag name and a tag type, and the tag type includes the main data type; for receiving a tagging request for target content, searching for the tag information corresponding to the tag name carried in the tagging request in the stored tag information, generating a string containing the tag type in the tag information, and sending the string and the tag content carried in the tagging request as the column name and column value of a column of newly added tagging data for the target content to the search server;

[0008] The search server is configured with a dynamic template for dynamic indexing corresponding to each main data type; it is used to receive the newly added tagging data of the target content sent by the tag server, determine the dynamic template corresponding to the column name in the newly added tagging data of the target content according to the dynamic template corresponding to each main data type, and establish an index for the column values in the newly added tagging data of the target content according to the dynamic template corresponding to the column name in the newly added tagging data of the target content.

[0009] The first processing method for configurable tags is applied to a configurable tag processing system, which includes a tag server and a search server supporting dynamic indexing; the tag server is configured with a main data type for representing the main classification of tags; the search server is configured with a dynamic template for dynamic indexing corresponding to each main data type; this method is specifically applied to the tag server and includes:

[0010] Obtain and store the newly added tag information, where the tag information includes a tag name and a tag type, and the tag type includes a main data type;

[0011] Receive a tagging request for the target content, find the tag information corresponding to the tag name carried in the tagging request in the stored tag information, generate a string containing the tag type in this tag information, and send this string and the tag content carried in the tagging request as the column name and column value of a column of newly added tagging data for the target content to the search server, so that the search server determines the dynamic template corresponding to the column name in the newly added tagging data of the target content according to the dynamic template corresponding to each main data type, and establishes an index for the column values in the newly added tagging data of the target content according to the dynamic template corresponding to the column name in the newly added tagging data of the target content.

[0012] The second processing method for configurable tags is applied to a configurable tag processing system, which includes: a tag server and a search server supporting dynamic indexing; the tag server is configured with a main data type for representing the main classification of tags; the search server is configured with a dynamic template for dynamic indexing corresponding to each main data type; this method is specifically applied to the search server and includes:

[0013] Receive the newly added tagging data of the target content sent by the tag server, where the newly added tagging data includes a column name and a column value; among them, the column name of the newly added tagging data is a string containing the tag type in the tag information obtained by the tag server after receiving a tagging request for the target content and finding the tag information corresponding to the tag name carried in the tagging request; the column value of the newly added tagging data is the tag content carried in the tagging request for the target content received by the tag server.

[0014] Determine the dynamic template corresponding to the column name in the newly added tagging data of the target content according to the dynamic template corresponding to each master data type, and establish an index for the column values in the newly added tagging data of the target content according to the dynamic template corresponding to the column name in the newly added tagging data of the target content.

[0015] The first configurable tag processing device is applied to a configurable tag processing system. The system includes a tag server and a search server supporting dynamic indexing. The tag server is configured with a master data type representing the main classification of tags. The search server is configured with a dynamic template for dynamic indexing corresponding to each master data type. This device is specifically applied to the tag server and includes:

[0016] A new tag unit for obtaining and storing newly added tag information. The tag information includes a tag name and a tag type, and the tag type includes a master data type.

[0017] A content tagging unit for receiving a tagging request for target content, searching for the tag information corresponding to the tag name carried in the tagging request in the stored tag information, generating a string containing the tag type in the tag information, and sending the string and the tag content carried in the tagging request as the column name and column value of a column of newly added tagging data of the target content to the search server, so that the search server determines the dynamic template corresponding to the column name in the newly added tagging data of the target content according to the dynamic template corresponding to each master data type, and establishes an index for the column values in the newly added tagging data of the target content according to the dynamic template corresponding to the column name in the newly added tagging data of the target content.

[0018] The second configurable tag processing device is applied to a configurable tag processing system. It is characterized in that the system includes: a tag server and a search server supporting dynamic indexing. The tag server is configured with a master data type representing the main classification of tags. The search server is configured with a dynamic template for dynamic indexing corresponding to each master data type. This device is specifically applied to the search server and includes:

[0019] A receiving unit for receiving the newly added tagging data of the target content sent by the tag server. The newly added tagging data includes a column name and a column value. Among them, the column name of the newly added tagging data is a string containing the tag type in the tag information generated after the tag server receives a tagging request for the target content and searches for the tag information corresponding to the tag name carried in the stored tag information. The column value of the newly added tagging data is the tag content carried in the tagging request for the target content received by the tag server.

[0020] An indexing unit is configured to determine a dynamic template corresponding to a column name in the newly added tagging data of the target content according to a dynamic template corresponding to each main data type, and establish an index for the column values in the newly added tagging data of the target content according to the dynamic template corresponding to the column name in the newly added tagging data of the target content.

[0021] An electronic device includes: at least one processor, and a memory connected to the at least one processor through a bus; the memory stores one or more computer programs executable by the at least one processor; when the at least one processor executes the one or more computer programs, the steps in the above-mentioned first configurable tagging processing method are implemented, or the steps in the above-mentioned second configurable tagging processing method are implemented.

[0022] A computer-readable storage medium stores one or more computer programs, and when the one or more computer programs are executed by a processor, the steps in the above-mentioned first configurable tagging processing method are implemented, or the steps in the above-mentioned second configurable tagging processing method are implemented.

[0023] As can be seen from the above technical solutions, in the present invention, the tag server supports adding new tags and content tagging. After receiving a tagging request for the target content, it searches for the tag information corresponding to the tag name carried in the tagging request in the stored tag information and generates a string containing the tag type in the tag information. By using this string and the tag content carried in the tagging request as the column name and column value of a column of newly added tagging data for the target content respectively, a flat mapping of the newly added tagging data is achieved. The newly added data after the flat mapping is sent to the search server. Thus, the search server can determine the dynamic template corresponding to the column name in the newly added tagging data of the target content according to the dynamic template configured for each main data type in advance, and establish an index for the column values in the newly added tagging data of the target content according to the dynamic template corresponding to the column name in the newly added tagging data of the target content, enabling users to retrieve the newly added tag content. It can be seen that by applying the solution of the present invention, users can add new tag content at any time by tagging the target content and support the retrieval of the newly added tag content without the need for secondary development. Description of the Drawings

[0024] To more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0025] Figure 1It is a schematic structural diagram of the processing system of the first configurable label according to an embodiment of the present invention;

[0026] Figure 2 It is a flowchart of the processing method of the configurable label according to the first embodiment of the present invention;

[0027] Figure 3 It is a flowchart of the processing method of the configurable label according to the second embodiment of the present invention;

[0028] Figure 4 It is a flowchart of the processing method of the configurable label according to the third embodiment of the present invention;

[0029] Figure 5 It is a flowchart of the processing method of the configurable label according to the fourth embodiment of the present invention;

[0030] Figure 6 It is a flowchart of the processing method of the configurable label according to the fifth embodiment of the present invention;

[0031] Figure 7 It is a schematic structural diagram of the processing device of the configurable label according to the first embodiment of the present invention;

[0032] Figure 8 It is a schematic structural diagram of the processing device of the configurable label according to the second embodiment of the present invention;

[0033] Figure 9 It is a schematic structural diagram of the electronic device provided by the embodiment of the present invention. Detailed implementation manners

[0034] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all 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 shall fall within the protection scope of the present application.

[0035] Refer to Figure 1 , Figure 1 It is a schematic structural diagram of the processing system of the first configurable label according to an embodiment of the present invention. As Figure 1 shown, the system includes: a label server 10 and a search server 20 supporting dynamic indexing;

[0036] In this embodiment, the label server 10 is configured with a main data type for representing the main classification of the label; the search server 20 is configured with a dynamic template for dynamic indexing corresponding to each main data type.

[0037] In this embodiment, the tag server 10 is used to obtain and store newly added tag information. The tag information includes a tag name and a tag type, and the tag type includes a master data type. The tag server 10 is also used to receive a tagging request for target content, search for the tag information corresponding to the tag name carried in the tagging request in the stored tag information, generate a string containing the tag type in the tag information, and send the string and the tag content carried in the tagging request to the search server 20 as the column name and column value of a column of newly added tagging data for the target content, respectively.

[0038] In this embodiment, the search server 20 is used to receive the newly added tagging data for the target content sent by the tag server 10, determine the dynamic template corresponding to the column name in the newly added tagging data for the target content according to the dynamic template corresponding to each master data type, and establish an index for the column value in the newly added tagging data for the target content according to the dynamic template corresponding to the column name in the newly added tagging data for the target content.

[0039] According to Figure 1 As can be seen from the system shown, in this embodiment, the tag server 10 supports adding new tags and tagging content. After receiving a tagging request for target content, it searches for the tag information corresponding to the tag name carried in the tagging request in the stored tag information and generates a string containing the tag type in the tag information. By using the string and the tag content carried in the tagging request as the column name and column value of a column of newly added tagging data for the target content respectively, a flat mapping of the newly added tagging data is realized. The newly added tagging data after the flat mapping is sent to the search server 20. Thus, the search server 20 can determine the dynamic template corresponding to the column name in the newly added tagging data for the target content according to the dynamic template configured for each master data type in advance, and establish an index for the column value in the newly added tagging data for the target content according to the dynamic template corresponding to the column name in the newly added tagging data for the target content, enabling users to retrieve the newly added tag content. It can be seen that by applying the solution of this embodiment, users can add new tag content at any time by tagging target content and support the retrieval of the newly added tag content without the need for secondary development.

[0040] The embodiment of the present invention also provides a schematic diagram of the architecture of the second configurable tag processing system. This system has the same system architecture as the first configurable tag processing system, that is, the second configurable tag processing system includes: a tag server 10 and a search server 20 supporting dynamic indexing;

[0041] In this embodiment, the tag server 10 is configured with a master data type representing the main classification of tags; the search server 20 is configured with a dynamic template for dynamic indexing corresponding to each master data type.

[0042] In this embodiment, the label server 10 is used to obtain and store newly added label information. The label information includes a label name, a label identifier, and a label type. The label type includes a master data type. Among them, when the master data type in the label type of the label information is a single-selection enumeration type or a multi-selection enumeration type, the label information further includes enumeration items.

[0043] In this embodiment, each label has a label identifier that is different from other labels.

[0044] In this embodiment, the label server 10 obtains and stores newly added label information, specifically including:

[0045] Receiving a new label request and generating a label identifier that is different from existing labels (i.e., labels already stored in the label server);

[0046] If the master data type in the label type carried in the new label request is a text type, a number type, or a date type, then store the label identifier, as well as the label name and label type carried in the new label request, as the label information of the new label;

[0047] If the master data type in the label type carried in the new label request is a single-selection enumeration type or a multi-selection enumeration type, then store the label identifier, as well as the label name, label type, and enumeration items carried in the new label request, as the label information of the new label.

[0048] In this embodiment, the label server 10 is further used to receive a tagging request for target content, search for the label information corresponding to the label name carried in the tagging request in the stored label information, generate a string including the label type in the label information, and send the string and the label content carried in the tagging request to the search server 20 as the column name and column value of a column of newly added tagging data for the target content, respectively.

[0049] In this embodiment, the search server 20 is used to receive the newly added tagging data of the target content sent by the label server, determine the dynamic template corresponding to the column name in the newly added tagging data of the target content according to the dynamic template corresponding to each master data type, and establish an index for the column value in the newly added tagging data of the target content according to the dynamic template corresponding to the column name in the newly added tagging data of the target content.

[0050] According to the content of the above-mentioned second configurable label processing system, in this embodiment, the label server 10 realizes the addition operation of labels by receiving new label requests; after receiving a tagging request for the target content, it searches for the label information corresponding to the label name carried in the tagging request in the stored label information and generates a string containing the label type in the label information. By using this string and the label content carried in the tagging request as the column name and column value of a new column of tagging data for the target content respectively, the flat mapping of the tagged content is realized. The data after the flat mapping is sent to the search server 20. Thus, the search server 20 can determine the dynamic template corresponding to the column name in the new tagging data of the target content according to the dynamic template configured for each main data type in advance, and establish an index for the column values in the new tagging data of the target content according to the dynamic template corresponding to the column name in the new tagging data of the target content, so that users can retrieve the newly added label content. It can be seen that by applying the solution of this embodiment, users can add label content at any time by tagging the target content and support the retrieval of the newly added label content without the need for secondary development.

[0051] The embodiment of the present invention also provides a schematic structural diagram of a third configurable label processing system. This system has the same system architecture as the first configurable label processing system, that is, the third configurable label processing system includes: a label server 10 and a search server 20 that supports dynamic indexing;

[0052] In this embodiment, the label server 10 is configured with a main data type for representing the main classification of labels and a sub-data type belonging to each main data type for representing the sub-classification of labels; the search server 20 is configured with a dynamic template for dynamic indexing corresponding to each main data type.

[0053] In this embodiment, the main data type may specifically include the following types: text type (which can be represented by the string "dt"), number type (which can be represented by the string "dn"), date type (which can be represented by the string "dd"), single-selection enumeration type (which can be represented by the string "dse"), and multi-selection enumeration type (which can be represented by the string "dme").

[0054] In this embodiment, the sub-data type belonging to the main data type is a further classification of the main data type. For example, if the main data type of a certain data is the single-selection enumeration type and it is necessary to further distinguish this data, the sub-data type of this data can be further set to distinguish it from other single-selection enumeration type data. In this embodiment, the sub-data type can be a first-level classification (that is, a classification including only one level) or a multi-level classification (that is, a classification with multiple levels, and the classification of each level is the parent classification of the classification of the next level).

[0055] In this embodiment, the tag server 10 is used to obtain and store newly added tag information. The tag information includes a tag name, a tag identifier, and a tag type. The tag type includes a main data type and a sub-data type. Among them, when the main data type in the tag type of the tag information is a single-selection enumeration type or a multi-selection enumeration type, the tag information further includes enumeration items.

[0056] In this embodiment, the tag server 10 obtains and stores newly added tag information, specifically including:

[0057] Receiving a new tag request and generating a tag identifier that is different from existing tags (i.e., tags already stored in the tag server);

[0058] If the main data type in the tag type carried in the new tag request is a text type, a number type, or a date type, then store the tag identifier, as well as the tag name and tag type carried in the new tag request, as the tag information of the new tag;

[0059] If the main data type in the tag type carried in the new tag request is a single-selection enumeration type or a multi-selection enumeration type, then store the tag identifier, as well as the tag name, tag type, and enumeration items carried in the new tag request, as the tag information of the new tag.

[0060] For example, a user can add a tag in the following way: The user enters the tag name: nightclub operation on the page for adding a new tag, selects its tag type, including the main data type (assumed to be a single-selection enumeration type) and the sub-data type (assumed to be type 1), and further enters available enumeration items (assumed to include two enumeration items: "yes" and "no"), clicks the submit button to trigger a new tag request, and the new tag request carries the tag name, tag type, and enumeration items. After receiving the new tag request, the tag server 10 can generate a tag identifier (assumed to be 25), and store the tag identifier, as well as the tag name, tag type, and enumeration items carried in the new tag request, as the tag information of the new tag. The finally stored tag information is shown in Table 1:

[0061]

[0062] Table 1

[0063] In this embodiment, the tag server 10 is further used to receive a tagging request for target content, search for the tag information corresponding to the tag name carried in the tagging request in the stored tag information, generate a string including the tag type in the tag information, and send the string and the tag content carried in the tagging request to the search server 20 as the column name and column value of a column of newly added tagging data for the target content, respectively.

[0064] In this embodiment, the label server 10 generates a string containing the label type in the label information, specifically including: concatenating the string corresponding to the main data type of the label type in the label information, the string corresponding to the sub-data type of the label type in the label information, and the label identifier in the label information into a single string.

[0065] Suppose it is necessary to label a certain store as "nightclub operation", then the labeling of the store can be achieved in the following way: Select the label with the label name "nightclub operation" on the labeling page for the store, and select one of the two enumeration items under the label, such as "Yes", click the submit button to trigger a labeling request. The label name carried in the labeling request is "nightclub operation", and the label content is 79 (indicating "Yes"). After receiving the labeling request, the label server 10 can find the label information with the label name "nightclub operation" according to the label name "nightclub operation" carried in the labeling request, thereby generating a string containing the label type in the label information: "dse_1_25", and then sending the string "dse_1_25" and the label content carried in the labeling request: 79 as the column name and column value in the newly added labeling data corresponding to the store to the search server 20 respectively.

[0066] In this embodiment, the search server 20 is used to receive the newly added labeling data of the target content sent by the label server, determine the dynamic template corresponding to the column name in the newly added labeling data of the target content according to the dynamic template corresponding to each main data type, and establish an index for the column value in the newly added labeling data of the target content according to the dynamic template corresponding to the column name in the newly added labeling data of the target content.

[0067] According to the content of the above third configurable label processing system, in this embodiment, the label server 10 realizes the addition operation of labels by receiving new label requests; after receiving a tagging request for the target content, it searches for the label information corresponding to the label name carried in the tagging request in the stored label information, and splices the string corresponding to the main data type of the label type in the label information, the string corresponding to the sub-data type of the label type in the label information, and the label identifier in the label information into a string. By using this string and the label content carried in the tagging request as the column name and column value of a column of new tagging data for the target content respectively, the flattening mapping of the tagged content is realized. The data after the flattening mapping is sent to the search server 20. Thus, the search server 20 can determine the dynamic template corresponding to the column name in the new tagging data of the target content according to the dynamic template configured for each main data type first, and establish an index for the column value in the new tagging data of the target content according to the dynamic template corresponding to the column name in the new tagging data of the target content, so that users can retrieve the newly added label content. It can be seen that by applying the solution of this embodiment, users can add label content at any time by tagging the target content and support the retrieval of the newly added label content without the need for secondary development.

[0068] The embodiment of the present invention also provides a schematic architecture diagram of a fourth configurable label processing system. This system has the same system architecture as the first configurable label processing system, that is, the second configurable label processing system includes: a label server 10 and a search server 20 that supports dynamic indexing;

[0069] In this embodiment, the label server 10 is configured with a main data type representing the main classification of labels; the search server 20 is configured with a dynamic template for dynamic indexing corresponding to each main data type.

[0070] In this embodiment, the label server 10 is used to obtain and store new label information, where the label information includes a label name and a label type, and the label type includes a main data type; it is used to receive a tagging request for the target content, search for the label information corresponding to the label name carried in the tagging request in the stored label information, generate a string including the label type in the label information, and send this string and the label content carried in the tagging request to the search server 20 as the column name and column value of a column of new tagging data for the target content respectively;

[0071] In this embodiment, the search server 20 is configured to receive the newly added tagging data of the target content sent by the tag server 10, determine the dynamic template corresponding to the column name in the newly added tagging data of the target content according to the dynamic template corresponding to each master data type, and establish an index for the column value in the newly added tagging data of the target content according to the dynamic template corresponding to the column name in the newly added tagging data of the target content.

[0072] In this embodiment, the dynamic template corresponding to the master data type includes an index field matching rule (match) and a dynamic mapping rule (mapping), where the index field matching rule can be represented by a regular expression.

[0073] In practical applications, different dynamic indexes may or may not have the same dynamic template, but the implementation principle is the same.

[0074] Assume that the search server 20 supports the Elasticsearch dynamic template. Then, taking the Elasticsearch dynamic template as an example, the setting of the dynamic template corresponding to each master data type is described as follows:

[0075] 1) For the text type dt, the corresponding dynamic template can be set as follows: match is "dt_*", and mapping is {"type": "text"}. Thus, when the column name in the newly added tagging data matches "dt_*", the search server 20 will automatically add a column of text type index according to this dynamic template and support word segmentation search.

[0076] 2) For the numeric type dn, the corresponding dynamic template can be set as follows: match is "dn_*", and mapping is {"type": "double"}. Thus, when the column name in the newly added tagging data matches "dn_*", the search server 20 will automatically add a column of numeric type index according to this dynamic template and support range search.

[0077] 3) For the date type dd, the corresponding dynamic template can be set as follows: match is "dd_*", and mapping is {"type": "date", "format": "yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_millis"}. Thus, when the column name in the newly added tagging data matches "dd_*", the search server 20 will automatically add a column of date type index according to this dynamic template to support date type search, such as range search of dates and equality matching of dates.

[0078] 4) For the single-choice enumeration type dse, the corresponding dynamic template can be set as follows: match is

[0079] "dse_*", with the mapping being {"type": "nested", "properties": {"id": {"type": "long"}, "name": {"type": "text"}}}, so that when the column name in the newly added labeled data matches "dse_*", the search server 20 will automatically add an index of a complex nested type according to this dynamic template and support searches of the complex nested type. It is possible to query using the id or perform a term search using the name.

[0080] 5) For the multi-select enumeration type dme, the corresponding dynamic template can be set as follows: match is

[0081] "dme_*", with the mapping being {"type": "nested", "properties": {"id": {"type": "long"}, "name": {"type": "text"}}}, so that when the column name in the newly added labeled data matches "dme_*", the search server 20 will automatically add an index of a complex nested type according to this dynamic template and support searches of the complex nested type. It is possible to query using the id or perform a term search using the name.

[0082] In this embodiment, the search server 20 determines the dynamic template corresponding to the column name in the newly added labeled data of the target content according to the dynamic template corresponding to each master data type, including:

[0083] For each master data type, use the index field matching rule in the dynamic template corresponding to this master data type to match the column name in the newly added labeled data of the target content. If the match is successful, then determine the dynamic template corresponding to this master data type as the dynamic template corresponding to the column name in the newly added labeled data of the target content.

[0084] According to the content of the above fourth configurable label processing system, in this embodiment, the label server 10 supports adding new labels and content tagging. After receiving a tagging request for the target content, it searches for the label information corresponding to the label name carried in the tagging request in the stored label information and generates a string containing the label type in the label information. By using this string and the label content carried in the tagging request as the column name and column value of a column of new tagging data for the target content respectively, the flattening mapping of the new tagging data is realized. The new tagging data after the flattening mapping is sent to the search server 20. Thus, the search server 20 can match the column names in the new tagging data of the target content according to the index field matching rules in the dynamic templates corresponding to each master data type, so as to determine the dynamic template corresponding to the column names in the new tagging data of the target content, and establish an index for the column values in the new tagging data of the target content according to the dynamic template corresponding to the column names in the new tagging data of the target content, enabling users to retrieve the new label content. It can be seen that by applying the solution of this embodiment, users can add new label content at any time by tagging the target content and support the retrieval of the new label content without the need for secondary development.

[0085] The above has described in detail the configurable label processing system provided by the embodiments of the present invention. The embodiments of the present invention also provide a configurable label processing method, which will be described in detail below in combination with Figures 2 - 5 for a detailed description.

[0086] See Figure 2 , Figure 2 is the flowchart of the configurable label processing method in the first embodiment of the present invention. This method is applied to a configurable label processing system, and the system includes a label server and a search server supporting dynamic indexing; the label server is configured with a master data type representing the main classification of labels; the search server is configured with a dynamic template for dynamic indexing corresponding to each master data type; this method is specifically applied to the label server and specifically includes the following steps:

[0087] Step 201, obtain and store new label information, where the label information includes a label name and a label type, and the label type includes a master data type;

[0088] Step 202: Receive a tagging request for the target content, search for the tag information corresponding to the tag name carried in the tagging request in the stored tag information, generate a string containing the tag type in the tag information, and send the string and the tag content carried in the tagging request as the column name and column value of a column of the new tagging data for the target content to the search server, so that the search server determines the dynamic template corresponding to the column name in the new tagging data of the target content according to the dynamic template corresponding to each main data type, and indexes the column value in the new tagging data of the target content according to the dynamic template corresponding to the column name in the new tagging data of the target content.

[0089] In this embodiment, after the search server indexes the column value in the new tagging data of the target content, the user can retrieve the column value (i.e., the tagged tag content) according to the original retrieval method.

[0090] According to Figure 2 the method shown, in this embodiment, the tag server supports adding new tags and content tagging. After receiving a tagging request for the target content, it searches for the tag information corresponding to the tag name carried in the tagging request in the stored tag information and generates a string containing the tag type in the tag information. By using the string and the tag content carried in the tagging request as the column name and column value of a column of the new tagging data for the target content respectively, it realizes the flat mapping of the new tagging data. The new tagging data after flat mapping is sent to the search server. Thus, the search server can determine the dynamic template corresponding to the column name in the new tagging data of the target content according to the dynamic template configured for each main data type in advance, and indexes the column value in the new tagging data of the target content according to the dynamic template corresponding to the column name in the new tagging data of the target content, enabling the user to retrieve the newly added tag content. It can be seen that by applying the solution of this embodiment, the user can add new tag content at any time by tagging the target content and support the retrieval of the newly added tag content without the need for secondary development.

[0091] See Figure 3 , Figure 3 is the flowchart of the processing method for configurable tags in the second embodiment of the present invention. This method is applied to a configurable tag processing system, and the system includes a tag server and a search server supporting dynamic indexing; the tag server is configured with a main data type representing the main classification of tags; the search server is configured with a dynamic template for dynamic indexing corresponding to each main data type; this method is specifically applied to the tag server and specifically includes the following steps:

[0092] Step 3011: Receive a new tag request, generate a tag identifier different from the existing tags, and determine the main data type in the tag type carried in the new tag request. When the main data type in the tag type carried in the new tag request is text type, numeric type, or date type, execute Step 3012; when the main data type in the tag type carried in the new tag request is single - select enumeration type or multi - select enumeration type, execute Step 3013;

[0093] In this embodiment, the main data types include text type, numeric type, date type, single - select enumeration type, and multi - select enumeration type.

[0094] Step 3012: Store the tag identifier, the tag name, and the tag type carried in the new tag request as the tag information of the new tag.

[0095] In this embodiment, the tag information includes: tag name, tag identifier, and tag type; the tag type includes the main data type. Among them, when the main data type in the tag type of the tag information is single - select enumeration type or multi - select enumeration type, the tag information further includes enumeration items.

[0096] Step 3013: Store the tag identifier, the tag name, the tag type, and the enumeration items carried in the new tag request as the tag information of the new tag.

[0097] The above Steps 3011 to 3033 are Figure 2 the specific refinement of Step 201 shown.

[0098] Step 302: Receive a tagging request for the target content, search for the tag information corresponding to the tag name carried in the tagging request in the stored tag information, generate a string containing the tag type in the tag information, and send the string and the tag content carried in the tagging request as the column name and column value of a new column of tagging data for the target content to the search server, so that the search server determines the dynamic template corresponding to the column name in the new tagging data of the target content according to the dynamic template corresponding to each main data type, and indexes the column value in the new tagging data of the target content according to the dynamic template corresponding to the column name in the new tagging data of the target content.

[0099] In this embodiment, after the search server indexes the column value in the new tagging data of the target content, the user can retrieve the column value (i.e., the tagged tag content) according to the original retrieval method.

[0100] According to Figure 3As can be seen from the method described above, in this embodiment, the tag server realizes the addition operation of tags by receiving a new tag request; after receiving a tagging request for the target content, it searches for the tag information corresponding to the tag name carried in the tagging request in the stored tag information and generates a string containing the tag type in the tag information. By using this string and the tag content carried in the tagging request as the column name and column value of a new column of tagging data for the target content respectively, a flat mapping of the tagged content is realized. The data after the flat mapping is sent to the search server, so that the search server can determine the dynamic template corresponding to the column name in the new tagging data of the target content according to the dynamic template configured for each main data type in advance, and establish an index for the column values in the new tagging data of the target content according to the dynamic template corresponding to the column name in the new tagging data of the target content, enabling users to retrieve the newly added tag content. It can be seen that by applying the solution of this embodiment, users can add tag content at any time by tagging the target content and support the retrieval of the newly added tag content without the need for secondary development.

[0101] See Figure 4 , Figure 4 FIG. is a flowchart of a method for processing configurable tags according to Embodiment 3 of the present invention. This method is applied to a processing system for configurable tags. The system includes a tag server and a search server that supports dynamic indexing; the tag server is configured with a main data type for representing the main classification of tags and a sub-data type for representing the sub-classification of tags belonging to each main data type; the search server is configured with a dynamic template for dynamic indexing corresponding to each main data type; this method is specifically applied to the tag server and specifically includes the following steps:

[0102] Step 4011: Receive a new tag request, generate a tag identifier different from the existing tags, and determine the main data type in the tag type carried in the new tag request. When the main data type in the tag type carried in the new tag request is a text type, a number type, or a date type, execute Step 4012; when the main data type in the tag type carried in the new tag request is a single-choice enumeration type or a multi-choice enumeration type, execute Step 4013;

[0103] In this embodiment, the main data types include a text type, a number type, a date type, a single-choice enumeration type, and a multi-choice enumeration type.

[0104] Step 4012: Store the tag identifier, the tag name, and the tag type carried in the new tag request as the tag information of the new tag.

[0105] In this embodiment, the label information includes: label name, label identifier, and label type; the label type includes a main data type and a sub-data type. Among them, when the main data type in the label type of the label information is a single-selection enumeration type or a multi-selection enumeration type, the label information further includes enumeration items.

[0106] Step 4013: Store the label identifier, as well as the label name, label type, and enumeration items carried in the new label request, as the label information of the new label.

[0107] The above steps 4011 to 4033 are Figure 2 The specific refinement of step 201 shown.

[0108] Step 4021: Receive a tagging request for the target content, and search for the label information corresponding to the label name carried in the tagging request in the stored label information;

[0109] Step 4022: Concatenate the string corresponding to the main data type of the label type in the label information, the string corresponding to the sub-data type of the label type in the label information, and the label identifier in the label information into a single string;

[0110] The above step 4022 is Figure 2 The specific refinement of "generating a string including the label type in the label information" in step 202 shown.

[0111] Step 4023: Send the string and the label content carried in the tagging request to the search server respectively as the column name and column value of a column of new tagging data for the target content, so that the search server determines the dynamic template corresponding to the column name in the new tagging data of the target content according to the dynamic template corresponding to each main data type, and indexes the column value in the new tagging data of the target content according to the dynamic template corresponding to the column name in the new tagging data of the target content.

[0112] In this embodiment, after the search server indexes the column value in the new tagging data of the target content, the retrieval user can retrieve the column value (i.e., the tagged label content) according to the original retrieval method.

[0113] The above steps 4021 to 4023 are Figure 2 The specific refinement of step 202 shown.

[0114] According to Figure 4As can be seen from the method described above, in this embodiment, the tag server realizes the addition operation of tags by receiving a new tag request; after receiving a tagging request for the target content, it searches for the tag information corresponding to the tag name carried in the tagging request in the stored tag information, and concatenates the string corresponding to the main data type of the tag type in the tag information, the string corresponding to the sub-data type of the tag type in the tag information, and the tag identifier in the tag information into a string. By using this string and the tag content carried in the tagging request as the column name and column value of a column of the new tagging data for the target content respectively, the flat mapping of the tagged content is realized. The data after the flat mapping is sent to the search server. Thus, the search server can determine the dynamic template corresponding to the column name in the new tagging data of the target content according to the dynamic template configured for each main data type in advance, and establish an index for the column value in the new tagging data of the target content according to the dynamic template corresponding to the column name in the new tagging data of the target content, enabling users to retrieve the newly added tag content. It can be seen that by applying the solution of this embodiment, users can add tag content at any time by tagging the target content and support the retrieval of the newly added tag content without the need for secondary development.

[0115] See Figure 5 , Figure 5 is the processing method for configurable tags in Embodiment 4 of the present invention, which is applied to a configurable tag processing system. The system includes: a tag server and a search server supporting dynamic indexing; the tag server is configured with a main data type for representing the main classification of tags; the search server is configured with a dynamic template for dynamic indexing corresponding to each main data type; this method is specifically applied to the search server and mainly includes the following steps:

[0116] Step 501: Receive the new tagging data of the target content sent by the tag server. The new tagging data includes a column name and a column value. Among them, the column name of the new tagging data is a string containing the tag type in the tag information generated after the tag server receives a tagging request for the target content and searches for the tag information corresponding to the tag name carried in the tagging request in the stored tag information; the column value of the new tagging data is the tag content carried in the tagging request received by the tag server.

[0117] Step 502: Determine the dynamic template corresponding to the column name in the new tagging data of the target content according to the dynamic template corresponding to each main data type, and establish an index for the column value in the new tagging data of the target content according to the dynamic template corresponding to the column name in the new tagging data of the target content.

[0118] In this embodiment, after the search server creates an index for the column values in the newly added tagging data of the target content, the user can retrieve the column values (i.e., the tagged label content) according to the original retrieval method.

[0119] According to Figure 5 the method shown, in this embodiment, the tag server supports adding new tags and content tagging. After receiving a tagging request for the target content, it searches for the tag information corresponding to the tag name carried in the tagging request in the stored tag information and generates a string containing the tag type in the tag information. By using this string and the tag content carried in the tagging request as the column name and column value of a column of newly added tagging data for the target content respectively, it realizes the flattening mapping of the newly added tagging data. The flattened newly added tagging data is sent to the search server. Thus, the search server can determine the dynamic template corresponding to the column name in the newly added tagging data of the target content according to the dynamic template configured for each main data type in advance, and create an index for the column values in the newly added tagging data of the target content according to the dynamic template corresponding to the column name in the newly added tagging data of the target content, enabling the user to retrieve the newly added tag content. It can be seen that by applying the solution of this embodiment, the user can add new tag content at any time by tagging the target content and support the retrieval of the newly added tag content without the need for secondary development.

[0120] See Figure 6 , Figure 6 FIG. is the processing method of configurable tags in Embodiment 5 of the present invention, which is applied to a configurable tag processing system. The system includes: a tag server and a search server supporting dynamic indexing; the tag server is configured with a main data type representing the main classification of tags; the search server is configured with a dynamic template for dynamic indexing corresponding to each main data type, and the dynamic template corresponding to the main data type includes an index field matching rule and a dynamic mapping rule; this method is specifically applied to the search server and mainly includes the following steps:

[0121] Step 601: Receive the newly added tagging data of the target content sent by the tag server. The newly added tagging data includes a column name and a column value; wherein, the column name of the newly added tagging data is a string containing the tag type in the tag information generated by the tag server after receiving a tagging request for the target content and searching for the tag information corresponding to the tag name carried in the tagging request in the stored tag information; the column value of the newly added tagging data is the tag content carried in the tagging request for the target content received by the tag server.

[0122] Step 6021: For each master data type, use the index field matching rule in the corresponding dynamic template of the master data type to match the column names in the newly added tagging data of the target content. If the match is successful, determine the dynamic template corresponding to the master data type as the dynamic template corresponding to the column names in the newly added tagging data of the target content.

[0123] The above step 6021 is Figure 5 a specific refinement of "determine the dynamic template corresponding to the column names in the newly added tagging data of the target content according to the dynamic template corresponding to each master data type" in step 502 as shown.

[0124] Step 6022: Establish an index for the column values in the newly added tagging data of the target content according to the dynamic template corresponding to the column names in the newly added tagging data of the target content.

[0125] In this embodiment, after the search server establishes an index for the column values in the newly added tagging data of the target content, the retrieval user can retrieve the column values (i.e., the tagged label content) according to the original retrieval method.

[0126] According to Figure 6 the method shown, in this embodiment, the label server supports adding new labels and content tagging. After receiving a tagging request for the target content, it searches for the label information corresponding to the label name carried in the tagging request in the stored label information and generates a string containing the label type in the label information. By using this string and the label content carried in the tagging request as the column name and column value of a column of newly added tagging data of the target content respectively, the flat mapping of the newly added tagging data is realized. The newly added tagging data after flat mapping is sent to the search server. Thus, the search server can match the column names in the newly added tagging data of the target content according to the index field matching rule in the dynamic template corresponding to each master data type, so as to determine the dynamic template corresponding to the column names in the newly added tagging data of the target content, and establish an index for the column values in the newly added tagging data of the target content according to the dynamic template corresponding to the column names in the newly added tagging data of the target content, enabling the user to retrieve the newly added label content. It can be seen that by applying the solution of this embodiment, the user can add new label content at any time by tagging the target content and can support the retrieval of the newly added label content without the need for secondary development.

[0127] The embodiment of the present invention also provides two processing devices for configurable labels, one is applied to the label server and the other is applied to the search server. The following will be described in combination with Figure 7 and Figure 8 respectively.

[0128] See Figure 7 , Figure 7FIG. 0 is a schematic structural diagram of a processing device for configurable tags according to Embodiment 1 of the present invention. The device is applied to a processing system for configurable tags. The system includes a tag server and a search server that supports dynamic indexing. The tag server is configured with a main data type representing the main classification of tags. The search server is configured with a dynamic template for dynamic indexing corresponding to each main data type. The device is specifically applied to the tag server and includes:

[0129] A new tag unit 701 for obtaining and storing new tag information. The tag information includes a tag name and a tag type, and the tag type includes a main data type.

[0130] A content tagging unit 702 for receiving a tagging request for target content, searching for tag information corresponding to the tag name carried in the tagging request in the stored tag information, generating a string including the tag type in the tag information, and sending the string and the tag content carried in the tagging request as the column name and column value of a new column of tagging data for the target content to the search server, so that the search server determines the dynamic template corresponding to the column name in the new tagging data of the target content according to the dynamic template corresponding to each main data type, and indexes the column value in the new tagging data of the target content according to the dynamic template corresponding to the column name in the new tagging data of the target content.

[0131] Figure 7 In the device shown,

[0132] The main data types include text type, number type, date type, single - select enumeration type, and multi - select enumeration type.

[0133] The tag information further includes: a tag identifier. Wherein, when the main data type in the tag type of the tag information is a single - select enumeration type or a multi - select enumeration type, the tag information further includes enumeration items.

[0134] The new tag unit 701 for obtaining and storing new tag information includes:

[0135] Receiving a new tag request and generating a tag identifier different from existing tags.

[0136] If the main data type in the tag type carried in the new tag request is a text type, a number type, or a date type, then store the tag identifier, the tag name, and the tag type carried in the new tag request as the tag information of the new tag.

[0137] If the main data type in the tag type carried in the new tag request is a single - select enumeration type or a multi - select enumeration type, then store the tag identifier, the tag name, the tag type, and the enumeration items carried in the new tag request as the tag information of the new tag.

[0138] Figure 7 In the device shown,

[0139] The label server is further configured with a sub - data type belonging to each main data type for representing label sub - classifications;

[0140] The label type further includes a sub - data type;

[0141] The content tagging unit 702 generates a string including the label type in the label information, including:

[0142] Concatenate the string corresponding to the main data type of the label type in the label information, the string corresponding to the sub - data type of the label type in the label information, and the label identifier in the label information into a string.

[0143] See Figure 8 , Figure 8 FIG. [FIG. number not provided in the original] is a schematic structural diagram of a processing device for configurable labels according to the second embodiment of the present invention. The device is applied to a processing system for configurable labels. The system includes: a label server and a search server supporting dynamic indexing; the label server is configured with a main data type for representing label main classifications; the search server is configured with a dynamic template for dynamic indexing corresponding to each main data type; the device is specifically applied to the search server and includes:

[0144] A receiving unit 801, configured to receive new tagging data of the target content sent by the label server. The new tagging data includes a column name and a column value; wherein, the column name of the new tagging data is a string including the label type in the label information generated after the label server receives a tagging request for the target content and searches for the label information corresponding to the label name carried in the tagging request in the stored label information; the column value of the new tagging data is the label content carried in the tagging request for the target content received by the label server.

[0145] An indexing unit 802, configured to determine the dynamic template corresponding to the column name in the new tagging data of the target content according to the dynamic template corresponding to each main data type, and establish an index for the column value in the new tagging data of the target content according to the dynamic template corresponding to the column name in the new tagging data of the target content.

[0146] Figure 8 In the device shown,

[0147] The dynamic template corresponding to the main data type includes an index field matching rule and a dynamic mapping rule;

[0148] The indexing unit 802 determines the dynamic template corresponding to the column name in the newly marked data of the target content according to the dynamic template corresponding to each main data type, including:

[0149] For each main data type, use the index field matching rule in the dynamic template corresponding to the main data type to match the column name in the newly marked data of the target content. If the match is successful, determine the dynamic template corresponding to the main data type as the dynamic template corresponding to the column name in the newly marked data of the target content.

[0150] An embodiment of the present invention also provides an electronic device, as Figure 9 shown. The device includes: at least one processor 901, and a memory 902 connected to the at least one processor 901 through a bus; the memory 902 stores one or more computer programs executable by the at least one processor 901; when the at least one processor 901 executes the one or more computer programs, it implements Figures 2 - 4 the steps in the method shown in any of the flowcharts in Figures 5 - 6 or implements the steps in the method shown in any of the flowcharts in

[0151] An embodiment of the present invention also provides a computer-readable storage medium. The computer-readable storage medium stores one or more computer programs, and when the one or more computer programs are executed by a processor, they implement Figures 2 - 4 the steps in the method shown in any of the flowcharts in Figures 5 - 6 or implements the steps in the method shown in any of the flowcharts in

[0152] The above are only the preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention shall be included within the scope of protection of the present invention.

Claims

1. A processing system for configurable tags, characterized in that, The system includes: a tag server and a search server that supports dynamic indexing; The tag server is configured with a main data type for representing the main classification of tags; for obtaining and storing newly added tag information, the tag information includes a tag name and a tag type, and the tag type includes the main data type; for receiving a tagging request for target content, searching for the tag information corresponding to the tag name carried in the tagging request in the stored tag information, generating a string containing the tag type in the tag information, and sending the string and the tag content carried in the tagging request as the column name and column value of a column of newly added tagging data for the target content to the search server; The search server is configured with a dynamic template for dynamic indexing corresponding to each main data type; for receiving the newly added tagging data of the target content sent by the tag server, determining the dynamic template corresponding to the column name in the newly added tagging data of the target content according to the dynamic template corresponding to each main data type, and establishing an index for the column value in the newly added tagging data of the target content according to the dynamic template corresponding to the column name in the newly added tagging data of the target content; the dynamic template corresponding to the main data type includes an index field matching rule and a dynamic mapping rule; the search server, determining the dynamic template corresponding to the column name in the newly added tagging data of the target content according to the dynamic template corresponding to each main data type, includes: for each main data type, using the index field matching rule in the dynamic template corresponding to the main data type to match the column name in the newly added tagging data of the target content, and if the match is successful, determining the dynamic template corresponding to the main data type as the dynamic template corresponding to the column name in the newly added tagging data of the target content.

2. The system according to claim 1, characterized in that, The main data types include text type, number type, date type, single-choice enumeration type, and multi-choice enumeration type; The tag information further includes: a tag identifier; wherein, when the main data type in the tag type of the tag information is the single-choice enumeration type or the multi-choice enumeration type, the tag information further includes enumeration items; The tag server, obtaining and storing newly added tag information, includes: Receiving a new tag request and generating a tag identifier different from the existing tags; If the main data type in the tag type carried in the new tag request is the text type, number type, or date type, storing the tag identifier, and the tag name and tag type carried in the new tag request as the tag information of the new tag; If the main data type in the tag type carried in the new tag request is the single-choice enumeration type or the multi-choice enumeration type, storing the tag identifier, and the tag name, tag type, and enumeration items carried in the new tag request as the tag information of the new tag.

3. The system according to claim 2, characterized in that, The tag server is further configured with a sub data type for representing the sub classification of tags belonging to each main data type; The tag type further includes the sub data type; The tag server, generating a string containing the tag type in the tag information, includes: Concatenate the string corresponding to the main data type of the tag type in the tag information, the string corresponding to the sub-data type of the tag type in the tag information, and the tag identifier in the tag information into a single string.

4. A processing method for configurable tags, applied to a processing system for configurable tags, characterized in that, The system includes a tag server and a search server that supports dynamic indexing; The tag server is configured with a main data type for representing the main classification of tags; The search server is configured with a dynamic template for dynamic indexing corresponding to each main data type; This method is specifically applied to the tag server and includes: Obtain and store newly added tag information, where the tag information includes a tag name and a tag type, and the tag type includes a main data type; Receive a tagging request for target content, search for the tag information corresponding to the tag name carried in the tagging request in the stored tag information, generate a string including the tag type in the tag information, and send the string and the tag content carried in the tagging request to the search server as the column name and column value of a column of newly added tagging data for the target content, so that the search server determines the dynamic template corresponding to the column name in the newly added tagging data for the target content according to the dynamic template corresponding to each main data type, and establish an index for the column value in the newly added tagging data for the target content according to the dynamic template corresponding to the column name in the newly added tagging data for the target content; the dynamic template corresponding to the main data type includes an index field matching rule and a dynamic mapping rule; the search server determines the dynamic template corresponding to the column name in the newly added tagging data for the target content according to the dynamic template corresponding to each main data type, including: for each main data type, use the index field matching rule in the dynamic template corresponding to the main data type to match the column name in the newly added tagging data for the target content, and if the match is successful, determine the dynamic template corresponding to the main data type as the dynamic template corresponding to the column name in the newly added tagging data for the target content.

5. The method according to claim 4, characterized in that, The main data types include text type, numeric type, date type, single-selection enumeration type, and multi-selection enumeration type; The tag information further includes: a tag identifier; wherein, when the main data type in the tag type of the tag information is a single-selection enumeration type or a multi-selection enumeration type, the tag information further includes enumeration items; The obtaining and storing of the newly added tag information includes: Receive a new tag request and generate a tag identifier that is different from existing tags; If the main data type in the tag type carried in the new tag request is a text type, numeric type, or date type, store the tag identifier, the tag name, and the tag type carried in the new tag request as the tag information of the new tag; If the main data type in the tag type carried in the new tag request is a single-selection enumeration type or a multi-selection enumeration type, store the tag identifier, the tag name, the tag type, and the enumeration items carried in the new tag request as the tag information of the new tag.

6. The method according to claim 5, characterized in that, The tag server is further configured with sub-data types for representing tag sub-classifications that belong to each main data type; The tag type further includes sub-data types; Generating a string including the tag type in the tag information includes: Concatenating the string corresponding to the main data type of the tag type in the tag information, the string corresponding to the sub-data type of the tag type in the tag information, and the tag identifier in the tag information into a string.

7. A processing method for configurable tags, applied to a processing system for configurable tags, characterized in that, The system includes: a tag server and a search server supporting dynamic indexing; the tag server is configured with a main data type for representing the main classification of tags; the search server is configured with a dynamic template for dynamic indexing corresponding to each main data type; the method is specifically applied to the search server and includes: Receiving the newly added tagging data of the target content sent by the tag server, where the newly added tagging data includes a column name and a column value; wherein, the column name of the newly added tagging data is a string including the tag type in the tag information generated after the tag server receives a tagging request for the target content and searches for the tag information corresponding to the tag name carried in the tagging request in the stored tag information; the column value of the newly added tagging data is the tag content carried in the tagging request for the target content received by the tag server. Determining the dynamic template corresponding to the column name in the newly added tagging data of the target content according to the dynamic template corresponding to each main data type, and establishing an index for the column value in the newly added tagging data of the target content according to the dynamic template corresponding to the column name in the newly added tagging data of the target content; the dynamic template corresponding to the main data type includes an index field matching rule and a dynamic mapping rule; the search server determines the dynamic template corresponding to the column name in the newly added tagging data of the target content according to the dynamic template corresponding to each main data type, including: for each main data type, using the index field matching rule in the dynamic template corresponding to the main data type to match the column name in the newly added tagging data of the target content, and if the match is successful, determining the dynamic template corresponding to the main data type as the dynamic template corresponding to the column name in the newly added tagging data of the target content.

8. The method according to claim 7, characterized in that, The dynamic template corresponding to the main data type includes an index field matching rule and a dynamic mapping rule. The determining the dynamic template corresponding to the column name in the newly added tagging data of the target content according to the dynamic template corresponding to each main data type includes: For each main data type, using the index field matching rule in the dynamic template corresponding to the main data type to match the column name in the newly added tagging data of the target content, and if the match is successful, determining the dynamic template corresponding to the main data type as the dynamic template corresponding to the column name in the newly added tagging data of the target content.

9. A processing device for configurable tags, applied to a processing system for configurable tags, characterized in that, The system includes a tag server and a search server supporting dynamic indexing; the tag server is configured with a main data type for representing the main classification of tags; The search server is configured with a dynamic template for dynamic indexing corresponding to each main data type; The device is specifically applied to the tag server and includes: A new tag unit, configured to obtain and store newly added tag information, where the tag information includes a tag name and a tag type, and the tag type includes a main data type. A content tagging unit, which is used to receive a tagging request for target content, search for tag information corresponding to the tag name carried in the tagging request in the stored tag information, generate a string containing the tag type in the tag information, and send the string and the tag content carried in the tagging request to the search server as the column name and column value of a new column of tagging data for the target content respectively, so that the search server determines the dynamic template corresponding to the column name in the new tagging data of the target content according to the dynamic template corresponding to each main data type, and indexes the column values in the new tagging data of the target content according to the dynamic template corresponding to the column name in the new tagging data of the target content; the dynamic template corresponding to the main data type includes an index field matching rule and a dynamic mapping rule; the search server determines the dynamic template corresponding to the column name in the new tagging data of the target content according to the dynamic template corresponding to each main data type, including: for each main data type, using the index field matching rule in the dynamic template corresponding to the main data type to match the column name in the new tagging data of the target content, if the match is successful, then determining the dynamic template corresponding to the main data type as the dynamic template corresponding to the column name in the new tagging data of the target content.

10. A processing device for configurable tags, applied to a processing system for configurable tags, characterized in that, The system includes: a tag server and a search server supporting dynamic indexing; the tag server is configured with a main data type for representing the main classification of tags; the search server is configured with a dynamic template for dynamic indexing corresponding to each main data type; this device is specifically applied to the search server and includes: A receiving unit, which is used to receive the new tagging data of the target content sent by the tag server, and the new tagging data includes a column name and a column value; wherein, the column name of the new tagging data is a string containing the tag type in the tag information generated after the tag server receives a tagging request for the target content and searches for tag information corresponding to the tag name carried in the tagging request in the stored tag information; the column value of the new tagging data is the tag content carried in the tagging request received by the tag server. An indexing unit, which is used to determine the dynamic template corresponding to the column name in the new tagging data of the target content according to the dynamic template corresponding to each main data type, and index the column values in the new tagging data of the target content according to the dynamic template corresponding to the column name in the new tagging data of the target content; the dynamic template corresponding to the main data type includes an index field matching rule and a dynamic mapping rule; the search server determines the dynamic template corresponding to the column name in the new tagging data of the target content according to the dynamic template corresponding to each main data type, including: for each main data type, using the index field matching rule in the dynamic template corresponding to the main data type to match the column name in the new tagging data of the target content, if the match is successful, then determining the dynamic template corresponding to the main data type as the dynamic template corresponding to the column name in the new tagging data of the target content.

11. An electronic device, comprising: At least one processor, and a memory connected to the at least one processor via a bus; The memory stores one or more computer programs executable by the at least one processor; characterized in that, when the at least one processor executes the one or more computer programs, it implements the steps in the method described in any one of claims 4-6, or implements the steps in the method described in any one of claims 7-8.

12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores one or more computer programs, and when the one or more computer programs are executed by a processor, they implement the steps in the method described in any one of claims 4-6, or implement the steps in the method described in any one of claims 7-8.

Citation Information

Patent Citations

  • B2B2C platform e-commerce solution processing system

    CN107451821A

  • Index establishing method and device and computer readable storage medium

    CN110309151A