[go: up one dir, main page]

CN106019120B - Test and management method based on expansible device detection library - Google Patents

Test and management method based on expansible device detection library Download PDF

Info

Publication number
CN106019120B
CN106019120B CN201610312426.XA CN201610312426A CN106019120B CN 106019120 B CN106019120 B CN 106019120B CN 201610312426 A CN201610312426 A CN 201610312426A CN 106019120 B CN106019120 B CN 106019120B
Authority
CN
China
Prior art keywords
index
test
type
list object
title
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
CN201610312426.XA
Other languages
Chinese (zh)
Other versions
CN106019120A (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.)
CETC 41 Institute
Original Assignee
CETC 41 Institute
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 CETC 41 Institute filed Critical CETC 41 Institute
Priority to CN201610312426.XA priority Critical patent/CN106019120B/en
Publication of CN106019120A publication Critical patent/CN106019120A/en
Application granted granted Critical
Publication of CN106019120B publication Critical patent/CN106019120B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/2851Testing of integrated circuits [IC]
    • G01R31/2855Environmental, reliability or burn-in testing
    • G01R31/2856Internal circuit aspects, e.g. built-in test features; Test chips; Measuring material aspects, e.g. electro migration [EM]

Landscapes

  • Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses the test and management methods based on expansible device detection library, including load component inventory and index library file;The test index in index storehouse is accessed, index name is read;Index list object is created, index name is stored into index list object;Access the type of device information in component inventory, reading device typonym;Device list object is created, type of device title is stored into device list object;It is successively read the corresponding test index of device list object in step 5, the reference of the corresponding index name of index list object is established according to the corresponding test index of device list object, and save into the corresponding test index list of device list object;The selection situation for judging type of device title in device list object, judges the selected state of the corresponding test index of device typonym;The type of device title in step 4 is saved to component inventory, saves device library file of the corresponding test index information of the type of device title into step 1.

Description

