CN101196844A - System and method of testing hardware module - Google Patents

System and method of testing hardware module Download PDF

Info

Publication number
CN101196844A
CN101196844A CNA2008100559886A CN200810055988A CN101196844A CN 101196844 A CN101196844 A CN 101196844A CN A2008100559886 A CNA2008100559886 A CN A2008100559886A CN 200810055988 A CN200810055988 A CN 200810055988A CN 101196844 A CN101196844 A CN 101196844A
Authority
CN
China
Prior art keywords
test
hardware module
special purpose
database
modules
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.)
Granted
Application number
CNA2008100559886A
Other languages
Chinese (zh)
Other versions
CN101196844B (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.)
Fu Yijie
Original Assignee
ZTE 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 ZTE Corp filed Critical ZTE Corp
Priority to CN2008100559886A priority Critical patent/CN101196844B/en
Publication of CN101196844A publication Critical patent/CN101196844A/en
Application granted granted Critical
Publication of CN101196844B publication Critical patent/CN101196844B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a test system of a hardware module, which consists of a test package, a hardware module and a test platform. The test platform consists of a master executive program, a configuration database, a result database, a special test module, an operation component database and a user interaction interface. The invention also discloses a test method of the hardware module. The master executive program acquires a basic information of the hardware module from the configuration database and presents the basic information in the user interaction interface; the user carries out test parameter configuration through the user interaction interface based on the test requirements and starts test; the master executive program stores the test results in the result database after test. The test system and method of the invention can shorten the development period of the hardware module test and gradually form the design criteria and standards of the test method of the hardware module, thereby facilitating the test of the hardware module advance toward platformization gradually and simplifying the test of the hardware module.

Description

A kind of test macro of hardware module and method
Technical field
The present invention relates to the hardware module measuring technology, be specifically related to a kind of test macro and method of hardware module.
Background technology
Appearance along with various products, the hardware module of forming product is also varied, different model, different series, different classes of product development, bear by different team or project team respectively and finish, bear by different team or test group for the test job of the various hardware modules of forming product is also inevitable so.
Because the method for testing of hardware module is determined by Test Design person oneself fully, the scheme and the design criteria that do not have standard, even to identical hardware module, identical test environment, designed hardware module testing system and the method for different testers also has than big-difference, no matter be at test framework, look ﹠ feel, or on extensibility and the automaticity.So, for different hardware modules, different test environments, designed hardware module testing system and the method for coming out of different testers differs a thousand li especially, so, the test macro of existing hardware module and method are because unified criterion and standard, the long and testing procedure complexity of construction cycle of relating to.
Perhaps, test team or test group are arranged in the Test Design process of hardware module, can be often and other bear the test team of different hardware module testing task or test group and link up and consult, thereby reach the common recognition in the hardware module test, make every effort to standard and simplify the test of hardware module, yet, this common recognition of reaching among a small circle is difficult to obtain large-area popularization, finally still can not realize the specification hardware module testing, thereby simplifies the purpose of the test of hardware module.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide a kind of test macro and method of hardware module, can shorten the construction cycle of hardware module test, and can form the design criteria and the standard of hardware module testing method gradually, thereby the test of hardware module is advanced to hardware and software platform gradually, simplify the test of hardware module.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of test macro of hardware module, this system comprises test package, hardware module and test platform, wherein, test platform is used for according to the test item of the type of hardware module and needs test test package and hardware module being carried out the operating component configuration, and the control test package is tested hardware module.
Described test platform further comprises main executive routine, configuration database, result database, special purpose test modules, operating component database and User Interface, wherein,
Main executive routine is used to control the test process of whole hardware module, main executive routine can obtain the essential information of hardware module and present to the user by User Interface from configuration database, main executive routine can also be given special purpose test modules with the dependence test information configuration in the configuration database according to configuration and the operation of user on User Interface, and the test result that after end of test (EOT) special purpose test modules is reported stores result database into, and is shown to User Interface;
Configuration database is used for the essential information of storage hardware module;
Result database is used for the test result of storage hardware module;
Special purpose test modules be used for dependence test information according to the configuration of main executive routine from operating component database downloading-running assembly to hardware module and/or test package, and foundation is connected with test between hardware module, the test package, thereby tests; Special purpose test modules also is used for the test result that test package and hardware module report is reported main executive routine;
The operating component database is used for the operating component of storage hardware module testing needs;
User Interface is used for the essential information of configuration database hardware module is presented to the user, and realization test macro and user's is mutual.
A kind of method of testing of hardware module, this method comprises:
A, main executive routine obtain the essential information of hardware module from configuration database, and the essential information of the hardware module obtained is presented in the User Interface;
B, user carry out the test parameter configuration according to the test needs by User Interface, and start test;
C, end of test (EOT), main executive routine is saved in result database with test result.
Comprise step after the described startup of the step b test: main executive routine reads dependence test information in the configuration database according to user configured test parameter, and call special purpose test modules, if call success, then main executive routine is given special purpose test modules with the dependence test information configuration that reads, and special purpose test modules control test package and hardware module are tested; Otherwise, return error message.
Described dependence test information comprises special purpose test modules path and operating component path at least.
Described special purpose test modules control test package and hardware module are tested and be: special purpose test modules arrives hardware module or test package according to operating component path downloading-running assembly earlier, foundation is connected with test between hardware module, the test package then, thereby reaches test to hardware module jointly by special purpose test modules control test package.
Comprise step after the described end of test (EOT) of step c: test package and hardware module report special purpose test modules with test result, and special purpose test modules reports test result main executive routine again.
Described main executive routine further shows test results in User Interface after test result is saved in result database.
The test macro of hardware module of the present invention and method, the ingredient of hardware module testing system is divided into constant part and variable part, when different hardware modules is tested with different test environments, only need system's variable part to be adjusted accordingly according to the different of hardware module and test environment, just can test, so shortened the construction cycle of hardware module test; Again because after system and method for the present invention tests hardware module, the essential information and the dependence test assembly of hardware module can be preserved, if things go on like this, just can form the design criteria and the standard of hardware module testing method, thereby the test of hardware module is advanced to hardware and software platform gradually, simplified the test of hardware module.
Description of drawings
Fig. 1 is the test system structure figure of hardware module of the present invention;
Fig. 2 is the method for testing process flow diagram of hardware module of the present invention.
Embodiment
Basic thought of the present invention is: the ingredient of hardware module testing system is divided into constant part and variable part, when different hardware modules is tested with different test environments, only need system's variable part to be adjusted accordingly, just can test according to the different of hardware module and test environment.
Be described in further details below in conjunction with the test macro and the method for the drawings and specific embodiments hardware module of the present invention.
Fig. 1 is the test system structure figure of hardware module of the present invention, as shown in Figure 1, the test macro of hardware module of the present invention is made up of test platform, hardware module and test package, wherein, test platform is used for according to the test item of the type of hardware module and needs test test package and hardware module being carried out the operating component configuration, and control test package hardware module is tested, test platform comprises main executive routine, configuration database, result database, special purpose test modules, operating component database and User Interface again.
Main executive routine is used to control the test process of whole hardware module, main executive routine can obtain the essential information of hardware module and present to the user by User Interface from configuration database, main executive routine can also be given special purpose test modules with the dependence test information configuration in the configuration database according to configuration and the operation of user on User Interface, and the test result that after end of test (EOT) special purpose test modules is reported stores result database into, and is shown to User Interface;
Configuration database is used for the essential information of storage hardware module;
Result database is used for the test result of storage hardware module;
Special purpose test modules be used for dependence test information according to the configuration of main executive routine from operating component database downloading-running assembly to hardware module or test package, and foundation is connected with test between hardware module, the test package, thereby tests; Special purpose test modules also is used for the test result that test package and hardware module report is reported main executive routine;
The operating component database is used to store the operating component of test needs;
User Interface is used for the essential information of configuration database hardware module is presented to the user, and is mutual to realize test macro and user's.
Here, main executive routine, configuration database, result database and the User Interface in the test macro is classified as the constant part of system, this four part can maybe not need the test item tested different and do not change because the hardware module difference of test; Again because different hardware modules special purpose test modules, operating component database and the test package corresponding different with different test items, so special purpose test modules, operating component database, hardware module and test package are classified as the variable part of system, maybe need the test item tested not simultaneously in the hardware module difference, only need adjust accordingly and get final product the variable part of system.
Fig. 2 is the method for testing process flow diagram of hardware module of the present invention, and as shown in Figure 2, the method for testing of hardware module of the present invention mainly may further comprise the steps:
Step 21: main executive routine obtains the essential information of hardware module from configuration database, and the essential information of the hardware module obtained is presented in the User Interface.Here, the essential information of hardware module comprises the installation site information etc. of dimension information, hardware module and test package of version, hardware module and the test package of hardware module classification, hardware module model, hardware module.
Step 22: the user carries out the test parameter configuration according to the test needs by User Interface, and starts test.The user is according to the test needs, the classification of selection hardware module, model, beta version etc., can determine the hardware module that needs are tested by classification and the model of selecting hardware module, by selecting beta version, need can determine the test item of test, for example, to with a kind of hardware module, the test item of beta version A correspondence is I1, I2, I3, I4, and the test item of beta version B correspondence is I1, I2, I4, I5 ....
Step 23~step 26: main executive routine reads dependence test information in the configuration database according to user configured test parameter, and call special purpose test modules, if call success, then give special purpose test modules with the dependence test information configuration that reads, special purpose test modules control test package and hardware module are tested execution in step 27; Otherwise, return error message.Here, dependence test information comprises the path of the operating component of the path of special purpose test modules and user test needs at least.When special purpose test modules control test package and hardware module are tested, operating component path downloading-running assembly according to main executive routine configuration arrives hardware module or test package earlier, foundation is connected with test between hardware module, the test package then, thereby the control test package is tested hardware module.Here, for fear of introducing the operating component mistake because of repeatedly downloading, also can select to allow test package carry operating component, when downloading, only downloads operating component the operating component of hardware module, because in the test process, mistake appears in the operating component of hardware module can be downloaded again, and the operating component of test package mistake occurs and can cause test paralysis.
Operating component is after the definite title or path of good hardware module essential information in configuration database, is that title or the path that essential information is distributed developed according to system.With environment monitoring board EMxx is example, in configuration database, the module title can be defined as ZXWx-Bxx, need the hardware version of test to be defined as ZXWx-Bxx_aXX, the path of special purpose test modules be ZXWx-Bxx RunProg EMxx EMxx_axx, the path of operating component be ZXWx-Bxx RunProg EMxx EMxx_axx_fxx, and the test item number definition corresponding with this hardware version is ZXWx-Bxx_c1, ZXWx-Bxx_c2, ZXWx-Bxx_c4, ZXWx-Bxx_c5 etc., after having determined the title or path of essential information in configuration database, just can carry out the exploitation of operating component according to definite good title or path.
Step 27: after the end of test (EOT), special purpose test modules reports main executive routine to test result, and main executive routine is saved in result database with test result again, and shows test results in User Interface.After the end of test (EOT), by test package and hardware module test result is reported special purpose test modules earlier, report main executive routine by special purpose test modules again.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.

Claims (8)

1. the test macro of a hardware module, it is characterized in that, this system comprises test package, hardware module and test platform, wherein, test platform is used for according to the test item of the type of hardware module and needs test test package and hardware module being carried out the operating component configuration, and the control test package is tested hardware module.
2. system according to claim 1 is characterized in that, described test platform further comprises main executive routine, configuration database, result database, special purpose test modules, operating component database and User Interface, wherein,
Main executive routine is used to control the test process of whole hardware module, main executive routine can obtain the essential information of hardware module and present to the user by User Interface from configuration database, main executive routine can also be given special purpose test modules with the dependence test information configuration in the configuration database according to configuration and the operation of user on User Interface, and the test result that after end of test (EOT) special purpose test modules is reported stores result database into, and is shown to User Interface;
Configuration database is used for the essential information of storage hardware module;
Result database is used for the test result of storage hardware module;
Special purpose test modules be used for dependence test information according to the configuration of main executive routine from operating component database downloading-running assembly to hardware module and/or test package, and foundation is connected with test between hardware module, the test package, thereby tests; Special purpose test modules also is used for the test result that test package and hardware module report is reported main executive routine;
The operating component database is used for the operating component of storage hardware module testing needs;
User Interface is used for the essential information of configuration database hardware module is presented to the user, and realization test macro and user's is mutual.
3. the method for testing of a hardware module is characterized in that, this method comprises:
A, main executive routine obtain the essential information of hardware module from configuration database, and the essential information of the hardware module obtained is presented in the User Interface;
B, user carry out the test parameter configuration according to the test needs by User Interface, and start test;
C, end of test (EOT), main executive routine is saved in result database with test result.
4. method according to claim 3, it is characterized in that, comprise step after the described startup of the step b test: main executive routine reads dependence test information in the configuration database according to user configured test parameter, and call special purpose test modules, if call success, then main executive routine is given special purpose test modules with the dependence test information configuration that reads, and special purpose test modules control test package and hardware module are tested; Otherwise, return error message.
5. method according to claim 4 is characterized in that, described dependence test information comprises special purpose test modules path and operating component path at least.
6. according to claim 4 or 5 described methods, it is characterized in that, described special purpose test modules control test package and hardware module are tested and be: special purpose test modules arrives hardware module or test package according to operating component path downloading-running assembly earlier, foundation is connected with test between hardware module, the test package then, thereby reaches test to hardware module jointly by special purpose test modules control test package.
7. method according to claim 3 is characterized in that, comprise step after the described end of test (EOT) of step c: test package and hardware module report special purpose test modules with test result, and special purpose test modules reports test result main executive routine again.
8. method according to claim 3 is characterized in that, described main executive routine further shows test results in User Interface after test result is saved in result database.
CN2008100559886A 2008-01-03 2008-01-03 System and method of testing hardware module Expired - Fee Related CN101196844B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008100559886A CN101196844B (en) 2008-01-03 2008-01-03 System and method of testing hardware module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100559886A CN101196844B (en) 2008-01-03 2008-01-03 System and method of testing hardware module

Publications (2)

Publication Number Publication Date
CN101196844A true CN101196844A (en) 2008-06-11
CN101196844B CN101196844B (en) 2011-05-25

Family

ID=39547275

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100559886A Expired - Fee Related CN101196844B (en) 2008-01-03 2008-01-03 System and method of testing hardware module

Country Status (1)

Country Link
CN (1) CN101196844B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102565685A (en) * 2010-12-14 2012-07-11 苏州工业园区谱芯科技有限公司 Logic built-in self-test system
WO2014013499A1 (en) * 2012-07-17 2014-01-23 Hewlet-Packard Development Company, L.P. System and method for operating system agnostic hardware validation
CN104280674A (en) * 2013-07-08 2015-01-14 深圳伊欧陆微电子系统有限公司 Universal hardware test system
CN106201869A (en) * 2016-07-01 2016-12-07 惠州Tcl移动通信有限公司 A kind of high pass WiFi chip signal launch point surveys method and system
CN106484625A (en) * 2016-10-30 2017-03-08 合肥微匠信息科技有限公司 A kind of method based on universal test Software Development Platform test subsystems
CN108319531A (en) * 2017-12-19 2018-07-24 瑞斯康达科技发展股份有限公司 A kind of detection method and detection device of configuration information
CN108717386A (en) * 2018-05-17 2018-10-30 郑州云海信息技术有限公司 A kind of server automated diagnostic method and system
CN110097432A (en) * 2019-05-10 2019-08-06 控福(上海)智能科技有限公司 A kind of test platform store and test macro
CN110909307A (en) * 2019-10-23 2020-03-24 珠海格力电器股份有限公司 Air quality detection method and device, storage medium, terminal and detection system
CN111723012A (en) * 2020-06-17 2020-09-29 西门子工厂自动化工程有限公司 Input/output module test method, device, system and storage medium
CN113589050A (en) * 2021-08-02 2021-11-02 西安兵标检测有限责任公司 Capacitor test system and test method

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102565685B (en) * 2010-12-14 2014-04-02 苏州工业园区谱芯科技有限公司 Logic built-in self-test system
CN102565685A (en) * 2010-12-14 2012-07-11 苏州工业园区谱芯科技有限公司 Logic built-in self-test system
WO2014013499A1 (en) * 2012-07-17 2014-01-23 Hewlet-Packard Development Company, L.P. System and method for operating system agnostic hardware validation
CN104737134A (en) * 2012-07-17 2015-06-24 惠普发展公司,有限责任合伙企业 System and method for operating system agnostic hardware validation
CN104280674A (en) * 2013-07-08 2015-01-14 深圳伊欧陆微电子系统有限公司 Universal hardware test system
CN106201869B (en) * 2016-07-01 2019-10-29 Tcl移动通信科技(宁波)有限公司 A kind of high pass WiFi chip signal launch point survey method and system
CN106201869A (en) * 2016-07-01 2016-12-07 惠州Tcl移动通信有限公司 A kind of high pass WiFi chip signal launch point surveys method and system
CN106484625A (en) * 2016-10-30 2017-03-08 合肥微匠信息科技有限公司 A kind of method based on universal test Software Development Platform test subsystems
CN108319531A (en) * 2017-12-19 2018-07-24 瑞斯康达科技发展股份有限公司 A kind of detection method and detection device of configuration information
CN108319531B (en) * 2017-12-19 2021-04-20 瑞斯康达科技发展股份有限公司 Configuration information detection method and detection device
CN108717386A (en) * 2018-05-17 2018-10-30 郑州云海信息技术有限公司 A kind of server automated diagnostic method and system
CN110097432A (en) * 2019-05-10 2019-08-06 控福(上海)智能科技有限公司 A kind of test platform store and test macro
CN110909307A (en) * 2019-10-23 2020-03-24 珠海格力电器股份有限公司 Air quality detection method and device, storage medium, terminal and detection system
CN111723012A (en) * 2020-06-17 2020-09-29 西门子工厂自动化工程有限公司 Input/output module test method, device, system and storage medium
CN113589050A (en) * 2021-08-02 2021-11-02 西安兵标检测有限责任公司 Capacitor test system and test method

Also Published As

Publication number Publication date
CN101196844B (en) 2011-05-25

Similar Documents

Publication Publication Date Title
CN101196844B (en) System and method of testing hardware module
CN103631720B (en) The generation method and apparatus of test case
CN104363324B (en) A kind of method of testing and test system tested automatically cell phone mainboard
CN103823747A (en) Automatic regression testing method
CN105224458A (en) A kind of database method of testing and system
CN113706110B (en) FPGA test tool integrated test management platform
CN105677561B (en) The multi-platform test method of mobile product and system
CN105335287A (en) Automatic test method and device
CN106569943A (en) Hardware testing method and hardware testing system for equipment
CN105491140A (en) Remote testing method and system for terminal
CN114757135B (en) Programmable logic device verification method and system based on demand drive verification
CN107122307B (en) Internet of things execution system
CN110069414A (en) Regression testing method and system
CN110287092A (en) A kind of electricity transaction system and its automatic test approach based on graphical interfaces
CN117370203A (en) Automatic test method, system, electronic equipment and storage medium
CN106201810A (en) A kind of method of testing, device
CN113495210A (en) Low-voltage switch sampling inspection control method, device, equipment and storage medium
CN111104331B (en) Software management method, terminal device and computer readable storage medium
CN112016256A (en) Integrated circuit development platform, method, storage medium and equipment
CN111176995A (en) Test method and test system based on big data test case
CN108932355B (en) Logic verification method and device
CN111242445A (en) Method, device and readable storage medium for testing products based on configuration production line
CN105866574A (en) Auxiliary identifying method and auxiliary identifying system for automated testing
CN111596203B (en) Chip testing device, platform and method
CN108009082B (en) Flight management-based combined test case generation method

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
CB03 Change of inventor or designer information

Inventor after: Yao Xiaorong

Inventor after: Xu Qihui

Inventor after: Wang Xiaofeng

Inventor after: Fu Yijie

Inventor after: Li Hui

Inventor before: Cui Wenhui

CB03 Change of inventor or designer information
TR01 Transfer of patent right

Effective date of registration: 20170906

Address after: 300131, room 1202-6, block B, Haihe tower, No. 1 Zhang Zi-zhong Road, Hongqiao District, Tianjin

Co-patentee after: Xu Qihui

Patentee after: Yao Xiaorong

Co-patentee after: Wang Xiaofeng

Co-patentee after: Fu Yijie

Co-patentee after: Li Hui

Address before: 518057 Nanshan District Guangdong high tech Industrial Park, South Road, science and technology, ZTE building, Ministry of Justice

Patentee before: ZTE Corporation

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110525

Termination date: 20180103

CF01 Termination of patent right due to non-payment of annual fee