CN104834576A - Computer system for testing hardware device based on virtual machine and method thereof - Google Patents

Computer system for testing hardware device based on virtual machine and method thereof Download PDF

Info

Publication number
CN104834576A
CN104834576A CN201510214141.8A CN201510214141A CN104834576A CN 104834576 A CN104834576 A CN 104834576A CN 201510214141 A CN201510214141 A CN 201510214141A CN 104834576 A CN104834576 A CN 104834576A
Authority
CN
China
Prior art keywords
virtual machine
hardware device
test
test module
instruction
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
Application number
CN201510214141.8A
Other languages
Chinese (zh)
Other versions
CN104834576B (en
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.)
Shanghai Chuanyuan Information Technology Co ltd
Original Assignee
Jie Ding Internaional Inc
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 Jie Ding Internaional Inc filed Critical Jie Ding Internaional Inc
Priority to CN201510214141.8A priority Critical patent/CN104834576B/en
Publication of CN104834576A publication Critical patent/CN104834576A/en
Application granted granted Critical
Publication of CN104834576B publication Critical patent/CN104834576B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a computer system for testing a hardware device based on a virtual machine and a method thereof. The computer system comprises a virtual machine equipped with a client-side operation system, wherein the client-side operation system comprises a client-side driving program and a virtual machine management program with an expanded test module; when the computer system wants to test the hardware device, the client-side driving program sends a series of test instructions; the test instructions are transmitted to a real or virtual hardware device by the expanded test module; the real or virtual hardware device is used for processing the test instructions and generating at least one response message; the expanded test module is used for transmitting the response messages to the client-side driving program; the client-side driving program is used for detecting the response message to verify the accuracy for processing the test instructions by the real or virtual hardware device.

Description

Computer system and the method for hardware unit test is carried out based on virtual machine
Technical field
The present invention has about a kind of computer system and method for carrying out hardware unit test based on virtual machine, and espespecially a kind of virtual machine that utilizes comes the hardware of testing hardware device or the computer system of firmware and method.
Background technology
In the past when carrying out the hardware of hardware unit or firmware exploitation, the hardware unit in exploitation can be connected a main frame by tester, and among the host side operating system firmware driver of drive unit being arranged on main frame.Then, utilize driver to go to send a series of test instruction to hardware unit, with testing hardware device whether can normal operation or checking hardware unit whether can be correct for the test instruction of mistake response.
But, in the testing process of conventional hardware device, abnormal conditions are produced when hardware or the test of firmware driver of hardware unit, be easy to cause the host side operating system of main frame when machine or collapse, serious words even cause the corrupted data of host side operating system, and risk when causing system testing.In addition, when the host side operating system of main frame is when machine or collapse, main frame must spend one period restarted, and can re-start the software and hardware test of hardware unit, this not only can cause the inconvenience of testing process and can increase the time-histories of testing process.
Summary of the invention
The present invention proposes a kind of computer system and method for carrying out hardware unit test based on virtual machine, its computer system can utilize virtual machine to test hardware or the firmware of real hardware device, if produce abnormal situation when the hardware of real hardware device or the test of firmware driver, only can have influence on the running of the client operating system of virtual machine, that can not cause the host side operating system of computer system works as machine or collapse, can guarantee security during hardware or the firmware driver of computer system test real hardware device.
The present invention proposes a kind of computer system and method for carrying out hardware unit test based on virtual machine, its computer system utilizes the operating function of a virtual hardware device emulation surrounding hardware device, then, the surrounding hardware device of an outside need not be connected, can develop for the firmware driver of surrounding hardware device, to promote the convenience of firmware Driver Development and ageing.
For reaching above-mentioned purpose, the invention provides a kind of computer system of carrying out hardware unit test based on virtual machine, comprising: a virtual machine, comprise: a client operating system, comprise: a client driver, be configured in client operating system, in order to send a series of test instruction; And a virtual machine management program, comprise an expansion test module; And a real hardware device, lead directly to unit through a hardware and connect expansion test module, wherein client driver sequentially transmits test instruction to real hardware device via expansion test module, and real hardware device process test instruction is to produce at least one response message and to transmit response message to client driver via expansion test module.
In one embodiment of the invention, expand test module in test instruction, add the instruction that a false command or does not meet host-host protocol specification.
In one embodiment of the invention, expand test module and set a time delay, expand test module according to time delay to postpone the time that each test instruction is sent to real hardware device.
In one embodiment of the invention, when true hardware unit is via processing test instruction to judge that test instruction includes a false command, and do not meet the instruction of host-host protocol specification or have the situation of instruction propagation delay, the response message being labeled with firmware mistake will be produced.
In one embodiment of the invention, expand test module and copy test instruction to repeat to transmit test instruction to real hardware device.
In one embodiment of the invention, expand test module and add the data that a misdata or does not meet host-host protocol specification in the response message.
In one embodiment of the invention, expand test module and set a time delay, expand test module according to time delay to postpone the time that each response message is sent to client driver.
In one embodiment of the invention, real hardware device is a surrounding hardware device according with PCI, PCI Express, SATA or USB transport protocol specification.
The present invention provides again a kind of computer system of carrying out hardware unit test based on virtual machine, comprise: a virtual machine, comprising: a client operating system, comprising: a client driver, be configured in client operating system, in order to send a series of test instruction; And a virtual machine management program, comprise an expansion test module and a virtual hardware device, wherein client driver sequentially transmits test instruction to virtual hardware device via expansion test module, and virtual hardware device process test instruction is to produce at least one response message and to transmit response message to client driver via expansion test module.
In one embodiment of the invention, virtual hardware device is emulated into by virtual machine management program the device that accords with PCI, PCI Express, SATA or USB transport protocol specification.
The present invention provides again a kind of computer system of carrying out hardware unit test based on virtual machine, comprise: a virtual machine, comprising: a client operating system, comprising: a client driver, be configured in client operating system, in order to send a series of test instruction; And a virtual machine management program, comprise an expansion test module and a virtual hardware device, wherein client driver sequentially transmits test instruction to expanding test module, if expand test module can process test instruction, expands test module and directly produces at least one response message; Otherwise, expands test module and transmit test instruction to virtual hardware device, produce response message by virtual hardware device process test instruction, and response message is sent to client driver via expansion test module.
The present invention provides again a kind of method of carrying out hardware unit test based on virtual machine, its method is useful in one and is configured with in the computer system of a virtual machine, virtual machine comprises a client operating system and a virtual machine management program, client operating system is configured with at least one client driver, virtual machine management program comprises an expansion test module, and method step comprises: make client driver send a series of test instruction and transmit test instruction to expanding test module; Order is expanded test module and is transmitted test instruction to real hardware device or a virtual hardware device; Make real hardware device or virtual hardware device process test instruction to produce at least one response message; And make real hardware device or virtual hardware device transmit response message to client driver via expansion test module.
Accompanying drawing explanation
Fig. 1 the present invention is based on the structural representation that department of computer science that virtual machine carries out hardware unit test unifies embodiment.
Fig. 2 the present invention is based on the structural representation that virtual machine carries out the another embodiment of computer system of hardware unit test.
Fig. 3 the present invention is based on the method flow diagram that virtual machine carries out an embodiment of the hardware testing of hardware unit.
Fig. 4 the present invention is based on the method flow diagram that virtual machine carries out an embodiment of the firmware test of hardware unit.
Fig. 5 the present invention is based on the method flow diagram that virtual machine carries out the another embodiment of hardware unit test.
Embodiment
Refer to Fig. 1, the department of computer science carrying out hardware unit test for the present invention is based on virtual machine unifies the structural representation of embodiment.As shown in Figure 1, the present embodiment computer system 100 comprises a virtual machine 12, and it is configured among a host side operating system 11.Virtual machine 12 comprises a virtual machine management program (Hyper-visor) 13 and a client operating system 15.Virtual machine management program 13 comprises an expansion test module 131, and client operating system 15 is configured with a client driver 151.
In the present embodiment, the expansion test module 131 of virtual machine 12 can connect the real hardware device 20 of an outside via straight-through (hardware pass-through) unit 130 of a hardware.It is one can construction communication is connected between virtual machine 12 with real hardware device 20 software interface that this hardware leads directly to unit 130.In the present invention, real hardware device 20 also can be the surrounding hardware device that accords with PCI, PCI Express, SATA, USB or other interface transmission protocols specifications.
When computer system 100 is for testing for real hardware device 20, client driver 151 sends a series of test instruction 1510, and test instruction 1510 is sent to real hardware device 20 via expansion test module 131.Real hardware device 20 processes test instruction 1510 to produce at least one response message 2000, and transmits response message 2000 to client driver 151 via expansion test module 131.Afterwards, client driver 151 detects response message 2000 and whether can order about real hardware device 20 normal operation to learn.
In further embodiment of this invention, expanding test module 131 can the test instruction 1510 that sends of replication client driver 151, and repeat to transmit test instruction 1510 to real hardware device 20, make these test instructions 1510 of real hardware device 20 re-treatment, verify the fiduciary level of real hardware device 20.
Separately, in further embodiment of this invention, computer system 100 can perform the testing process of debug for real hardware device 20.Add an extra instruction 1511 among the test instruction 1510 that expansion test module 131 can send at client driver 151, this extra instruction 1511 can be the instruction that a false command or does not meet host-host protocol specification; Or, expand test module 131 and set a time delay, expand test module 131 according to time delay to postpone the time that each test instruction 1510 is sent to real hardware device 20.If when real hardware device 20 receives test instruction 1510, correctly can judge that this test instruction 1510 includes false command, do not meet the instruction of host-host protocol specification or has the situation of instruction propagation delay, generation one is labeled with the response message 2000 of firmware mistake, and transmits via expansion test module 131 response message 2000 to the client driver 151 that this is labeled with firmware mistake.Via this response message 2000 being labeled with firmware mistake of detection, client driver 151 can learn that real hardware device 20 can perform correct process for the test instruction 1510 of mistake.Otherwise, if when real hardware device 20 receives test instruction 1510, cannot judge that this test instruction 1510 includes false command, do not meet the instruction of host-host protocol specification or has the situation of instruction propagation delay, still produce a regular response message 2000 with normal procedure, and transmit this regular response message 2000 to client driver 151 via expansion test module 131.Via this regular response message 2000 of detection, client driver 151 can learn that real hardware device 20 cannot perform correct process for the test instruction 1510 of mistake, can revise to make the developer of real hardware device 20 for the hardware of real hardware device 20.
Certainly, in further embodiment of this invention, computer system 100 also can perform the testing process of debug for client driver 151.The response message 2000 that expansion test module 131 can transmit at real hardware device 20 adds an extra information 2001, and this extra information 2001 can be the data that a misdata or does not meet host-host protocol specification; Or, expand test module 131 and set a time delay, expand test module 131 according to time delay to postpone the time that each response message 2000 is sent to client driver 151.If when client driver 151 receives response message 2000, correctly can judge that this response message 2000 includes fault data, do not meet the data of host-host protocol specification or has the situation of message propagation delay, can confirm that the firmware design of client driver 151 is normally errorless.Otherwise, if when client driver 151 receives response message 2000, cannot judge that this response message 2000 includes misdata, do not meet the data of host-host protocol specification or has the situation of message propagation delay, the firmware for client driver 151 is carried out debug by the developer of client driver 151.
At this, computer system 100 of the present invention utilizes virtual machine 12 to test real hardware device 20.If produce abnormal situation when the hardware of real hardware device 20 or firmware driver (such as: client driver 151) test, only can have influence on the running of the client operating system 15 of virtual machine 12, can not cause the host side operating system 11 of computer system 100 when machine or collapse, security when computer system 100 tests hardware or the firmware driver of real hardware device 20 can be guaranteed.In addition, restart can recover normal running as long as be subject to the abnormal and virtual machine 12 that is impact of real hardware device 20 or client driver 151.
Referring to Fig. 2, carrying out the structural representation of the another embodiment of computer system of hardware unit test for the present invention is based on virtual machine.As shown in Figure 2, the virtual machine management program 13 of the virtual machine 12 of the present embodiment computer system 101 will include a virtual hardware device 133.The virtual unit that virtual hardware device 133 is formed for a virtual machine management program 13 simulating realistic hardware unit 20, it accords with the specification of PCI, PCIExpress, SATA or USB transport protocol.Moreover client operating system 15 can manipulate including one the client driver 153 that virtual hardware device 133 operates.
When whether computer system 101 can manipulate virtual hardware device 133 normal operation for test client driver 153, require that client driver 153 sends a series of test instruction 1530, test instruction 1530 is sent to virtual hardware device 133 via expansion test module 131.Virtual hardware device 133 processes test instruction 1530 to produce at least one response message 1330, and transmits response message 1330 to client driver 153 via expansion test module 131.Afterwards, via detection response message 1330, client driver 153 can verify whether the design of its firmware is correct.
Further, computer system 101 can perform the testing process of debug for client driver 153.The response message 1330 that expansion test module 131 can transmit in virtual hardware device 133 adds an extra information 1331, and this extra information 1331 can be the data that a misdata or does not meet host-host protocol specification; Or, expand test module 131 and set a time delay, according to time delay to postpone the time that each response message 1330 is sent to client driver 153.Afterwards, if when client driver 153 receives response message 1330, correctly can judge that this response message 1330 includes fault data, do not meet the data of host-host protocol specification or has the situation of message propagation delay, can confirm that the firmware design of client driver 153 is normally errorless.Otherwise, if when client driver 151 receives response message 1330, cannot judge that response message 1330 includes misdata, do not meet the data of host-host protocol specification or has the situation of message propagation delay, then, the firmware for client driver 153 is carried out debug by the developer of client driver 153.
So, in the present embodiment computer system 101, virtual hardware device 133 is utilized to emulate the operating function of surrounding hardware device (the real hardware device 20 as Fig. 1), then, the surrounding hardware device of an outside need not be connected, can develop for the firmware driver of surrounding hardware device (such as: client driver 153), to promote the convenience of firmware Driver Development and ageing.
Moreover in one embodiment of the invention, the combination that the operating function of surrounding hardware device also can be expanded test module 131 and virtual hardware device 133 emulated.In other words, expand the operating function that test module 131 has the part of surrounding hardware device, and virtual hardware device 133 has remaining operating function of surrounding hardware device.So, when expansion test module 131 is when receiving the test instruction 1530 that client driver 153 sends, if expand test module 131 can process test instruction 1530, direct generation response message 1330 customer in response end driver 153, otherwise, if expand test module 131 cannot process test instruction 1530, test instruction 1530 to virtual hardware device 133 will be transmitted, produce response message 1330 by virtual hardware device 133.
Refer to Fig. 3, carry out the method flow diagram of an embodiment of the hardware testing of hardware unit for the present invention is based on virtual machine, and consult in Fig. 1 simultaneously.When computer system 100 is for testing for the hardware of real hardware device 20, first, perform step S301, client driver 151 sends a series of test instruction 1510, and transmits test instruction 1510 to expansion test module 131.
Then, step S303, expands test module 131 and test instruction 1510 is sent to real hardware device 20.Step S305, real hardware device 20 is after receiving test instruction 1510, and process test instruction 1510 to produce at least one response message 2000, and transmits response message 2000 to expansion test module 131.Afterwards, step S307, expand test module 131 transmit response message 2000 to client driver 151, client driver 151 via detection response message 2000 with learn whether can order about real hardware device 20 normal operation and firmware design whether correct.
In further embodiment of this invention, before execution step S303, still perform a step S302, expansion test module 131 adds a false command or and does not meet the instruction of host-host protocol specification in test instruction 1510, or expansion test module 131 postpones the time that each test instruction 1510 is sent to real hardware device 20.Then, step S305, real hardware device 20, after receiving this test instruction 1510 including false command, do not meet the instruction of host-host protocol specification or have an instruction propagation delay, processes this test instruction 1510, and transmits response message 2000 to expansion test module 131.Afterwards, step S307, expand test module 131 and transmit response message 2000 to client driver 151, then, client driver 151 is via detecting response message 1330 to learn whether real hardware device 20 can perform correct process for the test instruction 1510 of mistake.If via detection response message 2000, client driver 151 learns that real hardware device 20 cannot perform correct process for the test instruction 1510 of mistake, the hardware for real hardware device 20 is revised by the developer of real hardware device 20.
Refer to Fig. 4, carry out the method flow diagram of the another embodiment of the firmware test of hardware unit for the present invention is based on virtual machine, and consult in Fig. 1 simultaneously.When computer system 100 is for testing for the firmware of real hardware device 20, as above-mentioned steps S301 and S303, client driver 151 sends a series of test instruction 1510, and transmits test instruction 1510 to real hardware device 20 via expansion test module 131.Step S305, real hardware device 20 is after receiving test instruction 1510, and process test instruction 1510 to produce at least one response message 2000, and transmits response message 2000 to expansion test module 131.
Then, perform step S306, expansion test module 131 can add a fault data or and not meet the data of host-host protocol specification to response message 2000; Or expand test module 131 and postpone the time that each response message 2000 is sent to client driver 151.Afterwards, step S307, if when client driver 151 receives response message 2000, correctly can judge that this response message 2000 includes fault data, do not meet the data of host-host protocol specification or has the situation of message propagation delay, can confirm that the firmware design of client driver 151 is normally errorless.Otherwise, if when client driver 151 receives response message 2000, cannot judge that this response message 2000 includes misdata, do not meet the data of host-host protocol specification or has the situation of message propagation delay, the firmware for client driver 151 is carried out debug by the developer of client driver 151.
Refer to Fig. 5, carry out the method flow diagram of the another embodiment of hardware unit test for the present invention is based on virtual machine, and consult in Fig. 2 simultaneously.When computer system 100 is for testing for virtual hardware device 133, first, perform step S331, client driver 153 sends a series of test instruction 1530, and transmits test instruction 1530 to expansion test module 131.
Then, step S333, expands test module 131 and test instruction 1530 is sent to virtual hardware device 133.Step S335, virtual hardware device 133 is after receiving test instruction 1530, and process test instruction 1530 to produce at least one response message 1330, and transmits response message 1330 to expansion test module 131.Afterwards, step S337, expand test module 131 transmit response message 1330 to client driver 153, client driver 153 via detection response message 1330 with learn whether can order about virtual hardware device 133 normal operation and firmware design whether correct.
Moreover, before execution step S333, still perform step S332, judge whether expand test module 131 can directly process test instruction 1530.If expand test module 131 can directly process test instruction 1530, then, continue and perform step S3321, expand test module 131 and will produce response message 1330, otherwise, if expand test module 131 cannot process test instruction 1530, then, continue and perform step S333 and S335, expand test module 131 and test instruction 1530 is sent to virtual hardware device 133, produce response message 1330 by virtual hardware device 133.
In further embodiment of this invention, before execution step S337, still perform step S336, expansion test module 131 can add a fault data or and not meet the data of host-host protocol specification to response message 1330; Or expand test module 131 and postpone the time that each response message 1330 is sent to client driver 153.Afterwards, step S337, if when client driver 153 receives response message 1330 from expansion test module 131, correctly can judge that this response message 1330 includes fault data, do not meet the data of host-host protocol specification or has the situation of message propagation delay, can confirm that the firmware design of client driver 153 is normally errorless.Otherwise, if when client driver 153 receives response message 2000, cannot judge that this response message 1330 includes misdata, do not meet the data of host-host protocol specification or has the situation of message propagation delay, the firmware for client driver 153 is carried out debug by the developer of client driver 153.
As described above, be only a preferred embodiment of the present invention, not be used for limiting scope of the invention process, namely all equalizations of doing according to shape, structure, feature and the spirit described in the present patent application the scope of the claims change and modify, and all should be included in claim of the present invention.

Claims (20)

1. carry out the computer system of hardware unit test based on virtual machine, it is characterized in that, comprising:
One virtual machine, comprising:
One client operating system, comprising:
One client driver, is configured in this client operating system, in order to send a series of test instruction; And
One virtual machine management program, comprises an expansion test module; And
One real hardware device, lead directly to unit by a hardware and connect this expansion test module, wherein this client driver sequentially transmits this test instruction to this real hardware device via this expansion test module, and this this test instruction of real hardware device process is to produce at least one response message and to transmit this response message to this client driver via this expansion test module.
2. computer system of carrying out hardware unit test based on virtual machine according to claim 1, is characterized in that, described expansion test module adds the instruction that a false command or does not meet host-host protocol specification in described test instruction.
3. computer system of carrying out hardware unit test based on virtual machine according to claim 1, it is characterized in that, described expansion test module sets a time delay, described expansion test module according to this time delay to postpone the time that test instruction described in each is sent to described real hardware device.
4. computer system of carrying out hardware unit test based on virtual machine according to claim 1, it is characterized in that, when described real hardware device is via processing described test instruction to judge that described test instruction includes a false command, and do not meet the instruction of host-host protocol specification or have the situation of instruction propagation delay, the response message being labeled with firmware mistake will be produced.
5. computer system of carrying out hardware unit test based on virtual machine according to claim 1, is characterized in that, described expansion test module copies described test instruction to repeat to transmit described test instruction to described real hardware device.
6. computer system of carrying out hardware unit test based on virtual machine according to claim 1, is characterized in that, described expansion test module adds the data that a misdata or does not meet host-host protocol specification in described response message.
7. computer system of carrying out hardware unit test based on virtual machine according to claim 1, it is characterized in that, described expansion test module sets a time delay, described expansion test module according to this time delay to postpone the time that response message described in each is sent to described client driver.
8. computer system of carrying out hardware unit test based on virtual machine according to claim 1, is characterized in that, described real hardware device is a surrounding hardware device according with PCI, PCI Express, SATA or USB transport protocol specification.
9. carry out the computer system of hardware unit test based on virtual machine, it is characterized in that, comprising:
One virtual machine, comprising:
One client operating system, comprising:
One client driver, is configured in this client operating system, in order to send a series of test instruction; And
One virtual machine management program, comprise an expansion test module and a virtual hardware device, wherein this client driver sequentially transmits this test instruction to this virtual hardware device via this expansion test module, and this this test instruction of virtual hardware device process is to produce at least one response message and to transmit this response message to this client driver via this expansion test module.
10. computer system of carrying out hardware unit test based on virtual machine according to claim 9, is characterized in that, described expansion test module adds the data that at least one misdata or does not meet host-host protocol specification in described response message.
11. computer systems of carrying out hardware unit test based on virtual machine according to claim 9, it is characterized in that, described expansion test module sets a time delay, described expansion test module according to this time delay to postpone the time that response message described in each is sent to described client driver.
12. computer systems of carrying out hardware unit test based on virtual machine according to claim 9, it is characterized in that, described virtual hardware device is emulated into by described virtual machine management program the device that accords with PCI, PCI Express, SATA or USB transport protocol specification.
13. carry out the computer system of hardware unit test based on virtual machine, it is characterized in that, comprising:
One virtual machine, comprising:
One client operating system, comprising:
One client driver, is configured in this client operating system, in order to send a series of test instruction; And
One virtual machine management program, comprise an expansion test module and a virtual hardware device, wherein this client driver sequentially transmits this test instruction to this expansion test module, if this expansion test module can process this test instruction, this expansion test module directly produces at least one response message; Otherwise this expansion test module transmits this test instruction to this virtual hardware device, produce this response message by this this test instruction of virtual hardware device process, and this response message is sent to this client driver via this expansion test module.
14. carry out the method for hardware unit test based on virtual machine, its method is useful in one and is configured with in the computer system of a virtual machine, it is characterized in that, this virtual machine comprises a client operating system and a virtual machine management program, this client operating system is configured with at least one client driver, this virtual machine management program comprises an expansion test module, and the method step comprises:
Make this client driver send a series of test instruction and transmit this test instruction to this expansion test module;
This expansion test module is made to transmit this test instruction to one real hardware device or a virtual hardware device;
Make this real hardware device or this this test instruction of virtual hardware device process to produce at least one response message; And
This real hardware device or this virtual hardware device is made to transmit this response message to this client driver via this expansion test module.
15. methods of carrying out hardware unit test based on virtual machine according to claim 14, is characterized in that, also comprise a step:
Make described expansion test module in described test instruction, add the instruction that a false command or does not meet host-host protocol specification.
16. methods of carrying out hardware unit test based on virtual machine according to claim 14, is characterized in that, also comprise a step:
Described expansion test module is made to set a time delay with according to the time postponing test instruction described in each this time delay and be sent to described real hardware device.
17. methods of carrying out hardware unit test based on virtual machine according to claim 14, is characterized in that, also comprise a step:
Make described real hardware device judge described test instruction be a mistake, propagation delay or do not meet the instruction of host-host protocol specification time produce the response message being labeled with firmware mistake.
18. methods of carrying out hardware unit test based on virtual machine according to claim 14, is characterized in that, also comprise a step:
Described expansion test module is made to copy described test instruction to repeat to transmit described test instruction to described real hardware device.
19. methods of carrying out hardware unit test based on virtual machine according to claim 14, is characterized in that, also comprise a step:
Make described expansion test module in described response message, add the data that a misdata or does not meet host-host protocol specification.
20. methods of carrying out hardware unit test based on virtual machine according to claim 14, is characterized in that, also comprise a step:
Described expansion test module is made to set a time delay with according to postponing the time that response message described in each is sent to described client driver this time delay.
CN201510214141.8A 2015-04-30 2015-04-30 The computer system and method for hardware device test are carried out based on virtual machine Active CN104834576B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510214141.8A CN104834576B (en) 2015-04-30 2015-04-30 The computer system and method for hardware device test are carried out based on virtual machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510214141.8A CN104834576B (en) 2015-04-30 2015-04-30 The computer system and method for hardware device test are carried out based on virtual machine

