CN110704251A - Dynamically configurable testing device and testing method - Google Patents
Dynamically configurable testing device and testing method Download PDFInfo
- Publication number
- CN110704251A CN110704251A CN201810745131.0A CN201810745131A CN110704251A CN 110704251 A CN110704251 A CN 110704251A CN 201810745131 A CN201810745131 A CN 201810745131A CN 110704251 A CN110704251 A CN 110704251A
- Authority
- CN
- China
- Prior art keywords
- test
- serial number
- product
- procedure file
- test procedure
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
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/2289—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by configuration test
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
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)
- Tests Of Electronic Circuits (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a product testing method capable of being configured dynamically, which is characterized by comprising the following steps: constructing a test procedure file, a serial number generation rule and a test work order; obtaining the type of a product to be tested by reading a test work order; selecting and loading a corresponding test procedure file according to the product type; analyzing the test procedure file and generating a test display interface GUI; acquiring an identification code of a current product to be detected, comparing the identification code with a serial number in a serial number queue, and judging whether the identification code is consistent with the serial number in the serial number queue; when the judgment result is consistent, sequentially executing the test items in the test procedure file; and outputting the test result and generating a report.
Description
Technical Field
The invention relates to the field of electronic product manufacturing, in particular to an electronic equipment detection device and a detection method.
Background
When the electronic equipment tests products on line during production, in order to ensure the product quality, each product needs to be subjected to strict performance testing. In the prior art, a test engineer generally selects a specific test tool for each type of product to perform a test, which requires configuring different test programs and test tools for different types of products, and simultaneously, when a production process of a certain type of product is adjusted, the corresponding test programs and test tools also need to be updated synchronously. This complicates the management of the test work and does not facilitate the use and study of the test tools by engineers. Furthermore, when the production process of a certain type of product is adjusted, the synchronous upgrade of the test program and the test tools needs to be performed on all the test tools corresponding to the certain type of product, thereby affecting the production process.
In view of the above problems in the prior art, there is a need in the art for a universal test tool that can satisfy multiple product types to satisfy test work for different product types, and that can facilitate upgrading of test programs.
Disclosure of Invention
One of the technical problems to be solved by the present invention is to provide a universal testing tool for testing various types of products, which is convenient for a user to perform corresponding testing work on different types of products and upgrade a testing program.
In order to solve the above technical problem, the present invention provides a dynamically configurable product testing method, which includes: constructing a test procedure file, a serial number generation rule and a test work order; obtaining the type of a product to be tested by reading a test work order; selecting and loading a corresponding test procedure file according to the product type; analyzing the test procedure file and generating a test display interface GUI; acquiring an identification code of a current product to be detected, comparing the identification code with a serial number in a serial number queue, and judging whether the identification code is consistent with the serial number in the serial number queue; when the judgment result is consistent, sequentially executing the test items in the test procedure file; and outputting the test result and generating a report.
In one embodiment, the test procedure file, serial number generation rules, can be modified in real time.
In one embodiment, the test work order is generated according to the product type and the number of products to be tested, and simultaneously, a serial number queue corresponding to the test work order is generated.
According to another aspect of the present invention, there is also provided a storage device having stored therein a plurality of instructions adapted to be loaded and executed by a processor, the instructions comprising: constructing a test procedure file, a serial number generation rule and a test work order; obtaining the type of a product to be tested by reading a test work order; selecting and loading a corresponding test procedure file according to the product type; analyzing the test procedure file and generating a test display interface GUI; acquiring an identification code of a current product to be detected, comparing the identification code with a serial number in a serial number queue, and judging whether the identification code is consistent with the serial number in the serial number queue; when the judgment result is consistent, sequentially executing the test items in the test procedure file; and outputting the test result and generating a report.
In one embodiment, the test procedure file, serial number generation rules, can be modified in real time.
In one embodiment, the test work order is generated according to the product type and the number of products to be tested, and simultaneously, a serial number queue corresponding to the test work order is generated.
According to another aspect of the present invention, there is also provided a test apparatus, including:
a processor adapted to implement instructions;
and a storage device adapted to store a plurality of instructions, the instructions adapted to be loaded and executed by a processor, the instructions comprising: constructing a test procedure file, a serial number generation rule and a test work order; obtaining the type of a product to be tested by reading a test work order; selecting and loading a corresponding test procedure file according to the product type; analyzing the test procedure file and generating a test display interface GUI; acquiring an identification code of a current product to be detected, comparing the identification code with a serial number in a serial number queue, and judging whether the identification code is consistent with the serial number in the serial number queue; when the judgment result is consistent, sequentially executing the test items in the test procedure file; and outputting the test result and generating a report.
In one embodiment, the test procedure file, serial number generation rules, can be modified in real time.
In one embodiment, the test work order is generated according to the product type and the number of products to be tested, and simultaneously, a serial number queue corresponding to the test work order is generated.
One or more embodiments of the present invention may have the following advantages over the prior art:
1. the testing method can realize the testing of various product types, and improves the general type of the testing device.
2. The testing device can realize dynamic reconstruction of the testing process through real-time modification of the testing procedure file.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
FIG. 1 is a flow chart for building a test procedure file according to the present invention;
FIG. 2 is a flow diagram of a sequence number generation rule according to the present invention;
FIG. 3 is a flow chart of test work order number generation according to the present invention;
fig. 4 is a schematic diagram of a test flow according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to the accompanying drawings.
FIG. 1 is a schematic diagram of a test procedure file generation flow according to the present invention.
In step 101, writing test procedure files for different types of products, where the test procedure files are written in json (javascript Object notation) format, and the files contain a plurality of test items corresponding to production procedures, and the test procedure file codes are as follows:
And 104, indexing the test procedure file to complete the mapping relation between the test procedure file and the product type.
The test procedure file in the invention is stored in the built-in storage part of the test device and can be called and used by the test device.
Fig. 2 is a flow chart illustrating a sequence number generation rule according to the present invention.
RT611+1750+ xxxxx2, the rule code being:
And step 204, indexing the serial number generation rule to complete the mapping relation between the serial number generation rule and the product type.
FIG. 3 is a schematic diagram of a test order generation flow of the present invention.
FIG. 4 is a schematic diagram of the product testing process of the present invention.
In step 401, when a product is to be tested, a work order number is first input into a testing device.
And step 402, loading the corresponding test procedure file according to the product type information by extracting the product type information in the work order number.
And step 404, after the test procedure file is verified, analyzing the test procedure file to obtain all items to be tested.
And step 408, acquiring the serial number in the serial number queue corresponding to the current work order number.
In step 412, when the test item needs to call the external device, the driver of the external device needs to be called is loaded first.
And step 416, summarizing the test results of the test items to generate a test report.
In this embodiment, all the test devices are connected to the industrial ethernet, and the user can dynamically configure the test procedure file in each test device through the industrial ethernet, so that the reconfiguration of the test procedure can be performed in real time.
In summary, the testing apparatus of the present embodiment has versatility, and can be satisfied to test a plurality of types of products. Meanwhile, the test procedure file can be dynamically configured through the network, so that the test procedure can be updated in real time.
The above description is only an embodiment of the present invention, and the protection scope of the present invention is not limited thereto, and any person skilled in the art should modify or replace the present invention within the technical specification of the present invention.
Claims (9)
1. A method for testing a dynamically configurable product, the method comprising: constructing a test procedure file, a serial number generation rule and a test work order; obtaining the type of a product to be tested by reading a test work order; selecting and loading a corresponding test procedure file according to the product type; analyzing the test procedure file and generating a test display interface GUI; acquiring an identification code of a current product to be detected, comparing the identification code with a serial number in a serial number queue, and judging whether the identification code is consistent with the serial number in the serial number queue; when the judgment result is consistent, sequentially executing the test items in the test procedure file; and outputting the test result and generating a report.
2. The product testing method of claim 1, wherein the test procedure file and serial number generation rules can be modified in real time.
3. The product testing method of claim 2, wherein the test order is generated according to the product type and the number of products to be tested, and simultaneously generates a serial number queue corresponding to the test order.
4. A memory device having stored therein a plurality of instructions adapted to be loaded and executed by a processor, the instructions comprising: constructing a test procedure file, a serial number generation rule and a test work order; obtaining the type of a product to be tested by reading a test work order; selecting and loading a corresponding test procedure file according to the product type; analyzing the test procedure file and generating a test display interface GUI; acquiring an identification code of a current product to be detected, comparing the identification code with a serial number in a serial number queue, and judging whether the identification code is consistent with the serial number in the serial number queue; when the judgment result is consistent, sequentially executing the test items in the test procedure file; and outputting the test result and generating a report.
5. The product testing method of claim 4, wherein the test procedure file and the serial number generation rule can be modified in real time.
6. The product testing method of claim 5, wherein the test order is generated according to the product type and the number of products to be tested, and simultaneously generates a serial number queue corresponding to the test order.
7. A test apparatus, comprising:
a processor adapted to implement instructions;
and a storage device adapted to store a plurality of instructions, the instructions adapted to be loaded and executed by a processor, wherein the instructions comprise: constructing a test procedure file, a serial number generation rule and a test work order; obtaining the type of a product to be tested by reading a test work order; selecting and loading a corresponding test procedure file according to the product type; analyzing the test procedure file and generating a test display interface GUI; acquiring an identification code of a current product to be detected, comparing the identification code with a serial number in a serial number queue, and judging whether the identification code is consistent with the serial number in the serial number queue; when the judgment result is consistent, sequentially executing the test items in the test procedure file; and outputting the test result and generating a report.
8. The product testing method of claim 7, wherein the test procedure file and the serial number generation rule can be modified in real time.
9. The product testing method of claim 8, wherein the test order is generated according to the product type and the number of products to be tested, and simultaneously generates a serial number queue corresponding to the test order.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810745131.0A CN110704251B (en) | 2018-07-09 | 2018-07-09 | Dynamically configurable testing device and testing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810745131.0A CN110704251B (en) | 2018-07-09 | 2018-07-09 | Dynamically configurable testing device and testing method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110704251A true CN110704251A (en) | 2020-01-17 |
CN110704251B CN110704251B (en) | 2023-07-11 |
Family
ID=69192937
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810745131.0A Active CN110704251B (en) | 2018-07-09 | 2018-07-09 | Dynamically configurable testing device and testing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110704251B (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1570872A (en) * | 2003-07-25 | 2005-01-26 | 英业达股份有限公司 | Integral control and management system and method for computer production line |
CN104065528A (en) * | 2013-03-15 | 2014-09-24 | 美国网件公司 | Method And Apparatus For Analyzing And Verifying Functionality Of Multiple Network Devices |
CN104363324A (en) * | 2014-11-20 | 2015-02-18 | 惠州Tcl移动通信有限公司 | Method and system for carrying out automatic test on mobile phone mainboard |
CN105677410A (en) * | 2016-01-05 | 2016-06-15 | 太仓市同维电子有限公司 | Method for downloading test program through server |
CN106656358A (en) * | 2016-11-21 | 2017-05-10 | 芯海科技(深圳)股份有限公司 | Low-power-consumption Bluetooth testing method |
CN106940648A (en) * | 2016-01-04 | 2017-07-11 | 苏州普源精电科技有限公司 | A kind of method, equipment and the test system of automatic loading test item |
CN107133117A (en) * | 2016-02-26 | 2017-09-05 | 神讯电脑(昆山)有限公司 | Sequence number Auto-Test System and method |
CN107241220A (en) * | 2017-05-26 | 2017-10-10 | 京信通信系统(中国)有限公司 | The aging of product monitors automatic analysis method and system |
WO2018049815A1 (en) * | 2016-09-13 | 2018-03-22 | 中兴通讯股份有限公司 | Method and device for dividing number of signal grids |
CN108255653A (en) * | 2018-01-02 | 2018-07-06 | 深圳壹账通智能科技有限公司 | The test method and its terminal of a kind of product |
-
2018
- 2018-07-09 CN CN201810745131.0A patent/CN110704251B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1570872A (en) * | 2003-07-25 | 2005-01-26 | 英业达股份有限公司 | Integral control and management system and method for computer production line |
CN104065528A (en) * | 2013-03-15 | 2014-09-24 | 美国网件公司 | Method And Apparatus For Analyzing And Verifying Functionality Of Multiple Network Devices |
CN104363324A (en) * | 2014-11-20 | 2015-02-18 | 惠州Tcl移动通信有限公司 | Method and system for carrying out automatic test on mobile phone mainboard |
CN106940648A (en) * | 2016-01-04 | 2017-07-11 | 苏州普源精电科技有限公司 | A kind of method, equipment and the test system of automatic loading test item |
CN105677410A (en) * | 2016-01-05 | 2016-06-15 | 太仓市同维电子有限公司 | Method for downloading test program through server |
CN107133117A (en) * | 2016-02-26 | 2017-09-05 | 神讯电脑(昆山)有限公司 | Sequence number Auto-Test System and method |
WO2018049815A1 (en) * | 2016-09-13 | 2018-03-22 | 中兴通讯股份有限公司 | Method and device for dividing number of signal grids |
CN106656358A (en) * | 2016-11-21 | 2017-05-10 | 芯海科技(深圳)股份有限公司 | Low-power-consumption Bluetooth testing method |
CN107241220A (en) * | 2017-05-26 | 2017-10-10 | 京信通信系统(中国)有限公司 | The aging of product monitors automatic analysis method and system |
CN108255653A (en) * | 2018-01-02 | 2018-07-06 | 深圳壹账通智能科技有限公司 | The test method and its terminal of a kind of product |
Non-Patent Citations (2)
Title |
---|
李腾云等: "消磁设备误差测试系统软件设计", 《计算机应用与软件》 * |
李腾云等: "消磁设备误差测试系统软件设计", 《计算机应用与软件》, vol. 29, no. 10, 15 October 2012 (2012-10-15), pages 254 - 257 * |
Also Published As
Publication number | Publication date |
---|---|
CN110704251B (en) | 2023-07-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112597028B (en) | Method and device for displaying use case test results and readable storage medium | |
CN107885493B (en) | Program creation support method and program creation support device | |
CN113312260B (en) | Interface test method, device, equipment and storage medium | |
CN111680463A (en) | File checking method and device | |
CN110704252B (en) | Automatic testing device and testing method based on cloud dynamic management | |
CN102798833A (en) | Automatic test system and method for diagnosis instrument | |
CN115328710A (en) | Qt-based radio frequency automatic test method | |
CN102981956A (en) | Method, and device for establishing overlay symbol table, method and device and program modulation system for establishing and searching overlay symbol table, and program modulation system | |
CN114281624A (en) | Method, system, device and equipment for testing I2C signal integrity | |
JP6275009B2 (en) | Test apparatus and test program | |
CN113342692A (en) | Test case automatic generation method and device, electronic equipment and storage medium | |
US20140281719A1 (en) | Explaining excluding a test from a test suite | |
CN110704251B (en) | Dynamically configurable testing device and testing method | |
CN113611348B (en) | Dotting method and device, electronic equipment and storage medium | |
CN116028365A (en) | Automatic detection method, device, equipment and medium for wafer test codes | |
CN110335637B (en) | Method and device for testing storage equipment and equipment | |
JP3357567B2 (en) | Program evaluation system | |
CN112445695A (en) | Tool for quickly generating test description file and application thereof | |
CN110674573A (en) | Method, device and storage medium for simulating hardware work in MES system | |
CN109374038A (en) | A kind of changed test method of the nuclear safe level instrument control product based on application model machine | |
CN116991706B (en) | Vehicle automatic test method, device, equipment and storage medium | |
CN102149122A (en) | Method, device and system for testing base station | |
CN115134819B (en) | Test method and device for train control wireless block system | |
US11797409B1 (en) | Method and system for managing transactions burstiness and generating signature thereof in a test environment | |
CN114448848B (en) | Switch testing method and device, electronic equipment and storage medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |