A method and a system for determining a data set assembly framework

A technology for determining methods and data sets, applied in the field of determining methods and systems for data set assembly frameworks, can solve problems such as reducing development efficiency and not being very friendly, so as to avoid additional performance consumption, reduce development and maintenance costs, improve development efficiency and Modify the effect of maintenance efficiency

Active Publication Date: 2019-04-26
CTRIP COMP TECH SHANGHAI
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical problem to be solved by the present invention is that the data query framework in the prior art is not very friendly to the DB, and inevitably requires certain additional coding, which reduces the development time. defects such as efficiency, the purpose is to provide a

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 a system for determining a data set assembly framework
  • A method and a system for determining a data set assembly framework
  • A method and a system for determining a data set assembly framework

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0051] Such as figure 1 As shown, the method for determining the dataset assembly framework of this embodiment includes:

[0052] S101. Obtain an initial data set and query parameters;

[0053] Wherein, each query parameter corresponds to a sub-dataset in the initial data set;

[0054] S102. Determine the query parameter configuration corresponding to the initial data set according to the query parameter;

[0055]Wherein, each query parameter corresponds to a query parameter configuration;

[0056] The configuration of query parameters includes the configuration of query data and assembly data in sequence for the sub-datasets corresponding to the query parameters;

[0057] S103. Perform configuration processing on the sub-datasets corresponding to the query parameters according to the configuration of the query parameters, and obtain an assembled target data set.

[0058] In this embodiment, the query parameter configuration corresponding to the initial data set is determi...

Embodiment 2

[0060] Such as figure 2 As shown, the method for determining the dataset assembly framework in this embodiment is a further improvement on Embodiment 1, specifically:

[0061] After step S101, before step S102 also includes:

[0062] S1020, judging whether the initial data set has been initialized, if not, performing initialization processing on the initial data set; if yes, then step S102.

[0063] Among them, initialization processing mainly refers to reading and loading configuration files, and parsing and preprocessing the configurations corresponding to all data sets (for example, serializing them into entity classes), so as to speed up subsequent data processing.

[0064] Step S103 includes:

[0065] S1031. Perform configuration processing on the sub-dataset corresponding to the query parameter according to the configuration of the query parameter, and obtain a configuration result corresponding to each query parameter;

[0066] S1032. Associate the configuration res...

Embodiment 3

[0112] Such as Figure 4 As shown, the system for determining the dataset assembly framework in this embodiment includes a data acquisition module 1 , a configuration determination module 2 and a target dataset acquisition module 3 .

[0113] Data acquisition module 1 is used to acquire initial data sets and query parameters;

[0114] Wherein, each query parameter corresponds to a sub-dataset in the initial data set;

[0115] The configuration determination module 2 is used to determine the query parameter configuration corresponding to the initial data set according to the query parameters;

[0116] Wherein, each query parameter corresponds to a query parameter configuration;

[0117] The configuration of query parameters includes the configuration of query data and assembly data in sequence for the sub-datasets corresponding to the query parameters;

[0118] The target data set acquisition module 3 is used for the acquisition module to configure and process...

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 discloses a determination method and system for a data set assembly framework. The determination method comprises the steps of obtaining an initial data set and query parameters; Determining query parameter configuration corresponding to the initial data set according to the query parameters; And according to the query parameter configuration, performing configuration processing on the sub-data set corresponding to the query parameter to obtain an assembled target data set. According to the method, the assembled data set can be directly obtained without additional coding, so thatthe development efficiency and the modification and maintenance efficiency are improved; The cross-library and cross-table data can be subjected to data association in a program, so that the additional performance consumption of the database caused by the data association of the database is avoided, and the development and maintenance cost is reduced.

Description

technical field [0001] The invention relates to the technical field of data development, in particular to a method and system for determining a data set assembly framework. Background technique [0002] Existing data query frameworks generally use SQL (Structured Query Language, Structured Query Language) statement query or query through ORM (Object Relational Mapping, Object Relational Mapping) method. The more commonly used SQL-based data query frameworks are Mybatis (a persistence layer SQL framework). Mybatis can query and assemble data according to the configured SQL statements; the more commonly used ORM-based frameworks are Hibernate (an ORM data query framework). Query framework), Hibernate can establish a mapping relationship with the database according to POJO (Plain Ordinary Java Object, simple Java object), query by generating SQL statements, and assemble data through the relationship between POJO. [0003] However, the disadvantage of the SQL data query framewo...

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): G06F8/71
CPCG06F8/71Y02P90/30
Inventor 郑嘉玮
Owner CTRIP COMP TECH SHANGHAI
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products