Method and system for generating data in batches
A data and batch technology, which is applied in the direction of file system, relational database, database model, etc., can solve the problems of non-universal process, time-consuming, increased work complexity, etc., and achieve the effect of convenient maintenance and modification, and improved production efficiency
Patent Information
- Authority / Receiving Office
- CN · China
- Current Assignee / Owner
- Publication Date
- 2017-06-09
- Estimated Expiration
- Not applicable · inactive patent
Smart Images

Figure 1 
Figure 2
Abstract
Description
technical field
[0001] The present invention relates to the field of data generation. Background technique
[0002] In the implementation process of data generation, most of the current technology realizes the generation of batch data through database sequences, random numbers, queues, etc., which leads to the fact that the same process cannot be used universally, and each type of data is unique. It increases the complexity of the work in the production process and consumes too much time. Contents of the invention
[0003] The technical problem to be solved by the present invention is to provide a method and system for generating data in batches, the purpose of which is to realize the reuse of the process of generating data, complete the decoupling of the process of submitting production orders and data generation, and improve the efficiency of data generation.
[0004] The technical scheme that the present invention solves the problems of the technologies described above...
Examples
Embodiment 1
[0038] Such as figure 1 As shown, a method for generating data in batches includes the following steps:
[0039] S1, setting the template type of the generated data and the attributes of the template corresponding to the template type;
[0040] S2, select the template type for generating data, set the quantity of generated data, and then submit the production order according to the selected template type and the set quantity;
[0041] S3, the background detects the production order, reads and parses the template according to the production order, and finally generates a set amount of data and provides downloadable data files.
[0042] Specifically, first set the rule template type and corresponding attributes for data generation. The setting process follows the prior definition, and finally forms a string, which is stored in a database or a text file. Each time such a string has a unique stream as logo.
[0043] Then select different data generation template types through t...
Embodiment 2
[0081] Such as figure 2 As shown, a system for generating data in batches, including:
[0082] The template setting module is used to set the template type for generating data and the attributes of the template corresponding to the template type;
[0083] The order generation module is used to select the template type for generating data, set the quantity of generated data, and submit the production order according to the selected template type and the set quantity;
[0084] The data generation module is used to detect the production order, read and parse the template according to the production order, generate a set amount of data and provide downloadable data files.
[0085] Specifically, first set the rule template type and corresponding attributes for data generation. The setting process follows the prior definition, and finally forms a string, which is stored in a database or a text file. Each time such a string has a unique stream as logo.
[0086] Then select differ...