Publications (2)

Publication Number Publication Date
CN104834576A true CN104834576A (en) 2015-08-12
CN104834576B CN104834576B (en) 2018-11-23

Family

ID=53812484

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510214141.8A Active CN104834576B (en) 2015-04-30 2015-04-30 The computer system and method for hardware device test are carried out based on virtual machine

Country Status (1)

Country Link
CN (1) CN104834576B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107168819A (en) * 2017-03-31 2017-09-15 北京奇艺世纪科技有限公司 A kind of operating system method for restarting and device
WO2018040664A1 (en) * 2016-08-30 2018-03-08 广州广电运通金融电子股份有限公司 Cross-platform drive test method, device and system
CN109313569A (en) * 2016-06-13 2019-02-05 华为技术有限公司 System and method for virtual hardware control
CN110868321A (en) * 2019-11-14 2020-03-06 成都银河思亩特数字技术有限公司 Fault positioning method and system based on edge calculation algorithm verification
CN111240238A (en) * 2020-01-13 2020-06-05 大唐微电子技术有限公司 Chip control system
CN113485755A (en) * 2021-06-30 2021-10-08 深圳市科力锐科技有限公司 Device driver verification method, device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040148596A1 (en) * 2003-01-09 2004-07-29 Watson Eric Christopher Method of enabling a user to update one or more low-level resources of a computer system in a user-friendly manner
US20040205329A1 (en) * 2000-09-11 2004-10-14 Dell Products L.P. System and method for performing remote BIOS updates
CN101770389A (en) * 2008-12-29 2010-07-07 北京联想软件有限公司 Computer and method for managing hardware device
CN101778016A (en) * 2010-01-01 2010-07-14 江苏华丽网络工程有限公司 Design method of virtual testing system of network device
CN102567203A (en) * 2011-12-28 2012-07-11 创新科软件技术(深圳)有限公司 Method and system for testing performance of distributed file system (DFS)

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040205329A1 (en) * 2000-09-11 2004-10-14 Dell Products L.P. System and method for performing remote BIOS updates
US20040148596A1 (en) * 2003-01-09 2004-07-29 Watson Eric Christopher Method of enabling a user to update one or more low-level resources of a computer system in a user-friendly manner
CN101770389A (en) * 2008-12-29 2010-07-07 北京联想软件有限公司 Computer and method for managing hardware device
CN101778016A (en) * 2010-01-01 2010-07-14 江苏华丽网络工程有限公司 Design method of virtual testing system of network device
CN102567203A (en) * 2011-12-28 2012-07-11 创新科软件技术(深圳)有限公司 Method and system for testing performance of distributed file system (DFS)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109313569A (en) * 2016-06-13 2019-02-05 华为技术有限公司 System and method for virtual hardware control
CN109313569B (en) * 2016-06-13 2020-11-10 华为技术有限公司 System and method for virtual hardware control
WO2018040664A1 (en) * 2016-08-30 2018-03-08 广州广电运通金融电子股份有限公司 Cross-platform drive test method, device and system
CN107168819A (en) * 2017-03-31 2017-09-15 北京奇艺世纪科技有限公司 A kind of operating system method for restarting and device
CN110868321A (en) * 2019-11-14 2020-03-06 成都银河思亩特数字技术有限公司 Fault positioning method and system based on edge calculation algorithm verification
CN111240238A (en) * 2020-01-13 2020-06-05 大唐微电子技术有限公司 Chip control system
CN111240238B (en) * 2020-01-13 2021-05-14 大唐微电子技术有限公司 Chip control system
CN113485755A (en) * 2021-06-30 2021-10-08 深圳市科力锐科技有限公司 Device driver verification method, device and storage medium
CN113485755B (en) * 2021-06-30 2023-08-18 深圳市科力锐科技有限公司 Device driver verification method, device and storage medium