Test and management method based on expansible device detection library
Technical field
The present invention relates to frequency domain/time-domain signal testing field, especially a kind of test based on expansible device detection library Management method.
Background technique
Currently, measured device wide variety in semiconductor monolithic integrated circ Auto-Test System, every one kind device all has Have the characteristics that testing process is more unified compared with specification, index, but the test index library of all kinds of devices is not identical.Such as: attenuator The test index that type of device is related to has the indexs such as working frequency, attenuation, input power, attenuation accuracy, low noise device class The test index that type is related to has working frequency, power gain, saturation power, harmonic wave, clutter, 1dB compression point power, noise coefficient Etc. indexs.It can be seen that there are also different test indexs for the two kinds of existing public test index of device.
Currently existing technical solution is to establish a test index library.When needing to test a certain types of devices, just arrange Test index all in test index library out, allows user to select, and the index item that user selects is saved in one and is matched It sets in file, the index item that will be saved in load configurations file when the application is restarted.Prior art is being tested When a certain types of devices, need to select institute's test index in need by hand.Although the index item of selection is also saved to configuration It in file, and can be loaded into program when program restarts, be provided with certain hommization, but there are following several Point disadvantage:
1) index item in test index library is very more, and test index required for oneself is selected in numerous index item It is a cumbersome job, is very easy to error, and user also needs deep knowledge on testing and experience.
2) when user will test another type device, it is invalid for the test index selected originally, needs to re-start Selection is to override original selection.In this way, when user usually to multiple types device switch test when, would have to time time choosing It selects, significantly increases work difficulty and error probability.
Summary of the invention
In order to solve the deficiencies in the prior art, the present invention provides a kind of test and management side based on expansible device detection library Method.
To achieve the above object, the present invention adopts the following technical solutions:
Based on the test and management method in expansible device detection library, it is based on component inventory and index storehouse, the component inventory includes Type of device information, and type of device store all type of device titles, the corresponding test index list of type of device title with And the test index chooses attribute, the index storehouse includes all test indexs, the test index includes index name.
The method is as follows:
Step 1: load component inventory and index library file, component inventory and index storehouse are stored using XML file format;
Step 2: the test index in access index storehouse reads index name;
Step 3: creation index list object, for storing the test index in step 2, by the index name in step 2 Title is stored into index list object;
Step 4: the type of device information in access component inventory, reading device typonym;
Step 5: creation device list object stores the type of device title in step 4 into device list object;
Step 6: it is successively read the corresponding test index of device list object in step 5, according to device list object pair The test index answered establishes the reference of the corresponding index name of index list object, and saves to the corresponding survey of device list object It tries in index list;
Step 7: judging the selection situation of type of device title in device list object, judges that device typonym is corresponding Test index selected state;
Step 8: the type of device title in step 4 is saved to component inventory, it is corresponding to save the type of device title Device library file of the test index information into step 1.
Preferably, the test index includes the electrology characteristic of type of device title.
Preferably, the component inventory and test index library are established according to device simulation or actual test.
Preferably, in the type of device information, the attribute of choosing of test index includes yes/no, attribute be to indicate to use Family selected the test index, and attribute is that no expression user does not select the test index.
Preferably, the test index further includes the class name for realizing the test index and the class of test index set interface Name.
Preferably, in the step 7, judge the selection situation of type of device title in device list object, specific steps Are as follows:
When having selected some type of device title, then the corresponding test index of type of device title is shown.
It is further preferred that referring in the step 7 when selected some corresponding partial test of type of device title Mark, then be yes by the attribute changes of choosing of the corresponding test index of type of device title.
The beneficial effects of the present invention are:
The present invention increases a component inventory, when user selects a kind of type of device, journey on the basis of test index library Sequence only lists all test index information involved in the type of device, and user can further customize on this basis and test Indication information, the selection of user will be saved in the corresponding test index library of type of device by program automatically;When user selects When a kind of new type of device, program will list the corresponding all test index information of the type of device, after user customizes selection Also it will be automatically saved in the test index library of new type of device;If user is switched to original type of device, program is certainly It is dynamic that the option frame that user customized originally is carried and shown, it significantly reduces the work difficulty of user, improve type of device pair The standardization for the test index information answered.
Detailed description of the invention
Fig. 1 is existing structural schematic diagram;
Fig. 2 is component inventory provided by the invention and index storehouse system assumption diagram;
Fig. 3 is the test and management method specific flow chart provided by the invention based on expansible device detection library;
Fig. 4 is embodiment flow chart provided by the invention.
Specific embodiment
Present invention will be further explained below with reference to the attached drawings and examples.
As shown in Figure 1, existing technical solution is to establish a test index library.When needing to test a certain types of devices When, test index all in test index library is just listed, user is allowed to select, and the index item that user selects is saved in In one configuration file, the index item that will be saved in load configurations file when the application is restarted.Prior art When testing a certain types of devices, need to select institute's test index in need by hand.Although the index item of selection is also saved Into configuration file, and can be loaded into program when program restarts.
The invention proposes a kind of test and management methods based on expansible device detection library, as shown in Fig. 2, this method is adopted Architecture includes component inventory and index storehouse, and the component inventory includes type of device information, and type of device storage is all The corresponding test index list of type of device title, type of device title and the test index choose attribute, the finger Marking library includes all test indexs, and the test index includes index name, and the index storehouse includes that all type of device are corresponding Indication information, any indication information include index name, index class name and provide setup measures class name.Different device classes Type can be directed toward the same indication information in index storehouse simultaneously.
Embodiment:
Index storehouse contains all test indexs, lists partial test index now, as follows:
{ output power, output frequency, modulation output power, gain, noise coefficient, gain compression, conversion loss, pulse Width, harmonic wave, third order intermodulation, waveform analysis, power consumption, working efficiency };It include all test index titles in bracket.
Such as: [power consumption] index is for characterizing the power that device consumes at work.
Component inventory contains all type of device supported at present, lists part of devices type now:
{ transceiver, receiver, frequency mixer, attenuator, low noise, isolator };
All device names are listed in above-mentioned set, and the corresponding test index of any device name is in index storehouse Several indexs.
Such as: the corresponding test index of device of the entitled low noise of type of device is { [output power], [gain], [humorous Wave], [power consumption], other index names in index storehouse are nonsensical to low noise, and the purpose of this method is to work as subscriber selector When part typonym is [low noise], user interface only shows [output power], [gain], [harmonic wave], [power consumption] this four fingers Mark, other indexs are without display.
Following presentation device library file, file use XML format:
Component inventory successively stores device name, and in following examples, device name is that { output power, output frequency, modulation are defeated Out power, gain, noise coefficient, gain compression, conversion loss, pulse width, harmonic wave, third order intermodulation, waveform analysis, power consumption, Working efficiency }.
<ChipCollection>// component inventory
<Chip Name=" low noise ">
<TestParameter Name=" output power " Checked=" true "/>
<TestParameter Name=" gain " Checked=" true "/>
<TestParameter Name=" harmonic wave " Checked=" false "/>
<TestParameter Name=" power consumption " Checked=" true "/>
</Chip>
<Chip Name=" transceiver ">
</Chip>
<Chip Name=" receiver ">
</Chip></ChipCollection>
Following presentation index library file, file use XML format:
Index storehouse successively test index title, in following examples, the entitled low noise of test index, transceiver and reception The test index of device, transceiver and receiver is unlisted, and the corresponding test index of low noise is [output power], [gain], [humorous Wave], [power consumption], and the rear of test index show the test index choose attribute, in the example, [output power] chooses category Property by Checked=" true " indicate, i.e., [output power] choose attribute be it is yes, show to have been selected, [harmonic wave] is chosen Attribute be it is no, expression do not made selection.
In following index storehouses, SettingClass indicates to realize that the class name of the test index, RunClass indicate that test is surveyed Try the class name at setup measures interface.
<TestItemCollection>// index storehouse
< TestItem Name=" output power " SettingClass=" SCGL_Setting "
RunClass=" SCGL_Run " >
< TestItem Name=" output frequency " SettingClass=" SCPL_Setting "
RunClass=" SCPL_Run " >
< TestItem Name=" modulation output power " SettingClass=" TZSCGL_Setting "
RunClass=" TZSCGL_Run " >
<TestItem Name=" gain " SettingClass=" ZY_Setting " RunClass=" ZY_Run ">
< TestItem Name=" noise coefficient " SettingClass=" ZSXS_Setting "
RunClass=" ZSXS_Run " >
<TestItem Name=" gain compression " SettingClass=" " RunClass=" ">
<TestItem Name=" conversion loss " SettingClass=" " RunClass=" ">
<TestItem Name=" pulse width " SettingClass=" " RunClass=" ">
<TestItem Name=" harmonic wave " SettingClass=" " RunClass=" ">
<TestItem Name=" third order intermodulation " SettingClass=" " RunClass=" ">
<TestItem Name=" waveform analysis " SettingClass=" " RunClass=" ">
<TestItem Name=" power consumption " SettingClass=" " RunClass=" ">
<TestItem Name=" working efficiency " SettingClass=" " RunClass=" ">
</TestItemCollection>
</Setting>
This method detailed process is as follows:
Step 101, component inventory and index library file are loaded, and is stored as XML format.
Step 102, the test index for first accessing index storehouse, is successively read each test index of index storehouse.User obtains The information of test index.
Step 103, an index list object is created in memory, for storing the content of all test indexs, successively The each test index for reading index storehouse constructs index object according to each test index, and is saved in index list object. Index list object refers to that These parameters library form, concrete mode are to sequentially list test index.
Step 104, the type of device information for accessing component inventory is successively read each type of device title of component inventory.With Family acquisition device typonym.
Step 105, a device list object is created in memory be successively read device for storing all type of device Each type of device title in part library constructs device type object according to type of device title, which is saved in device In part list object.Type of device title is successively stored and saves the type of device title successively stored to device class by user Type list.
Step 106, be successively read device list object is related to test index, arranges according to test index building index is related to The reference of corresponding index title in table, and be saved in the corresponding index list of type of device title.Due to type of device title Corresponding specific test index, user can obtain the corresponding test of type of device title by reading device list of types Index, and test index is saved into the corresponding index list of the type of device title.
Step 107, judge whether user has selected type of device.Due to type of device titles all in device list object Corresponding test index rear has indicated the attribute of choosing of test index, and user judges according to the selection attribute.
Step 108, when user has selected certain type of device, then all tested indexs that the type of device is related to are shown Information.
Step 109, if user once selected the type of device that part has been selected to be related to tested index in the past, by this Tested index is shown as selected state a bit.Such as: the test index [output power] of low noise choose attribute be it is yes, then to the survey Examination index shown, test index [harmonic wave] choose attribute be it is no, then follow the steps 110.
Step 110, judge whether user has selected certain test indexs.
Step 111, if user has selected certain test indexs, program will modify in device object phase in index list That answers index chooses attribute.Test index [harmonic wave] choose attribute be it is no, then it is yes for modifying [harmonic wave] and choosing attribute.
Step 112, judge whether user will save setting.
Step 113, it if to save setting, first has to the title for the type of device that user selects being saved in user configuration In file, data are saved convenient for being directly loaded into user's last time when next startup program.
Step 114, the test index information preservation of customized each type of device title is then returned into device index Library file.
This method has the beneficial effect that with four aspects:
(1) component inventory is introduced between user and test index, component inventory is by all type of device structures that can test At type of device information includes type of device title, the corresponding index list of type of device title and type of device title and refers to The mapping status of list is marked, which provides a user the more accurate index list of a content and mapping status.
(2) index list and type of device information are all saved in component inventory, and are only saved in user profile The type of device title that user finally selects customizes the different of data with user after can extending to avoid the indication information of index storehouse Cause problem.
(3) component inventory and index storehouse are two independent sectors, and the index list that type of device information includes is then to finger The reference for marking indication information in library not only improves the shared of test index data, and can guarantee each type of device test index letter The consistency of breath, this mode are convenient for the extension of component inventory: when needing to be added new indication information or the original indication information of modification When, it is only necessary to test index library part is modified, type of device ensure that the consistency of data to the reference of test index item.
(4) component inventory is saved to an XML file, and XML file is the text file for saving hierarchical data, very easily In modification, the modification to component inventory can be completed by manual edit content of text.
Above-mentioned, although the foregoing specific embodiments of the present invention is described with reference to the accompanying drawings, not protects model to the present invention The limitation enclosed, those skilled in the art should understand that, based on the technical solutions of the present invention, those skilled in the art are not Need to make the creative labor the various modifications or changes that can be made still within protection scope of the present invention.

Claims (7)

1. being based on component inventory and index storehouse, the component inventory includes device based on the test and management method in expansible device detection library Part type information, and type of device information includes all type of device titles, the corresponding test index list of type of device title And the attribute whether test index in the test index list is selected, the index storehouse include all test indexs, The test index includes index name, which comprises the following steps:
Step 1: load component inventory and index library file, component inventory and index storehouse are stored using XML file format;
Step 2: the test index in access index storehouse reads index name;
Step 3: creation index list object stores the index name in step 2 into index list object;
Step 4: the type of device information in access component inventory, reading device typonym;
Step 5: creation device list object stores the type of device title in step 4 into device list object;
Step 6: being successively read the corresponding test index of device list object in step 5, corresponding according to device list object Test index establishes the reference of the corresponding index name of index list object, and saves to the corresponding test of device list object and refer to It marks in list;
Step 7: judging the selection situation of type of device title in device list object, judges the corresponding survey of device typonym Try the selected state of index;
Step 8: the type of device title in step 4 is saved to component inventory, saves the corresponding test of the type of device title Device library file of the indication information into step 1.
2. the test and management method as described in claim 1 based on expansible device detection library, which is characterized in that the test Index includes the electrology characteristic of type of device title.
3. the test and management method as described in claim 1 based on expansible device detection library, which is characterized in that the device Library and test index library are established according to device simulation or actual test.
4. the test and management method as described in claim 1 based on expansible device detection library, which is characterized in that the test Index further includes the class name for realizing the test index and the class name of test index set interface.
5. the test and management method as described in claim 1 based on expansible device detection library, which is characterized in that the device In type information, the attribute whether test index is selected includes yes/no, attribute be to indicate that user selected the test Index, attribute are that no expression user does not select the test index.
6. the test and management method as described in claim 1 based on expansible device detection library, which is characterized in that the step In seven, the selection situation of type of device title in device list object, specific steps are judged are as follows:
When having selected some type of device title, then the corresponding test index of type of device title is shown.
7. the test and management method as claimed in claim 6 based on expansible device detection library, which is characterized in that the step In seven, when selected the corresponding partial test index of some type of device title, then by the corresponding survey of type of device title It is yes for trying the attribute changes of choosing of index.
CN201610312426.XA 2016-05-12 2016-05-12 Test and management method based on expansible device detection library Active CN106019120B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610312426.XA CN106019120B (en) 2016-05-12 2016-05-12 Test and management method based on expansible device detection library

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610312426.XA CN106019120B (en) 2016-05-12 2016-05-12 Test and management method based on expansible device detection library

Publications (2)

Publication Number Publication Date
CN106019120A CN106019120A (en) 2016-10-12
CN106019120B true CN106019120B (en) 2018-12-04

Family

ID=57099292

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610312426.XA Active CN106019120B (en) 2016-05-12 2016-05-12 Test and management method based on expansible device detection library

Country Status (1)

Country Link
CN (1) CN106019120B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109492300A (en) * 2018-11-07 2019-03-19 盛科网络(苏州)有限公司 The method and device that device power consumption shows and exports in a kind of printed circuit board

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101118515A (en) * 2007-09-11 2008-02-06 腾讯科技(深圳)有限公司 Automatically testing method and apparatus for list
CN101957878A (en) * 2010-09-21 2011-01-26 清华大学 Method and device for constructing and managing prototype device library
CN102331967A (en) * 2011-06-15 2012-01-25 烽火通信科技股份有限公司 Method for managing chip verification test cases
CN103049806A (en) * 2011-10-11 2013-04-17 亚旭电子科技(江苏)有限公司 Method and system for managing multiplex testing program
CN103077135A (en) * 2012-12-31 2013-05-01 中国电子科技集团公司第四十一研究所 Test resource management method capable of supporting parallel tests
CN103336740A (en) * 2013-06-28 2013-10-02 广东电网公司电力科学研究院 Comprehensive test method and device for operation system of power secondary system
CN103414601A (en) * 2013-07-19 2013-11-27 广东电网公司电力调度控制中心 Method and system for detecting data for communication resource management system
CN103678130A (en) * 2013-12-17 2014-03-26 中国联合网络通信集团有限公司 Automated performance test method and platform

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004083879A1 (en) * 2003-03-19 2004-09-30 Advantest Corporation Test device and setting method
WO2010035450A1 (en) * 2008-09-26 2010-04-01 株式会社アドバンテスト Test module, test device, and test method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101118515A (en) * 2007-09-11 2008-02-06 腾讯科技(深圳)有限公司 Automatically testing method and apparatus for list
CN101957878A (en) * 2010-09-21 2011-01-26 清华大学 Method and device for constructing and managing prototype device library
CN102331967A (en) * 2011-06-15 2012-01-25 烽火通信科技股份有限公司 Method for managing chip verification test cases
CN103049806A (en) * 2011-10-11 2013-04-17 亚旭电子科技(江苏)有限公司 Method and system for managing multiplex testing program
CN103077135A (en) * 2012-12-31 2013-05-01 中国电子科技集团公司第四十一研究所 Test resource management method capable of supporting parallel tests
CN103336740A (en) * 2013-06-28 2013-10-02 广东电网公司电力科学研究院 Comprehensive test method and device for operation system of power secondary system
CN103414601A (en) * 2013-07-19 2013-11-27 广东电网公司电力调度控制中心 Method and system for detecting data for communication resource management system
CN103678130A (en) * 2013-12-17 2014-03-26 中国联合网络通信集团有限公司 Automated performance test method and platform

Also Published As

Publication number Publication date
CN106019120A (en) 2016-10-12

Similar Documents

Publication Publication Date Title
CN108399130A (en) Method, device and equipment for automatically generating test case and readable storage medium
CN109992498B (en) Test case generation method and system and computer system
US20090228776A1 (en) Dynamic formulas for spreadsheet cells
CN107678937A (en) Page compatibility detection method, device, server and medium
CN105868105A (en) Application traversal testing method and device, and mobile terminal
CN104915297B (en) A kind of automated testing method of the APP power consumption of android equipment
CN109101410A (en) A kind of risk driven test method and device and computer readable storage medium
CN107329976A (en) Webpage paging method, device, computer equipment and computer-readable recording medium
CN102185664A (en) Automatic testing system of radio frequency passive device
CN106019120B (en) Test and management method based on expansible device detection library
CN116302930A (en) Application testing method and device
CN114996369A (en) Method and device for constructing data warehouse index library
CN106406654A (en) Application icon automatic sorting method and system, and mobile device comprising system
CN107205238B (en) Method and terminal for realizing WIFI probe in android system
CN111694735B (en) Page performance testing method and device, electronic equipment and storage medium
CN109522213A (en) A kind of test method and device based on customized test script
CN103543359B (en) The implementation method of self-defined test function sequence in a kind of microwave measuring instrument
CN102004633A (en) Method and device for processing control property
KR20040091987A (en) Mobile phone and method for displaying web-site using previous display-information of user
CN101330707B (en) Method and device for dialing and testing wireless network information
CN111061471B (en) Method and system for controlling display of interface control element
CN110765218B (en) Relational Database Persistence Configuration Method of Composite Attribute Data in CIM Class
CN114003220A (en) Workflow model implementation method, system, readable storage medium and computer equipment
CN108694115A (en) A kind of processing method, equipment and the system of webpage test
CN103116622B (en) A kind of sequence value generation method for Ibatis scheme and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant