CN106502863A - A kind of software version reminding method and device - Google Patents

A kind of software version reminding method and device Download PDF

Info

Publication number
CN106502863A
CN106502863A CN201610941464.1A CN201610941464A CN106502863A CN 106502863 A CN106502863 A CN 106502863A CN 201610941464 A CN201610941464 A CN 201610941464A CN 106502863 A CN106502863 A CN 106502863A
Authority
CN
China
Prior art keywords
accessory
software version
server
mark
name
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610941464.1A
Other languages
Chinese (zh)
Other versions
CN106502863B (en
Inventor
傅先刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Kun Hai Information Technology Co Ltd
Original Assignee
Hangzhou Kun Hai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Kun Hai Information Technology Co Ltd filed Critical Hangzhou Kun Hai Information Technology Co Ltd
Priority to CN201610941464.1A priority Critical patent/CN106502863B/en
Publication of CN106502863A publication Critical patent/CN106502863A/en
Application granted granted Critical
Publication of CN106502863B publication Critical patent/CN106502863B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Abstract

The application provides a kind of software version reminding method and device, and the method includes:When detecting accessory and being inserted into server, the corresponding first software version mark of the accessory is obtained;Obtain currently used the second software version mark of the server;Judge that first software version identifies whether to identify higher than second software version;If it is, the corresponding software version information of the output server.By the technical scheme of the application, accessory can be reduced as far as possible and abnormal number of times occurs with the software version of upgrade server.

Description

A kind of software version reminding method and device
Technical field
The application is related to communication technical field, more particularly to a kind of software version reminding method and device.
Background technology
At present, the part accessory of server in order to introduce to the market server as early as possible, is generally first released, is subsequently further added by taking Other accessories of business device, this development mode can accelerate product to introduce to the market.
Content of the invention
The application provides a kind of software version reminding method, is applied to server, and methods described includes:
When detecting accessory and being inserted into server, the corresponding first software version mark of the accessory is obtained;
Obtain currently used the second software version mark of the server;
Judge that first software version identifies whether to identify higher than second software version;
If it is, the corresponding software version information of the output server.
The application provides a kind of software version suggestion device, is applied to server, and described device includes:
Acquisition module, for when detecting accessory and being inserted into server, obtaining the corresponding first software version of the accessory This mark, and obtain currently used the second software version mark of the server;
Judge module, for judging that first software version identifies whether to identify higher than the second software version;
Processing module, for identifying higher than second software version when judged result is identified for first software version When, then export the corresponding software version information of the server.
Above-mentioned technical proposal is based on, in the embodiment of the present application, (accessory for newly increasing can be referred to as newly matching somebody with somebody when accessory Part) when being inserted into server, compare the corresponding first software version mark of accessory and the second currently used software version of server This mark, if the first software version mark is identified higher than the second software version, the corresponding software version information of export server.This Sample, when accessory is inserted into server, can know whether the currently used software version of server supports the accessory, not prop up When holding the accessory, the corresponding software version information of export server, so as to user is known based on the software version information to need to rise The software version of level server and the software version mark for needing to be upgraded to.Aforesaid way is based on, can be with upgrade server Software version, reduces accessory as far as possible and abnormal number of times occurs, such as reduce the frequency of abnormity such as accessory is overheated, accessory burns.
Description of the drawings
In order to the embodiment of the present application or technical scheme of the prior art are clearly described, below will be to the application Needed for embodiment or description of the prior art, accompanying drawing to be used is briefly described, it should be apparent that, in describing below Accompanying drawing is only some embodiments described in the application, for those of ordinary skill in the art, can be with according to these Accompanying drawing obtains other accompanying drawings.
Fig. 1 is the flow chart of the software version reminding method in a kind of embodiment of the application;
Fig. 2 is the structural representation of the server comprising BMC in a kind of embodiment of the application;
Fig. 3 is the flow chart of the software version reminding method in the application another embodiment;
Fig. 4 is the hardware structure diagram of the server in a kind of embodiment of the application;
Fig. 5 is the structure chart of the software version suggestion device in a kind of embodiment of the application.
Specific embodiment
In term used in this application merely for the sake of the purpose for describing specific embodiment, and unrestricted the application.This Shen Please it is also intended to include most forms with " one kind ", " described " and " being somebody's turn to do " of the singulative used in claims, unless Context clearly shows that other implications.It is also understood that term "and/or" used herein is referred to comprising one or more Associated any or all possible combination for listing project.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application A little information should not necessarily be limited by these terms.These terms are only used for same type of information is distinguished from each other out.For example, without departing from In the case of the application scope, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depend on linguistic context, additionally, used word " if " can be construed to " and ... when " or " when ... when " Or " in response to determining ".
In one example, for the accessory for newly increasing, it may not be necessary to which server uses new software version, it is possible to just Often work, it is also possible to need server using new software version, just can be with normal work.
When server need using new software version just can with normal work when, if server is still using original soft Part version, after the accessory for newly increasing is inserted into server, just occurs the problems such as accessory is abnormal.For example, newly increased matches somebody with somebody Part needs the radiating strategy using new software version, and server still using original software version when, due to original soft Radiating strategy in part version, it is impossible to reach the cooling requirements of accessory, so as to accessory can be caused overheated, reduces the reliability of accessory Property, or even accessory can be burnt.
In conventional manner, after the accessory for newly increasing is inserted into server, server is not known whether that needs make New software version is used, the software version of itself of would not also upgrading is abnormal so as to cause accessory to occur.
A kind of software version reminding method is proposed in the embodiment of the present application, shown in Figure 1, it is the software version prompting side The flow chart of method, the method can apply to server, and the method can include:
Step 101, when detecting accessory (accessory for newly increasing can be referred to as new accessory) and being inserted into server, The corresponding first software version mark of the accessory is obtained, and obtains currently used the second software version mark of the server.Its In, in order to distinguish conveniently, corresponding for accessory software version mark can be referred to as the first software version mark, server is current The part version identifier for using is referred to as the second software version mark.
In one example, the accessory can be included but is not limited to:Internal memory, hard disk, disk cage, hard disk controlling card, PCIE (Peripheral Component Interconnect Express, high speed peripheral component interlinkage standard) plug-in card etc..Disk cage It is a kind of pluggable accessory of server, is the structural member for carrying hard disk support bracket, comprising hardware and electronic device Hard disk backboard.PCIE plug-in cards can be network interface card, video card etc..
In one example, for the process of " obtaining the corresponding first software version mark of accessory ", including but not limited to Following manner:If one accessory of mode includes processor (such as CPU (Central Processing Unit, central processing unit) Deng), then request message can be sent to the processor of the accessory.The processor of the accessory is obtained after the request message is received The corresponding first software version mark of this accessory is taken, and returns the response message for carrying the first software version mark.Receiving After the response message returned to the processor of the accessory, as the response message carries the corresponding first software version mark of the accessory Know, therefore, it can the corresponding first software version mark of the accessory is parsed from the response message.Mode two, in accessory In memory area, the corresponding first software version mark of the accessory is prestored, based on this, can directly from the storage of the accessory The corresponding first software version mark of the accessory is read in region.Wherein, for include processor accessory and do not include locating The accessory of reason device, can obtain the first software version mark with employing mode two.
In one example, if being internal memory for two accessory of mode, the memory area of the accessory is specifically as follows SPD (Serial Presence Detect, serial have detection) region.If accessory is hard disk, the memory area of the accessory is concrete It can be LOG (daily record) region.If accessory is disk cage or hard disk controlling card or PCIE plug-in cards, the storage of the accessory Region is specifically as follows EEPROM, and (Electrically Erasable Programmable Read-Only Memory electricity can EPROM) region.
In one example, for the process of " obtaining currently used the second software version mark of the server ", in clothes In the BIOS (Basic Input Output System, basic input output system) of the processor of business device, record has server Currently used the second software version mark, therefore can get the server currently used from the BIOS of processor Second software version is identified.Wherein, BIOS is the startup program of processor, for before operating system, to processor, interior Deposit, peripheral interface carries out initialization action.
In one example, the software version reminding method for proposing in the embodiment of the present application, can apply to server On BMC (Baseboard Management Controller, baseboard management controller) or processor (such as CPU etc.).If should It is used on BMC, then the second currently used software version of the corresponding first software version mark of accessory, server is obtained by BMC Mark.If application is on a processor, the corresponding first software version mark of accessory, server are obtained by processor currently used The second software version mark.The process for obtaining the first software version mark and the second software version mark below to BMC is carried out Illustrate, and the acquisition process of processor is similar with the acquisition process of BMC, subsequently it is no longer repeated.
As shown in Fig. 2 being the structural representation of the server comprising BMC, bios software is run on a processor, BMC can So that by LPC (Low Pin Count, low pin count) bus access to processor, therefore, BMC can pass through lpc bus to place Reason device sends request message, and processor can get currently used the second software version mark of server from BIOS, and The second software version mark is returned to BMC by lpc bus, the second currently used software version of server is got by BMC This mark.
In fig. 2, BMC can pass through I2C (Inter Integrated Circuit, internal integrated circuit) bus/SMI (Serial Management Interface, serial management interface) bus directly or indirectly accesses internal memory, hard disk, hard The accessories such as disk cage, hard disk controlling card, PCIE plug-in cards, therefore, BMC can (such as SPD be self-defined from the SPD regions of internal memory Region) in read internal memory corresponding first software version mark, hard disk can be read from the LOG regions of hard disk corresponding First software version is identified, and can read the corresponding first software version mark of disk cage from the EEPROM regions of disk cage Know, hard disk controlling card corresponding first software version mark can be read from the EEPROM regions of hard disk controlling card, can be with The corresponding first software version mark of PCIE plug-in cards is read from the EEPROM regions of PCIE plug-in cards.
Step 102, judges that first software version is identified whether higher than the second software version mark.
If it is, execution step 103;If it is not, then execution step 104.
Step 103, determines that server is needed using new software version, and the corresponding software version information of export server, To point out user to need the upgrading for carrying out software version to server by the software version information.
Step 104, determines that server need not use new software version, and refuses the corresponding software version of export server Information, i.e. accessory normally can be used, it is not necessary to the upgrading for carrying out software version to server.
In one example, the software version information can be included but is not limited to:Need the prompting using new software version Information (is needed using new software version by the information alert client server), and/or, need the software version mark being upgraded to Knowing (needs the software version being upgraded to mark, such as the first software version to identify or high by the information alert client server Version identifier in the first software version mark).
In one example, the first software version mark includes:The minimum bios version that accessory is supported is identified, minimum BMC Version identifier;Second software version mark includes:The processor of server currently used bios version mark, server The currently used BMC version identifiers of BMC.If the minimum bios version mark that accessory the is supported BIOS currently used higher than processor Version identifier, and/or, the minimum BMC version identifiers that accessory is supported higher than the currently used BMC version identifiers of BMC, then explanation the One software version mark is identified higher than the second software version.If the minimum bios version mark that accessory is supported is not higher than processor and works as The front bios version mark for using, the minimum BMC version identifiers that accessory is supported are not higher than the currently used BMC version identifiers of BMC, Illustrate that the first software version mark is not higher than the second software version mark.
In one example, server can also be safeguarded in advance and support accessory list, and this has supported to remember in accessory list The accessory name that the second software version mark supports accessory is recorded, i.e., under the current software version of server, the server can To support that the accessory name of accessory, these accessory names can be pre-configured in the accessory list of support of server.And, After server update to new software version, new software version can also be supported that the accessory name of accessory recorded and be propped up Hold in accessory list.
Accessory list is supported based on this, before step 102, the corresponding accessory name of accessory can also have been obtained, and led to Cross the corresponding accessory name of the accessory and inquire about this and support accessory list.If this has supported that accessory list includes that the accessory is corresponding Accessory name, it is determined that server need not use new software version, and refuse export server corresponding software version letter Breath, i.e., accessory normally can be used.If this has supported not including the corresponding accessory name of the accessory in accessory list, is judged One software version identifies whether to identify higher than the second software version.If it is, the corresponding software version information of export server. If it is not, then determining that server need not use new software version, and refuse the corresponding software version information of export server.
Wherein, accessory name is properly termed as board type again, and the accessory name is the unique mark of accessory.
In one example, for the process of " obtaining the corresponding accessory name of accessory ", can include but is not limited to:Mode If an accessory includes processor, request message is sent to the processor of accessory.The processor of accessory is receiving request message Afterwards, the corresponding accessory name of this accessory is obtained, and returns the response message for carrying the accessory name.Receiving processor return Response message after, as the response message carries the corresponding accessory name of the accessory, therefore, it can from the response message solve Separate out the corresponding accessory name of the accessory.Mode two, in the memory area of accessory, prestore the corresponding accessory name of the accessory Claim, based on this, the corresponding accessory name of the accessory directly can be read from the memory area of the accessory.Wherein, for including The accessory of processor and do not include the accessory of processor, accessory name can be obtained with employing mode two.
If being internal memory for two accessory of mode, the memory area of accessory is specifically as follows SPD regions.If accessory is hard Disk, then the memory area of accessory be specifically as follows LOG regions.If accessory is disk cage or hard disk controlling card or PCIE inserting Card, then the memory area of accessory is specifically as follows EEPROM regions.
Further, BMC can directly or indirectly access internal memory, hard disk, hard disk by I2C buses/SMI buses The accessories such as cage, hard disk controlling card, PCIE plug-in cards, therefore BMC can read the corresponding accessory of internal memory from the SPD regions of internal memory Title, can read the corresponding accessory name of hard disk from the LOG regions of hard disk, can be from the EEPROM regions of disk cage The corresponding accessory name of disk cage is read, and hard disk controlling card can be read from the EEPROM regions of hard disk controlling card corresponding Accessory name, the corresponding accessory name of PCIE plug-in cards can be read from the EEPROM regions of PCIE plug-in cards.
In one example, the corresponding first software version mark of accessory and accessory name can also be obtained simultaneously, is based on This, if accessory includes processor, sends request message to processor, and the response message that receiving processor is returned disappears from the response The corresponding first software version mark of accessory and accessory name is parsed in breath.Or, read from the memory area of accessory and match somebody with somebody The corresponding first software version mark of part and accessory name.
In actual applications, for same accessory, it may be necessary to be inserted into multiple products, if desired for being inserted into server A or server B or server C, therefore can configure this multiple product for the accessory and distinguish corresponding first software version mark Know, i.e., accessory is identified to the first software version that there should be multiple names of product.Based on this, the corresponding first software version of accessory is obtained The process of this mark, including but not limited to following manner:Mode one, the corresponding names of product of BIOS for obtaining server, if match somebody with somebody Part includes processor, then send the request message for carrying the corresponding names of product of the BIOS to processor, and receiving processor is returned Response message, the response message carries the first software version of corresponding corresponding with the BIOS name of product coupling of the accessory This mark, and the corresponding first software version mark of the accessory is parsed from the response message.Mode two, obtain server The corresponding names of product of BIOS, read the corresponding name of product corresponding with the BIOS of the accessory from the memory area of accessory The first software version mark of coupling.Wherein, for including the accessory of processor and not including the accessory of processor, can adopt The first software version mark that the corresponding name of product coupling corresponding with the BIOS of the accessory is obtained with mode two.
Obtain the process of the corresponding accessory name of accessory, including but not limited to following manner:Mode one, obtain server The corresponding names of product of BIOS, if accessory includes processor, send to processor and carry the corresponding names of product of the BIOS Request message, the response message that receiving processor is returned, the response message carry the corresponding product corresponding with the BIOS of the accessory The accessory name of product name-matches, and the corresponding accessory name of the accessory is parsed from the response message.Mode two, acquisition clothes The corresponding names of product of BIOS of business device, read the corresponding product corresponding with the BIOS of the accessory from the memory area of accessory The accessory name of product name-matches.Wherein, for including the accessory of processor and not including the accessory of processor, can adopt Mode two obtains the accessory name of the corresponding name of product coupling corresponding with the BIOS of the accessory.
In one example, the corresponding name of product coupling corresponding with the BIOS of the accessory can also be obtained simultaneously First software version mark and accessory name, this process are similar with said process, repeat no more.
For example, accessory 1 pair should have the first software version mark A and accessory name 1 of name of product 1, the of name of product 2 One software version mark B and accessory name 1, the first software version mark C of name of product 3 and accessory name 1.It is based on this, Accessory 1 is inserted into after server 1, it is assumed that the corresponding names of product of BIOS of server 1 are (the i.e. server 1 pair of name of product 1 The unique product identification that answers), then after name of product 1 is got, it may be determined that go out that the accessory 1 is corresponding and the ProductName The the first software version mark and accessory name for claiming 1 coupling is respectively the first software version mark A and accessory name 1.
Above-mentioned technical proposal is based on, in the embodiment of the present application, (accessory for newly increasing can be referred to as newly matching somebody with somebody when accessory Part) when being inserted into server, compare the corresponding first software version mark of accessory and the second currently used software version of server This mark, if the first software version mark is identified higher than the second software version, the corresponding software version information of export server.This Sample, when accessory is inserted into server, can know whether the currently used software version of server supports the accessory, not prop up When holding the accessory, the corresponding software version information of export server, so as to user is known based on the software version information to need to rise The software version of level server and the software version mark for needing to be upgraded to.Aforesaid way is based on, can be with upgrade server Software version, reduces accessory as far as possible and abnormal number of times occurs, such as reduce the frequency of abnormity such as accessory is overheated, accessory burns.
Shown in Figure 3, it is the flow chart of software version reminding method, can apply to the BMC of server.
Step 301, BMC detect accessory and are inserted into server.
Step 302, BMC obtain the corresponding first software version mark of the accessory and accessory name.
Step 303, BMC judge to have supported to whether there is the accessory name in accessory list.
If it is, BMC execution steps 304, if it is not, then BMC execution steps 305.
Step 304, BMC determine that server need not use new software version, and refuse the corresponding software of export server Version information, i.e. accessory normally can be used.
Step 305, BMC obtain currently used the second software version mark of the server.
Step 306, BMC judge that first software version is identified whether higher than the second software version mark.
If it is, BMC execution steps 307, if it is not, then BMC execution steps 308.
Step 307, the corresponding software version information of BMC export servers.
Step 308, BMC determine that server need not use new software version, and refuse the corresponding software of export server Version information, i.e. accessory normally can be used.
Conceived based on the application same with said method, in the embodiment of the present application, additionally provide a kind of software version prompting dress Put, the software version suggestion device application is on the server.Wherein, the software version suggestion device can be realized by software, Can also be realized by way of hardware or software and hardware combining.As a example by implemented in software, as the dress on a logical meaning Put, be the processor by its server being located, corresponding computer program instructions are formed in reading non-volatile storage 's.From for hardware view, as shown in figure 4, one kind of the server at the software version suggestion device place proposed for the application Hardware structure diagram, in addition to the processor shown in Fig. 4, nonvolatile memory, server can also include other hardware, such as negative The forwarding chip of duty process message, network interface, internal memory etc.;For from hardware configuration, server is also possible to be distributed setting Standby, multiple interface cards are potentially included, so that the extension of Message processing is carried out in hardware view.
As shown in figure 5, the structure chart of the software version suggestion device proposed for the application, the device includes:
Acquisition module 11, for when detecting accessory and being inserted into server, obtaining corresponding first software of the accessory Version identifier, and obtain currently used the second software version mark of the server;
Judge module 12, for judging that the first software version identifies whether to identify higher than the second software version;
Processing module 13, for identifying higher than the second software version mark for first software version when judged result During knowledge, then export the corresponding software version information of the server.
In one example, the acquisition module 11, is additionally operable to obtain the corresponding accessory name of the accessory, and passes through institute State accessory name inquiry and support accessory list;Wherein, described supported in accessory list, to have recorded second software version Mark supports the accessory name of accessory;
The judge module 12, specifically for having supported not including the corresponding accessory of the accessory in accessory list when described During title, judge that first software version identifies whether to identify higher than second software version;
The processing module 13, is additionally operable to support that accessory list includes the corresponding accessory name of the accessory when described Claim, or, when judged result is that not higher than described second software version of first software version mark is identified, determine described Server need not use new software version, and refuse to export the corresponding software version information of the server.
In one example, the acquisition module 11, specifically for obtaining corresponding first software version of the accessory During mark, if the accessory includes processor, request message is sent to the processor, receive the processor and return Response message, the response message carries the corresponding first software version mark of the accessory;Solve from the response message Separate out the first software version mark;Or,
The corresponding first software version mark of the accessory is read from the memory area of the accessory;Wherein, described deposit Storage area domain is used for storing the corresponding first software version mark of accessory.
In one example, if the accessory is identified to the first software version that should have multiple names of product, the acquisition Module 11, specifically for, during the corresponding first software version mark of the accessory is obtained, obtaining the server The corresponding name of product of basic input-output system BIOS;
If the accessory includes processor, send to the processor and carry asking for the corresponding names of product of the BIOS Message is sought, and receives the response message that the processor is returned, it is corresponding and described that the response message carries the accessory The first software version mark of the corresponding name of product couplings of BIOS;It is corresponding that the accessory is parsed from the response message First software version is identified;Or, it is corresponding corresponding with the BIOS that the accessory is read from the memory area of the accessory Name of product coupling the first software version mark;The memory area is used for storing the first soft of the plurality of name of product Part version identifier.
In one example, the accessory is specifically included:Internal memory, hard disk, disk cage, hard disk controlling card, PCIE plug-in cards;If The accessory is internal memory, then the memory area is specially SPD regions;If the accessory is hard disk, the memory area tool Body is LOG regions;If the accessory is disk cage or hard disk controlling card or PCIE plug-in cards, the memory area is concrete For EEPROM regions;
The accessory corresponding first software version mark that the acquisition module 11 is obtained includes the accessory support Minimum bios version mark, lowest substrate Management Controller BMC version identifiers;The server that the acquisition module 11 is obtained Currently used the second software version mark includes the currently used bios version mark of the processor of the server, server The currently used BMC version identifiers of BMC.
In one example, the corresponding software version information of the server of the output of the processing module 13 includes:Need The information of new software version is used, and/or, need the software version mark being upgraded to.
Wherein, the modules of the application device can be integrated in one, it is also possible to be deployed separately.Above-mentioned module can be closed And be a module, it is also possible to it is further split into multiple submodule.
Through the above description of the embodiments, those skilled in the art can be understood that the application can be by Software adds the mode of required general hardware platform to realize, naturally it is also possible to which by hardware, but the former is more in many cases Good embodiment.Such understanding is based on, the technical scheme of the application is substantially contributed to prior art in other words Part can be embodied in the form of software product, and the computer software product is stored in a storage medium, if including Dry instruction is used so that a computer equipment (can be personal computer, server, or network equipment etc.) executes this Shen Method that please be described in each embodiment.It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, Module or flow process in accompanying drawing is not necessarily implemented necessary to the application.
It will be appreciated by those skilled in the art that module in device in embodiment can be carried out point according to embodiment description It is distributed in the device of embodiment, it is also possible to carry out respective change and be disposed other than in one or more devices of the present embodiment.On The module for stating embodiment can merge into a module, can also be further split into multiple submodule.Above-mentioned the embodiment of the present application Sequence number is for illustration only, does not represent the quality of embodiment.
Several specific embodiments of only the application disclosed above, but, the application is not limited to this, any ability What the technical staff in domain can think change should all fall into the protection domain of the application.

Claims (14)

1. a kind of software version reminding method, is applied to server, it is characterised in that methods described includes:
When detecting accessory and being inserted into server, the corresponding first software version mark of the accessory is obtained;
Obtain currently used the second software version mark of the server;
Judge that first software version identifies whether to identify higher than second software version;
If it is, the corresponding software version information of the output server.
2. method according to claim 1, it is characterised in that the judgement first software version identify whether be higher than Before the second software version mark, methods described is further included:
The corresponding accessory name of the accessory is obtained, accessory list has been supported by accessory name inquiry;Wherein, described Support in accessory list, to have recorded the accessory name that the second software version mark supports accessory;
If described supported that accessory list includes the corresponding accessory name of the accessory, it is determined that the server need not make New software version is used, and refuses to export the corresponding software version information of the server;
If described supported not including the corresponding accessory name of the accessory in accessory list, execute and judge first software Whether version identifier is higher than the process of second software version mark.
3. method according to claim 1, it is characterised in that the judgement first software version identify whether be higher than After the second software version mark, methods described is further included:
If it is not, then determine that the server need not use new software version, and refuse to export the server corresponding soft Part version information.
4. method according to claim 1, it is characterised in that
The process for obtaining the corresponding first software version mark of the accessory, specifically includes:
If the accessory includes processor, request message is sent to the processor, the response for receiving the processor return disappears Breath, the response message carry the corresponding first software version mark of the accessory;Parse from the response message described First software version is identified;Or,
The corresponding first software version mark of the accessory is read from the memory area of the accessory;Wherein, the memory block Domain is used for storing the corresponding first software version mark of accessory.
5. method according to claim 1, it is characterised in that
If the accessory is to the first software version mark that there should be multiple names of product, described the accessory corresponding first is obtained The process of software version mark, specifically includes:
Obtain the corresponding name of product of basic input-output system BIOS of the server;
If the accessory includes processor, the request for sending the corresponding names of product of the carrying BIOS to the processor disappears Breath, and the response message that the processor is returned is received, it is corresponding and described BIOS pair that the response message carries the accessory The first software version mark of the name of product coupling that answers;It is corresponding first soft that the accessory is parsed from the response message Part version identifier;Or, the corresponding product corresponding with the BIOS of the accessory is read from the memory area of the accessory The first software version mark of name-matches;The memory area is used for the first software version for storing the plurality of name of product Mark.
6. method according to claim 4, it is characterised in that the accessory is specifically included:Internal memory, hard disk, disk cage, hard Disk control card, high speed peripheral component interlinkage standard PCIE plug-in card;
If the accessory is internal memory, the memory area is specially serial and there is detection SPD regions;
If the accessory is hard disk, the memory area is specially daily record LOG regions;
If the accessory is disk cage or hard disk controlling card or PCIE plug-in cards, the memory area is specially electrically erasable Programmable read only memory EEPROM region.
7. method according to claim 1, it is characterised in that the software version information includes:Need using new software The information of version, and/or, need the software version mark being upgraded to.
8. the method according to any one of claim 1-7, it is characterised in that the software version reminding method is applied to The baseboard management controller BMC of server or processor;
The first software version mark includes that the minimum bios version that the accessory is supported is identified and minimum BMC versions mark Know;The second software version mark includes that the currently used bios version of the processor of the server is identified and described The currently used BMC version identifiers of the BMC of server.
9. a kind of software version suggestion device, is applied to server, it is characterised in that described device includes:
Acquisition module, for when detecting accessory and being inserted into server, obtaining the corresponding first software version mark of the accessory Know, and obtain currently used the second software version mark of the server;
Judge module, for judging that first software version identifies whether to identify higher than the second software version;
Processing module, for when judged result be first software version mark higher than second software version identify when, The server corresponding software version information is then exported.
10. device according to claim 9, it is characterised in that
The acquisition module, is additionally operable to obtain the corresponding accessory name of the accessory, and is propped up by accessory name inquiry Hold accessory list;Wherein, the accessory for having supported to have recorded the second software version mark support accessory in accessory list Title;
The judge module, specifically for having supported not including the corresponding accessory name of the accessory in accessory list when described When, then judge that first software version identifies whether to identify higher than second software version;
The processing module, is additionally operable to support that accessory list includes the corresponding accessory name of the accessory when described, or, When judged result is that not higher than described second software version of first software version mark is identified, the server is determined not Need using new software version, and refuse to export the corresponding software version information of the server.
11. devices according to claim 9, it is characterised in that
The acquisition module, specifically for during the corresponding first software version mark of the accessory is obtained, if described Accessory includes processor, sends request message to the processor, receives the response message that the processor is returned, the response Message carries the corresponding first software version mark of the accessory;First software version is parsed from the response message Mark;Or,
The corresponding first software version mark of the accessory is read from the memory area of the accessory;Wherein, the memory block Domain is used for storing the corresponding first software version mark of accessory.
12. devices according to claim 9, it is characterised in that
If the accessory is identified to the first software version that should have multiple names of product, the acquisition module, specifically for obtaining During taking the corresponding first software version mark of the accessory, the basic input-output system BIOS of the server is obtained Corresponding name of product;
If the accessory includes processor, the request for sending the corresponding names of product of the carrying BIOS to the processor disappears Breath, and the response message that the processor is returned is received, it is corresponding and described BIOS pair that the response message carries the accessory The first software version mark of the name of product coupling that answers;It is corresponding first soft that the accessory is parsed from the response message Part version identifier;Or, the corresponding product corresponding with the BIOS of the accessory is read from the memory area of the accessory The first software version mark of name-matches;The memory area is used for the first software version for storing the plurality of name of product Mark.
13. devices according to claim 11 or 12, it is characterised in that the accessory is specifically included:Internal memory, hard disk, hard Disk cage, hard disk controlling card, high speed peripheral component interlinkage standard PCIE plug-in card;
If the accessory is internal memory, the memory area is specially serial and there is detection SPD regions;
If the accessory is hard disk, the memory area is specially daily record LOG regions;
If the accessory is disk cage or hard disk controlling card or PCIE plug-in cards, the memory area is specially electrically erasable Programmable read only memory EEPROM region;
The corresponding first software version mark of the accessory that the acquisition module is obtained includes the minimum of the accessory support Bios version mark, lowest substrate Management Controller BMC version identifiers;The server that the acquisition module is obtained currently makes Second software version mark includes the currently used bios version mark of the processor of the server, the BMC of server Currently used BMC version identifiers.
14. devices according to claim 9 or 10, it is characterised in that
The corresponding software version information of the server of processing module output includes:Need carrying using new software version Show information, and/or, need the software version mark being upgraded to.
CN201610941464.1A 2016-10-25 2016-10-25 software version prompting method and device Active CN106502863B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610941464.1A CN106502863B (en) 2016-10-25 2016-10-25 software version prompting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610941464.1A CN106502863B (en) 2016-10-25 2016-10-25 software version prompting method and device

Publications (2)

Publication Number Publication Date
CN106502863A true CN106502863A (en) 2017-03-15
CN106502863B CN106502863B (en) 2019-12-06

Family

ID=58320893

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610941464.1A Active CN106502863B (en) 2016-10-25 2016-10-25 software version prompting method and device

Country Status (1)

Country Link
CN (1) CN106502863B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114675895A (en) * 2020-12-24 2022-06-28 北京金风科创风电设备有限公司 Wind generating set and software configuration method and device thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003167742A (en) * 2001-12-03 2003-06-13 Matsushita Electric Ind Co Ltd Firmware update system, firmware update method, firmware update program and recording medium
US20050057991A1 (en) * 2003-08-29 2005-03-17 Olympus Corporation Data rewriting apparatus and data rewriting method
US7415563B1 (en) * 2006-06-27 2008-08-19 Apple Inc. Method and system for allowing a media player to determine if it supports the capabilities of an accessory
CN102609285A (en) * 2012-02-06 2012-07-25 中兴通讯股份有限公司 Method for intelligent drive matched loading
JP2014211665A (en) * 2013-04-17 2014-11-13 キヤノン株式会社 Optical device and program update system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003167742A (en) * 2001-12-03 2003-06-13 Matsushita Electric Ind Co Ltd Firmware update system, firmware update method, firmware update program and recording medium
US20050057991A1 (en) * 2003-08-29 2005-03-17 Olympus Corporation Data rewriting apparatus and data rewriting method
US7415563B1 (en) * 2006-06-27 2008-08-19 Apple Inc. Method and system for allowing a media player to determine if it supports the capabilities of an accessory
CN102609285A (en) * 2012-02-06 2012-07-25 中兴通讯股份有限公司 Method for intelligent drive matched loading
JP2014211665A (en) * 2013-04-17 2014-11-13 キヤノン株式会社 Optical device and program update system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114675895A (en) * 2020-12-24 2022-06-28 北京金风科创风电设备有限公司 Wind generating set and software configuration method and device thereof
CN114675895B (en) * 2020-12-24 2024-02-23 北京金风科创风电设备有限公司 Wind generating set and software configuration method and device thereof

Also Published As

Publication number Publication date
CN106502863B (en) 2019-12-06

Similar Documents

Publication Publication Date Title
US6496790B1 (en) Management of sensors in computer systems
US7293165B1 (en) BMC-hosted boot ROM interface
US6725178B2 (en) Use of hidden partitions in a storage device for storing BIOS extension files
US8943302B2 (en) Method of flashing bios using service processor and computer system using the same
EP3522059B1 (en) Perform security action based on inventory comparison
US8640118B2 (en) Managing firmware on a system board
CN109670349B (en) Hardware architecture of trusted computer and trusted starting method of computer
US20050246478A1 (en) Information processing apparatus and a method and a program of loading a device driver
US7797696B1 (en) Dynamically updating a computer system and firmware image utilizing an option read only memory (OPROM) data structure
CN101393524A (en) Firmware update method and system using the same
WO2017193882A1 (en) Method and device for upgrading embedded memory and related terminal
CN114003538B (en) Identification method of intelligent network card and intelligent network card
CN106843947B (en) Method and device for processing code defects
CN107135462B (en) Bluetooth pairing method of UEFI firmware and computing system thereof
US20100064079A1 (en) USB Devices Pre-Configuration For KVM Switch
CN107239372B (en) Electronic device and detection method thereof
US9465597B2 (en) System for operating a device as a storage device and a modem device
US6751569B2 (en) System and method for receiving information from a test apparatus
US7725806B2 (en) Method and infrastructure for recognition of the resources of a defective hardware unit
US7366890B2 (en) Method for switching to a service mode of operation in response to detecting a device connected to an I/O port of the system
CN106502863A (en) A kind of software version reminding method and device
CN104516743A (en) Upgrading method and system of embedded device firmware based on ActiveX
CN114020681B (en) Method, device and system for distributing logical drive letter, electronic equipment and storage medium
CN115913913A (en) Network card pre-starting execution environment function fault positioning method and device
CN110442387B (en) Parameter self-adaption method and device of vehicle-mounted system and vehicle

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 310052 Binjiang District, Zhejiang Province, Changhe Road, No. 11, building 466, building

Applicant after: Huashan Information Technology Co., Ltd.

Address before: 310052 Binjiang District, Zhejiang Province, Changhe Road, No. 11, building 466, building

Applicant before: Hangzhou Kun Hai Information Technology Co., Ltd

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 310052 11th Floor, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Xinhua Sanxin Information Technology Co., Ltd.

Address before: 310052 11th Floor, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province

Applicant before: Huashan Information Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant