CN106803800B - Network automatic starting test system and method thereof - Google Patents
Network automatic starting test system and method thereof Download PDFInfo
- Publication number
- CN106803800B CN106803800B CN201510846011.6A CN201510846011A CN106803800B CN 106803800 B CN106803800 B CN 106803800B CN 201510846011 A CN201510846011 A CN 201510846011A CN 106803800 B CN106803800 B CN 106803800B
- Authority
- CN
- China
- Prior art keywords
- server device
- mac address
- tested
- test
- server
- 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.)
- Expired - Fee Related
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 78
- 238000000034 method Methods 0.000 title claims abstract description 10
- 238000004891 communication Methods 0.000 claims abstract description 10
- 238000010998 test method Methods 0.000 claims description 8
- 238000004519 manufacturing process Methods 0.000 description 5
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
The invention provides a network automatic start-up test system and a method thereof, wherein the system comprises a server device and a device to be tested, the server device is a PXE server and is stored with a plurality of different operating systems and a plurality of different test programs which are applicable to the device to be tested, the device to be tested is in communication connection with the server device through a network, and the method comprises the following steps: a. the device to be tested accesses the server device after being started and transmits an MAC address corresponding to the device to be tested to the server device; b. the server device inquires an access frequency of the device to be tested corresponding to the MAC address to access the server according to the MAC address; and c, the server device calls out the execution action corresponding to the access times according to a pre-stored corresponding relation table of the access times and the execution action and pushes the execution action to the device to be tested corresponding to the MAC address through the MAC address for use.
Description
[ technical field ] A method for producing a semiconductor device
The invention relates to a network automatic start-up test system and a method thereof.
[ background of the invention ]
PXE (preboot execution environment) is a technology of a network remote boot system, in which a server remotely starts a client over a network, and the client downloads a required configuration (kernel, operating system, test program, etc.). The client requests configuration from the server through the MAC address, and then downloads the configuration according to the configuration information of the configuration file returned by the server.
The existing network boot test system adopts the PXE technology, which needs to pre-key the MAC address of the device under test (Unit UnderTest) to find out which servers can boot, but cannot dynamically adjust the deployment principle according to the test phase, and when in the test phase of 11-level rack (level 11rack), the type of the device under test will be changed from the original one into multiple items, and the boot items of each device under test may be mixed, so on the existing network test system architecture, the diversification of the test items of the device under test will become complicated, and the operator has to gradually perform manual adjustment according to the current test phase of each device under test.
In view of the above, the present invention provides an automatic network boot test method, which can automatically and flexibly adjust the boot test principle.
[ summary of the invention ]
The main objective of the present invention is to provide a method for testing network auto-power-on, which can flexibly adjust the power-on principle.
To achieve the above object, the present invention provides a network automatic boot test method executed by a network automatic boot test system, the network automatic boot test system including a server device and at least one device under test, the server device being a PXE server and having a plurality of different operating systems and a plurality of different test programs stored therein, the device under test being communicatively connected to the server device via a network, the method including the steps of:
a. the device to be tested accesses the server device after being started and transmits an MAC address corresponding to the device to be tested to the server device;
b. the server device inquires an access frequency of the device to be tested corresponding to the MAC address to access the server according to the MAC address;
c. the server device calls out the execution action corresponding to the access times according to a pre-stored corresponding relation table of the access times and the execution action, and pushes the execution action to the device to be tested corresponding to the MAC address through the MAC address for use, wherein the execution action comprises an operating system and/or a test program.
Preferably, the network automatic start-up test system includes at least two devices under test located on different production lines, and the devices under test are in communication connection with the server device through the network, respectively.
Preferably, in step b, the server device accumulates the number of accesses of the device under test.
Preferably, in step b, the server device stores the accumulated number of accesses of the dut, the MAC address of the dut, and information related to the accesses of the dut to the server device in a history.
The invention also provides a network automatic start-up test system, which is characterized by comprising:
at least one device to be tested; and
a server device, which is a PXE server, wherein the server device stores a plurality of different operating systems and a plurality of different test programs suitable for the device under test, wherein the device under test is in communication connection with the server device via a network, and the device under test accesses the server device and transmits a corresponding MAC address to the server device after being started, the server device inquires the access times of the device to be tested and the device to be tested which has passed through the access times according to the MAC address, the server device further calls out the execution action corresponding to the access times according to the pre-stored corresponding relation table of the access times and the execution actions, and pushing the MAC address to the device to be tested corresponding to the MAC address for use, wherein the execution action comprises an operating system and/or a test program.
Preferably, the network automatic start-up test system includes at least two devices under test located on different production lines, and the devices under test are in communication connection with the server device through the network, respectively.
Compared with the prior art, the network automatic startup test method has the advantages that after the device to be tested is started, the server device connected with the device to be tested through the network is accessed, the corresponding MAC address is transmitted to the server device, the server device pushes the corresponding operating system or test program to the device to be tested through inquiring the access times of the device to be tested and the communication between the device to be tested and the server device, therefore, the manual adjustment of operators is not needed, and the beneficial effect of automatically and elastically adjusting the startup principle is achieved.
[ description of the drawings ]
FIG. 1 is a block diagram of an automatic network boot test system according to the present invention.
FIG. 2 is a flowchart illustrating steps of a network auto-power-on test method according to the present invention.
[ detailed description ] embodiments
Referring to fig. 1, a network auto-power-on test method according to the present invention is executed by a network auto-power-on test system 1, where the network auto-power-on test system 1 includes a server device 10 and at least one device under test 11. The server device 10 is a PXE (pre boot execution environment) server, and stores therein an MAC address of the device under test 11, a plurality of different operating systems applicable to the device under test 11, and a plurality of different test programs. The device under test 11 is in communication connection with the server device 10 through the network 3, the device under test 11 accesses the server device 10 after being started and transmits an MAC address corresponding to the server device 10, the server device 10 queries the device under test 11 and the number of access times that the device under test has passed through according to the MAC address, the server device 10 further calls out an execution action corresponding to the number of access times according to a pre-stored correspondence table (such as table 1) of the number of access times and the execution action, and pushes the execution action to the device under test 11 corresponding to the MAC address through the MAC address for use, wherein the execution action includes an operating system and a test program.
Reference is made to fig. 2 in conjunction with fig. 1. In the invention, the network automatic starting test method comprises the following steps:
And 102, calling out an execution action corresponding to the access times by the server device 10 according to a pre-stored correspondence table between the access times and the execution action, and pushing the execution action to the device to be tested 11 corresponding to the MAC address for use through the MAC address, wherein the execution action comprises an operating system and/or a test program. In this embodiment, the following table 1 may be referred to in the relationship table between the communication times and the operating system and the test program, for example, when the access times of the history is 1, the server device 10 pushes an OS to the device under test 11, the device under test 11 performs an OS installation operation after receiving the pushed OS, and when the access times of the history is 5, the server device 10 pushes a Windows system to the device under test 11, and the device under test 11 enters Windows boot, so that the present invention may execute different operations according to the difference between the times of booting the device under test 11 and the times of accessing the server device 10, and may achieve the beneficial effect of flexibly adjusting the booting principle:
| number of accesses | Performing an action |
| 1 | Install OS |
| 2 | |
| 3 | DOS inlet |
| 4 | Go into Linux |
| 5 | Windows-in window |
TABLE 1
In this embodiment, the network automatic start-up test system 1 includes at least two devices under test 11 located on different production lines, which are in communication connection with the server device through the network, respectively, and since the server device 10 of the present application identifies the devices under test only according to the received MAC address query, no matter where the devices under test 11 are located, the server device 10 can call the corresponding operating system or test program for the devices under test according to the above procedure as long as the devices under test access the server device 10, thereby starting the system installation and test program execution of the devices under test 11 located on different production lines without moving the devices under test 11.
In summary, the above embodiments and drawings are only preferred embodiments of the present invention, but not intended to limit the scope of the present invention, and all equivalent changes and modifications made by the claims of the present invention should fall within the scope of the present invention.
Claims (6)
1. A network automatic start-up test method is executed by a network automatic start-up test system, the network automatic start-up test system comprises a server device and at least two devices to be tested, the server device is a PXE server and is stored with a plurality of different operating systems and a plurality of different test programs which are suitable for the devices to be tested, the devices to be tested are respectively connected with the server device in a communication mode through a network, and the network automatic start-up test method is characterized by comprising the following steps:
a. the device to be tested accesses the server device after being started and transmits an MAC address corresponding to the device to be tested to the server device;
b. the server device inquires an access frequency of the device to be tested corresponding to the MAC address to access the server according to the MAC address;
c. the server device calls out the execution action corresponding to the access times according to a pre-stored corresponding relation table of the access times and the execution action, and pushes the execution action to the device to be tested corresponding to the MAC address through the MAC address for use, wherein the execution action comprises an operating system and/or a test program.
2. The method according to claim 1, wherein in step b, the server device accumulates the number of accesses of the device under test.
3. The method according to claim 1, wherein in step b, the server device stores the accumulated access times of the dut, the MAC address of the dut and the information related to the access of the dut to the server device in a history.
4. A network automatic start-up test system is characterized by comprising:
at least two devices under test; and
a server device, which is a PXE server, wherein the server device stores a plurality of different operating systems and a plurality of different test programs suitable for the device under test, wherein the device under test is in communication connection with the server device through a network, respectively, and the device under test accesses the server device and transmits a corresponding MAC address to the server device after being started, the server device inquires the access times of the device to be tested and the device to be tested which has passed through the access times according to the MAC address, the server device further calls out the execution action corresponding to the access times according to the pre-stored corresponding relation table of the access times and the execution actions, and pushing the MAC address to the device to be tested corresponding to the MAC address for use, wherein the execution action comprises an operating system and/or a test program.
5. The network auto-on test system of claim 4, wherein the server device accumulates the number of accesses of the device under test.
6. The system according to claim 4, wherein the server device stores the accumulated number of accesses of the device under test, the MAC address of the device under test and information related to the access of the device to the server device in a history.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510846011.6A CN106803800B (en) | 2015-11-26 | 2015-11-26 | Network automatic starting test system and method thereof |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510846011.6A CN106803800B (en) | 2015-11-26 | 2015-11-26 | Network automatic starting test system and method thereof |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106803800A CN106803800A (en) | 2017-06-06 |
| CN106803800B true CN106803800B (en) | 2020-05-01 |
Family
ID=58976421
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510846011.6A Expired - Fee Related CN106803800B (en) | 2015-11-26 | 2015-11-26 | Network automatic starting test system and method thereof |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106803800B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114816998A (en) * | 2022-03-29 | 2022-07-29 | 深圳市华迅光通信有限公司 | An automated test method for testing the reliability of optical cats |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1758228A (en) * | 2004-10-10 | 2006-04-12 | 深圳市三道科技有限公司 | Virtual structure type network computer support platform system and constructing method |
| CN101771682A (en) * | 2009-01-05 | 2010-07-07 | 英业达集团(天津)电子技术有限公司 | System for realizing remote testing on computer device without storage device and testing method thereof |
| CN102053845A (en) * | 2009-11-10 | 2011-05-11 | 纬创资通股份有限公司 | Electronic device for automatic continuous installation of operating system and related method and system |
| CN103778038A (en) * | 2012-10-23 | 2014-05-07 | 勤展精测股份有限公司 | Method and system for verifying cloud test and remote monitoring integrated circuit device |
| CN103902344A (en) * | 2009-11-10 | 2014-07-02 | 纬创资通股份有限公司 | Electronic device for automatic continuous installation of operating system and related method |
| CN104021056A (en) * | 2014-06-23 | 2014-09-03 | 浪潮电子信息产业股份有限公司 | Diskless automatic testing method based on DRBL tool |
-
2015
- 2015-11-26 CN CN201510846011.6A patent/CN106803800B/en not_active Expired - Fee Related
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1758228A (en) * | 2004-10-10 | 2006-04-12 | 深圳市三道科技有限公司 | Virtual structure type network computer support platform system and constructing method |
| CN101771682A (en) * | 2009-01-05 | 2010-07-07 | 英业达集团(天津)电子技术有限公司 | System for realizing remote testing on computer device without storage device and testing method thereof |
| CN102053845A (en) * | 2009-11-10 | 2011-05-11 | 纬创资通股份有限公司 | Electronic device for automatic continuous installation of operating system and related method and system |
| CN103902344A (en) * | 2009-11-10 | 2014-07-02 | 纬创资通股份有限公司 | Electronic device for automatic continuous installation of operating system and related method |
| CN103778038A (en) * | 2012-10-23 | 2014-05-07 | 勤展精测股份有限公司 | Method and system for verifying cloud test and remote monitoring integrated circuit device |
| CN104021056A (en) * | 2014-06-23 | 2014-09-03 | 浪潮电子信息产业股份有限公司 | Diskless automatic testing method based on DRBL tool |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106803800A (en) | 2017-06-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10893094B2 (en) | System and method for appliance detection and app configuration | |
| CN101699401B (en) | The installation method of blade server and operating system thereof and system | |
| EP3185482A1 (en) | Intelligent home controller and communication method thereof | |
| CN110457197B (en) | Service testing method, device, computer equipment and storage medium | |
| CN102781019A (en) | System and method for automatically testing wireless fidelity (WIFI) module | |
| CN108108296B (en) | Cloud testing method, server and client | |
| CN105068900A (en) | A test method for remote control server cold reboot | |
| CN113672441A (en) | Method and device for testing intelligent equipment | |
| CN110601915A (en) | Method and device for testing gateway device | |
| WO2019034095A1 (en) | Software processing method and apparatus, electronic device and computer-readable storage medium | |
| CN114124694A (en) | Configuration method and configuration device of Internet of things equipment, electronic equipment and medium | |
| EP3462112B1 (en) | Refrigerator, intelligent detection method thereof, and intelligent detection system | |
| CN106803800B (en) | Network automatic starting test system and method thereof | |
| KR20180050001A (en) | Firmware upgrade system and method for IoT | |
| CN109586994B (en) | Aging test monitoring method and system for server of whole cabinet | |
| CN109491702B (en) | Optimization scheme determination method and device, terminal equipment and storage medium | |
| CN115098174A (en) | PXE technology-based operating system installation method and device | |
| CN104244092A (en) | Method, system and device for starting application through set top box | |
| CN101452419A (en) | Remote testing system and method based on remote installation technology | |
| CN111367735A (en) | Test method and system based on server to be tested and Wuban diagram operating system | |
| CN104618474A (en) | Equipment information storing method and device | |
| CN105872775A (en) | Silent uninstalling method and device for smart cloud TV application | |
| CN117215659A (en) | Server starting guide method and device, electronic equipment and storage medium | |
| CN111010308A (en) | A KVM service testing method and device | |
| CN116126361A (en) | An operating system filling method, system and electronic equipment |
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 | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200501 |