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
Example Embodiment
[0019] Example 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 the configuration information of the data in the current database, and obtains data generation rules according to the configuration information.
[0022] Specifically, the configuration information includes configuration information of a data table in the database, or configuration information preset by a user; wherein, the configuration information of the data table includes field information of a data table in the current database, and the field information Including the field name, type, length, comment, default value, attribute, auto-increment type, constraints and other information of the field; the user preset configuration information is set by the user and is used to characterize the data generation rules that meet the user's needs.
[0023] 102. The data generation system generate...
Example Embodiment
[0026] Example 2
[0027] The embodiment of the present invention provides a data generation method, such as figure 2 As shown, the method includes:
[0028] 201. A data generation system obtains configuration information of a data table in a database, the configuration information includes 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 type, constraints and other information.
[0029] It is worth noting that the data generation system can also obtain configuration information preset by the user to determine data generation rules. Specifically, the configuration information preset by the user is set by the user, and is used to characterize 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, a...
Example Embodiment
[0055] Example 3
[0056] The embodiment of the present invention provides a data generation system that can implement the above method embodiment, such as image 3 As shown, the data generation system includes:
[0057] The analysis unit 31 is 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 generating 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 further includes a first acquisition unit 33 or a second acquisition unit 34, wherein:
[0060] The first obtaining unit 33 is configured to obtain configuration information of the data table in the database, where the configuration information includes field information of each field in the data table, and the field information includes the field name of each field in the database; or
[0061] The second obtain...
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.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap