Unlock instant, AI-driven research and patent intelligence for your innovation.

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.

Inactive Publication Date: 2019-01-25
CE DONGLI TECH CO LTD
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Single-tenant single-index has the highest isolation level and the highest data access security, but it consumes a lot of data, especially precious memory resources. When there are too many tenants, the cost is expensive; shared index table level is multi-tenant use the same index, but Use different tables to save the tenant's own data; the shared index row level means that multi-tenant data with the same structure uses the same index and the same type, and the isolation level is the lowest. There are too many dynamic fields in multi-tenant, which leads to the performance degradation of multi-tenant system index data and Query efficiency is reduced

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method and system for classifying dynamic fields
  • A method and system for classifying dynamic fields
  • A method and system for classifying dynamic fields

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method and a system for classifying dynamic fields. The method comprises the following steps: obtaining a record of a target object; recording a plurality of first field namesand a plurality of first field values; classifying a plurality of first field names to obtain a plurality of data classification types; obtaining classification mappings corresponding to the plurality of data classification types, and defining the classification mappings corresponding to the plurality of data classification types as data types of nested object structures; searching from a plurality of data classification types according to the first field names to obtain data classification types corresponding to the first field names; setting a second field name and a second field value of adata classification type corresponding to the first field name; and setting the second field name as the first field name and the second field value as the first field value to improve the performance and query efficiency of the multi-tenant system index data and improve the user experience.

Description

Technical field [0001] The present invention relates to the technical field of computer software, in particular to a classification method and system for dynamic fields. Background technique [0002] There are three main index data isolation levels in a multi-tenant system: single tenant single index, shared index table level, and shared index row level. The single-tenant single index has the highest isolation level and the highest data access security, but it consumes a lot of data, especially valuable memory resources. When there are too many tenants, the cost is expensive; the shared index table level is that multiple tenants use the same index, but Use different tables to store the tenant’s own data; shared index row-level is that the data of the same structure of multi-tenant use the same index and the same type, the isolation level is the lowest, and there are too many dynamic fields in the multi-tenant system, which causes the performance of multi-tenant system index data ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/33G06F16/35
Inventor 黄大洋
Owner CE DONGLI TECH CO LTD