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

Data generation method and device

A data generation and data technology, applied in the computer field, can solve problems such as poor maintainability, high complexity of joint query, and reduce the complexity of multi-table joint query

Pending Publication Date: 2022-05-13
夏之泉
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although a good database structure design can reduce the coupling between database tables to a certain extent and reduce the complexity of multi-table joint query, multi-table joint query is inevitable
[0003] In order to deal with the multi-table joint query, software developers currently have two main methods: one is the runtime joint query, that is, when the data needs to be queried, the data in multiple data tables is combined, and real-time processing is performed by filtering, sorting, data processing, etc. Obtaining the required data from multiple data tables, this method has good real-time performance, but the complexity of joint query is high, and when modifying the joint mode of multiple tables, it is necessary to modify the joint query statement in the code, which has poor maintainability; the second is By transferring the data in multiple required data tables (referred to as source tables here) to a new data table (referred to as new tables here), the system does not need to combine multi-table queries when running, only It is only necessary to perform a single-table query in the new table according to specific conditions. This method reduces the complexity of the joint query, but because the data is usually updated from the source table to the new table at regular intervals, it is difficult to take into account real-time performance and system performance. And when modifying the joint method of multiple tables, it is necessary to modify the rule code generated by the new table, which has poor maintainability

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
  • Data generation method and device
  • Data generation method and device
  • Data generation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0052] figure 1 It is a schematic diagram of the data generation method provided by the embodiment of the present invention. The method includes:

[0053] 101: Read multi-table joint configuration information;

[0054] 102: Parse the multi-table joint configuration information to generate a new table data model;

[0055] 103: Parse the mult...

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 data generation method and device. The method comprises the steps that multi-table joint configuration information is read; analyzing the multi-table joint configuration information to generate a new table data model; and analyzing the multi-table joint configuration information to generate new table data updating logic. According to the data generation method provided by the invention, the multi-table joint query logic does not need to be developed, the source table data does not need to be regularly traversed to generate the new table data, and the new table data can be automatically generated and updated only by configuring the structural definition of the new table data, so that the complexity of data joint query is reduced, and the query efficiency is improved; and meanwhile, the data generation logic and the new table data use logic of multi-table joint query are decoupled, so that the maintainability of the system is improved while the real-time performance and the system performance are ensured.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a method and device for generating data. Background technique [0002] The database (DB) of a software system usually refers to the database structure generated by the database management program and the data stored in the database structure. The database is the basis of the software system. In the process of software development, the database structure is usually defined as multiple independent substructures, which are called data tables or data collections (here we collectively refer to them as data tables). Some system functions can complete the corresponding work by calling one or more data tables independently, but some system functions need to combine the data in multiple data tables to complete the corresponding work. Although a good database structure design can reduce the coupling between database tables to a certain extent and reduce the complexity of multi-t...

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/22G06F16/23G06F16/2453G06F16/25
CPCG06F16/2282G06F16/23G06F16/2453G06F16/256
Inventor 夏之泉
Owner 夏之泉
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More