CN1316358C - Information platform test environment automatic construction method and system - Google Patents

Information platform test environment automatic construction method and system Download PDF

Info

Publication number
CN1316358C
CN1316358C CNB2004100079503A CN200410007950A CN1316358C CN 1316358 C CN1316358 C CN 1316358C CN B2004100079503 A CNB2004100079503 A CN B2004100079503A CN 200410007950 A CN200410007950 A CN 200410007950A CN 1316358 C CN1316358 C CN 1316358C
Authority
CN
China
Prior art keywords
information platform
operating system
test environment
test procedure
robotization
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.)
Expired - Fee Related
Application number
CNB2004100079503A
Other languages
Chinese (zh)
Other versions
CN1664778A (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.)
Inventec Corp
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CNB2004100079503A priority Critical patent/CN1316358C/en
Publication of CN1664778A publication Critical patent/CN1664778A/en
Application granted granted Critical
Publication of CN1316358C publication Critical patent/CN1316358C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The present invention relates to an automatic constructing method for the testing environment of an information platform and a system thereof, which is applied to the information platform which is controlled by a specified operating system. When a specified testing program is executed on the information platform, an automatizing testing environment constructing function is provided according to the testing environment of the specified operating system so that the testing program can be smoothly executed in the testing environment of the specified operating system. The automatic constructing system for the testing environment of an information platform at least comprises a parameter database, a testing program designating module, an operating system recognizing module, a parameter retrieval module and a testing environment setting module. The present invention has the advantages that the same testing program can be executed on the information platforms of different operating systems in a cross-platform mode without manual setting by testing personnel according to different operating systems; therefore, the integral testing program can be quick and efficient.

Description

Information platform test environment robotization set-up method and system
Technical field
The invention relates to a kind of computer information technology, particularly about a kind of information platform test environment robotization set-up method and system, be applied to information platform, blade server (blade server) for example, the stand-alone type server, network workstation, desktop PC, notebook computer, Tablet PC etc., and this information platform is controlled by specific operating system, when on this information platform, carrying out specific test procedure, provide the test environment of robotization to build at the test environment under this specific operating system and put function, make this test procedure under this operating system, successfully carry out.
Background technology
Whether information platform at first need carry out a series of test procedure usually before actual motion, check this information platform can normally move.Whether normally for example, blade server (blade server) usually needs at first the hard disc module of its installation is wrapped Buddhist nun (Bonnie) test procedure before actual motion, check the hard disc module on-line running on this blade server whereby.
Yet a problem carrying out test procedure at present on blade server is, different blade servers may carry different operating system usually, for example Red Hat 7.3, RedHat 8.0, Red Hat 9.0, SuSE SLES 7, United Linux 1.0, Red Hat As 2.1, Red Hat ES 2.1 etc.; And same test procedure need carry out different settings at different operating system when carrying out usually under different operating system, allows this test procedure successfully carry out under different operating system whereby.
The present practice is to carry out required setting at different operating system with manual mode by the tester.It is very numerous and diverse that yet the shortcoming of this practice is manual setting program, so its process very wastes time and energy and inefficent, and cause test procedure to carry out smoothly because of artificial setting mistake easily.For example, if the tester will wrap Buddhist nun (Bonnie) test procedure to the hard disc module on one 20 the blade server, then the tester must be at first with the memory size in this blade server on duty with 2.5 (if its product value is greater than 2GB (gigabyte), then count 2GB), and with its product value as a setup parameter in bag Buddhist nun (Bonnie) test procedure.In addition, the tester also must in this blade server operating system specific directory, just can allow test procedure carry out under operating system with the manual method mounting some execute files and the data file in the test procedure.Yet above-mentioned setting program on average need spend the testing setup program of finishing a slice service module circuit board in 5 to 10 minutes, make 20 whole service module circuit boards need spend 100 to 200 minutes and just can finish its testing setup program, therefore its whole test process is very wasted time and energy and inefficent, and causes test procedure to carry out smoothly because of the artificial mistake of setting easily.
Summary of the invention
For overcoming the shortcoming of above-mentioned prior art, fundamental purpose of the present invention is to provide a kind of information platform test environment robotization set-up method and system, can allow same test procedure under the information platform of different operating system, carry out, needn't carry out required setting at different operating system with manual mode by the tester in cross-platform mode.
For reaching above-mentioned and other purpose, information platform test environment robotization set-up method provided by the invention and system can be applicable to information platform, blade server (blade server) for example, the stand-alone type server, network workstation, desktop PC, notebook computer, Tablet PC etc., and this information platform is controlled by specific operating system, when on this information platform, carrying out specific test procedure, provide the test environment of robotization to build at the test environment under this specific operating system and put function, this test procedure can successfully be carried out under this operating system.
Above-mentioned information platform test environment robotization set-up method comprises at least: build parameter database in advance, required setup parameter when wherein prestoring multiple different test procedure and carrying out under multiple different operating system respectively; Carry out the test procedure designated program, allow the user from multiple different test procedure, specify required test procedure; Carry out the operating system recognizer, discern the classification of this operating system; Carry out parameter and ask for program,, from this parameter database, ask for out the setup parameter of one group of correspondence according to operating system classification and the specified test procedure of this test procedure designated program that this operating system recognizer identifies; And carry out the test environment setting program, the setup parameter value of asking for out according to this parameter program of asking for, the test environment that this operating system provided is set, the specified test procedure of this test procedure designated program can be carried out in the test environment under this operating system.
The robotization of above-mentioned information platform test environment is built the system of putting and is comprised at least: parameter database, required setup parameter when wherein prestoring multiple different test procedure and carrying out under multiple different operating system respectively; The test procedure designated module, the person's of being to use operational module allows the user specify required test procedure from multiple different test procedure; The operating system identification module is used to discern the classification of this operating system; Parameter is asked for module, and the operating system classification that identifies according to this operating system identification module and the test procedure of this test procedure designated module appointment are asked for out the setup parameter of one group of correspondence from this parameter database; And test environment setting module, it can ask for the setup parameter value that module is asked for out according to this parameter, the test environment that this operating system is provided carries out setting program, and the test procedure of this test procedure designated module appointment can be carried out in the test environment under this operating system.
The characteristics of information platform test environment robotization set-up method of the present invention and system are, adopt database each specific test procedure required setup parameter when carrying out under multiple different operating system that prestores; And actual when on this information platform, carrying out a certain test procedure, by discerning the operating system classification of this information platform, required one group of setup parameter value when from this database, hunting out this test procedure and under this operating system, carrying out; And utilize this group parameter value that the test environment under this operating system is set, this test procedure can be carried out under this operating system.
Compared with the prior art, the present invention can allow same test procedure carry out under the information platform under the different operating system in cross-platform mode, needn't carry out required setting at different operating system with manual mode by the tester, therefore obviously have better progressive and practicality than prior art.
Description of drawings
Fig. 1 is the system architecture synoptic diagram, shows that information platform test environment of the present invention robotization builds the application structure of the system of putting and the basic structure of Object Oriented OO component model thereof;
Fig. 2 is the data structure synoptic diagram, shows an application example of the data structure of parameter database of the present invention.
Embodiment
Embodiment
Below be conjunction with figs., describe the embodiment of information platform test environment robotization set-up method of the present invention and system in detail.
Fig. 1 shows that information platform test environment of the present invention robotization builds the application structure of system's of putting (part that comprises as label 100 indication frame of broken lines) and the basic structure of Object Oriented OO component model (object-oriented component model) thereof.As shown in the figure, information platform test environment of the present invention robotization is built the system of putting 100 and is carried to information platform 10, blade server (blade server) for example, the stand-alone type server, network workstation, desktop PC, notebook computer, Tablet PC etc., and this information platform is controlled by specific operating system 20, for example Red Hat 7.3, Red Hat 8.0, Red Hat9.0, SuSE SLES 7, United Linux 1.0, Red Hat As 2.1, Red Hat ES 2.1 etc., when on this information platform 10, carrying out specific test procedure, when for example on this blade server, carrying out bag Buddhist nun (Bonnie) test procedure of hard disc module, provide the automated setting function at this specific test procedure to the test environment under this operating system 20, allow this test procedure successfully carry out for 20 times in this operating system.
The basic module structure that the Object Oriented OO component model (object-oriented component model) of the system of putting 100 is built in information platform test environment of the present invention robotization comprises at least: (a) parameter database 101; (b) the test procedure designated module 110; (c) the operating system identification module 120; (d) parameter is asked for module 130; And (e) test environment setting module 140.
Required setup parameter when prestoring multiple test procedure in the parameter database 101 and under multiple different operating system, carrying out.For example, if information platform 10 is blade servers, then its required all test procedure for example comprises: Bonnie test procedure, Brest test procedure, ESV test procedure, CPU Kill test procedure, fozone test procedure, Type test procedure, Bounce test procedure etc.; And when these test procedures are carried out down in different operating system (for example Red Hat 7.3, RedHat 8.0, Red Hat 9.0, SuSE SLES 7, United Linux 1.0, Red Hat As 2.1 or Red Hat ES 2.1), need different test environment setup parameters respectively.Therefore as shown in Figure 2, this parameter database 101 promptly is used to store multiple test procedure (for simplifying accompanying drawing, Fig. 2 only demonstrates 2 kinds of test procedures) one group of required setup parameter value under multiple different operating system.
Test procedure designated module 110 person's of being to use operational modules can allow the user specify required test procedure from multiple different test procedure.For example, if information platform 10 is blade servers, then its required all test procedure for example comprises: Bonnie test procedure, Brest test procedure, ESV test procedure, CPU Kill test procedure, fozone test procedure, Type test procedure, Bounce test procedure etc.; And this test procedure designated module 110 promptly is used for allowing the user click required test procedure from these test procedures.
Operating system identification module 120 can be used for discerning the classification of this operating system 20, just the kind of this operating system 20 and version.For example, if the operating system 20 on the information platform 10 be Red Hat 7.3, then operating system identification module 120 category attribute value that can obtain this operating system 20 through identification is [Red Hat 7.3].During concrete enforcement, because various dissimilar (SuSE) Linux OS have different bibliographic structures and different system property values decided at the higher level but not officially announced, so operating system the identification module 120 for example bibliographic structure of checked operation system 20 and its system property value decided at the higher level but not officially announced and identify the classification of this operating system 20.
Parameter is asked for the category attribute value that module 130 can identify according to aforesaid operations system identification module 120 and the test procedure energy of above-mentioned test procedure designated module 110 appointments, asks for out one group of parameter value of its correspondence from this parameter database 101.For example, if the operating system 20 on the information platform 10 is [Red Hat 7.3], and the test procedure of test procedure designated module 110 appointments is [test procedure 1], and then this parameter is asked for module 130 and can ask for out one group of corresponding parameter value of [test procedure 1] and [Red Hat 7.3] from this parameter database 101.
Test environment setting module 140 can respond above-mentioned parameter and ask for the parameter value that module 130 is asked for out, and this test procedure is carried out the test environment setting program 20 times in this operating system, allows this test procedure carry out for 20 times in this operating system.
Please consult Fig. 1 and Fig. 2 simultaneously, information platform test environment robotization set-up method of the present invention is: when the tester will be when information platform 10 carries out test procedure, the tester need at first activate information platform test environment of the present invention robotization and build the system of putting 100, and specifies required test procedure by test procedure designated module 110.Follow information platform test environment of the present invention robotization and build the classification that the system of putting 100 promptly can make operating system identification module 120 these operating systems 20 of identification, making parameter ask for module 130 can be according to operating system identification module 120, the test procedure of category attribute value that identifies and 110 appointments of test procedure designated module is asked for out one group of parameter value of its correspondence from this parameter database 101.Then can make test environment setting module 140 ask for the parameter value that module 130 is asked for out, this test procedure is carried out the test environment setting program 20 times in this operating system, carry out this test procedure 20 times in this operating system according to parameter.
Because above-mentioned test environment setting program all carries out with automated manner, therefore can allow test process time saving and energy saving and efficient, and be not easy to cause test procedure to carry out smoothly because of the artificial mistake of setting.For example, when the existing practice is wrapped Buddhist nun (Bonnie) test procedure on 20 blade server, on average need cost to finish the testing setup program of a slice service module circuit board in 5 to 10 minutes, make 20 whole service module circuit boards just need spend 100 to 200 minutes and just can finish its testing setup program; But the present invention makes 20 whole service module circuit boards only need spend 20 minutes and can finish its testing setup program as long as cost can be finished the testing setup program of a slice service module circuit board in 1 minute.
Generally speaking, the invention provides a kind of information platform test environment robotization set-up method and system of novelty, be applied in an information platform, and this information platform is controlled by specific operating system, when on this information platform, carrying out specific test procedure, provide the test environment of robotization to build at the test environment under this specific operating system and put function; Its characteristics are, adopt database each specific test procedure required setup parameter when carrying out under multiple different operating system that prestores; When reality is carried out a certain test procedure on this information platform, by discerning the operating system classification of this information platform, required one group of setup parameter value when from this database, hunting out this test procedure and under this operating system, carrying out; And utilize this group parameter value that the test environment under this operating system is set, this test procedure can be carried out under this operating system.Compared with the prior art, these characteristics can allow same test procedure carry out smoothly under the information platform under the different operating system in cross-platform mode, needn't carry out required setting at different operating system with manual mode by the tester.Therefore the present invention obviously has better progressive and practicality than prior art.

Claims (14)

1. information platform test environment robotization set-up method, it can be applicable to information platform, and this information platform is controlled by specific operating system, when carrying out test procedure on this information platform, provides the test environment of robotization to build at this specific operating system and puts function; It is characterized in that this information platform test environment robotization set-up method comprises at least:
Build parameter database in advance, required setup parameter when wherein prestoring multiple different test procedure and under multiple different operating system, carrying out respectively;
Carry out the test procedure designated program, allow the user from multiple different test procedure, specify required test procedure;
Carry out the operating system recognizer, discern the classification of this operating system;
Carry out parameter and ask for program,, from this parameter database, ask for out the setup parameter of one group of correspondence according to operating system classification and the specified test procedure of this test procedure designated program that this operating system recognizer identifies; And
Carry out the test environment setting program, the setup parameter value of asking for out according to this parameter program of asking for, the test environment that this operating system provided is set, the specified test procedure of this test procedure designated program can be carried out in the test environment under this operating system.
2. information platform test environment robotization set-up method as claimed in claim 1 is characterized in that this information platform is a blade server.
3. information platform test environment robotization set-up method as claimed in claim 1 is characterized in that this information platform is the stand-alone type server.
4. information platform test environment robotization set-up method as claimed in claim 1 is characterized in that this information platform is a network workstation.
5. information platform test environment robotization set-up method as claimed in claim 1 is characterized in that this information platform is a desktop PC.
6. information platform test environment robotization set-up method as claimed in claim 1, wherein this information platform is a notebook computer.
7. information platform test environment robotization set-up method as claimed in claim 1 is characterized in that this information platform is a Tablet PC.
8. the system of putting is built in information platform test environment robotization, it can carry to information platform, and the operating system that this information platform controlled is specific when being used for carrying out test procedure on this information platform, providing the test environment of robotization to build at this specific operating system and puts function; It is characterized in that this information platform test environment robotization is built the system of putting and comprised at least:
Parameter database, required setup parameter when prestoring multiple different test procedure and under multiple different operating system, carrying out respectively;
The test procedure designated module, it is user's operational module, allows the user specify required test procedure from multiple different test procedure;
The operating system identification module can be used for discerning the classification of this operating system;
Parameter is asked for module, and the operating system classification that can identify according to this operating system identification module and the test procedure of this test procedure designated module appointment are asked for out the setup parameter of one group of correspondence from this parameter database; And
The test environment setting module, can ask for the setup parameter value that module asks for out according to this parameter the test environment that this operating system provides is carried out setting program, the test procedure of this test procedure designated module appointment can be carried out in the test environment under this operating system.
9. the system of putting is built in information platform test environment as claimed in claim 8 robotization, it is characterized in that, this information platform is a blade server.
10. the system of putting is built in information platform test environment as claimed in claim 8 robotization, it is characterized in that, this information platform is the stand-alone type server.
11. the system of putting is built in information platform test environment as claimed in claim 8 robotization, it is characterized in that, this information platform is a network workstation.
12. the system of putting is built in information platform test environment as claimed in claim 8 robotization, it is characterized in that, this information platform is a desktop PC.
13. the system of putting is built in information platform test environment as claimed in claim 8 robotization, it is characterized in that, this information platform is a notebook computer.
14. the system of putting is built in information platform test environment as claimed in claim 8 robotization, it is characterized in that, this information platform is a Tablet PC.
CNB2004100079503A 2004-03-05 2004-03-05 Information platform test environment automatic construction method and system Expired - Fee Related CN1316358C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100079503A CN1316358C (en) 2004-03-05 2004-03-05 Information platform test environment automatic construction method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100079503A CN1316358C (en) 2004-03-05 2004-03-05 Information platform test environment automatic construction method and system

Publications (2)

Publication Number Publication Date
CN1664778A CN1664778A (en) 2005-09-07
CN1316358C true CN1316358C (en) 2007-05-16

Family

ID=35035885

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100079503A Expired - Fee Related CN1316358C (en) 2004-03-05 2004-03-05 Information platform test environment automatic construction method and system

Country Status (1)

Country Link
CN (1) CN1316358C (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101266566B (en) * 2007-03-13 2010-06-16 中国电信股份有限公司 Multi- test scene automatic dispatch system and method
US8145819B2 (en) * 2007-06-04 2012-03-27 International Business Machines Corporation Method and system for stealing interrupt vectors
CN102375786B (en) * 2011-10-18 2014-09-10 中兴通讯股份有限公司 Automatic operating system identifying method and system for USB (Universal Serial Bus) equipment
CN109614339B (en) * 2018-12-27 2020-01-21 四川新网银行股份有限公司 Automatic expansion method based on multiple sets of test environments

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001022227A1 (en) * 1999-09-20 2001-03-29 Actuarieel Adviesbureau Vermaase B.V. Computer program for multiple types of user interfaces and method for testing such computer programs
CN1359492A (en) * 1999-01-21 2002-07-17 毕事快公司 System and method for testing and validating devices having an embedded operating system
JP2003248582A (en) * 2002-02-26 2003-09-05 Fujitsu Ltd Execution environment construction processing method and execution environment construction processing program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1359492A (en) * 1999-01-21 2002-07-17 毕事快公司 System and method for testing and validating devices having an embedded operating system
WO2001022227A1 (en) * 1999-09-20 2001-03-29 Actuarieel Adviesbureau Vermaase B.V. Computer program for multiple types of user interfaces and method for testing such computer programs
JP2003248582A (en) * 2002-02-26 2003-09-05 Fujitsu Ltd Execution environment construction processing method and execution environment construction processing program
CN1441345A (en) * 2002-02-26 2003-09-10 富士通株式会社 Method, device and program for structure actuation environment and computer readable medium

Also Published As

Publication number Publication date
CN1664778A (en) 2005-09-07

Similar Documents

Publication Publication Date Title
US8521865B2 (en) Method and apparatus for populating a software catalog with automated use signature generation
CN109165170B (en) Method and system for automatic request test
CN106850330B (en) Intelligent cloud desktop performance test system and method
CN111340378B (en) Product project scheduling method and related device
CN108805667A (en) Order flow processing method and system
CN103377101A (en) Testing system and testing method
CN107992411A (en) A kind of method for building task management system software virtual testing environment
CN1316358C (en) Information platform test environment automatic construction method and system
CN109471646A (en) A kind of upgrade method, device and the storage medium of the BMC version of server
CN112596809A (en) Visual configuration method and device of interface, electronic equipment and storage medium
US9342805B2 (en) Method and system for generating an integration model
CN112633731A (en) Method and device for detecting whether product is qualified or not, processor and electronic equipment
CN117234660A (en) Method for deploying and operating software under micro-service architecture based on Docker container technology
CN110704471A (en) Material management method, material management system and electronic equipment
CN115048158A (en) Process arranging and calling method, system and computer equipment thereof
CN116245339A (en) Production monitoring method and device of server equipment, storage medium and electronic device
CN112181443B (en) Automatic service deployment method and device and electronic equipment
WO2004044711A2 (en) Information handling system for custom image manufacture
CN114881313A (en) Behavior prediction method and device based on artificial intelligence and related equipment
CN109977007B (en) PLM (product development management) mold test management method and system
US20060253336A1 (en) Data collection system and method
CN102053580B (en) Control method and the design construction system of electronic equipment
CN114781976B (en) Method, system, terminal and storage medium for converting server material configuration
CN109697599B (en) System and method for driving flow
CN114461717A (en) Automatic data comparison method and device, electronic equipment and storage medium

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070516

Termination date: 20110305