CN102253671B - Generation device of test data of process control computer system of metallurgy - Google Patents

Generation device of test data of process control computer system of metallurgy Download PDF

Info

Publication number
CN102253671B
CN102253671B CN201010180010.XA CN201010180010A CN102253671B CN 102253671 B CN102253671 B CN 102253671B CN 201010180010 A CN201010180010 A CN 201010180010A CN 102253671 B CN102253671 B CN 102253671B
Authority
CN
China
Prior art keywords
text
data
number generator
test data
masterplate
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.)
Active
Application number
CN201010180010.XA
Other languages
Chinese (zh)
Other versions
CN102253671A (en
Inventor
徐长盛
傅贤栋
杨宇贤
吴毅平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Baosight Software Co Ltd
Original Assignee
Shanghai Baosight Software Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shanghai Baosight Software Co Ltd filed Critical Shanghai Baosight Software Co Ltd
Priority to CN201010180010.XA priority Critical patent/CN102253671B/en
Publication of CN102253671A publication Critical patent/CN102253671A/en
Application granted granted Critical
Publication of CN102253671B publication Critical patent/CN102253671B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • General Factory Administration (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a generation device of a test data of a process control computer system of metallurgy. The device comprises a text template data module, a data generator module, a user operation interface, a processor, and a testing data module. After the processor receives an input instruction of generation of test data, according to an input identification code of text template data, input codings of all text items that need to be changed and an input identification code of a data generator, data of the all text items of text template data corresponding to the identification code of the text template data are replaced with data of data lengths corresponding to codings corresponding to the all text items generated by the data generator corresponding to the identification code of the data generator, wherein the all text items are need to be changed; and then the data after the replacement are output as test data files. According to the generation device of the test data of the process control computer system of the metallurgy provided in the invention, test data, which are in accordance with the practical production situation, can be generated automatically with batch production.

Description

Generation device of test data of process control computer system of metallurgy
Technical field
The present invention relates to automatic technology, particularly a kind of generation device of test data of process control computer system of metallurgy.
Background technology
The information architecture of metallurgy industry is generally divided into level Four: basic automation systems (Automation System, hereinafter to be referred as L1), process control computer system (pcs system, hereinafter to be referred as L2), manufacturing execution system (MES system, hereinafter to be referred as L3), enterprise resource planning (ERP system, hereinafter to be referred as L4).
On L2, connect L3, the lower L1 that connects, status is very crucial.The exploitation of L2 and L1, L3 independently carry out often, and under traditional approach, L2 personnel, for the function ratio of testing L2 is as received the functions such as L3 coil of strip data, roll data, often need manually to write test data.In test, often need test data to change to some extent, and can also be similar with truth, correlation parameter meets physical significance, rather than almost identical test data or insignificant test data.In L2 development late stage, often need to carry out pressure test in 7*24 hour in addition, with simulation production line practical condition, the workload of tester's setup test in this time data is very large.
The major way that in metallurgical process control of cold rolling computer system, L2 communicates by letter with L3, L1 is that teletext communication is, text can be divided into two classes:
1, text text.Be mainly used in L2 and communicate by letter with L3, as the production schedule, coil of strip data, roll data etc.
2, scale-of-two text.Be mainly used in L2 and communicate by letter with L1, as material moves, coil of strip setting value etc.
On text telegraph text form, be presented as the text-string of a large section, in fact a complete text is comprised of a plurality of text items, each text item has specific specification (length, type etc.), such as this character string segment below: 190049000456318250, represented the partial content of the coil of strip data of certain unit, steel reel number: 190049000, length: 4563, weight: 18250.
Article one, coil of strip electronic message comprises text item generally has 600 multinomial, every average length can reach 5 characters, and the character of such text just reaches more than 3000 character, allows these character change, be a sizable workload, by craft, do data and easily make mistakes.Trouble is that the data item of text the inside is often relevant, pull one hair and move the whole body, such as the text item coil of strip weight in coil of strip text, length (L), width (W), thickness (H) mode after can launching according to coil of strip are calculated, also can calculate according to right cylinder mode meter, that is:
Expansion mode: M=L*H*W* ρ,
Right cylinder mode: M=π * (D 2-d 2)/4*W* ρ,
Hence one can see that: L*H=π * (D 2-d 2)/4,
In above formula, M is coil of strip weight, and L is the length after coil of strip launches, W is the width of coil of strip, the thickness that H is coil of strip, the density that ρ is steel, D is the external diameter of coil of strip, the internal diameter that d is coil of strip, and coil of strip length, thickness, internal diameter, these four variablees of external diameter have restricting relation.
It should be noted that the coil of strip data that comprise 600 text items for, in reality test, be not that each all needs to change, actual conditions are for the coil of strip data with a collection of plan, it is identical often having 80% content at least, but be exactly that difference of 20% key of control system exactly, as there being data such as steel grade, annealing curve code, sleeve code in coil of strip data, these data are very crucial for the material tracking function of test L2, it is generally character string type, be generally discrete, value is very limited; In coil of strip data, there are entrance steel reel number, outlet steel reel number etc., these data are very crucial for plan function and the production actual achievement function of test L2, they are all the characters of regular length, and in the time of general numbering, there is particular requirement, such as certain unit requires entrance steel reel number, be all 10 characters, last two is 00.In addition as having in roll text such as roll crown coefficient, roll crown coefficient, roll crown coefficient, the data such as roll crown coefficient, these data are generally continuous, interval at certain numerical value, may also there is a fixing comparison in these text items simultaneously, such as roll crown coefficient > roll crown coefficient etc.
The quality of test data of process control computer system of metallurgy often can determine end product quality, therefore it is very crucial producing high-quality test data, if simple, rely on the manual test data that produces, not only test data is easily made mistakes, and is difficult to produce the test data that covers abundant situation.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of generation device of test data of process control computer system of metallurgy, and energy automatic batch produces the test data of the realistic condition of production.
For solving the problems of the technologies described above, generation device of test data of process control computer system of metallurgy of the present invention, comprises text masterplate data module, number generator module, user interface, processor, test data module;
Described text masterplate data module, store one or more text masterplate data, each text masterplate data has unique identification code, text masterplate data comprise a plurality of text items, each text item is corresponding with definite numbering, start address, data length, and the numbering of each text item correspondence of text masterplate data is not identical;
Described number generator module, sets up and has one or more number generators, and each number generator has unique identification code;
Described user interface, for user's input operation information, the test data file number of the numbering of each text item that described user's input operation information comprises text masterplate identification code of date, need to change, number generator identification code, generation and destination path, the instruction of generation test data;
Described processor, receive after the generation test data instruction of described user interface input, according to the text masterplate identification code of date of described user interface input, the corresponding numbering of each text item that need to change, number generator identification code, the test data file number and the destination path that produce, the test data file of the output number of inputting is to the destination path of inputting, described test data file, the data replacement that is each text item that the needs of the corresponding text masterplate of described text masterplate identification code of date data are changed is to obtain after the data of the corresponding corresponding data length of numbering of each text item of changing of described needs that the corresponding number generator of described number generator identification code produces.
Described user's input operation information can also comprise that number generator sets up instruction, and described processor is set up instruction according to the number generator of described user interface input, in described number generator module, sets up new number generator.
In described number generator module, set up new number generator and can comprise mathematic(al) representation number generator.
Described generation device of test data of process control computer system of metallurgy, can also comprise the text text item information module that changes, for storing the text text item template that changes, described user's input operation information also comprises the text text item stencil-chosen instruction that changes, corresponding numbering and the number generator identification code of each text item that described processor changes the needs of described user interface input, as the text text item template that changes, be saved in the described text text item information module that changes, and according to the text masterplate identification code of date of described user interface input, the text text item stencil-chosen instruction that changes, select described text the change corresponding numbering of each text item that the corresponding needs of text item template change of the corresponding text of having stored in text item information module that changes, number generator identification code, generate test data file.
Described number generator can comprise value type number generator, character string type number generator.
Described value type number generator can comprise fixed numbers replacement data generator, interval random data generator, fixed step size number generator, mathematic(al) representation number generator, and described character string type number generator can comprise regular length character replacement data generator, meet the string data generator of particular requirement, the sequence alternate number generator of one group of character string, completely random string data generator.
Described process control computer system of metallurgy can be process control of cold rolling computer system, and the text masterplate data of described text masterplate data module storage, comprise cold-rolled steel coils text masterplate data, roll for cold rolling text masterplate telegraph text data.
Generation device of test data of process control computer system of metallurgy of the present invention, the text masterplate data of described text masterplate data module storage, with senior technique expert, according to the technological parameter of production line, specify or directly take certain True Data as according to obtaining, to take production line True Data as masterplate data, so the realistic condition of production of test data producing, user can select text masterplate data by user interface, can produce batch testing data for the text of different size, user can select each text item numbering and the number generator identification code that need to change by user interface, thereby determine the start address of each text item that need to change, data length and number generator identification code, and number generator has polytype, comprise the mathematic(al) representation number generator changing according to mathematical formulae, can use mathematical formulae, dependence between definition independent variation or definition different pieces of information item changes, so each text item information can require independent variation according to appointment in the test data generating, in test data, text item is as length, internal diameter, external diameter, thickness can condition each other, in test data, text item is as roll crown coefficient, can there is comparison in roll crown coefficient, user can set test data file number and the destination path producing by user interface, and the quantity of the test data of generation can be controlled by user oneself, can automatically produce in enormous quantities test data, numbering and the number generator identification code of each text item that user interface input need to change, can be used as the text text item template that changes preserves, user can select to have stored the text text item template that changes, and the text of same type is not needed to repeat input.
Generation device of test data of process control computer system of metallurgy of the present invention, can effectively improve testing efficiency and the accuracy of process control computer system of metallurgy, reduces the system failure.
Accompanying drawing explanation
Below in conjunction with the drawings and the specific embodiments, the present invention is described in further detail.
Fig. 1 is generation device of test data of process control computer system of metallurgy one embodiment schematic diagram of the present invention;
Fig. 2 is the principle schematic that generation device of test data of process control computer system of metallurgy of the present invention produces test data.
Embodiment
Generation device of test data of process control computer system of metallurgy one embodiment of the present invention as shown in Figure 1, comprises text masterplate data module, text change text item information module, number generator module, user interface, processor, test data module.
Described text masterplate data module, store one or more text masterplate data, each text masterplate data has unique identification code, and text masterplate data comprise a plurality of text items, as cold-rolled steel coils text masterplate data, roll for cold rolling text masterplate telegraph text data etc.Each text item comprises the definition such as numbering, title, start address, data length, data type.Wherein the numbering of each text item of any text masterplate data is mutually different.
Described number generator module, foundation has one or more number generators, each number generator has unique identification code, as the number generator for value type has: fixed numbers is replaced (replacing with 3 such as 2), interval random (such as the random number in 0-100), fixed step size (in 0-100, increasing by 2), mathematic(al) representation (such as 2*X+1) etc. at every turn; For the number generator of character string type, there is regular length character to replace (such as the ABC in text masterplate data is replaced with to DEF), meet the sequence alternate (such as changing in turn), completely random character string (producing at random regular length character) of the character string (such as RJ*00, representing that the character in the middle of allowing changes) of particular requirement, one group of character string etc. in W, B, M.
Described user interface, for user's input operation information, described user's input operation information comprises that number generator is set up instruction, text masterplate identification code of date, the test data file number of the coding of each text item that need to change and number generator identification code, generation and destination path, the instruction of generation test data, and the text text item stencil-chosen instruction that changes.
The described text text item information module that changes, for storing the text text item template that changes.One embodiment as shown in Table 1.
Table one
Sequence number Text item numbering Text item title Reference position Length Type Number generator type Number generator
1 AA Steel reel number 12 10 Character string Specific format character string *00
2 AB Length 15 4 Numerical value Interval numerical value 1000-2000
3 AC Weight 19 5 Numerical value Fixed value 21350
4 AD Thickness 24 3 Numerical value Interval numerical value 0.05-0.5
...
10 AJ Interior diameter 72 5 Numerical value Number list 650,680,720
11 AK Overall diameter 77 5 Numerical value Mathematic(al) representation (4*AD/3.14+ AJ*AJ)#0.5
...
Note: the # in (4*AD/3.14+AJ*AJ) #0.5 in sequence number 11 represents power operation.
Described processor, can set up instruction according to the number generator of described user interface input, in described number generator module, set up new number generator, such as increasing annealing curve generator, this user-defined mathematic(al) representation generator changes according to mathematical formulae, dependence between definition independent variation or definition different pieces of information item changes, and can, to setting up complicated restriction relation between a plurality of text items in text masterplate data, just can directly use later, described processor, receive after the generation test data instruction of described user interface input, according to the text masterplate identification code of date of described user interface input, the numbering of each text item that need to change, number generator identification code, the test data file number and the destination path that produce, the test data file of the output number of inputting is to the destination path of inputting, described test data file, it produces principle as shown in Figure 2, the data replacement that is each text item that the needs of the corresponding text masterplate of described text masterplate identification code of date data are changed is to obtain after the data of the corresponding corresponding data length of numbering of each text item of changing of described needs that the corresponding number generator of described number generator identification code produces,
Described processor, and numbering and the number generator identification code of each text item that the needs of described user interface input are changed, be saved in the described text text item information module that changes as the text text item template that changes; Described processor can be according to the text item stencil-chosen instruction that changes of text masterplate identification code of date, the text of the input of described user interface, select described text the change corresponding text of having stored in text item information module change numbering and the number generator identification code of each text item that the corresponding needs of text item template change, generate test data file.
Generation device of test data of process control computer system of metallurgy of the present invention, the text masterplate data of described text masterplate data module storage, with senior technique expert, according to the technological parameter of production line, specify or directly take certain True Data as according to obtaining, to take production line True Data as masterplate data, so the realistic condition of production of test data producing, user can select text masterplate data by user interface, can produce batch testing data for the text of different size, user can select by user interface numbering and the number generator identification code of each text item that need to change, and number generator has polytype, comprise the mathematic(al) representation number generator type changing according to mathematic(al) representation, can use mathematical formulae, dependence between definition independent variation or definition different pieces of information item changes, so each text item information can require independent variation according to appointment in the test data generating, in test data, text item is as length, internal diameter, external diameter, thickness can condition each other, in test data, text item is as roll crown coefficient, can there is comparison in roll crown coefficient, user can set test data file number and the destination path producing by user interface, and the quantity of the test data of generation can be controlled by user oneself, can automatically produce in enormous quantities test data, numbering and the number generator identification code of each text item that user interface input need to change, can be used as the text text item template that changes preserves, user can select to have stored the text text item template that changes, and the text of same type is not needed to repeat input.
Generation device of test data of process control computer system of metallurgy of the present invention, there is versatility, can be widely used in the generation of metallurgy industry process control computer system test data, can be used for producing the most important planning data in cold rolling field, coil of strip data, roll data, can also be for blast furnace, the fields such as hot rolling, can be rapid, the test data that large batch of generation tallies with the actual situation, in text masterplate data, need the text item changing to select different predefined or custom data generators to realize by user, can effectively improve testing efficiency and the accuracy of process control computer system of metallurgy, reduce the system failure.

Claims (7)

1. a generation device of test data of process control computer system of metallurgy, is characterized in that, comprises text masterplate data module, number generator module, user interface, processor, test data module;
Described text masterplate data module, store one or more text masterplate data, each text masterplate data has unique identification code, text masterplate data comprise a plurality of text items, each text item is corresponding with definite numbering, start address, data length, and the numbering of each text item correspondence of text masterplate data is not identical;
Described number generator module, sets up and has one or more number generators, and each number generator has unique identification code;
Described user interface, for user's input operation information, the test data file number of the numbering of each text item that described user's input operation information comprises text masterplate identification code of date, need to change, number generator identification code, generation and destination path, the instruction of generation test data;
Described processor, receive after the generation test data instruction of described user interface input, test data file number and the destination path of the corresponding numbering of the text masterplate identification code of date of inputting according to described user interface, each text item that need to change, number generator identification code, generation, the test data file of the output number of inputting is to the destination path of inputting;
Described test data file, the data replacement that is each text item that the needs of the corresponding text masterplate of described text masterplate identification code of date data are changed is to obtain after the data of the corresponding corresponding data length of numbering of each text item of changing of described needs that the corresponding number generator of described number generator identification code produces.
2. generation device of test data of process control computer system of metallurgy according to claim 1, it is characterized in that, described user's input operation information also comprises that number generator sets up instruction, described processor is set up instruction according to the number generator of described user interface input, in described number generator module, sets up new number generator.
3. generation device of test data of process control computer system of metallurgy according to claim 2, is characterized in that, sets up new number generator and comprise mathematic(al) representation number generator in described number generator module.
4. generation device of test data of process control computer system of metallurgy according to claim 1, is characterized in that, also comprises the text text item information module that changes, for storing the text text item template that changes, described user's input operation information also comprises the text text item stencil-chosen instruction that changes, corresponding numbering and the number generator identification code of each text item that described processor changes the needs of described user interface input, as the text text item template that changes, be saved in the described text text item information module that changes, and according to the text masterplate identification code of date of described user interface input, the text text item stencil-chosen instruction that changes, select described text the change corresponding numbering of each text item that the corresponding needs of text item template change of the corresponding text of having stored in text item information module that changes, number generator identification code, generate test data file.
5. according to the generation device of test data of process control computer system of metallurgy described in claim 1,2 or 3 any one, it is characterized in that, described number generator comprises value type number generator, character string type number generator.
6. generation device of test data of process control computer system of metallurgy according to claim 5, it is characterized in that, described value type number generator comprises fixed numbers replacement data generator, interval random data generator, fixed step size number generator, mathematic(al) representation number generator, and described character string type number generator comprises regular length character replacement data generator, meet the string data generator of particular requirement, the sequence alternate number generator of one group of character string, completely random string data generator.
7. generation device of test data of process control computer system of metallurgy according to claim 1, it is characterized in that, described process control computer system of metallurgy is process control of cold rolling computer system, the text masterplate data of described text masterplate data module storage, comprise cold-rolled steel coils text masterplate data, roll for cold rolling text masterplate telegraph text data.
CN201010180010.XA 2010-05-20 2010-05-20 Generation device of test data of process control computer system of metallurgy Active CN102253671B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010180010.XA CN102253671B (en) 2010-05-20 2010-05-20 Generation device of test data of process control computer system of metallurgy

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010180010.XA CN102253671B (en) 2010-05-20 2010-05-20 Generation device of test data of process control computer system of metallurgy

Publications (2)

Publication Number Publication Date
CN102253671A CN102253671A (en) 2011-11-23
CN102253671B true CN102253671B (en) 2014-10-15

Family

ID=44980978

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010180010.XA Active CN102253671B (en) 2010-05-20 2010-05-20 Generation device of test data of process control computer system of metallurgy

Country Status (1)

Country Link
CN (1) CN102253671B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102816686B (en) * 2012-08-29 2014-08-20 李永利 PCR (polymerase chain reaction) amplification instrument and application method thereof
CN103838565B (en) * 2012-11-28 2017-07-28 沈阳铝镁设计研究院有限公司 A kind of electrolytic aluminium factory manufacturing execution system supporting system for software development system
CN104833285A (en) * 2015-04-24 2015-08-12 北新集团建材股份有限公司 Coiled steel strip weight measuring and calculating method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1501298A (en) * 2002-11-15 2004-06-02 英业达股份有限公司 Trial run handling system and method for engineering alteration
CN101165658A (en) * 2006-10-18 2008-04-23 国际商业机器公司 Method and system for automatically generating unit test case of reproduced operation problem
CN101350069A (en) * 2007-06-15 2009-01-21 三菱电机株式会社 Computer implemented method for constructing classifier from training data detecting moving objects in test data using classifier
CN101505241A (en) * 2008-08-20 2009-08-12 北京星网锐捷网络技术有限公司 Method and apparatus for generating test instances

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1501298A (en) * 2002-11-15 2004-06-02 英业达股份有限公司 Trial run handling system and method for engineering alteration
CN101165658A (en) * 2006-10-18 2008-04-23 国际商业机器公司 Method and system for automatically generating unit test case of reproduced operation problem
CN101350069A (en) * 2007-06-15 2009-01-21 三菱电机株式会社 Computer implemented method for constructing classifier from training data detecting moving objects in test data using classifier
CN101505241A (en) * 2008-08-20 2009-08-12 北京星网锐捷网络技术有限公司 Method and apparatus for generating test instances

Also Published As

Publication number Publication date
CN102253671A (en) 2011-11-23

Similar Documents

Publication Publication Date Title
CN105321042B (en) Genetic algorithm-based advanced plan scheduling system and method
Kaushik et al. Application of Six Sigma DMAIC methodology in thermal power plants: A case study
CN105843197B (en) Discrete Production Workshop static scheduling optimization system based on learning aid algorithm
Liu et al. A hybrid VNS-HS algorithm for a supply chain scheduling problem with deteriorating jobs
JP4738067B2 (en) CAD data creation apparatus and method
CN102087657B (en) IO (Input/output) to point method and IO (Input/output) to point for nuclear power plant simulation platform
CN102253671B (en) Generation device of test data of process control computer system of metallurgy
Tang et al. Optimal and near-optimal algorithms to rolling batch scheduling for seamless steel tube production
CN110263941A (en) Maintenance of equipment method and device
Dong et al. On the integrated charge planning with flexible jobs in primary steelmaking processes
Zhao et al. A target-based method for energy saving and carbon emissions reduction in China based on environmental data envelopment analysis
Wang et al. A scatter search approach with dispatching rules for a joint decision of cell formation and parts scheduling in batches
Neidigh et al. Optimising lot sizing with nonlinear production rates in a multi-product single-machine environment
Benkel et al. Variability aspects in flowshop scheduling systems
CN104575148A (en) Simulation operating system for training nuclear power plant reactor operator
CN101770604B (en) Graphic processing method and system
Ramezanian et al. Integrated lot-sizing and scheduling with overlapping for multi-level capacitated production system
Wang et al. Font Design in Visual Communication Design of Genetic Algorithm
Dolu et al. Higher education and labor market transformation in the era of industry 4.0 in a developing country: The case for Turkey
Guo et al. Study of total factor productivity on China’s science and technology service industry: provincial efficiency comparatively using 2010-2019 data
Novaria et al. Predicted demand for 3 kg LPG gas in each provinces area in Indonesia
Cox Speaking Stata: Axis practice, or what goes where on a graph
CN103020139A (en) Data sheet extension system and method
CN102831279A (en) Automatic calculation system and method of electroplating technological parameters of diamond products based on CAD (computer-aided design)
Shilov et al. Accounting and Control Are the Basis of Socialism: Computing Technology in USSR (1917-1941)

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant