CN106886440A - The version updating method of testing and device of a kind of BMC - Google Patents
The version updating method of testing and device of a kind of BMC Download PDFInfo
- Publication number
- CN106886440A CN106886440A CN201710104431.6A CN201710104431A CN106886440A CN 106886440 A CN106886440 A CN 106886440A CN 201710104431 A CN201710104431 A CN 201710104431A CN 106886440 A CN106886440 A CN 106886440A
- Authority
- CN
- China
- Prior art keywords
- management controller
- baseboard management
- controller bmc
- bmc
- refreshing
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention provides the version updating method of testing and device of a kind of BMC,The version updating parameter and version updating file of baseboard management controller BMC are set on the test platform set up in advance,Version updating file is sent by baseboard management controller BMC corresponding with version updating parameter,And obtain the refreshing progress value of baseboard management controller BMC,Reach the purpose that real-time monitoring baseboard management controller BMC refreshes progress,Judge its refresh progress value reach target progress value,And baseboard management controller BMC be in normal operating condition when,Generate and show Flushing success result,It can be seen that,Send whether version updating file completes to update come inspection substrate Management Controller BMC from trend baseboard management controller BMC based on test platform,Both the automaticity of the version updating test of baseboard management controller BMC had been improve,Save manual testing's operation and intervention time,The version updating efficiency of BMC is lifted again.
Description
Technical field
It is to be related to a kind of version updating test side of BMC in particular the present invention relates to computer software testing field
Method and device.
Background technology
Baseboard management controller (Baseboard Management Controller, BMC) is IPMI
The part of (Intelligent Platform Management Interface, IPMI), may be mounted on server,
Automatic monitoring and the health status of management system.Because the version of BMC firmwares makes rapid progress, it is therefore desirable to often to BMC versions
It is updated, to reach the purpose of preferably monitoring and management system health status.
At present, BMC can be updated by web page, but needs artificially to have gone manually based on the process that web updates BMC
Into version updating operation, specifically include:It is artificial to send version updating file to baseboard management controller BMC, and real-time detection should
Whether the refreshing progress of baseboard management controller BMC, detection baseboard management controller BMC is also needed to after the completion of refreshing and can
Normally run after version updating, to ensure the version updating success of baseboard management controller BMC, BMC is updated so as to increased
Human resources consumption and time cost during version, reduce the version updating efficiency of BMC.
The content of the invention
In view of this, the invention provides the version updating method of testing and device of a kind of BMC, manpower is saved, and then
Improve the version updating efficiency of BMC.
To achieve the above object, the present invention provides following technical scheme:
A kind of version updating method of testing of BMC, pre-builds test platform, and set version on the test platform
Undated parameter and version updating file, including:
The version updating file is sent to baseboard management controller BMC corresponding with the version updating parameter;
Obtain the refreshing progress value of the baseboard management controller BMC;
Judge whether the refreshing progress value of the baseboard management controller BMC reaches target progress value;
If the refreshing progress value of the baseboard management controller BMC reaches the target progress value, the substrate pipe is judged
Whether reason controller BMC normally runs;
If the baseboard management controller BMC normally runs, Flushing success result is generated and shown.
Preferably, after the refreshing progress value for obtaining the baseboard management controller BMC, also include:
Record the duration of the refreshing progress value of the baseboard management controller BMC;
Judge the duration of refreshing progress value of the baseboard management controller BMC whether less than or equal to Preset Time
Value;
If the duration of the refreshing progress value of the baseboard management controller BMC is less than or equal to the Preset Time
Value, performs whether the refreshing progress value for judging the baseboard management controller BMC reaches target progress value.
Preferably, the duration for refreshing progress value of the baseboard management controller BMC is being judged more than described pre-
If after time value, also including:
The record duration judges number of times;
Judge that the duration judges whether number of times is equal to object judgement number of times;
If the duration judges number of times less than the object judgement number of times, return is described to record the substrate management control
The duration of the refreshing progress value of device BMC processed;
If the duration judges that number of times is equal to the object judgement number of times, refreshing failure result is generated and shown.
Preferably, it is described to judge whether the baseboard management controller BMC normally runs, including:
Judge whether to receive the normal operating instruction that the baseboard management controller BMC sends;
Accordingly, if the baseboard management controller BMC normally runs, Flushing success result is generated and is shown, have
Body is:If receiving the normal operating instruction that the baseboard management controller BMC sends, Flushing success result is generated and shown.
Preferably, after the normal operating instruction that the baseboard management controller BMC sends is received, also include:
Judge whether the version updating parameter is abnormal;
Accordingly, if the baseboard management controller BMC normally runs, Flushing success result is generated and is shown, have
Body is:If the normal operating instruction that the baseboard management controller BMC sends is received, and the version updating parameter is normal,
Generate and show Flushing success result.
Preferably, after judging not receiving the normal operating instruction that the baseboard management controller BMC sends, also wrap
Include:
Generate and show refreshing failure result.
Preferably, after the generation and showing Flushing success result, also include:
Record the refreshing frequency of the baseboard management controller BMC;
Judge whether the refreshing frequency of the baseboard management controller BMC is equal to target refresh number of times;
If the refreshing frequency of the baseboard management controller BMC be less than the target refresh number of times, return it is described to institute
State the corresponding baseboard management controller BMC of version updating parameter and send the version updating file;
If the refreshing frequency of the baseboard management controller BMC is equal to the target refresh number of times, generate and show current
As a result, as Flushing success result.
A kind of version updating test device of BMC, including:
Module is set up, for setting up test platform;
Setup module, for setting version updating parameter and version updating file on the test platform;
Sending module, for sending the version to baseboard management controller BMC corresponding with the version updating parameter
More new file;
Acquisition module, the refreshing progress value for obtaining the baseboard management controller BMC;
First judge module, whether the refreshing progress value for judging the baseboard management controller BMC reaches target is entered
Angle value;
Second judge module, for reaching the target progress in the refreshing progress value of the baseboard management controller BMC
During value, judge whether the baseboard management controller BMC normally runs;
First display module, for when the baseboard management controller BMC normally runs, generating and showing Flushing success
As a result.
Preferably, described device also includes:
First logging modle, the refreshing progress value for obtaining the baseboard management controller BMC in the acquisition module
When, record the duration of the refreshing progress value of the baseboard management controller BMC;
3rd judge module, for judge the baseboard management controller BMC refreshing progress value duration whether
Less than or equal to preset time value;
First judge module, is additionally operable to the duration of the refreshing progress value in the baseboard management controller BMC
During less than or equal to the preset time value, judge whether the refreshing progress value of the baseboard management controller BMC reaches target
Progress value.
Preferably, described device also includes:
Second logging modle, the duration for the refreshing progress value in the baseboard management controller BMC is more than institute
When stating preset time value, the record duration judges number of times;
4th judge module, for judging that the duration judges whether number of times is equal to object judgement number of times;
First logging modle, is additionally operable to when the duration judging that number of times is less than the object judgement number of times,
Record the duration of the refreshing progress value of the baseboard management controller BMC;
Second display module, for when the duration judging that number of times is equal to the object judgement number of times, generation to be simultaneously
Display refreshes failure result.
Preferably, second judge module specifically for:
Judge whether to receive the normal operating instruction that the baseboard management controller BMC sends;
Accordingly, first display module, specifically for receiving the baseboard management controller BMC transmissions just
During normal operating instruction, Flushing success result is generated and shown.
Preferably, described device also includes:
5th judge module, for when the normal operating instruction that the baseboard management controller BMC sends is received, sentencing
Whether the version updating parameter of breaking is abnormal;
Accordingly, first display module, specifically for receiving the baseboard management controller BMC transmissions just
When often operating instruction, and the version updating parameter is normal, Flushing success result is generated and shown.
Preferably, described device also includes:
3rd display module, for when the normal operating instruction that the baseboard management controller BMC sends is not received,
Generate and show refreshing failure result.
Preferably, described device also includes:
3rd logging modle, for when first display module is generated and shows Flushing success result, record to be described
The refreshing frequency of baseboard management controller BMC;
Whether the 6th judge module, the refreshing frequency for judging the baseboard management controller BMC is equal to target refresh
Number of times;
The sending module, is additionally operable to be less than the target refresh in the refreshing frequency of the baseboard management controller BMC
During number of times, the version updating file is sent to baseboard management controller BMC corresponding with the version updating parameter;
4th display module, the target refresh time is equal to for the refreshing frequency in the baseboard management controller BMC
During number, current results are generated and show, as Flushing success result.
Understood via above-mentioned technical scheme, compared with prior art, the invention provides a kind of version updating survey of BMC
Method for testing and device, set the version updating parameter and version of baseboard management controller BMC on the test platform set up in advance
More new file, version updating file is sent by baseboard management controller BMC corresponding with version updating parameter, while obtaining
The refreshing progress value of baseboard management controller BMC, reaches the purpose that real-time monitoring baseboard management controller BMC refreshes progress,
When judging that its refreshing progress value reaches target progress value, and baseboard management controller BMC in normal operating condition,
Generate and show Flushing success result, it is seen then that sent from trend baseboard management controller BMC based on the test platform for pre-building
Version updating file come check baseboard management controller BMC whether smoothly more redaction, can either improve substrate management control
The automaticity of the version updating test of device BMC, saves manual testing's operation and intervention time, and the version of BMC can be indirectly lifted again
This renewal efficiency.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this
Inventive embodiment, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis
The accompanying drawing of offer obtains other accompanying drawings.
Fig. 1 is a kind of method flow diagram of the version updating method of testing of BMC provided in an embodiment of the present invention;
Fig. 2 is the method flow diagram of the version updating method of testing of another BMC provided in an embodiment of the present invention;
Fig. 3 is the method flow diagram of the version updating method of testing of another BMC provided in an embodiment of the present invention;
Fig. 4 is a kind of structural representation of the version updating test device of BMC provided in an embodiment of the present invention;
Fig. 5 is the structural representation of the version updating test device of another BMC provided in an embodiment of the present invention;
Fig. 6 is the structural representation of the version updating test device of another BMC provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
The embodiment of the invention discloses a kind of version updating method of testing of BMC, test platform is pre-build, and described
Version updating parameter and version updating file are set on test platform, accompanying drawing 1 is referred to, methods described specifically includes following step
Suddenly:
S101:The version updating file is sent to baseboard management controller BMC corresponding with the version updating parameter;
Specifically, a test platform is built in version updating test machine, for testing baseboard management controller BMC
Version whether be updated successfully, it can be Linux system to test used system, meanwhile, set more on the test platform
Version updating parameter and version updating file needed for new baseboard management controller BMC, wherein, version updating parameter can include
The information ginseng such as the IP address of the server where baseboard management controller BMC, user name and password needed for logging in web page
Number, version updating file can be FW files, and different FW files both can arrive the version updating of baseboard management controller BMC
More higher leveled version, it is also possible to make the version updating of baseboard management controller BMC to the version of lower one-level.Version updating is joined
The set-up mode of number and version updating file can be realized using curl instructions, such as be logged in by curl instruction simulations web and built
Vertical web session, wherein, curl instruments are pre-installed on test platform follow-up to version updating parameter and version to complete
The setting of more new file.
Using the version updating parameter set in test platform, many baseboard management controller BMC can be carried out simultaneously
Different version updating tests, and then cause that version updating test is more flexible, afterwards by by version updating file send to
One or more baseboard management controller BMC corresponding with version updating parameter come start this test.
S102:Obtain the refreshing progress value of the baseboard management controller BMC;
Specifically, during refresh testing each time is performed, in order to ensure test platform can in time know substrate
Management Controller BMC is completed the time point once refreshed, and test platform can receive required version in baseboard management controller BMC
After this more new file, while carrying out upgrade or downgrade automatically according to the version updating file and operate, obtain in real time its refresh into
Angle value.In the embodiment of the present invention baseboard management controller BMC refreshing progress value acquisition modes can using curl instruct come
Obtain.Meanwhile, the refreshing progress value of the baseboard management controller BMC for getting both may be displayed in order line, for observing,
It can also be preserved after the display, carried out at any time for staff it is follow-up check analysis, save the artificial moment
Observe the time of refreshing progress.
S103:Judge whether the refreshing progress value of the baseboard management controller BMC reaches target progress value, if so, then
Perform S104;
Specifically, target progress value can be 100%.
S104:Judge whether the baseboard management controller BMC normally runs, if so, then performing S105;
Specifically, after the refreshing progress value of baseboard management controller BMC reaches target progress value, i.e., 100%, in order to true
Baseboard management controller BMC is protected after its interior original version has been refreshed, it is possible to use the BMC versions after refreshing are normally carried out
Work, in addition it is also necessary to judge whether baseboard management controller BMC can normally run.
S105:Generate and show Flushing success result;
Specifically, determine baseboard management controller BMC can using update after version carry out normal work after, energy
The Flushing success result after this refreshing is enough generated, and the Flushing success result is shown to staff.The embodiment of the present invention
Whether involved Flushing success result can be prompting that is successful according to the refreshing of BMC versions and being given, such as Flushing success prompting
Information, renewal complete prompt message etc., so that the result obtained by refreshing is very clear, are easy to analysis and research.Meanwhile, test
Platform can also preserve the Flushing success result of generation, be that follow-up study baseboard management controller BMC version updatings are carried
For coherent reference information.
In the version updating method of testing of the BMC disclosed in the embodiment of the present invention, set on the test platform set up in advance
The version updating parameter and version updating file of baseboard management controller BMC are put, is subsequently to carry out version updating test automatically to carry
For test basis, version updating file is sent by baseboard management controller BMC corresponding with version updating parameter, while obtaining
The refreshing progress value of baseboard management controller BMC is taken, can realize that real-time monitoring baseboard management controller BMC refreshes progress
Purpose, judging that it refreshes progress value and reach target progress value, and baseboard management controller BMC is in normal operating condition
When, generate and show Flushing success result, it is seen then that based on the test platform for pre-building from trend baseboard management controller BMC
Send version updating file to check baseboard management controller BMC whether smoothly more redactions, both reduce BMC version updatings
Artificial operation and time cost in test process, improve the version updating efficiency of BMC again.
On the basis of embodiment corresponding to Fig. 1, the embodiment of the invention discloses the version updating test side of another BMC
Method, refers to accompanying drawing 2, and methods described specifically includes following steps:
S201:The version updating file is sent to baseboard management controller BMC corresponding with the version updating parameter.
S202:Obtain the refreshing progress value of the baseboard management controller BMC.
S203:Record the duration of the refreshing progress value of the baseboard management controller BMC;
Specifically, carrying out refresh operation using the version updating file that test platform sends in baseboard management controller BMC
During, test platform can analyze it by the duration of the refreshing progress value of base plate Management Controller BMC
The speed of refresh rate.
Because the refreshing progress value of display base plate Management Controller BMC refresh rate speeds is the numerical value that changes constantly, because
The duration of the refreshing progress value of the baseboard management controller BMC involved by this embodiment of the present invention can be base plate pipe
Reason controller BMC's refreshes the spent time total value before not up to maximum refreshing progress value such as 100% of progress value, may be used also
With each spent time value of each progress value refreshed in progress value for being base plate Management Controller BMC.For example,
The time total value refreshed spent by progress value from 0% to 99% of base plate Management Controller BMC, and as substrate pipe
The duration of the refreshing progress value of reason controller BMC;Or the refreshing progress value of base plate Management Controller BMC is from 0%
The each spent time value of 99 progress values contained by 99%, as the refreshing progress value of baseboard management controller BMC
Duration.
S204:Judge the duration of refreshing progress value of the baseboard management controller BMC whether less than or equal to pre-
If time value, if being less than or equal to, S205 is performed, if being more than, perform S206;
Specifically, the refreshing progress value in the baseboard management controller BMC of test platform record reaches target progress value
Overlong time, i.e., when this refreshes stagnation, need to be taken appropriate measures for such case, therefore in order to send out in time
The appearance of existing this problem, test platform need in real time by the duration of the refreshing progress value of baseboard management controller BMC with
Preset time value is compared, and judges whether it occurs stagnating beyond preset time value, i.e. this refreshing.
S205:Judge whether the refreshing progress value of the baseboard management controller BMC reaches target progress value, if so, then
Perform S207.
S206:The record duration judges number of times, and performs S208;
Specifically, there is the accuracy of stagnation problem, it is necessary to circulate repeatedly to substrate pipe to improve this refreshing
The duration of the refreshing progress value of reason controller BMC is judged, therefore it is more to complete to need the record duration to judge number of times
Secondary repeated authentication operation.
S207:Judge whether to receive the normal operating instruction that the baseboard management controller BMC sends, if so, then holding
Row S209, if it is not, then performing S2010;
Specifically, have updated itself according to the version updating file that test platform sends in baseboard management controller BMC
Version after, reboot operation can be carried out, if restart metacoxal plate Management Controller BMC can utilize update after BMC versions it is normal
During operation, baseboard management controller BMC can send a normal operating instruction to test platform, so that test platform knows this
Secondary version updating is successfully tested.
The normal operating instruction that baseboard management controller BMC is sent to test platform can be baseboard management controller BMC
After itself setting a running status decision instruction that is sending, or receiving test platform transmission, to test platform
Fed back and sent.
S208:Judge that the duration judges whether number of times is equal to object judgement number of times, if being equal to, perform S2011,
If being less than, return and perform S203;
Specifically, judging that number of times is small in the duration of the current refreshing progress value for judging baseboard management controller BMC
, it is necessary to perform S203 again when object judgement number of times, the refreshing progress value of base plate Management Controller BMC continues again
Time.
S209:Judge whether the version updating parameter is abnormal, if normally, performing S2012;
Specifically, version updating parameter is may result in the version updating test process of BMC there is exception, and once
There is anomaly, this can be directly affected and refresh failure, therefore, in order to further ensure that the version of baseboard management controller BMC
Originally it is updated successfully, also needs to be tested to whether the version updating parameter set in test platform changes.
S2010:Generate and show refreshing failure result.
S2011:Generate and show refreshing failure result;
Specifically, after judging that the duration judges that number of times is equal to object judgement number of times, it was demonstrated that baseboard management controller
There is stagnation problem really in the refreshing progress value of BMC, can now generate refreshing failure result, and is shown and remind work people
Member carries out the treatment operation of follow-up correlation, it is to avoid waste of time.
S2012:Generate and show Flushing success result;
Specifically, receiving the normal operating instruction of baseboard management controller BMC transmissions, and version updating parameter is normal
When, Flushing success result is generated and shows, the version updating test of provable this BMC is smoothly completed.
In the version updating method of testing of BMC disclosed in the embodiment of the present invention, control is managed by circulating multiple base plate
Device BMC processed refreshing progress value duration, and itself and preset time value are compared determine the substrate management control
Whether device BMC there is stagnation problem, so as to the solution stagnation problem that follows up, it is to avoid the waste of time cost, in substrate
After the refreshing progress value of Management Controller BMC reaches target progress value, by successively to whether receiving baseboard management controller
BMC send normal operating instruction, version updating parameter whether judged extremely further determine that this refresh whether into
Work(is completed, and then improves the accuracy for refreshing result.
On the basis of embodiment corresponding to Fig. 1, the embodiment of the invention discloses the version updating test side of another BMC
Method, refers to accompanying drawing 3, and methods described specifically includes following steps:
S301:The version updating file is sent to baseboard management controller BMC corresponding with the version updating parameter.
S302:Obtain the refreshing progress value of the baseboard management controller BMC.
S303:Judge whether the refreshing progress value of the baseboard management controller BMC reaches target progress value, if so, then
Perform S304.
S304:Judge whether the baseboard management controller BMC normally runs, if so, then performing S305;
S305:Flushing success result is generated and shown, and performs S306;
S306:The refreshing frequency of the baseboard management controller BMC is recorded, and performs S307;
Specifically, due to baseboard management controller BMC is carried out version updating test when, once test obtained by result simultaneously
It is inaccurate, it is therefore desirable to which that circulation repeatedly carries out version updating test to baseboard management controller BMC.
After a refresh operation is completed, test platform can be recorded currently to be tested baseboard management controller BMC
Number of times, so that subsequent analysis are used.
S307:Judge whether the refreshing frequency of the baseboard management controller BMC is equal to target refresh number of times, if being equal to,
S308 is then performed, if being less than, is returned and is performed S301;
Specifically, the target refresh number of times involved by the embodiment of the present invention can join according to the version updating in test platform
Number and version updating file, flexibly to set the refreshing frequency for different substrate Management Controller BMC, to ensure by setting
Refreshing frequency refresh after, the version updating to baseboard management controller BMC can be successfully completed.
S308:Current results are generated and show, as Flushing success result;
Specifically, after the refreshing frequency of baseboard management controller BMC reaches target refresh number of times, can be by last time
The result generated after refresh operation shows as final Flushing success result, is now given birth to after repeatedly circulation refreshes
Into Flushing success result may certify that baseboard management controller BMC has completed version updating operation, and being capable of stable operation.Together
When, the Flushing success result that test platform will can also be obtained is preserved, and is follow-up study baseboard management controller BMC versions
Update and coherent reference information is provided.
In the version updating method of testing of BMC disclosed in the embodiment of the present invention, by generate and show refreshing result after,
The refreshing frequency of base plate Management Controller BMC, and execution is returned to substrate corresponding with version updating parameter management control
The step for device BMC sends version updating file, until the refreshing frequency of baseboard management controller BMC reaches target refresh number of times
When, the current results that will be generated show, it is seen then that automatic based on the test platform for pre-building as Flushing success result
Repeat to send multiple version updating file to check baseboard management controller BMC whether smooth to baseboard management controller BMC
More redaction, it is possible to increase the degree of accuracy of the version updating test result of baseboard management controller BMC, also reflects substrate indirectly
The stability quality of Management Controller BMC.
The embodiment of the invention discloses a kind of version updating test device of BMC, accompanying drawing 4 is referred to, described device includes:
Module 401 is set up, for setting up test platform;
Setup module 402, for setting version updating parameter and version updating file on the test platform;
Sending module 403, for sending the version to baseboard management controller BMC corresponding with the version updating parameter
This more new file;
Acquisition module 404, the refreshing progress value for obtaining the baseboard management controller BMC;
Whether the first judge module 405, the refreshing progress value for judging the baseboard management controller BMC reaches target
Progress value;
Second judge module 406, for reaching target progress value in the refreshing progress value of the baseboard management controller BMC
When, judge whether the baseboard management controller BMC normally runs;
First display module 407, for when the baseboard management controller BMC normally runs, generating and showing refreshing
Successful result.
In the version updating test device of the BMC disclosed in the embodiment of the present invention, setup module 402 is in advance by setting up mould
The version updating parameter and version updating file of baseboard management controller BMC are set on the test platform that block 401 is set up, are follow-up
It is automatic that version updating test offer condition is provided, managed to substrate corresponding with version updating parameter by sending module 403 and controlled
Device BMC processed sends version updating file, while acquisition module 404 obtains the refreshing progress of baseboard management controller BMC in real time
Value, can realize real-time monitoring baseboard management controller BMC refresh progress purpose, judge its refresh progress value reach mesh
When marking progress value, and baseboard management controller BMC in normal operating condition, the first display module 407 is generated and shows brush
New successful result, it is seen then that version updating file is sent from trend baseboard management controller BMC based on the test platform for pre-building
To check baseboard management controller BMC whether smoothly more redactions, both reduced artificial in BMC version updating test process
Operation and time cost, improve the version updating efficiency of BMC again.
The course of work of modules provided in an embodiment of the present invention, refer to the method flow diagram corresponding to accompanying drawing 1, tool
Body running process is repeated no more.
On the basis of embodiment corresponding to Fig. 4, the version updating the embodiment of the invention discloses another BMC tests dress
Put, refer to accompanying drawing 5, described device is specifically included:
Set up module 401, setup module 402, sending module 403, acquisition module 404, the first judge module 405, second
Judge module 406, the first display module 407, the first logging modle 408, the 3rd judge module 409, the second logging modle 4010,
4th judge module 4011, the second display module 4012, the 5th judge module 4013, the 3rd display module 4014.
Wherein, first logging modle 408, for obtaining the baseboard management controller in the acquisition module 404
During the refreshing progress value of BMC, the duration of the refreshing progress value of the baseboard management controller BMC is recorded;
3rd judge module 409, for judge the baseboard management controller BMC refreshing progress value it is lasting when
Between whether be less than or equal to preset time value;
First judge module 405, be additionally operable to the baseboard management controller BMC refreshing progress value it is lasting when
Between less than or equal to the preset time value when, judge whether the refreshing progress value of the baseboard management controller BMC reaches mesh
Mark progress value;
Second logging modle 4010, for the baseboard management controller BMC refreshing progress value it is lasting when
Between more than the preset time value when, record the duration judge number of times;
4th judge module 4011, for judging that the duration judges whether number of times is equal to object judgement
Number;
First logging modle 408, is additionally operable to judge that number of times is less than the object judgement number of times in the duration
When, record the duration of the refreshing progress value of the baseboard management controller BMC;
Second display module 4012, it is raw for when the duration judging that number of times is equal to the object judgement number of times
Into and show refreshing failure result;
Second judge module 406, specifically for judging whether to receive what the baseboard management controller BMC sent
Normal operating instruction;
Accordingly, first display module 407, specifically for receiving the baseboard management controller BMC transmissions
Normal operating instruction when, generate and show Flushing success result;
5th judge module 4013, for receiving the normal operation that the baseboard management controller BMC sends
During instruction, judge whether the version updating parameter is abnormal;
Accordingly, first display module 407, specifically for receiving the baseboard management controller BMC transmissions
Normal operating instruction, and the version updating parameter it is normal when, generate and show Flushing success result.
3rd display module 4014, for not receiving the normal fortune that the baseboard management controller BMC sends
During row instruction, refreshing failure result is generated and shown.
In the version updating test device of BMC disclosed in the embodiment of the present invention, circulated repeatedly by the first logging modle 408
The duration of the refreshing progress value of base plate Management Controller BMC, then by the 3rd judge module 409 by itself and Preset Time
Value is compared to determine whether the baseboard management controller BMC stagnation problem occurs, solves to stagnate to follow up
Problem, it is to avoid the waste of time cost, after the refreshing progress value of baseboard management controller BMC reaches target progress value, passes through
Whether the second judge module 406, the 5th judge module 4013 are successively to receiving the normal fortune that baseboard management controller BMC sends
Whether row instruction, version updating parameter is judged to further determine that whether this refreshing successfully completes extremely, and then is improved
Refresh the accuracy of result.
The course of work of modules provided in an embodiment of the present invention, refer to the method flow diagram corresponding to accompanying drawing 2, tool
Body running process is repeated no more.
On the basis of embodiment corresponding to Fig. 4, the version updating the embodiment of the invention discloses another BMC tests dress
Put, refer to accompanying drawing 6, described device is specifically included:
Set up module 401, setup module 402, sending module 403, acquisition module 404, the first judge module 405, second
Judge module 406, the first display module 407, the 3rd logging modle 4015, the 6th judge module 4016, the 4th display module
4017。
Wherein, the 3rd logging modle 4015, for being generated in first display module 407 and shows Flushing success
When as a result, the refreshing frequency of the baseboard management controller BMC is recorded;
Whether the 6th judge module 4016, the refreshing frequency for judging the baseboard management controller BMC is equal to target
Refreshing frequency;
The sending module 403, is additionally operable to be less than the target brush in the refreshing frequency of the baseboard management controller BMC
During new number of times, the version updating file is sent to baseboard management controller BMC corresponding with the version updating parameter;
4th display module 4017, the target brush is equal to for the refreshing frequency in the baseboard management controller BMC
During new number of times, current results are generated and show, as Flushing success result.
In the version updating test device of BMC disclosed in the embodiment of the present invention, by generate and show refreshing result after,
The refreshing frequency of the base plate Management Controller BMC of the 3rd logging modle 4015, and from sending module 403 return execution to version
The step for corresponding baseboard management controller BMC of this undated parameter sends version updating file, until the 6th judge module
4016 when judging that the refreshing frequency of baseboard management controller BMC reaches target refresh number of times, and the 4th display module 4017 will be raw
Into current results as Flushing success result, show, it is seen then that based on the test platform for pre-building from trend substrate pipe
Whether smoothly reason controller BMC repeats to send multiple version updating file to check baseboard management controller BMC more redactions,
The degree of accuracy of the version updating test result of baseboard management controller BMC can be improved, substrate management control is also reflected indirectly
The stability quality of device BMC.
The course of work of modules provided in an embodiment of the present invention, refer to the method flow diagram corresponding to accompanying drawing 3, tool
Body running process is repeated no more.
The foregoing description of the disclosed embodiments, enables professional and technical personnel in the field to realize or uses the present invention.
Various modifications to these embodiments will be apparent for those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, the present invention
The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one
The scope most wide for causing.
Claims (14)
1. the version updating method of testing of a kind of BMC, it is characterised in that pre-build test platform, and in the test platform
Upper setting version updating parameter and version updating file, including:
The version updating file is sent to baseboard management controller BMC corresponding with the version updating parameter;
Obtain the refreshing progress value of the baseboard management controller BMC;
Judge whether the refreshing progress value of the baseboard management controller BMC reaches target progress value;
If the refreshing progress value of the baseboard management controller BMC reaches the target progress value, the substrate management control is judged
Whether device BMC processed normally runs;
If the baseboard management controller BMC normally runs, Flushing success result is generated and shown.
2. method according to claim 1, it is characterised in that in the brush for obtaining the baseboard management controller BMC
After new progress value, also include:
Record the duration of the refreshing progress value of the baseboard management controller BMC;
Judge the duration of refreshing progress value of the baseboard management controller BMC whether less than or equal to preset time value;
If the duration of the refreshing progress value of the baseboard management controller BMC is less than or equal to the preset time value, hold
Whether the row refreshing progress value for judging the baseboard management controller BMC reaches target progress value.
3. method according to claim 2, it is characterised in that judging the refreshing of the baseboard management controller BMC
The duration of progress value, more than after the preset time value, also includes:
The record duration judges number of times;
Judge that the duration judges whether number of times is equal to object judgement number of times;
If the duration judges number of times less than the object judgement number of times, return is described to record the baseboard management controller
The duration of the refreshing progress value of BMC;
If the duration judges that number of times is equal to the object judgement number of times, refreshing failure result is generated and shown.
4. method according to claim 1, it is characterised in that described whether just to judge the baseboard management controller BMC
Often operation, including:
Judge whether to receive the normal operating instruction that the baseboard management controller BMC sends;
Accordingly, if the baseboard management controller BMC normally runs, Flushing success result is generated and shows, specially:
If receiving the normal operating instruction that the baseboard management controller BMC sends, Flushing success result is generated and shown.
5. method according to claim 4, it is characterised in that receiving what the baseboard management controller BMC sent
After normal operating instruction, also include:
Judge whether the version updating parameter is abnormal;
Accordingly, if the baseboard management controller BMC normally runs, Flushing success result is generated and shows, specially:
If the normal operating instruction that the baseboard management controller BMC sends is received, and the version updating parameter is normal, generation is simultaneously
Display Flushing success result.
6. method according to claim 4, it is characterised in that judging not receiving the baseboard management controller
After the normal operating instruction that BMC sends, also include:
Generate and show refreshing failure result.
7. method according to claim 1, it is characterised in that after the generation and showing Flushing success result, also
Including:
Record the refreshing frequency of the baseboard management controller BMC;
Judge whether the refreshing frequency of the baseboard management controller BMC is equal to target refresh number of times;
If the refreshing frequency of the baseboard management controller BMC be less than the target refresh number of times, return it is described to the version
The corresponding baseboard management controller BMC of this undated parameter sends the version updating file;
If the refreshing frequency of the baseboard management controller BMC is equal to the target refresh number of times, current results are generated and show,
As Flushing success result.
8. the version updating test device of a kind of BMC, it is characterised in that including:
Module is set up, for setting up test platform;
Setup module, for setting version updating parameter and version updating file on the test platform;
Sending module, for sending the version updating to baseboard management controller BMC corresponding with the version updating parameter
File;
Acquisition module, the refreshing progress value for obtaining the baseboard management controller BMC;
Whether the first judge module, the refreshing progress value for judging the baseboard management controller BMC reaches target progress value;
Second judge module, for when the refreshing progress value of the baseboard management controller BMC reaches the target progress value,
Judge whether the baseboard management controller BMC normally runs;
First display module, for when the baseboard management controller BMC normally runs, generating and showing Flushing success knot
Really.
9. device according to claim 8, it is characterised in that also include:
First logging modle, during for the refreshing progress value that the baseboard management controller BMC is obtained in the acquisition module, note
Record the duration of the refreshing progress value of the baseboard management controller BMC;
3rd judge module, for judging whether the duration of refreshing progress value of the baseboard management controller BMC is less than
Or equal to preset time value;
First judge module, is additionally operable to be less than in the duration of the refreshing progress value of the baseboard management controller BMC
Or during equal to the preset time value, judge whether the refreshing progress value of the baseboard management controller BMC reaches target progress
Value.
10. device according to claim 9, it is characterised in that also include:
Second logging modle, for the duration for refreshing progress value in the baseboard management controller BMC more than described pre-
If during time value, the record duration judges number of times;
4th judge module, for judging that the duration judges whether number of times is equal to object judgement number of times;
First logging modle, is additionally operable to when the duration judging that number of times is less than the object judgement number of times, record
The duration of the refreshing progress value of the baseboard management controller BMC;
Second display module, for when the duration judging that number of times is equal to the object judgement number of times, generating and showing
Refresh failure result.
11. devices according to claim 8, it is characterised in that second judge module specifically for:
Judge whether to receive the normal operating instruction that the baseboard management controller BMC sends;
Accordingly, first display module, specifically for receiving the normal fortune that the baseboard management controller BMC sends
During row instruction, Flushing success result is generated and shown.
12. devices according to claim 11, it is characterised in that also include:
5th judge module, for when the normal operating instruction that the baseboard management controller BMC sends is received, judging institute
Whether abnormal state version updating parameter;
Accordingly, first display module, specifically for receiving the normal fortune that the baseboard management controller BMC sends
Row instruction, and the version updating parameter it is normal when, generate and show Flushing success result.
13. devices according to claim 11, it is characterised in that also include:
3rd display module, for when the normal operating instruction that the baseboard management controller BMC sends is not received, generating
And show refreshing failure result.
14. devices according to claim 8, it is characterised in that also include:
3rd logging modle, for when first display module is generated and shows Flushing success result, recording the substrate
The refreshing frequency of Management Controller BMC;
Whether the 6th judge module, the refreshing frequency for judging the baseboard management controller BMC is equal to target refresh number of times;
The sending module, is additionally operable to be less than the target refresh number of times in the refreshing frequency of the baseboard management controller BMC
When, send the version updating file to baseboard management controller BMC corresponding with the version updating parameter;
4th display module, during for the refreshing frequency in the baseboard management controller BMC equal to the target refresh number of times,
Current results are generated and show, as Flushing success result.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710104431.6A CN106886440A (en) | 2017-02-24 | 2017-02-24 | The version updating method of testing and device of a kind of BMC |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710104431.6A CN106886440A (en) | 2017-02-24 | 2017-02-24 | The version updating method of testing and device of a kind of BMC |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106886440A true CN106886440A (en) | 2017-06-23 |
Family
ID=59179920
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710104431.6A Pending CN106886440A (en) | 2017-02-24 | 2017-02-24 | The version updating method of testing and device of a kind of BMC |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106886440A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107315618A (en) * | 2017-07-03 | 2017-11-03 | 郑州云海信息技术有限公司 | A kind of software refreshing method for server power block |
CN107562584A (en) * | 2017-07-25 | 2018-01-09 | 郑州云海信息技术有限公司 | It is a kind of to verify the method for refreshing storage device success rate in whole machine cabinet |
CN108089898A (en) * | 2018-01-16 | 2018-05-29 | 郑州云海信息技术有限公司 | The method, apparatus and system of a kind of upgrading BIOS |
CN109144539A (en) * | 2018-07-26 | 2019-01-04 | 郑州云海信息技术有限公司 | A kind of BMC FW method for refreshing, system, equipment and computer media |
CN111259369A (en) * | 2018-12-03 | 2020-06-09 | 北京京东尚科信息技术有限公司 | Man-machine identity verification method and system |
CN112506758A (en) * | 2020-11-19 | 2021-03-16 | 宁畅信息产业(北京)有限公司 | Firmware refreshing method and device, computer equipment and storage medium |
CN112506758B (en) * | 2020-11-19 | 2024-11-15 | 宁畅信息产业(北京)有限公司 | Firmware refreshing method, device, computer equipment and storage medium |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07248913A (en) * | 1994-03-09 | 1995-09-26 | Nippon Telegr & Teleph Corp <Ntt> | Firmware file updating control method and maintenance system |
CN1889041A (en) * | 2006-08-02 | 2007-01-03 | 华为技术有限公司 | Software staging and back spacing method |
CN101184309A (en) * | 2007-12-21 | 2008-05-21 | 深圳国人通信有限公司 | Embedded system remote upgrade method for repeater equipment |
CN104317692A (en) * | 2014-10-27 | 2015-01-28 | 浪潮电子信息产业股份有限公司 | Automatic test method for ME FW online updating stability |
CN104317617A (en) * | 2014-10-23 | 2015-01-28 | 浪潮电子信息产业股份有限公司 | Method for refreshing BMC Firmware in batch |
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 |
CN105677380A (en) * | 2014-11-21 | 2016-06-15 | 中兴通讯股份有限公司 | Method and device for plate-to-plate upgrading with dual master controls isolated |
CN105978921A (en) * | 2016-07-29 | 2016-09-28 | 重庆长安汽车股份有限公司 | Remote upgrading method for vehicle-mounted communication terminal |
CN105979313A (en) * | 2015-09-16 | 2016-09-28 | 乐视致新电子科技(天津)有限公司 | Remote control upgrading method and device |
CN106021054A (en) * | 2016-05-19 | 2016-10-12 | 浪潮电子信息产业股份有限公司 | Method and apparatus for testing upgrading and downgrading stability of BMC |
-
2017
- 2017-02-24 CN CN201710104431.6A patent/CN106886440A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07248913A (en) * | 1994-03-09 | 1995-09-26 | Nippon Telegr & Teleph Corp <Ntt> | Firmware file updating control method and maintenance system |
CN1889041A (en) * | 2006-08-02 | 2007-01-03 | 华为技术有限公司 | Software staging and back spacing method |
CN101184309A (en) * | 2007-12-21 | 2008-05-21 | 深圳国人通信有限公司 | Embedded system remote upgrade method for repeater equipment |
CN104317617A (en) * | 2014-10-23 | 2015-01-28 | 浪潮电子信息产业股份有限公司 | Method for refreshing BMC Firmware in batch |
CN104317692A (en) * | 2014-10-27 | 2015-01-28 | 浪潮电子信息产业股份有限公司 | Automatic test method for ME FW online updating stability |
CN105677380A (en) * | 2014-11-21 | 2016-06-15 | 中兴通讯股份有限公司 | Method and device for plate-to-plate upgrading with dual master controls isolated |
CN105979313A (en) * | 2015-09-16 | 2016-09-28 | 乐视致新电子科技(天津)有限公司 | Remote control upgrading method and device |
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 |
CN106021054A (en) * | 2016-05-19 | 2016-10-12 | 浪潮电子信息产业股份有限公司 | Method and apparatus for testing upgrading and downgrading stability of BMC |
CN105978921A (en) * | 2016-07-29 | 2016-09-28 | 重庆长安汽车股份有限公司 | Remote upgrading method for vehicle-mounted communication terminal |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107315618A (en) * | 2017-07-03 | 2017-11-03 | 郑州云海信息技术有限公司 | A kind of software refreshing method for server power block |
CN107562584A (en) * | 2017-07-25 | 2018-01-09 | 郑州云海信息技术有限公司 | It is a kind of to verify the method for refreshing storage device success rate in whole machine cabinet |
CN108089898A (en) * | 2018-01-16 | 2018-05-29 | 郑州云海信息技术有限公司 | The method, apparatus and system of a kind of upgrading BIOS |
CN109144539A (en) * | 2018-07-26 | 2019-01-04 | 郑州云海信息技术有限公司 | A kind of BMC FW method for refreshing, system, equipment and computer media |
CN111259369A (en) * | 2018-12-03 | 2020-06-09 | 北京京东尚科信息技术有限公司 | Man-machine identity verification method and system |
CN111259369B (en) * | 2018-12-03 | 2024-04-12 | 北京京东尚科信息技术有限公司 | Man-machine identity verification method and system |
CN112506758A (en) * | 2020-11-19 | 2021-03-16 | 宁畅信息产业(北京)有限公司 | Firmware refreshing method and device, computer equipment and storage medium |
CN112506758B (en) * | 2020-11-19 | 2024-11-15 | 宁畅信息产业(北京)有限公司 | Firmware refreshing method, device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106886440A (en) | The version updating method of testing and device of a kind of BMC | |
CN104050075B (en) | The method of testing and device of Andriod application programs | |
CN103970566B (en) | A kind of method and apparatus of router firmware upgrading | |
CN107707638B (en) | Distributed cloud pressure measuring machine resource management system and method | |
CN103268286B (en) | The flow rate test method of application program, system and test machine in mobile terminal | |
CN103716209B (en) | A kind of tunnel concurrent test system and equipment | |
CN110140179A (en) | The long-range monitoring of Laboratory Instruments | |
CN108733569A (en) | A kind of automatic interface testing method, device, storage medium and equipment | |
CN107944211A (en) | Service life acceleration model creation method, device and lifetime estimation method | |
US20130065694A1 (en) | Method for performance test of online game server | |
CN104317263A (en) | Concrete construction vibration trajectory control method | |
CN108153599B (en) | Project management platform, method, storage medium and electronic equipment | |
CN106375140A (en) | Pressure testing method and device | |
CN107885627A (en) | A kind of server automated test system and method | |
CN103413470A (en) | C language programming teaching and test comprehensive system and method | |
CN110254749A (en) | Network-based helicopter W.T test control framework and control method | |
CN107197120A (en) | Image source compatibility testing method and system | |
CN106875765B (en) | Electronic classroom implementation method and device based on VDI | |
CN108875368A (en) | A kind of safety detection method, apparatus and system | |
CN107247616A (en) | A kind of method and system of virtual platform virtualization applications performance test | |
KR101933533B1 (en) | Method for virtualizing smart factory | |
CN108804307A (en) | process automation test method and device | |
CN110018085B (en) | Grouting diffusion test system and method | |
CN116303036A (en) | Product testing method, device, equipment and storage medium | |
TWI266070B (en) | Chip-level design under test verification environment and method thereof |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170623 |
|
RJ01 | Rejection of invention patent application after publication |