CN102982414A - Data generating device and method - Google Patents
Data generating device and method Download PDFInfo
- Publication number
- CN102982414A CN102982414A CN2012104786989A CN201210478698A CN102982414A CN 102982414 A CN102982414 A CN 102982414A CN 2012104786989 A CN2012104786989 A CN 2012104786989A CN 201210478698 A CN201210478698 A CN 201210478698A CN 102982414 A CN102982414 A CN 102982414A
- Authority
- CN
- China
- Prior art keywords
- data
- user
- data type
- serial number
- generating device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
The invention provides a data generating device. The data generating device comprises an obtaining unit, a combination unit and a generating unit, wherein the obtaining unit is used for obtaining source data types from preset target data types according to obtained instructions of users; the combination unit is used for combining the source data types to serve as a data processing rule; and the generating unit is used for automatically generating result data corresponding to to-be-processed documents according to the data processing rule and values corresponding to the source data types in to-be-processed document data. The invention further provides a data generating method. Through the technical scheme, rule logics can be automatically generated according to user setting, the data are automatically generated by utilizing existing data according to the set rule logics, the data generating method is flexible to operate and easy to expand, processing can be performed according to the conditions of different document source data so as to generate the required data, and generation of repeated data can be avoided.
Description
Technical field
The present invention relates to technical field of data processing, in particular to a kind of data generating device and a kind of data creation method.
Background technology
In the ERP application system, the user arranges the rule generation corresponding data according to business event and data with existing, is specifically related in the enterprise to the design of the data rule of various application and according to regular generated data.Go for following scene: the service application that needs automatically generated data in the automatic enterprises such as numbering that generate such as lot number, sequence number, bar code, base profile of business data.
In computer application system, need a large amount of documents of manual entry, behind a series of documents of user's typing, need to generate new data by certain rule according to some project data of document.
For example: the every delegation inventory data in the storage bill generates the data that lot number generates automatically for date and the department according to document.
The user is according to the regular manual typing lot number in the enterprise separately in traditional ERP system.This mode complex operation, make mistakes easily, efficiency of inputting is low.Afterwards, the method by certain rule generation data occurred, but existing method still has very large defective:
1, rule is fixing, underaction;
2, can not process according to the situation of different document source datas;
3, can only generate the data of specified type, be difficult for expansion.
Therefore, need a kind of data processing technique, can be according to the automatic create-rule logic of arranging of user, utilize data with existing according to the logic rules automatically generated data that arranges, flexible operation, be easy to expansion, can process the generation desired data according to the situation of different document source datas, and can avoid producing repeating data.
Summary of the invention
The present invention just is being based on the problems referred to above, has proposed a kind of data processing technique, can utilize data with existing according to the logic rules automatically generated data that arranges, and can avoid producing repeating data according to the automatic create-rule logic of arranging of user, is easy to expansion.
In view of this, the present invention proposes a kind of data generating device, comprising: acquiring unit is used for obtaining source data type according to user's the instruction of obtaining from the goal-selling data type; Assembled unit is used for described source data type is made up with as data processing rule; Generation unit is used for according to described data processing rule and pending bills data automatically generating the result data corresponding to described pending document corresponding to the numerical value of described source data type.
In this technical scheme, programmer or secondary development personnel can be as required select data to store (such as with the document date as the goal-selling data type from the bills data item, department's coding waits data initialization in the storage list of correspondence), the source data type that meets business event that the user selects from the goal-selling data type of storage can be made up, and combined result stored as data processing rule, data generating device can be according to data processing rule, with in the pending bills data corresponding to the numerical value of described source data type, automatically generate the required deal with data to pending document of user, and preserve.
The user can revise source data type as required, and then the rule of modification automatically generated data, make data generating device process the generation desired data according to the situation of different document source datas, be applicable to different business events, have very strong extendability and dirigibility.
In technique scheme, preferably, also comprise: display unit is used for described result data is shown.
In this technical scheme, can the result data that generate be shown, be convenient to the user and check.
In technique scheme, preferably, also comprise: setting unit, the instruction that arranges that is used for according to the user is that described source data type arranges corresponding contrast code, and described display unit also is used for showing corresponding contrast code at described result data.
In this technical scheme, because when the user arranges automatically generated data regular according to the data in the document, unique identification automatically generated data with the data in the document may be difficult for understanding, then the user can arrange to the unique identification of the data in the document contrast code (mapping contrast code) and preserve, to replace not intelligible sign, can also be according to former archives coding again reduction contrast code, when showing result data, the contrast code can be shown, so that the user consults in corresponding clauses and subclauses.
In technique scheme, preferably, also comprise: query unit, be used for the serial number according to user's input, inquire about the result data corresponding with described serial number, and described display unit is used for also described corresponding result data is shown.
In this technical scheme, when generating result data, can also generate corresponding serial number, avoid producing repeating data, the user can be by the input serial number to inquire about corresponding result data.
In technique scheme, preferably, also comprise: edit cell, be used for the edit instruction according to the user, described goal-selling data type, described source data type and/or described serial number are edited.
In this technical scheme, the user can adjust goal-selling data type (such as adding data as the goal-selling data type from bills data), source data type (such as the source data type of revising to change data processing rule) and/or the corresponding serial number of result data (changing 4 into such as the serial number with the result data of serial number as 3, is that the serial number of 4 result data changes 3 into serial number) as required.
According to another aspect of the invention, also proposed a kind of data creation method, having comprised: step 202, from the goal-selling data type, obtain source data type according to user's the instruction of obtaining; Step 204 makes up described source data type with as data processing rule; Step 206, according in described data processing rule and the pending bills data corresponding to the numerical value of described source data type, automatically generate the result data corresponding to described pending document.
In this technical scheme, programmer or secondary development personnel can be as required select data to store (such as with the document date as the goal-selling data type from the bills data item, department's coding waits data initialization in the storage list of correspondence), the source data type that meets business event that the user selects from the goal-selling data type of storage can be made up, and combined result stored as data processing rule, can be according to data processing rule, with in the pending bills data corresponding to the numerical value of described source data type, automatically generate the required deal with data to pending document of user, and preserve.
The user can revise source data type as required, and then revises the rule of automatically generated data, can process the generation desired data according to the situation of different document source datas, is applicable to different business events, has very strong extendability and dirigibility.
In technique scheme, preferably, described step 206 also comprises: described result data is shown.
In this technical scheme, can the result data that generate be shown, be convenient to the user and check.
In technique scheme, preferably, also comprised before described step 206: the instruction that arranges according to the user is that described source data type arranges corresponding contrast code, and described step 206 also comprises: show corresponding contrast code in described result data.
In this technical scheme, because when the user arranges automatically generated data regular according to the data in the document, unique identification automatically generated data with the data in the document may be difficult for understanding, then the user can arrange to the unique identification of the data in the document contrast code (mapping contrast code) and preserve, to replace not intelligible sign, can also be according to former archives coding again reduction contrast code, when showing result data, the contrast code can be shown, so that the user consults in corresponding clauses and subclauses.
In technique scheme, preferably, also comprise: according to the serial number of user input, inquire about the result data corresponding with described serial number and show.
In this technical scheme, when generating result data, can also generate corresponding serial number, avoid producing repeating data, the user can be by the input serial number to inquire about corresponding result data.
In technique scheme, preferably, also comprise: according to user's edit instruction, described goal-selling data type, described source data type and/or described serial number are edited.
In this technical scheme, the user can adjust goal-selling data type (such as adding data as the goal-selling data type from bills data), source data type (such as the source data type of revising to change data processing rule) and/or the corresponding serial number of result data (changing 4 into such as the serial number with the result data of serial number as 3, is that the serial number of 4 result data changes 3 into serial number) as required.
By above technical scheme, can utilize data with existing according to the logic rules automatically generated data that arranges, and can avoid producing repeating data according to the automatic create-rule logic of arranging of user, be easy to expansion.
Description of drawings
Fig. 1 shows the according to an embodiment of the invention block diagram of data generating device;
Fig. 2 shows the according to an embodiment of the invention process flow diagram of data creation method;
Fig. 3 A to Fig. 3 E shows the according to an embodiment of the invention operation chart of data generating device.
Embodiment
In order more clearly to understand above-mentioned purpose of the present invention, feature and advantage, below in conjunction with the drawings and specific embodiments the present invention is further described in detail.Need to prove that in the situation of not conflicting, the application's embodiment and the feature among the embodiment can make up mutually.
A lot of details have been set forth in the following description so that fully understand the present invention; but; the present invention can also adopt other to be different from other modes described here and implement, and therefore, protection scope of the present invention is not subjected to the restriction of following public specific embodiment.
Fig. 1 shows the according to an embodiment of the invention block diagram of data generating device.
As shown in Figure 1, data generating device 100 comprises according to an embodiment of the invention: comprising: acquiring unit 102 is used for obtaining source data type according to user's the instruction of obtaining from the goal-selling data type; Assembled unit 104 is used for source data type is made up with as data processing rule; Generation unit 106 is used for according to data processing rule and pending bills data automatically generating the result data corresponding to pending document corresponding to the numerical value of source data type.
In this technical scheme, programmer or secondary development personnel can be as required select data to store (such as with the document date as the goal-selling data type from the bills data item, department's coding waits data initialization in the storage list of correspondence), the source data type that meets business event that the user selects from the goal-selling data type of storage can be made up, and combined result stored as data processing rule, data generating device 100 can be according to data processing rule, with in the pending bills data corresponding to the numerical value of source data type, automatically generate the required deal with data to pending document of user, and preserve.
The user can revise source data type as required, and then the rule of modification automatically generated data, make data generating device 100 process the generation desired data according to the situation of different document source datas, be applicable to different business events, have very strong extendability and dirigibility.
Preferably, data generating device 100 also comprises according to an embodiment of the invention: display unit 110 is used for result data is shown.
Can the result data that generate be shown, be convenient to the user and check.
Preferably, data generating device 100 also comprises according to an embodiment of the invention: setting unit 112, the instruction that arranges that is used for according to the user is that source data type arranges corresponding contrast code, and display unit 110 also is used for showing corresponding contrast code at result data.
Because when the user arranges automatically generated data regular according to the data in the document, unique identification automatically generated data with the data in the document may be difficult for understanding, then the user can arrange to the unique identification of the data in the document contrast code (mapping contrast code) and preserve, to replace not intelligible sign, can also be according to former archives coding again reduction contrast code, when showing result data, the contrast code can be shown, so that the user consults in corresponding clauses and subclauses.
Preferably, data generating device 100 also comprises according to an embodiment of the invention: query unit 114, be used for the serial number according to user's input, and inquire about the result data corresponding with serial number, and display unit 110 also is used for corresponding result data is shown.
When generating result data, can also generate corresponding serial number, avoid producing repeating data, the user can be by the input serial number to inquire about corresponding result data.
Preferably, data generating device 100 also comprises according to an embodiment of the invention: edit cell 116, be used for the edit instruction according to the user, and target data, source data type and/or serial number are edited.
The user can adjust goal-selling data type (such as adding data as the goal-selling data type from bills data), source data type (such as the source data type of revising to change data processing rule) and/or the corresponding serial number of result data (changing 4 into such as the serial number with the result data of serial number as 3, is that the serial number of 4 result data changes 3 into serial number) as required.
Fig. 2 shows the according to an embodiment of the invention process flow diagram of data creation method.
As shown in Figure 2, data creation method comprises according to an embodiment of the invention: step 202, from the goal-selling data type, obtain source data type according to user's the instruction of obtaining; Step 204 makes up source data type with as data processing rule; Step 206, according in data processing rule and the pending bills data corresponding to the numerical value of source data type, automatically generate the result data corresponding to pending document.
Programmer or secondary development personnel can be as required select data to store (such as with the document date as the goal-selling data type from the bills data item, department's coding waits data initialization in the storage list of correspondence), the source data type that meets business event that the user selects from the goal-selling data type of storage can be made up, and combined result stored as data processing rule, can be according to data processing rule, with in the pending bills data corresponding to the numerical value of source data type, automatically generate the required deal with data to pending document of user, and preserve.
The user can revise source data type as required, and then revises the rule of automatically generated data, can process the generation desired data according to the situation of different document source datas, is applicable to different business events, has very strong extendability and dirigibility.
Preferably, step 206 also comprises: result data is shown.
Can the result data that generate be shown, be convenient to the user and check.
Preferably, also comprised before step 206: the instruction that arranges according to the user is that source data type arranges corresponding contrast code, and step 206 also comprises: show corresponding contrast code in result data.
Because when the user arranges automatically generated data regular according to the data in the document, unique identification automatically generated data with the data in the document may be difficult for understanding, then the user can arrange to the unique identification of the data in the document contrast code (mapping contrast code) and preserve, to replace not intelligible sign, can also be according to former archives coding again reduction contrast code, when showing result data, the contrast code can be shown, so that the user consults in corresponding clauses and subclauses.
Preferably, data creation method also comprises according to an embodiment of the invention: according to the serial number of user input, inquire about the result data corresponding with serial number and show.
When generating result data, can also generate corresponding serial number, avoid producing repeating data, the user can be by the input serial number to inquire about corresponding result data.
Preferably, data creation method also comprises according to an embodiment of the invention: according to user's edit instruction, target data, source data type and/or serial number are edited.
The user can adjust goal-selling data type (such as adding data as the goal-selling data type from bills data), source data type (such as the source data type of revising to change data processing rule) and/or the corresponding serial number of result data (changing 4 into such as the serial number with the result data of serial number as 3, is that the serial number of 4 result data changes 3 into serial number) as required.
Fig. 3 A to Fig. 3 E shows the according to an embodiment of the invention operation chart of data generating device.
As shown in Figure 3A, data generating device 100 can comprise according to an embodiment of the invention: source data preset unit 302, regular setting unit 304, contrast code setting unit 306, data generating unit 308, query unit 310, modification unit 312.
Source data preset unit 302 can generate the goal-selling data type according to the data in the document by programmer, secondary development personnel.
The below automatically generates the lot number data instance with stock and describes principle of operation of the present invention in detail:
Such as the document date, the data such as department's coding can be preset in the corresponding source data type storage list as source data type, and are as shown in table 1:
Table 1
Preset according to table 1 document date, product batch number and department's coding, as shown in table 2:
Table 2
The enterprise customer can arrange concrete data create-rule by regular setting unit 304, according to the source data type that presets, from table 1, select enterprise to use the source data type that needs and make up as data processing rule, and be saved in the rale store table, as shown in table 3:
Table 3
Shown in Fig. 3 B, the user arranges the rule 002 of the stock 02 under the large class 01 of stock, and corresponding rale store table is as shown in table 4:
Table 4
Because when the user arranges automatically generated data regular according to the data in the document, unique identification automatically generated data with the data in the document may be difficult for understanding, then the user can arrange by the unique identification of the data in 306 pairs of documents of contrast code setting unit contrast code (mapping contrast code) and preserve, to replace not intelligible sign, can also be according to former archives coding again reduction contrast code, when showing result data, the contrast code can be shown, so that the user consults in corresponding clauses and subclauses.Shown in Fig. 3 C, the contrast code that department's coding 01 is set is aaaa.
Shown in Fig. 3 D, the data processing rule that data generating unit 308 can generate according to regular generation unit 304, and the numerical value corresponding to source data type generates result data automatically in the pending bills data, and preserve the serial number that upgrades.
According to the result data that regular generation unit 304 generates, the lot number of 02 stock is generated as automatically: 2012/10/18aaaa00000002@@@@@.
Wherein, 2012/10/18 is the document date, and aaaa is the contrast code of department's coding 01 of document, 0000008 is serial number, @is that product batch number does not have at document owing to product batch number, but is set to 5 bit lengths, therefore can replace symbol with 5 and replace.
The user can also be by query unit 310 input serial numbers to show corresponding result data, or make amendment by revising every data that 312 pairs of unit have arranged, shown in Fig. 3 E, the serial number in October, 2012 of flowing water has been discharged to 3 by the moon on document date, and the serial number Lookup protocol is 4 when so again generating the data in October, 2012 by rule 002.
Particularly, according to an embodiment of the invention data creation method and according to an embodiment of the invention data generating device 100 can be applied to ERP document automatically generated data.
More than be described with reference to the accompanying drawings technical scheme of the present invention, consider in the correlation technique, the user arranges the process of rule generation corresponding data according to business event and data with existing, need a large amount of documents of manual entry, complex operation, make mistakes easily, efficiency of inputting is low, and the method rule of automatically generated data is relatively fixing, underaction, can't process different documents source number, is difficult for expansion.By technical scheme of the present invention, can be according to the automatic create-rule logic of arranging of user, utilize data with existing according to the logic rules automatically generated data that arranges, flexible operation, be easy to expansion, can process the generation desired data according to the situation of different document source datas, and can avoid producing repeating data.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1. a data generating device is characterized in that, comprising:
Acquiring unit is used for obtaining source data type according to user's the instruction of obtaining from the goal-selling data type;
Assembled unit is used for described source data type is made up with as data processing rule;
Generation unit is used for according to described data processing rule and pending bills data automatically generating the result data corresponding to described pending document corresponding to the numerical value of described source data type.
2. data generating device according to claim 1 is characterized in that, also comprises:
Display unit is used for described result data is shown.
3. data generating device according to claim 2 is characterized in that, also comprises:
Setting unit, the instruction that arranges that is used for according to the user is that described source data type arranges corresponding contrast code, and described display unit also is used for showing corresponding contrast code at described result data.
4. data generating device according to claim 2 is characterized in that, also comprises:
Query unit is used for the serial number according to user's input, inquires about the result data corresponding with described serial number, and described display unit also is used for described corresponding result data is shown.
5. data generating device according to claim 4 is characterized in that, also comprises:
Edit cell is used for the edit instruction according to the user, and described goal-selling data type, described source data type and/or described serial number are edited.
6. a data creation method is characterized in that, comprising:
Step 202 is obtained source data type according to user's the instruction of obtaining from the goal-selling data type;
Step 204 makes up described source data type with as data processing rule;
Step 206, according in described data processing rule and the pending bills data corresponding to the numerical value of described source data type, automatically generate the result data corresponding to described pending document.
7. data creation method according to claim 6 is characterized in that, described step 206 also comprises: described result data is shown.
8. data creation method according to claim 7, it is characterized in that, also comprised before described step 206: the instruction that arranges according to the user is that described source data type arranges corresponding contrast code, and described step 206 also comprises: show corresponding contrast code in described result data.
9. data creation method according to claim 7 is characterized in that, also comprises: according to the serial number of user input, inquire about the result data corresponding with described serial number and show.
10. data creation method according to claim 9 is characterized in that, also comprises: according to user's edit instruction, described goal-selling data type, described source data type and/or described serial number are edited.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012104786989A CN102982414A (en) | 2012-11-22 | 2012-11-22 | Data generating device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012104786989A CN102982414A (en) | 2012-11-22 | 2012-11-22 | Data generating device and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102982414A true CN102982414A (en) | 2013-03-20 |
Family
ID=47856382
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012104786989A Pending CN102982414A (en) | 2012-11-22 | 2012-11-22 | Data generating device and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102982414A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103489061A (en) * | 2013-09-04 | 2014-01-01 | 用友软件股份有限公司 | Batch data processing device and batch data processing method |
CN107729479A (en) * | 2017-10-16 | 2018-02-23 | 山东浪潮通软信息科技有限公司 | A kind of method and device for the numbering for generating document |
CN112613275A (en) * | 2020-12-24 | 2021-04-06 | 金蝶软件(中国)有限公司 | Receipt generation method and device, computer equipment and storage medium |
CN112988804A (en) * | 2019-12-12 | 2021-06-18 | 陕西西部资信股份有限公司 | Data transmission method and system |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101840538A (en) * | 2010-03-31 | 2010-09-22 | 华南理工大学 | Aquatic product supply chain traceability system based on RFID and bar code technology and method thereof |
-
2012
- 2012-11-22 CN CN2012104786989A patent/CN102982414A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101840538A (en) * | 2010-03-31 | 2010-09-22 | 华南理工大学 | Aquatic product supply chain traceability system based on RFID and bar code technology and method thereof |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103489061A (en) * | 2013-09-04 | 2014-01-01 | 用友软件股份有限公司 | Batch data processing device and batch data processing method |
CN107729479A (en) * | 2017-10-16 | 2018-02-23 | 山东浪潮通软信息科技有限公司 | A kind of method and device for the numbering for generating document |
CN112988804A (en) * | 2019-12-12 | 2021-06-18 | 陕西西部资信股份有限公司 | Data transmission method and system |
CN112613275A (en) * | 2020-12-24 | 2021-04-06 | 金蝶软件(中国)有限公司 | Receipt generation method and device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101937463B (en) | Method for automatically generating form for workflow model | |
CN104903891A (en) | Automated report generation method | |
CN112015412A (en) | Device and method for generating business model based on form engine | |
CN110543303B (en) | Visual service platform | |
CN105224377A (en) | A kind of method by metadata automatic generating software project code file and device | |
CN104063764B (en) | The device and method of Visual Production item code | |
CN104572597A (en) | Automatic word analysis report generation method and device | |
CN102508862A (en) | Data expansion device and data expansion method | |
CN102982414A (en) | Data generating device and method | |
US8046382B2 (en) | Method and system for software object profile management | |
CN103412868A (en) | Method and device for generating document | |
CN102222278A (en) | Operation process customizing method and device | |
CN113297825A (en) | Dynamically visualized form application design system and computer readable storage medium | |
CN106339363A (en) | PPT report making method and device | |
CN105447723A (en) | Promotion system and promotion method | |
CN108363684A (en) | List creation method, device and server | |
CN101697122A (en) | Method for generating report query conditions through predefined components | |
CN105069096A (en) | Architecture method and architecture system for user-defined worksheet | |
CN102611576A (en) | Method and device for generating network management configuration model file | |
CN102222118A (en) | Method for establishing ship detailed design drawing database | |
CN105913102B (en) | A kind of generation method and device of Quick Response Code | |
CN110533298A (en) | One kind being based on the consistent device management method of RFID power grid asset account card object and system | |
CN105677427A (en) | Module upgrading method and device | |
CN101452456A (en) | Database enquiry system and method thereof | |
CN101187929A (en) | Formula definition assembly for flexible mathematical aiming at large data of database table |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C41 | Transfer of patent application or patent right or utility model | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20160127 Address after: 100094 Beijing City, North Road, Haidian District, No. 68, building 2, floor 2 Applicant after: You Pu Information Technology Co., Ltd of UFSOFT Address before: 100094 Beijing city Haidian District North Road No. 68, UFIDA Software Park Applicant before: UFIDA Software Co., Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20130320 |