CN103838651A - Mainboard function test management and control system and method - Google Patents
Mainboard function test management and control system and method Download PDFInfo
- Publication number
- CN103838651A CN103838651A CN201210475412.1A CN201210475412A CN103838651A CN 103838651 A CN103838651 A CN 103838651A CN 201210475412 A CN201210475412 A CN 201210475412A CN 103838651 A CN103838651 A CN 103838651A
- Authority
- CN
- China
- Prior art keywords
- test
- event
- process list
- procedure
- host
- 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
Images
Abstract
A mainboard function test management and control method is applied to testing a host. The method includes the steps that the test sequence of test items to be executed on test equipment is preset; corresponding test programs are called according to the preset test sequence for tests; after one of the test items is started, the course list of the test host is scanned to detect whether the test program for the test item is running or not; when the test of the test item is completed, the course list of the test host is scanned to detect whether the test program of the test item has exited from the course list; if the test program of the test item actually runs, the test result of the test item is encrypted and written into a test log file after the test program exits from the course list. The invention further provides a corresponding mainboard function test management and control system. Through the mainboard function test management and control system and method, the behavior of faking test results of the test equipment can be effectively prevented.
Description
Technical field
The present invention relates to a kind of circuit board for testing function of main managing and control system and method.
Background technology
The normal linux system platform that adopts of current mainboard test, linux system is advocated software and is increased income, there is the sharing hardware testing software that much can freely use, therefore when to mainboard test setup test software, often likely can add some free shared test procedures for saving the development time, these test procedures and the own test procedure of developing are together in series with script.
And be to meet factory to require each test item will have the requirement of test log file, in the time of factory's operation test procedure, manually some test procedure of shielding of plant operator or Test Engineer, only retains and writes journal file function sometimes, or manually copy is forged journal file, escape test.Obviously, these behavioral tests have greatly affected mainboard test mass.
Summary of the invention
In view of above content, be necessary to provide a kind of circuit board for testing function of main managing and control system, can effectively prevent that the behavior of playing tricks of equipment under test test result from occurring.
Described circuit board for testing function of main managing and control system comprises: presetting module, the testing sequence of the test event that will carry out for default equipment under test; Calling module, tests for calling corresponding test procedure according to default testing sequence; Whether scan module, for moving with the test procedure that detects this test event starting the process list that wherein scans described Test Host after a test event; Described scan module, also for completing after test when this test event, whether the process list that scans described Test Host has exited this process list with the test procedure that detects this test event; And logging modle, for have actual motion and this test procedure to exit after described process list when the test procedure of this test event, the test result of this test event is encrypted and is written in test log file.
In view of above content, be also necessary to provide a kind of circuit board for testing function of main management-control method, can effectively prevent that the behavior of playing tricks of equipment under test test result from occurring.
Described circuit board for testing function of main management-control method comprises: foresee steps, the testing sequence of the test event that default equipment under test will be carried out; Invocation step, calls corresponding test procedure according to default testing sequence and tests; Whether the first scanning step, move with the test procedure that detects this test event starting the process list that wherein scans described Test Host after a test event; The second scanning step, when this test event completes after test, whether the process list that scans described Test Host has exited this process list with the test procedure that detects this test event; And recording step, when having actual motion and this test procedure, exits after described process list the test procedure of this test event, and the test result of this test event is encrypted and is written in test log file.
Compared to prior art, described circuit board for testing function of main managing and control system and method, can effectively prevent that the behavior of playing tricks of equipment under test test result from occurring.
Brief description of the drawings
Fig. 1 is the running environment figure of circuit board for testing function of main managing and control system of the present invention.
Fig. 2 is the functional block diagram of circuit board for testing function of main managing and control system of the present invention.
Fig. 3 is the process flow diagram of the preferred embodiment of circuit board for testing function of main management-control method of the present invention.
Main element symbol description
Test Host | 100 |
UUT | 200 |
Functional test managing and |
10 |
Storer | 20 |
Processor | 30 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
Following embodiment further illustrates the present invention in connection with above-mentioned accompanying drawing.
Embodiment
As shown in Figure 1, be the running environment figure of circuit board for testing function of main managing and control system of the present invention.In the present embodiment, functional test managing and control system 10 runs in Test Host 100, for management and control UUT(Unit Under Test, equipment under test) each functional accessory on 200 carries out functional test.Described Test Host 100 also comprises storer 20 and processor 30.
In the present embodiment, described UUT200 can be mainboard or other electronic installations with functional accessory.In the time that this UUT200 is mainboard, its functional accessory includes, but are not limited to CPU, internal memory, hard disk etc.
Described storer 20 can be for storing various data, for example, store the sequencing code of described functional test managing and control system 10 and for recording the test log file of test result of described UUT 200.In the present embodiment, described functional test managing and control system 10 can be divided into one or more modules and carry out function provided by the invention by described processor 30.In the present embodiment, described functional test managing and control system 10 comprises that presetting module 11, calling module 12, scan module 13, judge module 14 and logging modle 15(consult shown in Fig. 2).The alleged module of the present invention has been the program segment of a specific function, will in the process flow diagram of Fig. 3, specifically describe about the function of each module.
As shown in Figure 3, be the process flow diagram of the preferred embodiment of functional test management-control method of the present invention.
The present embodiment describes as an example of the functional test of the CPU on UUT 200, internal memory, hard disk example, in other embodiments, can also test as the function of network interface card other functional accessories.
Step S1, the testing sequence of the test event that the default UUT 200 of presetting module 11 will carry out.
The testing sequence that the test event that described UUT 200 will carry out is for example set is followed successively by: cpu test, memory test, hard disk test.
Step S2, calling module 12 calls corresponding test procedure according to default testing sequence and specifically tests.
For example, suppose to arrange and first carry out cpu test in step S 1, described calling module 12 calls the test procedure of test CPU.
It should be noted that, in the present embodiment, can in advance each test procedure be named according to corresponding test event, and store in described storer 20, for example the filename of the test procedure of test CPU is set to CPUtest.exe and stores in described storer 20, the filename of the test procedure of test memory is set to Memorytest.exe and stores in described storer 20, can name and be stored in described storer 20 by HDDtest.exe for the test procedure of testing hard disk.And in the time that needs call corresponding test procedure and carry out functional test, for example, when the test procedure that needs to call test CPU carries out functional test to CPU, can directly call execution according to the filename of test procedure.
Step S3, whether the process list that scan module 13 scans described Test Host 100 after a certain test event of startup moves with the test procedure that detects described test event.
Whether particularly, described scan module 13 scans the process list of described Test Host 100, and therefrom detects the test procedure whether existing according to this test event name, move with the test procedure of judging this test event.For example, the test event of current startup is cpu test, and scan module 13 scans the process list of described Test Host 100, searches the test procedure that whether occurs called after CPUtest.exe in this process list.If the result of searching is to have the test procedure of file CPUtest.exe by name to appear in process list, judge that the test procedure of this test CPU moves.
If the test event that the result detecting in step S3 is current startup is moved, perform step S4, otherwise process ends.
Step S4, judge module 14 judges whether described test event has tested, if perform step S5, otherwise turns back to step S3, scan module 13 continues scan procedure list to judge that whether test procedure corresponding to this test event be still in operation.
For example, when after the test procedure of operation test CPU, can judge that this cpu test completes if obtain the test result of CPU, now perform step S5.
Step S5, whether the process list that scan module 13 scans described Test Host 100 has exited this process list with the test procedure that detects this test event, if execution step S6, otherwise process ends.
For example, in the time there is not the test procedure of file CPUtest.exe by name in the process list of described Test Host 100, can judge that the test procedure of described test CPU has exited this process list.
Step S6, logging modle 15 is encrypted the test result of described test event be written in test log file.
It should be noted that, the encryption method relating in this step can adopt any one cryptographic algorithm of the prior art, and enciphered method for example circulates.
Step S7, judge module 14 judges in described UUT 200 whether also have other test events not complete, if so, to perform step S2, otherwise process ends.
For example, when completing after cpu test, if also need to carry out the functional test of internal memory or hard disk, flow process is back to step S2, calls corresponding test procedure test by calling module 12 according to default testing sequence.
Can find out from whole flow performing step of the present invention, test event of the every startup of the present invention, will scan in the process list of described Test Host 100 and whether have corresponding test procedure in operation, also judge whether this test event is moved, and after having tested, scan procedure list is to judge whether corresponding test procedure has exited process list again, and in the time that test procedure has operation and operation backed off after random process list, just test result is written in test log file.Therefore, the present invention can guarantee that the test result of each test event obtains based on actual motion test procedure, effectively prevents that the behavior of playing tricks of test result from occurring.
Finally it should be noted that, above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that, can modify or be equal to replacement technical scheme of the present invention, and not depart from the spirit and scope of technical solution of the present invention.
Claims (6)
1. a circuit board for testing function of main managing and control system, runs on Test Host, it is characterized in that, this system comprises:
Presetting module, the testing sequence of the test event that will carry out for default equipment under test;
Calling module, tests for calling corresponding test procedure according to default testing sequence;
Whether scan module, for moving with the test procedure that detects this test event starting the process list that wherein scans described Test Host after a test event;
Described scan module, also for completing after test when this test event, whether the process list that scans described Test Host has exited this process list with the test procedure that detects this test event; And
Logging modle, for have actual motion and this test procedure to exit after described process list when the test procedure of this test event, encrypts the test result of this test event be written in test log file.
2. circuit board for testing function of main managing and control system as claimed in claim 1, is characterized in that, the test procedure of described test event is named and is stored in storer according to corresponding test event.
3. circuit board for testing function of main managing and control system as claimed in claim 2, it is characterized in that, described scan module scans the process list of described Test Host, and from this process list, detect the test procedure whether existing according to the name of this test event, thereby whether the test procedure that detects this test event is moving or is exiting process list.
4. a circuit board for testing function of main management-control method, applies to Test Host, it is characterized in that, the method comprises:
Foresee steps, the testing sequence of the test event that default equipment under test will be carried out;
Invocation step, calls corresponding test procedure according to default testing sequence and tests;
Whether the first scanning step, move with the test procedure that detects this test event starting the process list that wherein scans described Test Host after a test event;
The second scanning step, when this test event completes after test, whether the process list that scans described Test Host has exited this process list with the test procedure that detects this test event; And
Recording step, exits after described process list when the test procedure of this test event has actual motion and this test procedure, and the test result of this test event is encrypted and is written in test log file.
5. circuit board for testing function of main management-control method as claimed in claim 4, is characterized in that, the test procedure of described test event is named and is stored in storer according to corresponding test event.
6. circuit board for testing function of main management-control method as claimed in claim 5, it is characterized in that, scan the process list of described Test Host in described first and second scanning step, and from this process list, detect the test procedure whether existing according to the name of this test event, thereby whether the test procedure that detects this test event is moving or is exiting process list.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210475412.1A CN103838651A (en) | 2012-11-21 | 2012-11-21 | Mainboard function test management and control system and method |
TW101144071A TW201421233A (en) | 2012-11-21 | 2012-11-23 | System and method of testing motherboard |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210475412.1A CN103838651A (en) | 2012-11-21 | 2012-11-21 | Mainboard function test management and control system and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103838651A true CN103838651A (en) | 2014-06-04 |
Family
ID=50802179
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210475412.1A Pending CN103838651A (en) | 2012-11-21 | 2012-11-21 | Mainboard function test management and control system and method |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103838651A (en) |
TW (1) | TW201421233A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105759785A (en) * | 2016-02-16 | 2016-07-13 | 珠海格力电器股份有限公司 | Test equipment control method and device |
CN107590389A (en) * | 2017-10-18 | 2018-01-16 | 北京奇虎科技有限公司 | Method for testing security and device, electronic equipment, computer-readable storage medium |
CN111193638A (en) * | 2019-12-20 | 2020-05-22 | 曙光信息产业股份有限公司 | Linux platform based network card automatic testing method and device |
CN111506465A (en) * | 2020-04-20 | 2020-08-07 | 北京易点淘网络技术有限公司 | Computer function testing method and device |
CN114020649A (en) * | 2022-01-05 | 2022-02-08 | 锱云(上海)物联网科技有限公司 | Quality inspection result verification method, system, test equipment and storage medium |
-
2012
- 2012-11-21 CN CN201210475412.1A patent/CN103838651A/en active Pending
- 2012-11-23 TW TW101144071A patent/TW201421233A/en unknown
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105759785A (en) * | 2016-02-16 | 2016-07-13 | 珠海格力电器股份有限公司 | Test equipment control method and device |
CN107590389A (en) * | 2017-10-18 | 2018-01-16 | 北京奇虎科技有限公司 | Method for testing security and device, electronic equipment, computer-readable storage medium |
CN107590389B (en) * | 2017-10-18 | 2020-09-11 | 北京奇虎科技有限公司 | Security testing method and device, electronic equipment and computer storage medium |
CN111193638A (en) * | 2019-12-20 | 2020-05-22 | 曙光信息产业股份有限公司 | Linux platform based network card automatic testing method and device |
CN111506465A (en) * | 2020-04-20 | 2020-08-07 | 北京易点淘网络技术有限公司 | Computer function testing method and device |
CN114020649A (en) * | 2022-01-05 | 2022-02-08 | 锱云(上海)物联网科技有限公司 | Quality inspection result verification method, system, test equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
TW201421233A (en) | 2014-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103838651A (en) | Mainboard function test management and control system and method | |
CN109901881B (en) | Plug-in loading method and device of application program, computer equipment and storage medium | |
CN110928770B (en) | Software testing method, device, system, storage medium and electronic equipment | |
CN106843947B (en) | Method and device for processing code defects | |
CN103424683A (en) | Mainboard test system and method | |
CN110058998A (en) | Method for testing software and device | |
CN110888781B (en) | Application blockage detection method and detection device | |
US11055416B2 (en) | Detecting vulnerabilities in applications during execution | |
CN111694550A (en) | Page display control method, device and system | |
CN112084024B (en) | Memory monitoring method, device, medium and electronic equipment | |
CN111176986B (en) | Thread script debugging method and device, computer equipment and storage medium | |
CN115656788B (en) | Chip testing system, method, equipment and storage medium | |
CN111581005A (en) | Terminal repairing method, terminal and storage medium | |
CN115454856A (en) | Multi-application security detection method, device, medium and electronic equipment | |
CN113282435A (en) | Application exception processing method and electronic equipment | |
CN114911706A (en) | Use case recommendation method, device, equipment and storage medium | |
CN113918384A (en) | Data saving method, device, equipment and storage medium | |
Jiang et al. | FLOMA: Statistical fault localization for mobile embedded system | |
CN110704218B (en) | Data processing method, data processing device, computer equipment and storage medium | |
CN113408845B (en) | Processing method and device of production flow, computer equipment and storage medium | |
CN116450432A (en) | BIOS refreshing test method, device, equipment and storage medium | |
CN105487861A (en) | Method and apparatus for acquiring component calling amount | |
CN115687129A (en) | Coverage rate report generation method and device, storage medium and computer equipment | |
CN113010199A (en) | Application updating method and device, computer equipment and storage medium | |
CN117435504A (en) | Mobile terminal debugging method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20140604 |