CN104111385A - Hardware test method - Google Patents

Hardware test method Download PDF

Info

Publication number
CN104111385A
CN104111385A CN201310136256.0A CN201310136256A CN104111385A CN 104111385 A CN104111385 A CN 104111385A CN 201310136256 A CN201310136256 A CN 201310136256A CN 104111385 A CN104111385 A CN 104111385A
Authority
CN
China
Prior art keywords
hardware
measured
information
test result
adapter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310136256.0A
Other languages
Chinese (zh)
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.)
Her Continental Europe Microelectronics System Co Ltd Of Shenzhen
Original Assignee
Her Continental Europe Microelectronics System Co Ltd Of Shenzhen
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 Her Continental Europe Microelectronics System Co Ltd Of Shenzhen filed Critical Her Continental Europe Microelectronics System Co Ltd Of Shenzhen
Priority to CN201310136256.0A priority Critical patent/CN104111385A/en
Publication of CN104111385A publication Critical patent/CN104111385A/en
Pending legal-status Critical Current

Links

Abstract

The invention provides a hardware test method. The method comprises the following steps: information of hardware to be tested is received; a hardware adapter is connected with the hardware to be tested; and the hardware to be tested is tested by inquiring a prestored hardware protocol according to the information of the hardware to be tested to obtain a test result. According to the hardware test method of the invention, the hardware equipment tests can be simplified, the test efficiency can be improved, and the probability of repeated development can be reduced.

Description

A kind of hardware testing method
Technical field
Present invention relates in general to semiconductor applications, more specifically, relate to the field that hardware parameter is tested.
Background technology
Hardware device, for example hardware testing equipment in semiconductor test.Semiconductor crystal wafer need to carry out strict test conventionally.Wafer sort is that each crystal grain on wafer is carried out to pin survey; at detection head, load onto with gold thread and make carefully as the probe of hair (probe); contact with the contact (pad) on crystal grain, by hardware device, test that it is electric, optics; the physicochemical characteristicss such as machinery; underproof crystal grain can be marked with mark, and then, when wafer is unit while cutting into independently crystal grain according to crystal grain, marking marked defective crystal grain can be eliminated; no longer carry out next processing procedure, in order to avoid increase on foot manufacturing cost.
Different hardware devices, wafer have different parameters conventionally, and for example, the wafer of the same type that different vendor produces usually can show different performances, and the same a collection of wafer of even same manufacturers produce also may there are differences.Equally, the hardware testing equipment of the same type that different vendor produces, the same series hardware testing apparatus of even same manufacturers produce also exists difference.
In traditional wafer sort, conventionally need to be for different hardware testing equipment.Wafer is developed different test macros, and because the otherness of hardware testing equipment and wafer is very huge, so develop different test macros, will be a job very consuming time and easily make mistakes, also tester's inefficiency will be made thus, and somewhat expensive, has also restricted the R and D of Novel wafer simultaneously.
In addition, even different hardware testing apparatus, wafer exists difference, but it also has something in common.For these something in common, tester also needs again test macro to be developed, thereby has caused a lot of repeated works.
Summary of the invention
Object of the present invention is at least to overcome the problems such as loaded down with trivial details, the inefficiency of the test of hardware device in prior art and overlapping development.
According to an aspect of the present invention, provide a kind of hardware testing method, comprising: the information that receives hardware to be measured; By hardware adapter and described hardware to be measured, couple together; According to the information of described hardware to be measured, by inquiring about pre-stored hardware protocol, thereby described hardware to be measured is tested, to obtain test result.
According to an embodiment of the invention, wherein, the information that receives hardware to be measured comprises: the input parameter that receives hardware to be measured; And, receiving testing process information, wherein said testing process information is for dispatching the input parameter of described hardware to be measured.
According to an embodiment of the invention, further comprise: the information of described hardware to be measured is converted to computing machine can effective language; And described computing machine can be compiled as to target program by effective language; Wherein, according to described target program, by inquiring about pre-stored hardware protocol, to being connected to the hardware to be measured of described hardware adapter, test.
According to an embodiment of the invention, wherein, described computing machine can effective language be i language.
According to an embodiment of the invention, wherein described hardware to be measured is tested in the following way and carried out: described input parameter is written in described hardware to be measured according to described testing process information; And the test result that reads described hardware to be measured.
According to an embodiment of the invention, further comprise: in buffer, storage comes from the test result in described hardware adapter; Read test result in described buffer for presenting.
According to an embodiment of the invention, further comprise: adopt data access layer interface to conduct interviews with abstract to read test result.
According to an embodiment of the invention, wherein, at least one in the following manner presents described test result: by display, present described test result; Form by report presents described test result; The direct formal output with data by described test result; And present or process described test result in the mode of plug-in unit compatibility.
According to an embodiment of the invention, further comprise: by router, be connected with described hardware adapter, with according to the information of hardware to be measured to from and/or the data of going to described hardware adapter carry out route.
According to an embodiment of the invention, wherein carry out route comprise by many passages to from and/or the data of going to described hardware adapter carry out parallel transmission.
The beneficial effect that the present invention realizes is at least to have simplified hardware device test, has improved testing efficiency, and has reduced the probability of overlapping development.
Accompanying drawing explanation
Fig. 1 shows according to the schematic block diagram of the applied hardware testing system of method of testing of one embodiment of the present invention;
Fig. 2 shows the example of the inputting interface that in hardware testing system according to one exemplary embodiment, detecting information receiver presents;
Fig. 3 shows the schematic block diagram of the hardware testing system of another embodiment according to the present invention;
Fig. 4 shows the schematic block diagram of the hardware testing system of another embodiment according to the present invention;
Fig. 5 shows the schematic block diagram of the hardware testing system of another embodiment according to the present invention;
Fig. 6 shows according to the schematic block diagram of the hardware testing system of a preferred embodiment of the invention; And
Fig. 7 shows according to the process flow diagram of the hardware testing method of one embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing, embodiments of the present invention are described in detail.
Fig. 1 shows according to the schematic block diagram of the adaptable hardware testing system 10 of the method for testing of one embodiment of the present invention.It will be appreciated that, Fig. 1 is only the applied illustrative embodiments of method of the present invention, and do not mean that the present invention must be carried out by the system of Fig. 1, but can be carried out by any other system (comprising hardware, software or the combination of the two).Therefore system and method for the present invention also not necessarily exists executive agent and the relation that is performed method.
As shown in Figure 1, hardware testing system 10 according to the present invention comprises: detecting information receiver 110, is configured for the information that receives hardware to be measured; Hardware protocol storehouse 120, is configured for the agreement of storing hardware to be measured; Hardware adapter 130, is configured for and is connected with described hardware to be measured and communicates with described hardware to be measured; And test stream controller 140, be configured for the information according to described hardware to be measured, by inquiring about described hardware protocol storehouse, come and the hardware-switch data to be measured that are connected to described hardware adapter, thereby described hardware to be measured is tested, to obtain test result.
Detecting information receiver 110 can receive from any source the information of hardware to be measured.For example, can come to the information of detecting information receiver 110 input hardware to be measured by the mode of manual input; Also can the information of required hardware to be measured be written in this program by the mode of coding, then by this program, directly be write information in this detecting information receiver 110.For some fixing hardware devices, the information of these hardware devices can also be embedded in detecting information receiver, or pre-stored in storer, when detecting information receiver 110 starts, load or call these information.Therefore, detecting information receiver can adopt any known or unknown mode to carry out reception information.
According to an embodiment of the invention, wherein, the information of described hardware to be measured comprises input parameter and the testing process information of hardware to be measured, and described testing process information is for dispatching the input parameter of described hardware to be measured.
The information of described hardware to be measured can at least comprise the title of described hardware to be measured.The information of described hardware to be measured can also comprise the communication protocol that hardware to be measured will adopt, the address of hardware to be measured, residing port of hardware to be measured etc.
According to above-mentioned embodiment of the present invention, described testing process information is the information that the information of hardware to be measured is arranged and dispatched, for example, when existing in the situation of a plurality of hardware to be measured, testing process information can be controlled the testing sequence of hardware to be measured, first test which hardware, which hardware of rear test.In addition,, for each hardware to be measured, testing process information can also be controlled the testing sequence of a plurality of parameters in this hardware to be measured.It will be appreciated that, testing process information is not merely to come testing hardware or parameter according to the sequencing of time, but can have multiple logical relation, for example, when meeting specified conditions, start to measure another hardware or parameter.Those skilled in the art can come testing process information to write according to demand.
Fig. 2 shows the example of the inputting interface that detecting information receiver 110 according to one exemplary embodiment presents.
As shown in Figure 2, this inputting interface can comprise the title (instrument of hardware to be measured, name is called K4200SCS), the unit of the input parameter (input parameter) of hardware to be measured, required output parameter, test-types (type, type is lgs), test condition and each parameter etc.It will be appreciated that, for some hardware to be measured, without its input parameter of typing in this inputting interface, but can it be directly set on hardware, set its input parameter; Or for some hardware device, its parameter is fairly simple, so its input parameter set when hardware manufacturing completes, therefore without its input parameter of typing.And for some hardware device, its output parameter may only have one, so system gives tacit consent to and identifies this output parameter, thus in this inputting interface also without manual its output parameter of typing.
Input and output parameter recited above, can relate to the parameter of any type of hardware, includes but not limited to various combinations of voltage, electric current, inductance, resistance, electric capacity, test interval and above-mentioned parameter etc.
In Fig. 2, also show the example of a testing process information.As shown in Figure 2, the test of this example comprises test 1, test 2, test 3 and test 4, and each testing needle is to corresponding instrument and test-types, and can obtain corresponding result thus.Those skilled in the art can arrange this testing process information according to demand.
It will be appreciated that, be only a kind of example shown in Fig. 2, and those skilled in the art can adopt the interface of any other type to arrange, and for different hardware device (instrument), its corresponding input and output parameter is also different.
Hardware protocol storehouse is space or the storer of a storage and the required agreement of hardware communications.The agreement of storing can be one or more, can adopt identical or different agreements to communicate, and between identical equipment, also can adopt identical or different agreements to communicate between different equipment.For example, between computing machine and same external unit, can communicate by USB mouth, also can be by such as TCPIP, GPIB, bluetooth, the agreements such as serial communication communicate.
Hardware adapter communicates with the hardware to be measured being attached thereto for the agreement of storing according to hardware protocol storehouse.Each hardware device only its corresponding hardware adapter object communicates.Hardware adapter object is identified hardware device uniquely by communication protocol thereon of configuration, port, address etc.
Hardware adapter of the present invention can adopt the adapter of any known type.For the hardware of developing future, its adapter also can be installed to the form of plug-in unit in system of the present invention.The hardware adapter plug-in unit that loads or install can be stored in the space of regulation, thereby called in needs.
Hardware adapter can be by manually creating or destroying.According to an embodiment of the invention, the life cycle (for example establishment of hardware adapter, destruction, retrieval etc.) that can provide hardware adapter controller to carry out hardware management adapter, and loading or the installation of control hardware adapter in regulation space.
According to above-mentioned embodiment of the present invention, it will be understood by those skilled in the art that according to user's request, can, by adding or deleting hardware adapter new hardware is tested, expand thus the adaptability of hardware testing.
According to an embodiment of the invention, as shown in Figure 1, test stream controller 130 for detecting information receiver 110, hardware protocol storehouse 120 and hardware adapter 130 are carried out to control and management, and the data stream commuting between each assembly is dispatched.
More specifically, first test stream controller 140 receives the information of hardware to be measured from detecting information receiver 110, the for example input parameter of hardware to be measured and testing process information etc., then for example for example, according to the information of hardware to be measured (the hardware title to be measured in hardware information to be measured), find suitable hardware adapter 130, and the information of hardware to be measured (for example input parameter) is sent to hardware adapter 130 to communicate with hardware to be measured.Hardware adapter 130, by communicating with the hardware to be measured being attached thereto according to the suitable agreement in hardware protocol storehouse 120, is about to received input parameter and sends hardware to be measured to, to expect obtaining output parameter according to these input parameters.
The information of hardware to be measured can exist in a variety of forms, for example, can exist with the form of computer code, or exist with the form of natural sign, then through computing machine processing, obtains the discernible form of computing machine.
According to an embodiment of the invention, the information of hardware to be measured can exist with the form of the accessible natural language of the mankind, as shown in Figure 2, the operation of convenient user's (user who particularly computerese is not familiar with) use thus.Thus, need natural language to be converted to the form that computing machine can be identified.
Fig. 3 shows the schematic block diagram of the hardware testing system of another embodiment according to the present invention.
According to a preferred embodiment of the present invention, hardware testing system 10 of the present invention further comprises: converter 150, is configured at information and the computing machine of described hardware to be measured and can between effective language, changes; And compiler 155, be configured for described computing machine can be compiled as to target program by effective language, wherein, described test stream controller 140 is according to described target program, by inquiring about described hardware protocol storehouse 120, to being connected to the hardware to be measured of described hardware adapter 130, test.
Above-mentioned computing machine can effective language can be the computer class effective language of current any type, C language for example, C Plus Plus, assembly language etc.The present invention does not limit the use of any language.
According to an embodiment of the invention, described computing machine can effective language be i language.
I language is the simple of eoulu company creation, efficiently towards the programming language of instrument and meter, is mainly used to process thermometrically logic, and i language major function has:
A. variable-definition (shaping, floating-point, double precision, character string, array etc.)
B. assignment, expression formula is calculated (mathematical operation and logical operation etc.)
C. logic control (circulation, branching selection, redirect, judgement etc.)
D. function definition, calls
E. input and output
F.win32 stage function is called
According to the embodiment of the present invention, converter 150 will be converted into the information of the hardware to be measured existing with natural language in the thermometrically script of i language, and then compiler 155 is converted into object code or program.In the case, test stream controller 140 can be controlled virtual machine and will to hardware to be measured, test according to this target program.
Correspondingly, compiler 155 and converter 150 also can carry out work in reverse mode, respectively object code are converted to i language and are natural language by i language conversion.
According to the embodiment of the present invention, compiler 155 of the present invention is real-time compiler.I language provides the language towards instrument and meter programming, is mainly used in the packing with instrument and meter communication instruction, decoding, logic control (conditional transfer, circulation, branching selection, expression formula is calculated) and input and output etc.By real-time compiler, can compile i language scripts, decoding, actuating logic is processed, the functions such as input and output
According to description above, can find out, the input parameter of hardware to be measured can be to be input to (for example as shown in Figure 2) in hardware testing system of the present invention by detecting information receiver 110, also can input by other means.
Thus, according to an embodiment of the invention, wherein described hardware to be measured is tested in the following way and carried out: lead to described input parameter is written in described hardware to be measured; And the test result that reads described hardware to be measured.
For example the mode by as shown in Figure 2 writes input parameter in software under testing, can avoid manually adjusting trouble and the out of true that the parameter of hardware to be measured is brought, and keeps the unitarity of input parameter in each test.And the input parameter that writes natural language is easier to understand, also make operation more simple efficient.
After input parameter is write to hardware to be measured, can obtain required test result, i.e. output parameter.
In i language, can adopt write order to write, and adopt read order to read test result.It will be appreciated that, in other computing machines can effective language, will have its suitable writing and sense command, and these orders are applicable to each embodiment of the present invention too.
According to test result of the present invention, can be that variety of way is exported, for example, can directly be read by external unit, can be stored in specific storer, can directly be shown to user etc.
Fig. 4 shows the schematic block diagram of the hardware testing system of another embodiment according to the present invention.
As shown in Figure 4, according to an embodiment of the invention, hardware testing system 10 of the present invention further comprises: buffer 160, is configured for storage and comes from the test result in described hardware adapter; Reader 165, is configured for the test result that reads in described buffer for presenting.
Buffer 160 can be the storer of any type, can be for example hard disk, floppy disk, ROM (read-only memory), storer, dynamic RAM, USB memory device, CD etc. immediately, and can be any volatile memory and nonvolatile memory.The present invention is not limited to the type of storer.
Reader 165 can read test result and is stored in this buffer.According to an embodiment of the invention, during storage can according to test result for the storage of classifying of the title of tested hardware, also can be according to the storage of classifying of the type of surveyed parameter.The present invention is not limited to any classification storage mode.
The test result that is stored in buffer 160 can be acquired subsequently and further analyze.Obtain these test results and can adopt in any way, for example, by external unit, from buffer 160, obtained, directly show these test results etc.
According to an embodiment of the invention, hardware testing system 10 of the present invention further comprises data access layer (DAL) interface 170, is configured for to be connected with described reader and to provide the data from described reader are conducted interviews and abstract interface.
In computer software, DAL is to provide the computer program layer of simplifying access to being stored in data in storer, it provides interface and the abstract realization of data access, and concrete realization is loaded in system while moving by plug-in unit mode, thereby realizes plugging of data, services.
By DAL interface, can carry out access to the data of storage.
As shown in Figure 4, according to another embodiment of the present invention, hardware testing system 10 of the present invention further comprises at least one in following interface, be configured for described data access layer interface 170 and be connected and present described test result: display interface 172, is configured for by display and presents described test result; Reporting interface 174, the form being configured for by report presents described test result; Output interface 176, is configured for the directly formal output with data by described test result; And card i/f 178, the mode with plug-in unit compatibility of being configured for presents or processes described test result.
Display interface 172 has been formulated data display interface, and it is managed and provided data to show object container by display manager, and can realize the customizable of display interface.By display interface 172, can connect the display devices such as display, thereby can directly to user, show test results.
Reporting interface 174 has been formulated data report interface, and various forms of reports can realize diversity by realizing this interface.Can be responsible for by report manager the life cycle of each data sheet.
Output interface 176 can be connected with external unit, for example USB memory device, mass memory unit, optical disc memory etc., thus test data directly can be outputed in these memory devices, and directly to user, do not show.
Card i/f 178 can be formulated the protocol interface that can plug object.For example, the current interface protocol of not supporting of the interface protocol of developing future or system can be installed to by the mode of plug-in unit in hardware testing system of the present invention, thereby can present in any suitable manner or process test data.
Also it will be appreciated that, above-mentioned various interface of the present invention can combine with detecting information receiver 110, and must not be separated.For example, detecting information receiver 110 can be connected with display interface, thereby combines with display.It will be appreciated that, although the detecting information receiver shown in Fig. 4 110 is directly connected with test stream controller 140, this detecting information receiver 110 also can be connected with test stream controller 140 by above-mentioned interface.
Fig. 5 shows the schematic block diagram of the hardware testing system of another embodiment according to the present invention.
As shown in Figure 5, hardware testing system 10 of the present invention further comprises router one 80, and it is connected with described hardware adapter, be configured for according to the information of hardware to be measured to from and/or the data of going to described hardware adapter carry out route.
Go to the data of hardware adapter 130, for example carry out self-test stream controller 140 or from the data of compiler 155, generally include for or point to the information of different hardware adaptation, for example the title of each hardware to be measured, therefore need to send to these data the address of striving for.Thus, according to the router one 80 of embodiment of the present invention, the data of going to hardware adapter 130 can be routed to corresponding address.
Equally, the data that come from each hardware adapter 130 need to be routed to corresponding address, and classify and store, and thus, according to the router one 80 of an embodiment of the invention, final measurement data can be sent to corresponding address.
Be appreciated that and also can adopt various ways to carry out route to data, for example, by time-multiplexed mode, transmit, also can transmit data by serial mode.
Preferably, according to an embodiment of the invention, carry out route comprise by many passages to from and/or the data of going to described hardware adapter carry out parallel transmission.By parallel transmission, can by from and/or the data of going to different hardware adapter 130 be routed to suitable address.
Can serve to realize parallel data transmission by bus, and can distribute a data channel and spatial cache for each hardware adapter 130.
Also it will be appreciated that, although with reference to the accompanying drawings each embodiment is described separately, these embodiments can be combined.For example, the embodiment shown in Fig. 3 and Fig. 4 can be combined, the system shown in Fig. 4 has comprised the converter 150 shown in Fig. 3 and compiler 155; Also the embodiment shown in Fig. 4 and Fig. 5 can be combined, be that the system shown in Fig. 4 has comprised the router one 80 shown in Fig. 5, in the case, the data of buffer 160 can directly come from hardware adapter 140, can come from router one 80, the present invention does not carry out any restriction to this yet.
Fig. 6 shows according to the schematic block diagram of the hardware testing system of a preferred embodiment of the invention.
Embodiment illustrated in fig. 6 is the combination of Fig. 3, Fig. 4 and Fig. 5 illustrated embodiment, so its working method is similar with Fig. 5 illustrated embodiment to Fig. 3, Fig. 4, will no longer describe in detail here.It is to be noted, although the data of the buffer shown in Fig. 6 160 come from router one 80, but the data of buffer 160 also can directly come from hardware adapter 140, or can come from converter 150, or the data of buffer 160 can be not shown from other, assembly that can store test results.
Fig. 7 shows hardware testing method according to a further aspect of the invention, comprising: step S210, receives the information of hardware to be measured; Step S220, couples together by hardware adapter and described hardware to be measured; And step S230, according to the information of described hardware to be measured, by inquiring about pre-stored hardware protocol, thereby tests described hardware to be measured, to obtain test result.
Step S210 shown in Fig. 7 can carry out by the detecting information receiver 110 in Fig. 1.In addition reception information, can receive from any source the information of hardware to be measured.For example, can receive by the mode of manual input the information of hardware to be measured; Also can the information of required hardware to be measured be written in this program by the mode of coding, then by this program, directly information be write.For some fixing hardware devices, the information of these hardware devices can also be embedded in detecting information receiver, or pre-stored in storer, when detecting information receiver 110 starts, load or call these information.Therefore, detecting information receiver can adopt any known or unknown mode to carry out reception information.
According to an embodiment of the invention, wherein, the step S210 that receives the information of hardware to be measured comprises: the input parameter that receives hardware to be measured; And, receiving testing process information, wherein said testing process information is for dispatching the input parameter of described hardware to be measured.
The information of described hardware to be measured can at least comprise the title of described hardware to be measured.The information of described hardware to be measured can also comprise the communication protocol that hardware to be measured will adopt, the address of hardware to be measured, residing port of hardware to be measured etc.For example, for some, have the hardware of simple preset parameter, the title that receives hardware means the parameter that can directly receive this hardware.
According to above-mentioned embodiment of the present invention, described testing process information is the information that the information of hardware to be measured is arranged and dispatched, for example, when existing in the situation of a plurality of hardware to be measured, testing process information can be controlled the testing sequence of hardware to be measured, first test which hardware, which hardware of rear test.In addition,, for each hardware to be measured, testing process information can also be controlled the testing sequence of a plurality of parameters in this hardware to be measured.It will be appreciated that, testing process information is not merely to come testing hardware or parameter according to the sequencing of time, but can have multiple logical relation, for example, when meeting specified conditions, start to measure another hardware or parameter.Those skilled in the art can come testing process information to write according to demand.
As shown in Figure 2, this inputting interface can comprise the title (instrument of hardware to be measured, name is called K4200SCS), the unit of the input parameter (input parameter) of hardware to be measured, required output parameter, test-types (type, type is lgs), test condition and each parameter etc.It will be appreciated that, for some hardware to be measured, without its input parameter of typing in this inputting interface, but can it be directly set on hardware, set its input parameter; Or for some hardware device, its parameter is fairly simple, so its input parameter set when hardware manufacturing completes, therefore without its input parameter of typing.And for some hardware device, its output parameter may only have one, so system gives tacit consent to and identifies this output parameter, thus in this inputting interface also without manual its output parameter of typing.
Input and output parameter recited above, can relate to the parameter of any type of hardware, includes but not limited to various combinations of voltage, electric current, inductance, resistance, electric capacity, test interval and above-mentioned parameter etc.
In Fig. 2, also show the example of a testing process information.As shown in Figure 2, the test of this example comprises test 1, test 2, test 3 and test 4, and each testing needle is to corresponding instrument and test-types, and can obtain corresponding result thus.Those skilled in the art can arrange this testing process information according to demand.
It will be appreciated that, be only a kind of example shown in Fig. 2, and those skilled in the art can adopt the interface of any other type to arrange, and for different hardware device (instrument), its corresponding input and output parameter is also different.
Hardware protocol storehouse is space or the storer of a storage and the required agreement of hardware communications.The agreement of storing can be one or more, can adopt identical or different agreements to communicate, and between identical equipment, also can adopt identical or different agreements to communicate between different equipment.For example, between computing machine and same external unit, can communicate by USB mouth, also can be by such as TCP/IP, GPIB, bluetooth, the agreements such as serial communication communicate.
The hardware adapter that the method according to this invention adopts communicates with the hardware to be measured being attached thereto for the agreement of storing according to hardware protocol storehouse.Each hardware device only its corresponding hardware adapter object communicates.Hardware adapter object is identified hardware device uniquely by communication protocol thereon of configuration, port, address etc.
The hardware adapter that method of the present invention adopts can adopt the adapter of any known type.For the hardware of developing future, its adapter also can be installed to the form of plug-in unit in system of the present invention.The hardware adapter plug-in unit that loads or install can be stored in the space of regulation, thereby called in needs.
Hardware adapter can be by manually creating or destroying.According to an embodiment of the invention, the life cycle (for example establishment of hardware adapter, destruction, retrieval etc.) that can provide hardware adapter controller to carry out hardware management adapter, and loading or the installation of control hardware adapter in regulation space.
According to above-mentioned embodiment of the present invention, it will be understood by those skilled in the art that according to user's request, can, by adding or deleting hardware adapter new hardware is tested, expand thus the adaptability of hardware testing.
According to the present invention, step S230 can be carried out by controller.Controller can comprise by the controller of the variety of way realizations such as software, hardware, digital signal processing chip to be carried out, thereby various data stream are carried out to overall scheduling.
More specifically, first receive the information of hardware to be measured, the for example input parameter of hardware to be measured and testing process information etc., then for example for example, according to the information of hardware to be measured (the hardware title to be measured in hardware information to be measured), find suitable hardware adapter, and the information of hardware to be measured (for example input parameter) is sent to hardware adapter 130 to communicate with hardware to be measured.Hardware adapter 130, by communicating with the hardware to be measured being attached thereto according to the suitable agreement in hardware protocol storehouse 120, is about to received input parameter and sends hardware to be measured to, to expect obtaining output parameter according to these input parameters.
The information of hardware to be measured can exist in a variety of forms, for example, can exist with the form of computer code, or exist with the form of natural sign, then through computing machine processing, obtains the discernible form of computing machine.
According to an embodiment of the invention, the information of hardware to be measured can exist with the form of the accessible natural language of the mankind, as shown in Figure 2, the operation of convenient user's (user who particularly computerese is not familiar with) use thus.Thus, need natural language to be converted to the form that computing machine can be identified.
According to an embodiment of the invention, method of the present invention further comprises: the information of described hardware to be measured is converted to computing machine can effective language; And, described computing machine can be compiled as to target program by effective language; Wherein, according to described target program, by inquiring about pre-stored hardware protocol, to being connected to the hardware to be measured of described hardware adapter, test.
Be understandable that, after original hardware information to be measured is converted into target program, can, according to the target program after conversion, by inquiring about pre-stored hardware protocol, to being connected to the hardware to be measured of described hardware adapter, test.In fact, the two does not conflict " according to the information of hardware to be measured " and " according to target program ", and target program is in fact also gone up another expression-form of hardware information to be measured.
Above-mentioned computing machine can effective language can be the computer class effective language of current any type, C language for example, C Plus Plus, assembly language etc.The present invention does not limit the use of any language.According to an embodiment of the invention, described computing machine can effective language be i language.
According to an embodiment of the invention, wherein described hardware to be measured is tested in the following way and carried out: described input parameter is written in described hardware to be measured according to described testing process information; And the test result that reads described hardware to be measured.
For example the mode by as shown in Figure 2 writes input parameter in software under testing, can avoid manually adjusting trouble and the out of true that the parameter of hardware to be measured is brought, and keeps the unitarity of input parameter in each test.And the input parameter that writes natural language is easier to understand, also make operation more simple efficient.
After input parameter is write to hardware to be measured, can obtain required test result, i.e. output parameter.
In i language, can adopt write order to write, and adopt read order to read test result.It will be appreciated that, in other computing machines can effective language, will have its suitable writing and sense command, and these orders are applicable to each embodiment of the present invention too.
According to test result of the present invention, can be that variety of way is exported, for example, can directly be read by external unit, can be stored in specific storer, can directly be shown to user etc.
Thus, according to an embodiment of the invention, method of the present invention further comprises: in buffer, storage comes from the test result in described hardware adapter; Read test result in described buffer for presenting.
According to an embodiment of the invention, method of the present invention further comprises: adopt data access layer interface to conduct interviews with abstract to read test result.
In computer software, DAL is to provide the computer program layer of simplifying access to being stored in data in storer, it provides interface and the abstract realization of data access, and concrete realization is loaded in system while moving by plug-in unit mode, thereby realizes plugging of data, services.
According to an embodiment of the invention, at least one in can be in the following manner presents described test result: by display, present described test result; Form by report presents described test result; The direct formal output with data by described test result; And present or process described test result in the mode of plug-in unit compatibility.
Be understandable that, in display mode, show that expression can directly be presented on display by result, form with report presents and can directly test result be printed with the form of reporting, formal output with data can be that test result is outputed in specific storage space for subsequent calls, and without directly showing to user, in the mode of plug-in unit compatibility, presenting or process test result can be that the interface protocol of developing future or the current interface protocol of not supporting of system can be installed to by the mode of plug-in unit in hardware testing system of the present invention, thereby can present in any suitable manner or process test data.
According to an embodiment of the invention, further comprise: by router, be connected with described hardware adapter, with according to the information of hardware to be measured to from and/or the data of going to described hardware adapter carry out route.
According to an embodiment of the invention, wherein carry out route comprise by many passages to from and/or the data of going to described hardware adapter carry out parallel transmission.
Be appreciated that and can adopt various ways to carry out route to data, for example common time-multiplexed mode transmits, and can transmit data by serial mode in this way.
Preferably, according to an embodiment of the invention, carry out route comprise by many passages to from and/or the data of going to described hardware adapter carry out parallel transmission.By parallel transmission, can by from and/or the data of going to different hardware adapter be routed to suitable address.
Can serve to realize parallel data transmission by bus, and can distribute a data channel and spatial cache for each hardware adapter.
Also it will be appreciated that, although with reference to the accompanying drawings each embodiment is described separately, these embodiments can be combined, and be not limited only to previous description.
It will be appreciated that, the above-mentioned hardware to be measured of the present invention can be the hardware that any needs are tested, and includes but not limited to combination of electron device, wafer, instrument and meter and various hardware testings etc.
At least a portion of above-mentioned different masses, operation and technology can be performed, and by using hardware, processor is carried out firmware instructions, the instruction of processor executive software, or and combination in any.When adopting the processor execution of carrying out firmware and software instruction, software or firmware instructions can be stored in any computer-readable storage, for example disk, CD or other storage mediums, at a RAM or ROM or flash storer, processor, hard disk, CD, disk etc.Similarly, software and firmware instructions can be transferred to user or system, by any transmission mode known or expectation, comprise, for example, in computer readable diskette or other portable computer stores mechanism or pass through telecommunication media.Telecommunication media is typically specifically talked about computer-readable instruction, data structure, and program module or other data in modulated message signal are carrier wave or other transmission mechanisms for example.By example, and unrestricted, communication media comprise wire medium for example cable network or single line connect, and wireless medium, for example sound, wireless frequency, infrared and other wireless medium.Thereby, software and firmware instructions can be transferred to user or system, by communication channel, telephone wire for example, DSL line, cable television line, optical fiber cable, wireless channel, the Internet, etc. (by portable storage media, provide such software, it is counted as identical or interchangeable).Software or can comprise and instructions with part instruction, it causes processor to carry out different actions when being carried out by processor.
When carrying out in hardware, hardware can comprise one or more discrete component, an integrated circuit, and an application specific integrated circuit (ASIC), etc.
It will be appreciated that, the present invention can realize with pure software, pure hardware, firmware and above-mentioned various combinations.Hardware can be for example processor, special IC, large scale integrated circuit etc.
Although present invention is described with reference to specific example, it is object rather than the limitation of the present invention in order to explain just, and the change to embodiment, increases and/or deletion can be made and not depart from the scope of the present invention.
These embodiments related, from above, describe and the accompanying drawing that is associated in technician in the field that benefits of the instruction that presents will recognize of the present invention a lot of modifications and other embodiments of recording here.Therefore, should be appreciated that, the invention is not restricted to disclosed embodiment, be intended to modification and other embodiments to comprise within the scope of the appended claims.Although adopted specific term here, only on general significance and describing significance, use them and be not to use for the object limiting.
It should be noted, the present invention will be described rather than limit the invention for above-described embodiment, and those skilled in the art can design alternative embodiment in the situation that do not depart from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and is not listed as element or step in the claims.Being positioned at word " " before element or " one " does not get rid of and has a plurality of such elements.The present invention can be by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In having enumerated the unit claim of some devices, several in these devices can be to carry out imbody by same hardware branch.The use of word first, second and C grade does not represent any order.Can be title by these word explanations.

