Data generation method and system
A data generation and data technology, applied in the database field, can solve problems such as incompleteness, incomplete test data, and long time consumption, and achieve the effect of improving quality and input efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0020] The embodiment of the present invention provides a data generation method, such as figure 1 As shown, the method includes:
[0021] 101. The data generation system analyzes configuration information of data in the current database, and acquires data generation rules according to the configuration information.
[0022] Specifically, the configuration information includes the configuration information of the data table in the database, or the configuration information preset by the user; wherein, the configuration information of the data table includes the field information of the data table in the current database, and the field information Including information such as the field name, type, length, comment, default value, attribute, self-increment type, constraint, etc. of the field; the user-preset configuration information is set by the user to represent the data generation rules that meet the user's needs.
[0023] 102. The data generation system generates data acco...
Embodiment 2
[0027] The embodiment of the present invention provides a data generation method, such as figure 2 As shown, the method includes:
[0028] 201. The data generation system acquires the configuration information of the data table in the database, the configuration information includes the field information of each field in the data table, and the field information includes the field name, type, length, comment, and default value of the field , attributes, auto-increment types, constraints and other information.
[0029] It is worth noting that the data generation system can also obtain user-preset configuration information to determine data generation rules. Specifically, the configuration information preset by the user is set by the user, and is used to represent the data generation rule set by the user.
[0030] 202. The data generation system analyzes the field information of each field in the data table, specifically including analyzing the field name of each field, and o...
Embodiment 3
[0056] An embodiment of the present invention provides a data generation system capable of implementing the above method embodiments, such as image 3 As shown, the data generation system includes:
[0057] An analysis unit 31, configured to analyze the configuration information of the data in the current database, and obtain data generation rules according to the configuration information;
[0058] The generation unit 32 is configured to generate data according to the data generation rule.
[0059] Further, such as Figure 4 As shown, the data generation system also includes a first acquisition unit 33 or a second acquisition unit 34, wherein:
[0060] The first acquiring unit 33 is configured to acquire configuration information of a data table in the database, the configuration information includes field information of each field in the data table, and the field information includes field names of each field in the database; or
[0061] The second acquiring unit 34 is c...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com