CN107305513A - Computer card equipment Auto-Test System and method - Google Patents
Computer card equipment Auto-Test System and method Download PDFInfo
- Publication number
- CN107305513A CN107305513A CN201610255490.9A CN201610255490A CN107305513A CN 107305513 A CN107305513 A CN 107305513A CN 201610255490 A CN201610255490 A CN 201610255490A CN 107305513 A CN107305513 A CN 107305513A
- Authority
- CN
- China
- Prior art keywords
- interface
- card
- tested
- unit
- equipment
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2205—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
本发明揭示一种电脑卡类设备自动测试系统及方法,该电脑卡类设备自动测试系统包括:输入单元,其收集待测试卡类设备的产品流水号;检测单元,其获取待测试卡类设备的界面信息;处理单元,其将获取的待测试卡类设备的界面信息与卡类设备界面标准值数据库中的总线接口型界面和通用串行总线型界面的标准值进行对比,并判断两者的界面信息是否一致,从而得出一检测结果;读写单元,其对待测试卡类设备进行读写测试,从而得出一检测结果;显示单元,显示检测结果。利用本发明的电脑卡类设备自动测试系统及方法,不仅实现一套程序能够测试不同类型卡类设备的目的,还增加了对接口读写功能的测试,因此很大程度上保证了产品的质量。
The present invention discloses an automatic test system and method for computer card equipment. The automatic test system for computer card equipment includes: an input unit, which collects the product serial number of the card equipment to be tested; and a detection unit, which acquires the card equipment to be tested. The interface information; processing unit, it compares the interface information of the card device to be tested with the standard value of the bus interface type interface and the universal serial bus type interface in the card type device interface standard value database, and judges both Whether the interface information is consistent, so as to obtain a test result; the read-write unit, which performs a read-write test on the card device to be tested, so as to obtain a test result; the display unit, displays the test result. Utilizing the automatic test system and method for computer card equipment of the present invention not only achieves the purpose of testing different types of card equipment with a set of programs, but also increases the test of interface read and write functions, thus ensuring the quality of the product to a large extent .
Description
【技术领域】【Technical field】
本发明涉及一种自动测试方法,具体涉及一种电脑卡类设备自动测试系统及方法。The invention relates to an automatic testing method, in particular to an automatic testing system and method for computer card equipment.
【背景技术】【Background technique】
PC卡是一种用以给电脑及其他通讯和电子设备添加诸如存储器、大容量存储器、网络及无线通讯等扩展装置的技术。几乎100%的笔记本电脑在其I/O扩展槽中使用了PC卡技术。但是,随着用户对更高带宽和灵活性的需求,PC卡已不能满足要求,一种新的ExpressCard(也即NewCard)技术将会取代传统的PC卡。与传统PC卡技术的最大不同在于,ExpressCard技术采用最新的PCI Express(总线接口)型界面和USB(通用串行总线)型界面,在外围设备与主机系统之间直接提供热插拔式的连接,而不需要在系统的芯片组与插槽之间架设一个桥接芯片。PC card is a technology used to add expansion devices such as memory, mass storage, network and wireless communication to computers and other communication and electronic equipment. Almost 100% of notebook computers use PC Card technology in their I/O expansion slots. However, as users demand higher bandwidth and flexibility, PC cards can no longer meet the requirements, and a new ExpressCard (NewCard) technology will replace traditional PC cards. The biggest difference from traditional PC card technology is that ExpressCard technology uses the latest PCI Express (bus interface) interface and USB (universal serial bus) interface to provide hot-swappable connections directly between peripheral devices and host systems , without the need to set up a bridge chip between the system chipset and the socket.
工厂端现有的卡类设备接口测试程序,测试时只需将卡类设备插入到电脑的接口上,程序开始自动侦测是否有该卡类设备的硬件设备存在,若存在则测试成功,不存在则测试失败。然而上述的ExpressCard由于包含总线接口界面和通用串行总线界面两种类型,现有的卡类设备接口测试程序只能识别ExpressCard,无法区分总线接口界面和通用串行总线界面,因此影响测试结果;另一方面,测试过程中程序仅仅通过判断是否存在硬件设备就得到测试结果,并无再次判断对应此卡类设备的接口是否具有读写的功能,因此该种测试方法不能够保证外部接口功能的良好,且测试后的结果不能够保存和后续的追踪。The existing card device interface test program at the factory side only needs to insert the card device into the interface of the computer during the test, and the program starts to automatically detect whether there is a hardware device for the card device. If it exists, the test is successful. If present, the test fails. However, since the above-mentioned ExpressCard includes two types of bus interface interface and universal serial bus interface, the existing card device interface test program can only recognize ExpressCard, and cannot distinguish between bus interface interface and universal serial bus interface, thus affecting the test results; On the other hand, during the test process, the program only obtains the test result by judging whether there is a hardware device, and does not judge again whether the interface corresponding to the card device has the function of reading and writing, so this kind of testing method cannot guarantee the function of the external interface. Good, and the test results cannot be saved and followed up.
有鉴于此,实有必要提供一种电脑卡类设备自动测试系统及方法,以解决上述测试结果不正确,不能保证产品质量以及后续无法保存追踪检测结果的问题。In view of this, it is necessary to provide an automatic test system and method for computer card equipment to solve the above-mentioned problems of incorrect test results, inability to guarantee product quality, and inability to save follow-up test results.
【发明内容】【Content of invention】
因此,本发明的目的是提供一种电脑卡类设备自动测试系统及方法,以解决上述测试结果不正确,不能保证产品质量以及后续无法保存追踪检测结果的问题。Therefore, the purpose of the present invention is to provide an automatic test system and method for computer card equipment to solve the above-mentioned problems of incorrect test results, inability to guarantee product quality, and inability to save follow-up test results.
为了达到上述目的,本发明提供的电脑卡类设备自动测试系统,其包括:In order to achieve the above object, the automatic test system for computer card equipment provided by the invention comprises:
卡类设备界面标准值数据库,其预存总线接口型界面和通用串行总线型界面的标准值;The card device interface standard value database, which pre-stores the standard values of the bus interface type interface and the universal serial bus type interface;
输入单元,其收集待测试卡类设备的产品流水号;input unit, which collects the product serial number of the card device to be tested;
检测单元,其与输入单元相连接,该检测单元获取所述待测试卡类设备的界面信息;A detection unit, which is connected to the input unit, and the detection unit obtains the interface information of the card device to be tested;
处理单元,其与检测单元及卡类设备界面标准值数据库相连接,该处理单元将所述获取的待测试卡类设备的界面信息与卡类设备界面标准值数据库中的总线接口型界面和通用串行总线型界面的标准值进行对比,并判断两者的界面信息是否一致,从而得出一检测结果;A processing unit, which is connected with the detection unit and the card device interface standard value database, and the processing unit combines the acquired interface information of the card device to be tested with the bus interface type interface and the universal interface in the card device interface standard value database. Compare the standard value of the serial bus interface, and judge whether the interface information of the two is consistent, so as to obtain a test result;
读写单元,其与所述处理单元连接,该读写单元对待测试卡类设备进行读写测试,从而得出一检测结果;A read-write unit, which is connected to the processing unit, and the read-write unit performs a read-write test on the card-like device to be tested, so as to obtain a test result;
显示单元,其与所述读写单元连接,显示所述检测结果。A display unit, connected to the read-write unit, displays the detection result.
可选的,所述显示单元为一条码枪。Optionally, the display unit is a code gun.
可选的,所述电脑卡类设备自动测试系统还包括一关闭单元,该关闭单元在显示单元显示一段时间后即关闭所述电脑卡类设备自动测试系统。Optionally, the automatic test system for computer card devices further includes a shutdown unit, which shuts down the automatic test system for computer card devices after the display unit displays for a period of time.
可选的,所述电脑卡类设备自动测试系统还连接至现场控制系统(SFCS;shop floor control system),所述处理单元将生成的检测结果传送给所述现场控制系统进行保存。Optionally, the automatic test system for computer card equipment is also connected to a shop floor control system (SFCS), and the processing unit transmits the generated test results to the shop floor control system for storage.
本发明还提供一种电脑卡类设备自动测试方法,其测试步骤包括:The present invention also provides a method for automatic testing of computer card equipment, the testing steps of which include:
(1)在卡类设备界面标准值数据库预存总线接口型界面和通用串行总线型界面的标准值;(1) prestore the standard value of the bus interface type interface and the universal serial bus type interface in the card class equipment interface standard value database;
(2)输入单元扫描待测试卡类设备的产品流水号后,再将待测试卡类设备接入电脑的外设接口;(2) After the input unit scans the product serial number of the card device to be tested, the card device to be tested is connected to the peripheral interface of the computer;
(3)检测单元从待测试卡类设备上获取待测试卡类设备的界面信息;(3) The detection unit obtains the interface information of the card device to be tested from the card device to be tested;
(4)处理单元将所述获取的待测试卡类设备的界面信息与卡类设备界面标准值数据库中的总线接口型界面和通用串行总线型界面的标准值进行对比,并判断两者的界面信息是否一致,如果检测结果一致,则执行步骤(5),如果检测结果不一致,则执行步骤(7);(4) the processing unit compares the interface information of the card equipment to be tested and the standard value of the bus interface type interface and the universal serial bus interface in the card equipment interface standard value database, and judges the difference between the two Whether the interface information is consistent, if the detection results are consistent, then perform step (5), if the detection results are inconsistent, then perform step (7);
(5)读写单元检测待测试卡类设备是否可进行读写操作,如果进行读写操作可以进行读写操作,则执行步骤(6),如果不能进行读写操作,则执行步骤(7);(5) The read-write unit detects whether the card device to be tested can perform read-write operations. If the read-write operation can be performed, step (6) is performed; if the read-write operation cannot be performed, step (7) is performed. ;
(6)显示单元显示检测成功,同时处理单元将所述检测结果上传至现场控制系统进行保存;(6) The display unit shows that the detection is successful, and the processing unit uploads the detection result to the on-site control system for preservation;
(7)显示单元显示检测失败,同时处理单元将所述检测结果上传至现场控制系统进行保存。(7) The display unit displays that the detection has failed, and the processing unit uploads the detection result to the on-site control system for storage.
可选的,所述步骤(3)中检测单元通过查找设备管理器中的信息来获取待测试卡类设备的界面信息。Optionally, in the step (3), the detection unit obtains the interface information of the card device to be tested by searching the information in the device manager.
可选的,所述步骤(6)与步骤(7)中的检测结果以待测试卡类设备的产品流水号命名之后再上传至现场控制系统进行保存。Optionally, the test results in steps (6) and (7) are named after the product serial number of the card device to be tested and then uploaded to the on-site control system for storage.
相较于现有技术,本发明的电脑卡类设备自动测试系统及方法不仅实现一套程序能够测试不同类型卡类设备的目的,大大的提高了工作效率。同时,本发明于测试过程中还增加了对接口读写功能的测试,因此很大程度上保证了产品的质量。此外,本发明还能够保存检测结果,通过上传现场控制系统可进行后续的追踪。Compared with the prior art, the computer card equipment automatic testing system and method of the present invention not only realize the purpose that a set of programs can test different types of card equipment, but also greatly improve work efficiency. Simultaneously, the present invention also increases the test of the reading and writing function of the interface in the testing process, thus ensuring the quality of the product to a great extent. In addition, the present invention can also save the detection results, and can carry out follow-up tracking by uploading to the on-site control system.
【附图说明】【Description of drawings】
图1绘示为本发明的电脑卡类设备自动测试系统示意图。FIG. 1 is a schematic diagram of an automatic test system for computer card equipment of the present invention.
图2绘示为本发明的电脑卡类设备自动测试方法示意图。FIG. 2 is a schematic diagram of the automatic testing method for computer card equipment according to the present invention.
【具体实施方式】【detailed description】
请参阅图1,图1绘示为本发明的电脑卡类设备自动测试系统示意图。Please refer to FIG. 1 . FIG. 1 is a schematic diagram of an automatic test system for computer card equipment of the present invention.
本发明提供的电脑卡类设备自动测试系统100,包括:The automatic test system 100 for computer card equipment provided by the present invention includes:
卡类设备界面标准值数据库10,其预存总线接口型界面和通用串行总线型界面的标准值;Card device interface standard value database 10, which pre-stores the standard values of the bus interface type interface and the universal serial bus type interface;
输入单元20,其收集待测试卡类设备的产品流水号;Input unit 20, which collects the product serial number of the card device to be tested;
检测单元30,其与输入单元20相连接,该检测单元30获取所述待测试卡类设备的界面信息;A detection unit 30, which is connected to the input unit 20, the detection unit 30 obtains the interface information of the card device to be tested;
处理单元40,其与检测单元30及卡类设备界面标准值数据库10相连接,该处理单元40将所述获取的待测试卡类设备的界面信息与卡类设备界面标准值数据库10中的总线接口型界面和通用串行总线型界面的标准值进行对比,并判断两者的界面信息是否一致,从而得出一检测结果;Processing unit 40, it is connected with detection unit 30 and card type equipment interface standard value database 10, and this processing unit 40 is with the bus in the card type equipment interface standard value database 10 with the interface information of described acquisition to be tested card type equipment Compare the standard values of the interface type interface and the universal serial bus type interface, and judge whether the interface information of the two is consistent, so as to obtain a test result;
读写单元50,其与所述处理单元40连接,该读写单元50对待测试卡类设备进行读写测试,从而得出一检测结果;A read-write unit 50, which is connected to the processing unit 40, the read-write unit 50 performs a read-write test for the card-like device to be tested, thereby obtaining a test result;
显示单元60,其与所述读写单元50连接,显示所述检测结果。The display unit 60 is connected to the read-write unit 50 and displays the detection result.
其中,所述显示单元60为一条码枪。Wherein, the display unit 60 is a code gun.
其中,所述电脑卡类设备自动测试系统100还包括一关闭单元70,该关闭单元70在显示单元60显示一段时间后即关闭所述电脑卡类设备自动测试系统100。Wherein, the automatic test system 100 for computer card devices further includes a shutdown unit 70, which shuts down the automatic test system 100 for computer card devices after the display unit 60 displays for a period of time.
其中,所述电脑卡类设备自动测试系统100还连接至现场控制系统200,所述处理单元40将生成的检测结果传送给所述现场控制系统200进行保存。Wherein, the automatic test system 100 for computer card equipment is also connected to the on-site control system 200, and the processing unit 40 transmits the generated test results to the on-site control system 200 for storage.
本发明还提供一种电脑卡类设备自动测试方法,其步骤包括:The present invention also provides a method for automatic testing of computer card equipment, the steps of which include:
S101:在卡类设备界面标准值数据库预存总线接口型界面和通用串行总线型界面的标准值;S101: Pre-store the standard values of the bus interface type interface and the universal serial bus type interface in the card device interface standard value database;
S102:输入单元扫描待测试卡类设备的产品流水号后,再将待测试卡类设备接入电脑的外设接口;S102: After the input unit scans the product serial number of the card device to be tested, connect the card device to be tested to the peripheral interface of the computer;
S103:检测单元从待测试卡类设备上获取待测试卡类设备的界面信息;S103: The detection unit acquires the interface information of the card device to be tested from the card device to be tested;
S104:处理单元将所述获取的待测试卡类设备的界面信息与卡类设备界面标准值数据库中的总线接口型界面和通用串行总线型界面的标准值进行对比,并判断两者的界面信息是否一致,如果检测结果一致,则执行步骤(5),如果检测结果不一致,则执行步骤(7);S104: The processing unit compares the acquired interface information of the card device to be tested with the standard value of the bus interface type interface and the universal serial bus type interface in the card type device interface standard value database, and judges the interface between the two Whether the information is consistent, if the detection results are consistent, then perform step (5), if the detection results are inconsistent, then perform step (7);
S105:读写单元检测待测试卡类设备是否可进行读写操作,如果进行读写操作可以进行读写操作,则执行步骤(6),如果不能进行读写操作,则执行步骤(7);S105: The read-write unit detects whether the card device to be tested can perform read-write operations, if the read-write operation can be performed, then perform step (6), if the read-write operation cannot be performed, then perform step (7);
S106:显示单元显示检测成功,同时处理单元将所述检测结果上传至现场控制系统进行保存;S106: The display unit displays that the detection is successful, and at the same time, the processing unit uploads the detection result to the on-site control system for storage;
S107:显示单元显示检测失败,同时处理单元将所述检测结果上传至现场控制系统进行保存。S107: The display unit displays that the detection fails, and at the same time, the processing unit uploads the detection result to the on-site control system for storage.
其中,所述步骤S103中检测单元通过查找设备管理器中的信息来获取待测试卡类设备的界面信息。Wherein, in the step S103, the detection unit obtains the interface information of the card device to be tested by searching the information in the device manager.
其中,所述步骤S106与步骤S107中的检测结果以待测试卡类设备的产品流水号命名之后再上传至现场控制系统进行保存。Wherein, the detection results in step S106 and step S107 are named after the product serial number of the card device to be tested, and then uploaded to the on-site control system for storage.
相较于现有技术,本发明的电脑卡类设备自动测试系统及方法不仅实现一套程序能够测试不同类型卡类设备的目的,大大的提高了工作效率。同时,本发明于测试过程中还增加了对接口读写功能的测试,因此很大程度上保证了产品的质量。此外,本发明还能够保存检测结果,通过上传现场控制系统可进行后续的追踪。Compared with the prior art, the computer card equipment automatic testing system and method of the present invention not only realize the purpose that a set of programs can test different types of card equipment, but also greatly improve work efficiency. Simultaneously, the present invention also increases the test of the reading and writing function of the interface in the testing process, thus ensuring the quality of the product to a great extent. In addition, the present invention can also save the detection results, and can carry out follow-up tracking by uploading to the on-site control system.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610255490.9A CN107305513A (en) | 2016-04-22 | 2016-04-22 | Computer card equipment Auto-Test System and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610255490.9A CN107305513A (en) | 2016-04-22 | 2016-04-22 | Computer card equipment Auto-Test System and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107305513A true CN107305513A (en) | 2017-10-31 |
Family
ID=60152914
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610255490.9A Pending CN107305513A (en) | 2016-04-22 | 2016-04-22 | Computer card equipment Auto-Test System and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107305513A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1567226A (en) * | 2003-06-20 | 2005-01-19 | 顺德市顺达电脑厂有限公司 | Test system and method for general purpose serial interface |
CN1890620A (en) * | 2003-12-12 | 2007-01-03 | 美国凹凸微系有限公司 | Expresscard power switch device with enhanced communications paths and security functions |
US20120278519A1 (en) * | 2011-04-28 | 2012-11-01 | International Business Machines Corporation | Updating interface settings for an interface |
CN203606465U (en) * | 2013-11-25 | 2014-05-21 | 中国人民解放军63908部队 | Equipment in-situ tester |
CN104932958A (en) * | 2014-03-18 | 2015-09-23 | 神讯电脑(昆山)有限公司 | Computer card-type device interface function automatic test method |
-
2016
- 2016-04-22 CN CN201610255490.9A patent/CN107305513A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1567226A (en) * | 2003-06-20 | 2005-01-19 | 顺德市顺达电脑厂有限公司 | Test system and method for general purpose serial interface |
CN1890620A (en) * | 2003-12-12 | 2007-01-03 | 美国凹凸微系有限公司 | Expresscard power switch device with enhanced communications paths and security functions |
US20120278519A1 (en) * | 2011-04-28 | 2012-11-01 | International Business Machines Corporation | Updating interface settings for an interface |
CN203606465U (en) * | 2013-11-25 | 2014-05-21 | 中国人民解放军63908部队 | Equipment in-situ tester |
CN104932958A (en) * | 2014-03-18 | 2015-09-23 | 神讯电脑(昆山)有限公司 | Computer card-type device interface function automatic test method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101604272B (en) | Apparatus and method for memory card testing | |
TWI465901B (en) | Method and system for verification of computerized systems for cloud testing and remote monitoring of integrated circuit devices | |
US9710255B1 (en) | Updating system of firmware of complex programmable logic device and updating method thereof | |
US8909822B2 (en) | Output device, log collecting method for output device, and storage medium | |
CN108351828A (en) | Technology for device-independent automatic application test | |
US20150067223A1 (en) | Hot swappable memory motherboard | |
CN103942009A (en) | Apparatus and method for extending memory in terminal | |
WO2020168842A1 (en) | Vehicle damage assessment method and device and electronic device | |
US20140325285A1 (en) | Serial attached scsi expander and method for debugging faults thereof | |
TWI587147B (en) | Method and device capable of automatically identifying host operating system | |
US20110072168A1 (en) | Data transfer system with different operating modes | |
CN105320620A (en) | Memory storage device and control method, memory control circuit unit and module | |
CN106339617A (en) | Unlocking method and device for terminal equipment | |
US9158609B2 (en) | Universal serial bus testing device | |
US11354214B2 (en) | Judgment method for hardware compatibility | |
CN107305513A (en) | Computer card equipment Auto-Test System and method | |
US20160232110A1 (en) | Input Interface Device for Portable Device | |
CN103366830A (en) | Testing device of memory card | |
CN103164357B (en) | The remove strategies establishing method of electronic installation and USB device | |
CN107515821B (en) | Control testing method and device | |
US8566575B2 (en) | Computer apparatus and method for charging portable electronic device using the computer apparatus | |
CN101452417A (en) | Monitoring method and monitoring device thereof | |
CN108920205A (en) | A kind of control method, device and computer storage medium | |
CN115421749A (en) | A method, system, device and medium for refreshing hard disk firmware based on Linux system | |
CN106201930A (en) | A kind of device port determines device, terminal and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for 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: 20171031 |