Claims (10)

1. a hardware testing method, comprising:
Receive the information of hardware to be measured;
By hardware adapter and described hardware to be measured, couple together;
According to the information of described hardware to be measured, by inquiring about pre-stored hardware protocol, thereby described hardware to be measured is tested, to obtain test result.
2. hardware testing method according to claim 1, wherein, the information that receives hardware to be measured comprises:
Receive the input parameter of hardware to be measured; And
Receive testing process information, wherein said testing process information is for dispatching the input parameter of described hardware to be measured.
3. hardware testing method according to claim 1, further comprises:
The information of described hardware to be measured is converted to computing machine can effective language; And
Described computing machine can be compiled as to target program by effective language;
Wherein, according to described target program, by inquiring about pre-stored hardware protocol, to being connected to the hardware to be measured of described hardware adapter, test.
4. hardware testing method according to claim 3, wherein,
Described computing machine can effective language be i language.
5. hardware testing method according to claim 2, wherein described hardware to be measured is tested in the following way and carried out:
Described input parameter is written in described hardware to be measured according to described testing process information; And
Read the test result of described hardware to be measured.
6. hardware testing method according to claim 1, further comprises:
In buffer, storage comes from the test result in described hardware adapter;
Read test result in described buffer for presenting.
7. hardware testing method according to claim 6, further comprises: adopt data access layer interface to conduct interviews with abstract to read test result.
8. hardware testing method according to claim 7, wherein, at least one in the following manner presents described test result:
By display, present described test result;
Form by report presents described test result;
The direct formal output with data by described test result; And
In the mode of plug-in unit compatibility, present or process described test result.
9. according to the hardware testing method described in any one in claim 1-8, further comprise: by router, be connected with described hardware adapter, with according to the information of hardware to be measured to from and/or the data of going to described hardware adapter carry out route.
10. hardware testing method according to claim 9, wherein carry out route comprise by many passages to from and/or the data of going to described hardware adapter carry out parallel transmission.
CN201310136256.0A 2013-04-19 2013-04-19 Hardware test method Pending CN104111385A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310136256.0A CN104111385A (en) 2013-04-19 2013-04-19 Hardware test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310136256.0A CN104111385A (en) 2013-04-19 2013-04-19 Hardware test method

