Basic data generation method and device and test data generation method and device
A basic data and data generation technology, applied in the field of data processing, can solve the problems that the test data cannot reflect the dependencies between data, the rules are limited, and the test data generation efficiency is low
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
example 1
[0143] Example 1: To generate employees' birth dates within the range of 1960 to 1990, define the syntax:
[0144] "X": "birthday", indicating that X corresponds to the "birthday" field;
[0145] "Ref": "null", if the generated data dependent field is null, it means that it does not depend on other fields;
[0146] "Scope": "19600101<=X<=19901231", indicating that the generation range is from January 1, 1960 to December 31, 1990
[0147] "Type": "date", the target generation type is date type, and the default format is "YYYY-MM-DD"
[0148] "Format": "YYYY / MM / DD", set the generated format, if not specified, use the default format;
example 2
[0149] Example 2: Generate employee ID number, use birthday to generate the result and convert it into the year, month, and day in the middle of the ID number, define the syntax:
[0150] "X": "identification", indicating that X corresponds to the "identification" field;
[0151] "Ref": "birthday", specifying that when X is generated, it depends on the generation result of the "birthday" field;
[0152] "Scope": "tochar(rand(100000,900000),'######')+Ref+tochar(rand(1000,9000),'####')", refers to the use of the first six and the last four Random number generation, rand is a random function, the range of numbers in parentheses is the range of random number generation, and the generated random numbers are directly converted into characters. During the conversion process, there are not enough digits in the front to fill with zeros, and the reference field is assembled in the middle to generate;
[0153] "Type": "char", the target generation type is character type;
[015...
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