Also Published As

Publication number Publication date
CN104834576B (en) 2018-11-23

Similar Documents

Publication Publication Date Title
CN104834576A (en) Computer system for testing hardware device based on virtual machine and method thereof
TWI598819B (en) Computer system and method for testing hardware device based on virtual machine
US7529653B2 (en) Message packet logging in a distributed simulation system
US20190034318A1 (en) Hardware-Software Co-Verification for Debugging Firmware on a Hardware Simulator
US10795793B1 (en) Method and system for simulating system failures using domain-specific language constructs
US10120785B2 (en) Automatic generation of data coupling and control coupling test conditions
CN104750537A (en) Test case execution method and device
US10890621B2 (en) Systems and methods for testing an embedded controller
CN109885420B (en) PCIe link fault analysis method, BMC and storage medium
CN114780208B (en) Method, system, device and storage medium for verifying backup validity of multi-platform virtual machine
CN114138587B (en) Method, device and equipment for verifying reliability of server power firmware upgrade
JP6580279B2 (en) Test apparatus, test method and test program
CN109408133B (en) Method and equipment for starting assembly
CN106354930B (en) A kind of self-adapting reconstruction method and system of spacecraft
CN116048887A (en) Chip verification method, device, system, electronic equipment and storage medium
KR101415270B1 (en) Network system monitoring application installed on computing device
CN113238953A (en) UI automation test method and device, electronic equipment and storage medium
JP6217086B2 (en) Information processing apparatus, error detection function diagnosis method, and computer program
CN114328045A (en) I2C debugging method, system and device for BMC and computer readable storage medium
JP6333426B1 (en) In-vehicle control device automatic inspection device and in-vehicle control device automatic inspection method
CN112069009A (en) Method and device for pressure test in Recovery mode and terminal equipment
JP2006155047A (en) Verification system and verification method
KR101584717B1 (en) Method and Apparatus for testing software fail processing module mounted on embeded system for aerial Vehicle
US20080141071A1 (en) Pre-Mortem Waveform Trace Generation for Hardware Description Language Simulators
CN110275818B (en) Post-silicon verification method, post-silicon verification device and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20180827

Address after: Commercial centre, Furong Road 802, 802 West Bay Road, Grand Cayman Islands, British Cayman Islands

Applicant after: Jieding Innovation Co.,Ltd.

Address before: Chinese Taiwan New Taipei City

Applicant before: JIEDING INTERNATIONAL CO.,LTD.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: Taiwan, Taipei, China, Nanhai District, 6 East section 465, 10

Patentee after: British Cayman Islands shangjieding Innovation Co.,Ltd.

Address before: Commercial centre, Furong Road 802, 802 West Bay Road, Grand Cayman Islands, British Cayman Islands

Patentee before: Jieding Innovation Co.,Ltd.

CP03 Change of name, title or address
TR01 Transfer of patent right

Effective date of registration: 20200513

Address after: No. 5, 237, 1 Datong Road, Taiwan, Xinbei City, Xinbei City, China

Patentee after: INNODISK Corp.

Address before: Taiwan, Taipei, China, Nanhai District, 6 East section 465, 10

Patentee before: British Cayman Islands shangjieding Innovation Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200611

Address after: 04-95, Fanglin building, 531a, upper section of Klaus street, Singapore

Patentee after: Jieding Singapore Pte. Ltd.

Address before: No. 5, 237, 1 Datong Road, Taiwan, Xinbei City, Xinbei City, China

Patentee before: INNODISK Corp.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200813

Address after: Building C, No. 888, Huanhu West 2nd Road, Lingang New Area, Pudong New Area (Shanghai) pilot Free Trade Zone

Patentee after: Shanghai Chuanyuan Information Technology Co.,Ltd.

Address before: 04-95, Fanglin building, 531a, upper section of Klaus street, Singapore

Patentee before: Jieding Singapore Pte. Ltd.

TR01 Transfer of patent right