CN106339323A - Upgrade and degradation test method, extensible firmware interface and system - Google Patents
Upgrade and degradation test method, extensible firmware interface and system Download PDFInfo
- Publication number
- CN106339323A CN106339323A CN201610971407.8A CN201610971407A CN106339323A CN 106339323 A CN106339323 A CN 106339323A CN 201610971407 A CN201610971407 A CN 201610971407A CN 106339323 A CN106339323 A CN 106339323A
- Authority
- CN
- China
- Prior art keywords
- outside
- demotion
- sane level
- test target
- test
- 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
- 238000010998 test method Methods 0.000 title claims abstract description 12
- 230000015556 catabolic process Effects 0.000 title abstract description 10
- 238000006731 degradation reaction Methods 0.000 title abstract description 10
- 238000012360 testing method Methods 0.000 claims abstract description 142
- 238000000034 method Methods 0.000 claims description 30
- 108010001267 Protein Subunits Proteins 0.000 claims description 10
- 238000005096 rolling process Methods 0.000 claims description 10
- 230000008569 process Effects 0.000 description 16
- 238000005516 engineering process Methods 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 125000004122 cyclic group Chemical group 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
- Stored Programmes (AREA)
Abstract
The invention provides an upgrade and degradation test method, an extensible firmware interface and a system. A test target is determined according to a test request when the test request is received by constructing an association relationship with an external upgrade device, an external peer update device, and an external degradation device. The external upgrade device, the external peer update device and the external degradation device are controlled according to the correlation relationship to perform a upgrade and degradation test on the test target. The scheme provided by the present invention achieves automation of the upgrade and degradation test.
Description
Technical field
The present invention relates to field of computer technology, particularly to a kind of promotion and demotion method of testing, Extensible Firmware Interface and
System.
Background technology
It is often necessary to promotion and demotion test is carried out to operating system such as bios system etc. during operating system uses, with
Ensure the normal operation of operating system.
The mode of the test of operating system promotion and demotion at present is mainly by being manually inputted into various orders, to complete to test
Operation.Such as: promotion and demotion test is carried out to bios, then firstly the need of manual input commands, to control bios upgrading to update, when
After the completion of bios upgrading updates, then need manual operation again, the bios after updating is carried out sane level renewal, complete when sane level updates
Afterwards in addition it is also necessary to manual operation, the bios after sane level is updated is degraded, and the bios after degradation also needs to manual operation and again rises
Level just can complete to test, and whole process is required to artificial participation, and can not be automatically performed.
Content of the invention
Embodiments provide a kind of promotion and demotion method of testing, Extensible Firmware Interface and system it is achieved that lifting
The automatization of level test.
A kind of promotion and demotion method of testing, builds the fall with outside update device, outside sane level updating device and outside
Incidence relation between stage arrangement, also includes:
When receiving test request, according to described test request, determine test target;
According to described incidence relation, control the update device of described outside, the sane level updating device of described outside and described
Outside demotion apparatus carry out promotion and demotion test to described test target.
Preferably, described build with the demotion apparatus of outside update device, outside sane level updating device and outside it
Between incidence relation, comprising:
Build and call with the control of the demotion apparatus of outside update device, outside sane level updating device and outside respectively
Relation;
Build the update device of described outside, the sane level updating device of described outside and described outside demotion apparatus suitable
Sort run relation.
Preferably, described according to described incidence relation, control the update device of described outside, the sane level of described outside to update
The demotion apparatus of device and described outside carry out promotion and demotion test to described test target, comprising:
According to described order operational relation, by described control call relation, the update device of outside described in sequential control
Described test target is upgraded, controls the sane level updating device of described outside that the described test target after upgrading is put down
Level updates, and controls the demotion apparatus of described outside that the described test target after sane level renewal is degraded.
Preferably, said method further includes: setting enumerator, and to arrange counter initial value be zero;
After the described update device controlling described outside is upgraded to described test target, further include:
Judging whether upgrading is successful, if it is, controlling described enumerator to add one, and executing the described outside of described control
Sane level updating device carries out sane level renewal to the described test target after upgrading;Otherwise, the daily record refreshing failure is imported file
In.
Preferably, in the described sane level updating device controlling described outside, sane level is carried out to the described test target after upgrading
Update, further include:
Judge whether described rolling counters forward is equal to one, if it is, the described demotion apparatus controlling described outside of execution
Described test target after sane level is updated degrades, and controls described enumerator to add one;Otherwise, described counter counts are judged
Whether number is not less than four, if it is, determining that promotion and demotion are successfully tested;Otherwise, re-execute the described liter controlling described outside
Stage arrangement is upgraded to described test target.
A kind of Extensible Firmware Interface, the fall with outside update device, outside sane level updating device and outside respectively
Stage arrangement has incidence relation, comprising: determining unit and test cell, wherein,
Described determining unit, for when receiving test request, according to described test request, determining test target;
Described test cell, for according to described incidence relation, controlling the update device of described outside, the flat of described outside
The demotion apparatus of level updating device and described outside carry out promotion and demotion test to the test target that described determining unit is determined.
Preferably, described test cell, is used for:
The test target that outside update device described in sequential control determines to described determining unit is upgraded, and controls institute
The sane level updating device stating outside carries out sane level renewal to the described test target after upgrading, controls the demotion apparatus of described outside
Described test target after sane level is updated degrades.
Preferably, Extensible Firmware Interface, further includes: enumerator, wherein,
Described test cell, comprising: the first judgment sub-unit and the first control subelement;
Described first judgment sub-unit, whether successful for judging upgrading, if it is, controlling described enumerator to add one,
And trigger described first control subelement;
Described first control subelement, for controlling the sane level updating device of described outside to the described test mesh after upgrading
Mark carries out sane level renewal.
Preferably, described test cell, further includes: the second judgment sub-unit, the second control subelement and the 3rd
Judgment sub-unit, wherein,
Described second judgment sub-unit, for judging that whether described rolling counters forward be equal to 1, if it is, triggering described the
Two control subelements, and control described enumerator to add one;Otherwise, trigger described 3rd judgment sub-unit;
Described second control subelement, for controlling the demotion apparatus of described outside to the described test mesh after sane level renewal
Mark is degraded;
Described 3rd judgment sub-unit, for judging whether described rolling counters forward is not less than 4, rises if it is, determining
Degradation is successfully tested.
A kind of promotion and demotion test system, comprising: any of the above-described described Extensible Firmware Interface, update device, sane level are more
New equipment and demotion apparatus, wherein,
Described update device, for receiving the control of described Extensible Firmware Interface, upgrades to test target;
Described sane level updating device, for receiving the control of described Extensible Firmware Interface, upgrades to described update device
Test target afterwards carries out sane level renewal;
Described demotion apparatus, for receiving the control of described Extensible Firmware Interface, to described sane level updating device sane level
Test target after renewal is degraded.
Embodiments provide a kind of promotion and demotion method of testing, Extensible Firmware Interface and system, by build with
Incidence relation between outside update device, outside sane level updating device and the demotion apparatus of outside, when receiving test
During request, according to described test request, determine test target;According to described incidence relation, control described outside update device,
The demotion apparatus of the sane level updating device of described outside and described outside carry out promotion and demotion test to described test target, whole survey
Examination process need not be artificial participation it is achieved that promotion and demotion test automatization.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
Have technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description are the present invention
Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis
These accompanying drawings obtain other accompanying drawings.
Fig. 1 is a kind of flow chart of promotion and demotion method of testing that one embodiment of the invention provides;
Fig. 2 is a kind of flow chart of promotion and demotion method of testing that another embodiment of the present invention provides;
Fig. 3 is a kind of structural representation of Extensible Firmware Interface that one embodiment of the invention provides;
Fig. 4 is a kind of structural representation of Extensible Firmware Interface that another embodiment of the present invention provides;
Fig. 5 is a kind of structural representation of Extensible Firmware Interface that further embodiment of this invention provides;
Fig. 6 is a kind of structural representation of promotion and demotion test system that one embodiment of the invention provides.
Specific embodiment
Purpose, technical scheme and advantage for making the embodiment of the present invention are clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described it is clear that described embodiment is
The a part of embodiment of the present invention, rather than whole embodiments, based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment being obtained on the premise of not making creative work, broadly falls into the scope of protection of the invention.
As shown in figure 1, embodiments providing a kind of promotion and demotion method of testing, the method can include following walking
Rapid:
Step 101: between the update device of structure and outside, outside sane level updating device and the demotion apparatus of outside
Incidence relation;
Step 102: when receiving test request, according to described test request, determine test target;
Step 103: according to described incidence relation, control update device, the sane level more new clothes of described outside of described outside
Put and the demotion apparatus of described outside carry out promotion and demotion test to described test target.
In the embodiment shown in fig. 1, by building and outside update device, outside sane level updating device and outside
Demotion apparatus between incidence relation, when receiving test request, according to described test request, determine test target;Root
According to described incidence relation, control the degradation of the update device, the sane level updating device of described outside and described outside of described outside
Device carries out promotion and demotion test to described test target, and the participation that whole test process need not be artificial is it is achieved that promotion and demotion are tested
Automatization.
In an embodiment of the invention, the process in order to be updated by upgrading, sane level and degrade realizes automatization's lifting
Level test, the specific embodiment of step 101, comprising: build the sane level updating device respectively with outside update device, outside
And the control call relation of the demotion apparatus of outside;Build the update device of described outside, the sane level updating device of described outside
And the order operational relation of the demotion apparatus of described outside.
In an embodiment of the invention, control testing sequence in order to preferable, being embodied as of above-mentioned steps 103
Mode, comprising: according to described order operational relation, by described control call relation, outside upgrading described in sequential control fills
Put and described test target is upgraded, control the sane level updating device of described outside that the described test target after upgrading is carried out
Sane level updates, and controls the demotion apparatus of described outside that the described test target after sane level renewal is degraded.
In an embodiment of the invention, in order to avoid test process enters into Infinite Cyclic, said method wraps further
Include: setting enumerator, and to arrange counter initial value be zero;In the described update device controlling described outside to described test mesh
After mark is upgraded, further include: judging whether upgrading is successful, if it is, controlling described enumerator to add one, and executing
The described sane level updating device controlling described outside carries out sane level renewal to the described test target after upgrading;Otherwise, will refresh
The daily record of failure imports in file.
In an embodiment of the invention, in order to avoid test process enters into Infinite Cyclic, control outside described described
The sane level updating device in portion carries out sane level renewal to the described test target after upgrading, further includes: judge described enumerator
Count and whether be equal to one, if it is, the described demotion apparatus controlling described outside of execution are to the described test after sane level renewal
Target is degraded, and controls described enumerator to add one;Otherwise, judge whether described rolling counters forward is not less than four, if it is,
Then determine that promotion and demotion are successfully tested;Otherwise, re-execute the described update device controlling described outside described test target is entered
Row upgrading.
As shown in Fig. 2 embodiments providing a kind of promotion and demotion method of testing, the method can include following walking
Rapid:
Step 200: setting enumerator, and to arrange counter initial value be zero;
The embodiment of the present invention is passed through to build startup.nsh file, and builds as got a foothold in startup.nsh file
This:
@echo-off
fs0:
vol fs0-n svdbiostest
date××/××/××××
time××:××:××
timezone-s××:××
echo>log\start.log
script\fwupdate.nsh
Step 201: build respectively with the demotion apparatus of outside update device, outside sane level updating device and outside
Control call relation;
Step 202: build the degradation of the update device, the sane level updating device of described outside and described outside of described outside
The order operational relation of device;
Step 203: according to described order operational relation, by described control call relation, outside described in sequential control
Update device is upgraded to described test target;
, launch to illustrate realizing process and can realizing by following script of this step taking the bios that upgrades as a example:
@echo-off
@echo fwupdate test
@echo fwupdate test>log\fwupdate.log
@echo"">>log\fwupdate.log
@echo"@echo-off">stratup.nsh
@echo"fs0:">>startup.nsh
@echo"script\fwdegrade.nsh">>startup.nsh
@echo"fs0:\>afuefix64.efi script\new.bin/p/b/x/k/l">>fs0:\log\
fwupdate.log
fs0:
afuefix64.efi script\new.bin/p/b/x/k/l
@echo"fs0:\>reset">>fs0:\log\reboottest.log
reset
goto done
script\fwdegrade.nsh 0
:done.
Step 204: judge whether upgrading is successful, if it is, execution step 205;Otherwise, execution step 206;
Step 205: control described enumerator to add one, the sane level updating device controlling described outside is to the described survey after upgrading
Examination target carries out sane level renewal, and execution step 207;
This step to realize the script of process similar with the script realizing in above-mentioned steps 203 upgrading, will not be described here.
Step 206: the daily record refreshing failure is imported in file, and terminates current process;
Step 207: judge whether described rolling counters forward is equal to one, if it is, execution step 208;Otherwise, execute step
Rapid 209;
Step 208: control the demotion apparatus of described outside that the described test target after sane level renewal is degraded, and control
Make described enumerator and add one;
Step 209: judge whether described rolling counters forward is not less than four, if it is, execution step 210;Otherwise, execute
Step 203;
Step 210: determine that promotion and demotion are successfully tested, the daily record for upgrading successfully generates journal file, and recovers enumerator
To initial value.
As shown in figure 3, the embodiment of the present invention provides a kind of Extensible Firmware Interface, respectively with outside update device, outer
The demotion apparatus of the sane level updating device in portion and outside have incidence relation, comprising: determining unit 301 and test cell 302, its
In,
Described determining unit 301, for when receiving test request, according to described test request, determining test target;
Described test cell 302, for according to described incidence relation, controlling the update device of described outside, described outside
Sane level updating device and the demotion apparatus test target that described determining unit 301 is determined of described outside carry out promotion and demotion
Test.
In an alternative embodiment of the invention, described test cell 302, for outside update device pair described in sequential control
The test target that described determining unit determines is upgraded, and the sane level updating device controlling described outside is to the described survey after upgrading
Examination target carries out sane level renewal, controls the demotion apparatus of described outside that the described test target after sane level renewal is degraded.
As shown in figure 4, in still another embodiment of the process, above-mentioned Extensible Firmware Interface, further includes: enumerator
401, wherein,
Described test cell 302, comprising: the first judgment sub-unit 3021 and the first control subelement 3022;
Whether described first judgment sub-unit 3021 is successful for judging upgrading, if it is, controlling described enumerator
401 Jia one, and trigger described first control subelement 3022;
Described first control subelement 3022, for controlling the sane level updating device of described outside to described true after upgrading
The test target of order unit 301 determination carries out sane level renewal.
As shown in figure 5, in another embodiment of the present invention, described test cell 302, further include: second judges that son is single
Unit 3023, second controls subelement 3024 and the 3rd judgment sub-unit 3025, wherein,
Whether described second judgment sub-unit 3023, be equal to 1 for judging that described enumerator 401 counts, if it is, triggering
Described second control subelement 3024, and control described enumerator 401 Jia one;Otherwise, trigger described 3rd judgment sub-unit
3025;
Described second control subelement 3024, for controlling the demotion apparatus of described outside to the described survey after sane level renewal
Examination target is degraded;
Whether described 3rd judgment sub-unit 3025, be not less than 4 for judging that described enumerator 401 counts, if it is,
Determine that promotion and demotion are successfully tested.
As shown in fig. 6, the embodiment of the present invention provides a kind of promotion and demotion test system, comprising: what above-described embodiment referred to appoints
Extensible Firmware Interface 601 described in one, update device 602, sane level updating device 603 and demotion apparatus 604, wherein,
Described update device 602, for receiving the control of described Extensible Firmware Interface 601, rises to test target
Level;
Described sane level updating device 603, for receiving the control of described Extensible Firmware Interface 601, to described upgrading dress
Put the test target after 602 upgradings and carry out sane level renewal;
Described demotion apparatus 604, for receiving the control of described Extensible Firmware Interface 601, to described sane level more new clothes
Put the test target after 603 sane levels update to be degraded.
Present invention also offers a kind of computer-readable storage medium, store and be used for making a machine execute program as described herein
The instruction of the checking method of code.Specifically it is provided that being furnished with system or the device of storage medium, on the storage medium
Store the software program code realizing the function of any embodiment in above-described embodiment, and make this system or the calculating of device
Machine (or cpu or mpu) reads and executes the program code being stored in storage medium.
In this case, can achieve that above-described embodiment, any one is real from the program code itself that storage medium reads
The storage medium applying the function of example, therefore program code and store program codes constitutes the part of the present invention.
Storage medium embodiment for providing program code include floppy disk, hard disk, magneto-optic disk, CD (as cd-rom,
Cd-r, cd-rw, dvd-rom, dvd-ram, dvd-rw, dvd+rw), tape, Nonvolatile memory card and rom.Selectively,
Can by communication network from server computer download program code.
Further, it should be apparent that, not only by the program code read-out by execution computer, and can pass through
Make operating system of calculating hands- operation etc. complete partly or completely practical operation based on the instruction of program code, thus
Realize the function of any one embodiment in above-described embodiment.
Further, it is to be appreciated that the program code being read by storage medium is write the expansion board in insertion computer
In in set memorizer or write in the memorizer of setting in the expanding element being connected with computer, be subsequently based on journey
The instruction of sequence code makes cpu being arranged on expansion board or expanding element etc. come executable portion and whole practical operation, thus
Realize the function of any embodiment in above-described embodiment.
According to such scheme, various embodiments of the present invention, at least have the advantages that
1. pass through the pass between structure and update device, outside sane level updating device and the demotion apparatus of outside of outside
Connection relation, when receiving test request, according to described test request, determines test target;According to described incidence relation, control
The demotion apparatus of the update device of described outside, the sane level updating device of described outside and described outside enter to described test target
Row promotion and demotion test, the participation that whole test process need not be artificial it is achieved that promotion and demotion test automatization.
2. due to passing through Extensible Firmware Interface sequential control update device, sane level more new clothes in whole test process completely
Put and demotion apparatus carry out upgrading, sane level updates and degrade to complete promotion and demotion test, the time of whole test is entirely upgrading
Time, sane level update time and the time lock control that degrades, thus being effectively improved testing efficiency, because whole process does not need
The participation of people is it is ensured that testing reliability.
It should be noted that herein, such as first and second etc relational terms are used merely to an entity
Or operation is made a distinction with another entity or operation, and not necessarily requires or imply exist between these entities or operation
Any this actual relation or order.And, term " inclusion ", "comprising" or its any other variant are intended to non-
The comprising of exclusiveness, so that including a series of process of key elements, method, article or equipment not only include those key elements,
But also include other key elements being not expressly set out, or also include being consolidated by this process, method, article or equipment
Some key elements.In the absence of more restrictions, the key element being limited by sentence " including a 〃 ", does not arrange
Remove and also there is other same factor in the process including described key element, method, article or equipment.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can be passed through
Completing, aforesaid program can be stored in the storage medium of embodied on computer readable the related hardware of programmed instruction, this program
Upon execution, execute the step including said method embodiment;And aforesaid storage medium includes: rom, ram, magnetic disc or light
Disk etc. is various can be with the medium of store program codes.
Finally it should be understood that the foregoing is only presently preferred embodiments of the present invention, it is merely to illustrate the skill of the present invention
Art scheme, is not intended to limit protection scope of the present invention.All any modifications made within the spirit and principles in the present invention,
Equivalent, improvement etc., are all contained in protection scope of the present invention.
Claims (10)
1. a kind of promotion and demotion method of testing it is characterised in that build with outside update device, outside sane level updating device and
Incidence relation between outside demotion apparatus, also includes:
When receiving test request, according to described test request, determine test target;
According to described incidence relation, control update device, the sane level updating device of described outside and the described outside of described outside
Demotion apparatus promotion and demotion test is carried out to described test target.
2. method according to claim 1 is it is characterised in that described structure and outside update device, outside sane level
Incidence relation between updating device and the demotion apparatus of outside, comprising:
Build and call pass with the control of the demotion apparatus of outside update device, outside sane level updating device and outside respectively
System;
Build the order fortune of the demotion apparatus of the update device of described outside, the sane level updating device of described outside and described outside
Row relation.
3. method according to claim 2 it is characterised in that described according to described incidence relation, control described outside
The demotion apparatus of update device, the sane level updating device of described outside and described outside carry out promotion and demotion survey to described test target
Examination, comprising:
According to described order operational relation, by described control call relation, described in sequential control, the update device of outside is to institute
State test target to be upgraded, control the sane level updating device of described outside to carry out sane level more to the described test target after upgrading
Newly, the demotion apparatus controlling described outside degrade to the described test target after sane level renewal.
4. method according to claim 3 is it is characterised in that further include: setting enumerator, and arranges at the beginning of enumerator
Initial value is zero;
After the described update device controlling described outside is upgraded to described test target, further include:
Judging whether upgrading is successful, if it is, controlling described enumerator to add one, and executing the described sane level controlling described outside
Updating device carries out sane level renewal to the described test target after upgrading;Otherwise, the daily record refreshing failure is imported in file.
5. method according to claim 4 is it is characterised in that the sane level updating device in the described outside of described control is to liter
Described test target after level carries out sane level renewal, further includes:
Judge whether described rolling counters forward is equal to one, if it is, the described demotion apparatus controlling described outside of execution are to flat
Described test target after level updates is degraded, and controls described enumerator to add one;Otherwise, judge that described rolling counters forward is
No be not less than four, if it is, determine promotion and demotion be successfully tested;Otherwise, re-execute the described upgrading dress controlling described outside
Put and described test target is upgraded.
6. a kind of Extensible Firmware Interface it is characterised in that respectively with outside update device, outside sane level updating device and
Outside demotion apparatus have incidence relation, comprising: determining unit and test cell, wherein,
Described determining unit, for when receiving test request, according to described test request, determining test target;
Described test cell, for according to described incidence relation, the update device of the described outside of control, the sane level of described outside are more
The demotion apparatus of new equipment and described outside carry out promotion and demotion test to the test target that described determining unit is determined.
7. Extensible Firmware Interface according to claim 6, it is characterised in that described test cell, is used for:
The test target that outside update device described in sequential control determines to described determining unit is upgraded, and controls described outer
The sane level updating device in portion carries out sane level renewal to the described test target after upgrading, and the demotion apparatus controlling described outside are to flat
Described test target after level updates is degraded.
8. Extensible Firmware Interface according to claim 7 is it is characterised in that further include: enumerator, wherein,
Described test cell, comprising: the first judgment sub-unit and the first control subelement;
Described first judgment sub-unit, whether successful for judging upgrading, if it is, controlling described enumerator to add one, and touch
Send out described first control subelement;
Described first control subelement, the sane level updating device for controlling described outside enters to the described test target after upgrading
Row sane level updates.
9. Extensible Firmware Interface according to claim 8, it is characterised in that described test cell, further includes: the
Two judgment sub-unit, the second control subelement and the 3rd judgment sub-unit, wherein,
Described second judgment sub-unit, for judging whether described rolling counters forward is equal to 1, if it is, described second control of triggering
Subunit, and control described enumerator to add one;Otherwise, trigger described 3rd judgment sub-unit;
Described second control subelement, the demotion apparatus for controlling described outside enter to the described test target after sane level renewal
Row degrades;
Described 3rd judgment sub-unit, for judging whether described rolling counters forward is not less than 4, if it is, determine promotion and demotion
It is successfully tested.
10. a kind of promotion and demotion test system is it is characterised in that include: the arbitrary described extended firmware of claim 6 to 9 connects
Mouth, update device, sane level updating device and demotion apparatus, wherein,
Described update device, for receiving the control of described Extensible Firmware Interface, upgrades to test target;
Described sane level updating device, for receiving the control of described Extensible Firmware Interface, after the upgrading of described update device
Test target carries out sane level renewal;
Described demotion apparatus, for receiving the control of described Extensible Firmware Interface, update to described sane level updating device sane level
Test target afterwards is degraded.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610971407.8A CN106339323A (en) | 2016-11-01 | 2016-11-01 | Upgrade and degradation test method, extensible firmware interface and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610971407.8A CN106339323A (en) | 2016-11-01 | 2016-11-01 | Upgrade and degradation test method, extensible firmware interface and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106339323A true CN106339323A (en) | 2017-01-18 |
Family
ID=57841694
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610971407.8A Pending CN106339323A (en) | 2016-11-01 | 2016-11-01 | Upgrade and degradation test method, extensible firmware interface and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106339323A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105260307A (en) * | 2015-10-21 | 2016-01-20 | 浪潮电子信息产业股份有限公司 | BMC upgrading method and apparatus |
CN105335263A (en) * | 2015-11-10 | 2016-02-17 | 浪潮电子信息产业股份有限公司 | RMC out-of-band upgrading and downgrading automatic test method based on LINUX platform |
CN105335265A (en) * | 2015-12-10 | 2016-02-17 | 浪潮电子信息产业股份有限公司 | LINUX platform-based BMC upgrading and downgrading automatic testing method |
CN106021054A (en) * | 2016-05-19 | 2016-10-12 | 浪潮电子信息产业股份有限公司 | Method and apparatus for testing upgrading and downgrading stability of BMC |
CN106055437A (en) * | 2016-05-23 | 2016-10-26 | 浪潮电子信息产业股份有限公司 | BIOS automatic upgrading and downgrading test method based on windows |
-
2016
- 2016-11-01 CN CN201610971407.8A patent/CN106339323A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105260307A (en) * | 2015-10-21 | 2016-01-20 | 浪潮电子信息产业股份有限公司 | BMC upgrading method and apparatus |
CN105335263A (en) * | 2015-11-10 | 2016-02-17 | 浪潮电子信息产业股份有限公司 | RMC out-of-band upgrading and downgrading automatic test method based on LINUX platform |
CN105335265A (en) * | 2015-12-10 | 2016-02-17 | 浪潮电子信息产业股份有限公司 | LINUX platform-based BMC upgrading and downgrading automatic testing method |
CN106021054A (en) * | 2016-05-19 | 2016-10-12 | 浪潮电子信息产业股份有限公司 | Method and apparatus for testing upgrading and downgrading stability of BMC |
CN106055437A (en) * | 2016-05-23 | 2016-10-26 | 浪潮电子信息产业股份有限公司 | BIOS automatic upgrading and downgrading test method based on windows |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9940225B2 (en) | Automated error checking system for a software application and method therefor | |
CN110765026B (en) | Automatic test method, device, storage medium and equipment | |
CN102736978B (en) | A kind of method and device detecting the installment state of application program | |
CN105912474B (en) | A kind of game on-line debugging method, system and editing service end | |
CN111274154A (en) | Automatic testing method, device, equipment and storage medium | |
CN112732587B (en) | Automatic test log acquisition method and device, electronic equipment and storage medium | |
CN108108193A (en) | A kind of easy-to-use firmware upgrade method of safety and system | |
CN115017040A (en) | Test case screening method and system, electronic equipment and storage medium | |
CN113626326B (en) | Dragging type zero code front end automatic test system based on image recognition | |
CN107608663A (en) | A kind of development approach and device of Mobile solution plug-in unit and Mobile solution | |
CN114281367A (en) | Big data platform deployment method and system for trust and creation environment | |
CN116431193A (en) | Program patch package packaging method and device, storage medium and electronic equipment | |
CN110795304B (en) | Method and device for testing performance of distributed storage system | |
CN112947957A (en) | Method, system and medium for upgrading hard disk firmware and collecting information | |
CN102799494B (en) | A kind of method and apparatus verifying application program in internal memory | |
CN111324365A (en) | Method and equipment for upgrading super-converged system | |
CN105278993B (en) | A kind of drive module upgrade method and device based on linux system | |
CN106339323A (en) | Upgrade and degradation test method, extensible firmware interface and system | |
CN115080076B (en) | Cloud mobile phone software management method | |
CN113778771B (en) | Terminal testing method, system and storage medium | |
CN110569153A (en) | method and system for testing refresh stability of nvme hard disk firmware | |
CN117407312A (en) | Application testing method, device, computer equipment and storage medium | |
CN113590225B (en) | Mapping detection method and device, electronic equipment and storage medium | |
CN113656291B (en) | Dynamic calling method for software script engine | |
CN106648797A (en) | Method and system for installing test software, test server and shared server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170118 |
|
WD01 | Invention patent application deemed withdrawn after publication |