Publications (1)

Publication Number Publication Date
CN104111385A true CN104111385A (en) 2014-10-22

Family

ID=51708248

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310136256.0A Pending CN104111385A (en) 2013-04-19 2013-04-19 Hardware test method

Country Status (1)

Country Link
CN (1) CN104111385A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105044508A (en) * 2015-07-10 2015-11-11 珠海格力电器股份有限公司 Product test method, product test device and test system
CN116069575A (en) * 2022-12-23 2023-05-05 摩尔线程智能科技(北京)有限责任公司 Adapter testing method and device, electronic equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105044508A (en) * 2015-07-10 2015-11-11 珠海格力电器股份有限公司 Product test method, product test device and test system
CN105044508B (en) * 2015-07-10 2017-10-27 珠海格力电器股份有限公司 Product test method and apparatus and test system
CN116069575A (en) * 2022-12-23 2023-05-05 摩尔线程智能科技(北京)有限责任公司 Adapter testing method and device, electronic equipment and storage medium
CN116069575B (en) * 2022-12-23 2023-09-19 摩尔线程智能科技(北京)有限责任公司 Adapter testing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109302522B (en) Test method, test device, computer system, and computer medium
CN110050441B (en) Capturing traffic in real time for protocol debugging in case of failure
CN109361562B (en) Automatic testing method based on associated network equipment access
US9160554B1 (en) Apparatus and method for operating automated test equipment (ATE)
CN105008943A (en) Tester with acceleration for packet building within FPGA block
CN104280674A (en) Universal hardware test system
US20200184784A1 (en) Guided cable management
CN106126423A (en) The method of testing of game application, Apparatus and system
CN112367680B (en) External communication test method and device based on intelligent ammeter and computer equipment
CN112839323A (en) Bluetooth device testing method and device, terminal and computer readable storage medium
CN110336865A (en) Service calling method, device, storage medium and electronic equipment
WO2022127196A1 (en) Application identification method and apparatus, and device and storage medium
CN104111385A (en) Hardware test method
CN102752770A (en) Method and device for polling service system
CN103969520A (en) Hardware testing system
CN107360036A (en) A kind of network failure locating method, terminal and server
CN112463574A (en) Software testing method, device, system, equipment and storage medium
CN115134427B (en) Communication protocol coordination method, device, computer equipment and storage medium
CN111736924B (en) Method, device, equipment and medium for accessing data acquisition instrument based on Lua script
CN112148537A (en) Bus monitoring device and method, storage medium, and electronic device
KR102016472B1 (en) Method and apparatus for measuring code coverage and computer readable recording medium having program the same
CN114490337A (en) Debugging method, debugging platform, equipment and storage medium
CN110297754A (en) A kind of test information feedback method and system
CN113326201A (en) Software testing method based on distributed system, electronic equipment and storage medium
CN109977005B (en) End-to-end test method, medium, device and computing equipment

Legal Events

Date Code Title Description
DD01 Delivery of document by public notice

Addressee: Zhou Hongli

Document name: Notification of Passing Examination on Formalities

C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20141022