Summary of the invention
Based on the above issues, this application provides a kind of firmware information acquisition methods and relevant apparatus, solid to solve to obtain
The problem that the instantaneity of part information is poor, error rate is high.
The embodiment of the present application discloses following technical solution:
In a first aspect, the application provides a kind of firmware information acquisition methods, comprising:
Obtain the querying condition of target firmware;
According to the querying condition, from the material common store library of Production Lifecycle Management PLM system, acquisition meets
The firmware information of the querying condition, the firmware information include the firmware information of the target firmware.
Optionally, the querying condition includes partial or complete component coding, and the component is the target firmware institute
The component of category;
It is described according to the querying condition, from the material common store library of Production Lifecycle Management PLM system, obtain
The firmware information for meeting the querying condition, specifically includes:
According to the partial or complete component coding, from the material common store of Production Lifecycle Management PLM system
In library, the corresponding firmware information of the partial or complete component coding is obtained.
Optionally, the querying condition includes partial or complete component names, and the component is the target firmware institute
The component of category;
It is described according to the querying condition, from the material common store library of Production Lifecycle Management PLM system, obtain
The firmware information for meeting the querying condition, specifically includes:
According to the partial or complete component names, from the material common store of Production Lifecycle Management PLM system
In library, the corresponding firmware information of the partial or complete component names is obtained.
Optionally, the querying condition includes part classification, and the component is component belonging to the target firmware;
It is described according to the querying condition, from the material common store library of Production Lifecycle Management PLM system, obtain
The firmware information for meeting the querying condition, specifically includes:
According to the part classification, from the material common store library of Production Lifecycle Management PLM system, described in acquisition
The corresponding firmware information of part classification.
Optionally, the querying condition includes the refreshing mode of the target firmware;
It is described according to the querying condition, from the material common store library of Production Lifecycle Management PLM system, obtain
The firmware information for meeting the querying condition, specifically includes:
According to the refreshing mode, from the material common store library of Production Lifecycle Management PLM system, described in acquisition
The corresponding firmware information of refreshing mode.
Optionally, the firmware information for meeting the querying condition, including at least one of the following:
Firmware version, method for refreshing or the corresponding change order of the firmware version of the target firmware are compiled
Number.
Optionally, the firmware information for meeting the querying condition, further includes:
The complete component coding of target firmware and/or complete component names, the component are the target firmware
Affiliated component.
Optionally, firmware information acquisition methods provided by the present application, further includes:
Meet the firmware information of the querying condition described in displaying.
Optionally, firmware information acquisition methods provided by the present application, further includes:
In response to the operation of triggering export data, the firmware information for meeting the querying condition is exported as into Excel
File.
Second aspect, this application provides a kind of firmware information acquisition device, comprising:
Querying condition acquiring unit, for obtaining the querying condition of target firmware;
Firmware information acquiring unit is used for according to the querying condition, from the material of Production Lifecycle Management PLM system
In common store library, the firmware information for meeting the querying condition is obtained, the firmware information includes consolidating for the target firmware
Part information.
Compared to the prior art, the application has the advantages that
Firmware information acquisition methods provided by the present application obtain the querying condition of target firmware first;Thereafter, according to described
Querying condition, from the material common store library of Production Lifecycle Management PLM system, acquisition meets consolidating for the querying condition
Part information, the firmware information include the firmware information of the target firmware.
Since in the material common store library of PLM system, there is firmware information corresponding to the querying condition of target firmware,
Therefore, the firmware information for getting target firmware can be inquired according to the querying condition of target firmware using this method.Thus may be used
See, this method is not necessarily to manual delivery firmware information, ensure that the accuracy of acquired firmware information.In addition, since firmware is believed
After breath changes, in material common store library can immediate updating firmware information, therefore compared with the prior art, this method is also
The instantaneity of the firmware information of acquisition can be improved.
Specific embodiment
To solve the problems, such as that the instantaneity for obtaining firmware information is poor, error rate is high, a kind of firmware information is proposed in the application
Acquisition methods and relevant apparatus.To keep the objects, features and advantages of the application more obvious and easy to understand, with reference to the accompanying drawing and
Specific embodiment is described in further detail the technical solution of the application.
First embodiment
Referring to Fig. 1, which is a kind of flow chart of firmware information acquisition methods provided by the embodiments of the present application.
As shown in Figure 1, firmware information acquisition methods provided in this embodiment, comprising:
Step 101: obtaining the querying condition of target firmware.
Firmware is that write-in rewritable read-only memory (Erasable Read-Only Memory, EROM) or electrically erasable can
In program read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM)
Program.Firmware typically refers to the device driver saved inside equipment, by firmware, operating system according to standard equipment
Driving realizes that the run action, such as CD-ROM drive, CD writer etc. of specific machine have internal firmware.In some hardware devices, Gu
Part is exactly the core of hardware device, this is because not having other software composition in these hardware devices other than firmware, therefore
Firmware decides the function and performance of hardware device.
In the application, component such as RAID card, SAS card, network interface card, video card, HBA card and HCA card etc. includes firmware.Mesh
The firmware information for marking firmware is the firmware information of demand acquisition.It in the present embodiment, is the firmware information for obtaining target firmware, it is first
First need to obtain the querying condition of target firmware.
The querying condition for the target firmware that this step obtains can be the combination of any one or more in following:
(1) component coding;(2) component names;(3) part classification;(4) the refreshing mode of target firmware.
It should be noted that component is component belonging to target firmware in the above optional querying condition.In addition, portion
Part coding and component names support fuzzy query, that is to say, that the component coding in querying condition (1) can be section components
Coding or complete component coding;Component names in querying condition (2) can be section components title or complete name of parts
Claim.
For example, the querying condition of target firmware are as follows: section components encode " V05H* ", and expression is currently able to determine mesh
Component coding first four for marking firmware associated components are " V05H ", and coding thereafter is indefinite.It gives an example again, target firmware
Querying condition are as follows: section components encode " * T1*558* ", indicate the component coding for being currently able to determine target firmware associated components
Comprising connected " 558 ", and there is connected " T1 " in position non-adjacent before " 558 ", before " T1 ", between " T1 " and " 558 " with
And coding after " 558 " and indefinite.Querying condition is that section components title is also identical mode, can be uncertain
" * " is filled up at title.
Certainly, optionally, as the querying condition of fuzzy query, in section components coding and section components title, symbol
" * " can also be indicated by other symbols, such as " " or " " etc..
When part classification is as querying condition, part classification can be with are as follows: RAID card, SAS card, network interface card, video card, HBA card,
Any one in HCA card or other component.If part classification is not as querying condition, it is defaulted as " unlimited classification ".
When the refreshing mode of target firmware is as querying condition, the refreshing mode of target firmware can be with are as follows: refresh with line or
Under line refresh in any one.If the refreshing mode of target firmware is not as querying condition, it is defaulted as " unlimited mode ".
It should be noted that referring to line refreshing, the refreshing mode of refresh part firmware when production server complete machine;It is brushed under line
Newly refer to, except production line, passes through special jig or PC (Personal Computer, PC) or mainboard etc.
The refreshing mode of refresh part firmware.
Step 102: according to the querying condition, from the material common store library of Production Lifecycle Management PLM system,
Obtain the firmware information for meeting the querying condition.
The life cycle of product just refers to that demand of the people to product starts, and eliminates the whole life scrapped to product and goes through
Journey.Pass through the analysis to the product life cycle, it can be realized that require which stage, those content of management product and need
Which function is provided.
Production Lifecycle Management (Product Lifecycle Management, PLM) system becomes current product and grinds
Send out class and the common system of production class enterprise.For different company and enterprise, the material in the PLM system of application is logical
It is had differences with repository.Usually, the data information in material common store library initial in PLM system is to be left to be desired
, therefore, the use process for PLM system is also to improve the process in material common store library.
In the material common store library of PLM system, firmware information corresponding to the querying condition with target firmware, because
This, this step inquires the firmware information for getting target firmware according to the querying condition of target firmware.
Meet the firmware information of the querying condition, including at least one of the following:
Firmware version, method for refreshing or the corresponding change order of the firmware version (Engineer Change
Notice, ECN) number.
It should be noted that firmware version may be FW version or basic input output system (Basic Input/
Output System, BIOS) version.
It should be noted that BIOS is a kind of mode that part company or professional person call firmware.For example, at present
The HBA card of Qlogic company shows its firmware using BIOS table.Usually firmware version only is indicated with one of FW version or bios version
This.
Method for refreshing is the specific instructions or concrete operation step needed to be implemented when refreshing firmware.
It is understood that meeting in the firmware information of querying condition for this step acquisition, includes the target firmware
Firmware information.Therefore, in the firmware information for meeting the querying condition, including at least one of the following:
Firmware version, method for refreshing or the corresponding change order number of firmware version of target firmware.
In addition, meet the firmware information of the querying condition, can also include: firmware complete component coding and/or
Complete component names.
In firmware information due to meeting querying condition, the firmware information comprising target firmware, therefore, and therefore, the symbol
It can also include: the complete component coding and/or complete name of parts of target firmware in the firmware information for closing querying condition
Claim.
The realization of this step is illustrated below.
Example one: querying condition includes section components coding " V05H* ", this step encodes " V05H* " according to section components,
From the material common store library of PLM system, the corresponding firmware information of fetching portion component coding " V05H* ".Referring to fig. 2, should
Figure show the firmware information of acquisition, and firmware information shares three groups, and the serial number of each group firmware information is respectively 1,2 and 3.
Example two: querying condition includes section components title " network interface card * PCIEx8* ", this step is according to the section components
Title " network interface card * PCIEx8* ", from the material common store library of PLM system, fetching portion component names " network interface card * PCIEx8* "
Corresponding firmware information.
Example three: querying condition includes part classification " HCA card ", this step according to the part classification " HCA card ", from
In the material common store library of PLM system, " HCA card " corresponding firmware information described in acquisition.
Example four: querying condition includes the refreshing mode " refreshing under line " of the target firmware, this step is according to the brush
New paragon " refreshes " under line, and from the material common store library of PLM system, the refreshing mode for obtaining " refreshing under line " is corresponding solid
Part information.
It is, of course, understood that querying condition can be the form of multiple queries conditional combination, such as section components are compiled
Code is combined with refreshing mode.The concrete mode for the firmware information for no longer combining acquisition target firmware to multiple queries herein is lifted
Example repeats.
It is understood that the querying condition of target firmware is more detailed, abundanter, the firmware information inquired is more accurate.
More than, it is a kind of firmware information acquisition methods provided by the embodiments of the present application.In this method, acquisition target first is solid
The querying condition of part;Thereafter, according to the querying condition, from the material common store library of Production Lifecycle Management PLM system
In, the firmware information for meeting the querying condition is obtained, the firmware information includes the firmware information of the target firmware.
Since in the material common store library of PLM system, there is firmware information corresponding to the querying condition of target firmware,
Therefore, the firmware information for getting target firmware can be inquired according to the querying condition of target firmware using this method.Thus may be used
See, this method is not necessarily to manual delivery firmware information, ensure that the accuracy of acquired firmware information.In addition, since firmware is believed
After breath changes, in material common store library can immediate updating firmware information, therefore compared with the prior art, this method is also
The instantaneity of the firmware information of acquisition can be improved.
Second embodiment
Referring to Fig. 3, which is another firmware information acquisition methods flow chart provided by the embodiments of the present application.
As shown in figure 3, firmware information acquisition methods provided in this embodiment, comprising:
Step 301: obtaining the querying condition of target firmware.
Step 302: according to the querying condition, from the material common store library of Production Lifecycle Management PLM system,
Obtain the firmware information for meeting the querying condition.
Wherein, the firmware information includes the firmware information of the target firmware.
In the present embodiment, the embodiment of step 301 and step 302 is identical with previous embodiment, reference can be made to aforementioned reality
Example is applied, herein to the embodiment of step 301 and step 302 without repeating.
User is supplied to for the convenient firmware information for meeting querying condition that will acquire, in the present embodiment, after step 302
Further include following steps:
Step 303: meeting the firmware information of the querying condition described in displaying.
In the embodiment of the present application, the frame of a displaying firmware information can be write in advance, got and meet querying condition
Firmware information after, firmware information is shown in a tabular form in query page based on this frame, firmware information shows
Example bandwagon effect can be found in Fig. 2.Frame Design is different, then bandwagon effect is also possible to difference.
Step 304: in response to the operation of triggering export data, the firmware information for meeting the querying condition being exported
For Excel file.
For some users, it is understood that there may be to firmware information (firmware information comprising target firmware) carry out processing or
The demands such as recycling.At this time, it may be necessary to which the firmware information for meeting querying condition that will acquire is supplied to user in a manner of convenient and fast
End.
As a specific implementation manner, data export can be provided in the page of above-mentioned displaying firmware information in advance
Module, as an example, the module can correspond to " export data " button shown in Fig. 2.User triggers the behaviour of export data
After work, that is, may be in response to the operation, the firmware information for meeting querying condition exported as into Excel file, it is user-friendly this
Meet the firmware information of querying condition a bit.
It should be noted that not being defined to the execution sequence of step 303 and step 304, Fig. 3 institute in the present embodiment
The execution sequence shown is merely illustrative.Step 304 can also execute before step 303, or be performed simultaneously with step 303.
Based on the firmware information acquisition methods that previous embodiment provides, correspondingly, the application also provides a kind of firmware information
Acquisition device.The device is introduced with reference to the accompanying drawings and examples.
3rd embodiment
Referring to fig. 4, which is a kind of structural schematic diagram of firmware information acquisition device provided by the embodiments of the present application.
As shown in figure 4, firmware information acquisition device provided in this embodiment, comprising: querying condition acquiring unit 401 and solid
Part information acquisition unit 402.
Wherein, querying condition acquiring unit 401, for obtaining the querying condition of target firmware;
Firmware information acquiring unit 402 is used for according to the querying condition, from Production Lifecycle Management PLM system
In material common store library, the firmware information for meeting the querying condition is obtained, the firmware information includes the target firmware
Firmware information.
In the present embodiment, the querying condition of target firmware can be the combination of any one or more in following:
(1) component coding;(2) component names;(3) part classification;(4) the refreshing mode of target firmware.
It should be noted that component is component belonging to target firmware in the above optional querying condition.In addition, portion
Part coding and component names support fuzzy query, that is to say, that the component coding in querying condition (1) can be section components
Coding or complete component coding;Component names in querying condition (2) can be section components title or complete name of parts
Claim.
According to querying condition, the firmware information for meeting querying condition of acquisition includes at least one of the following:
Firmware version, method for refreshing or the corresponding change order of the firmware version (Engineer Change
Notice, ECN) number.
In addition, meet the firmware information of the querying condition, can also include: firmware complete component coding and/or
Complete component names.
In firmware information due to meeting querying condition, the firmware information comprising target firmware, therefore, and therefore, the symbol
May include at least one of the following in the firmware information for closing querying condition:
Firmware version, method for refreshing or the corresponding change order number of firmware version of target firmware.
In addition, meet in the firmware information of querying condition, can also include: target firmware complete component coding and/
Or complete component names.
More than, it is a kind of firmware information acquisition device provided by the embodiments of the present application.It is deposited since the material of PLM system is general
In storage cavern, firmware information corresponding to the querying condition with target firmware therefore can be according to target firmware using the device
Querying condition, inquiry gets the firmware information of target firmware.It can be seen that the device is not necessarily to manual delivery firmware information,
It ensure that the accuracy of acquired firmware information.In addition, after being changed due to firmware information, energy in material common store library
Enough immediate updating firmware informations, therefore compared with the prior art, which also can be improved the instantaneity of the firmware information of acquisition.
In addition, the firmware information acquisition device provided in the present embodiment can also be into one as a kind of possible implementation
Step includes:
Firmware information display unit 403, for showing the firmware information for meeting the querying condition.
As alternatively possible implementation, the firmware information acquisition device of the present embodiment body can also be wrapped further
It includes:
Firmware information lead-out unit 404 meets the inquiry item for described for the operation in response to triggering export data
The firmware information of part exports as Excel file.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment it
Between same and similar part may refer to each other, each embodiment focuses on the differences from other embodiments.
For equipment and system embodiment, since it is substantially similar to the method embodiment, so describe fairly simple,
The relevent part can refer to the partial explaination of embodiments of method.Equipment and system embodiment described above is only schematic
, wherein unit may or may not be physically separated as illustrated by the separation member, as unit prompt
Component may or may not be physical unit, it can and it is in one place, or may be distributed over multiple networks
On unit.Some or all of the modules therein can be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
Those of ordinary skill in the art can understand and implement without creative efforts.
The above, only a kind of specific embodiment of the application, but the protection scope of the application is not limited thereto,
Within the technical scope of the present application, any changes or substitutions that can be easily thought of by anyone skilled in the art,
Should all it cover within the scope of protection of this application.Therefore, the protection scope of the application should be with scope of protection of the claims
Subject to.