A method and system for classifying dynamic fields
A classification method and classification system technology, applied in the field of dynamic field classification, can solve the problems of high cost, large data, and many dynamic fields.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0049] figure 1 It is a flow chart of a method for classifying dynamic fields provided in Embodiment 1 of the present invention.
[0050] Reference figure 1 , The method includes the following steps:
[0051] Step S101: Obtain a record of a target object, where the record includes multiple first field names and multiple first field values;
[0052] Step S102: Classify multiple first field names to obtain multiple data classification types;
[0053] Specifically, the multiple first field names are classified according to data types, word segmentation rules, and business types to obtain multiple data classification types.
[0054] Step S103: Obtain classification maps corresponding to multiple data classification types, and define the classification maps corresponding to the multiple data classification types as the data type of the nested object structure;
[0055] Here, the classification mapping corresponding to the multiple data classification types is the mapping of the multiple data ...
Embodiment 2
[0067] image 3 It is a data structure conversion diagram of a dynamic field provided in the second embodiment of the present invention.
[0068] Reference image 3 , A row of records consists of N columns, multiple first fields are named field1, field2, field3...fieldN, and the corresponding multiple first field values are value1, value2, value3...valueN, where N is greater than 0. Classify the field names according to data types, word segmentation rules and business types, define them as YW_1, YW_2, YW_3...YW_N multiple data classification types, and get the classification mapping corresponding to the data classification type in the ElasticSearch search server, and define the classification mapping The data type of nested object structure for nestestobject. Store multiple first field names, multiple values corresponding to the first field values, and multiple data classification types, and set the second field name in the data classification type YW as the first field name,...
Embodiment 3
[0071] Figure 4 It is a schematic diagram of a dynamic field classification system provided in Embodiment 3 of the present invention.
[0072] Reference Figure 4 The system includes an acquisition unit 10, a classification unit 20, a definition unit 30, a search unit 40, a first setting unit 50, and a second setting unit 60.
[0073] The obtaining unit 10 is configured to obtain a record of a target object, the record including multiple first field names and multiple first field values;
[0074] The classification unit 20 is configured to classify multiple first field names to obtain multiple data classification types;
[0075] The defining unit 30 is configured to obtain classification maps corresponding to multiple data classification types, and define the classification maps corresponding to the multiple data classification types as the data type of the nested object structure;
[0076] The searching unit 40 is configured to search from multiple data classification types accordin...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


