CN110515663A - A kind of method and device configuring DMI information - Google Patents

A kind of method and device configuring DMI information Download PDF

Info

Publication number
CN110515663A
CN110515663A CN201910683990.6A CN201910683990A CN110515663A CN 110515663 A CN110515663 A CN 110515663A CN 201910683990 A CN201910683990 A CN 201910683990A CN 110515663 A CN110515663 A CN 110515663A
Authority
CN
China
Prior art keywords
information
dmi
target
dmi information
destination
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.)
Withdrawn
Application number
CN201910683990.6A
Other languages
Chinese (zh)
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.)
Suzhou Wave Intelligent Technology Co Ltd
Original Assignee
Suzhou Wave Intelligent 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 Suzhou Wave Intelligent Technology Co Ltd filed Critical Suzhou Wave Intelligent Technology Co Ltd
Priority to CN201910683990.6A priority Critical patent/CN110515663A/en
Publication of CN110515663A publication Critical patent/CN110515663A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention provides a kind of method and device for configuring DMI information, BIOS file is obtained by BIOS system, BIOS file includes the DMI information table of the standard criterion of objective chip, the peripheral hardware information of target information is obtained again, it will be in the peripheral hardware information write-in DMI information table of objective chip, obtain target DMI information, and target DMI information is stored into the memory address of preset destination OS, judge whether the DMI information stored in the memory address of itself is target DMI information by destination OS again, if DMI information is target DMI information, then obtain the peripheral hardware information of target information in target DMI information, and it is based on peripheral hardware information, establish the DMI information table with objective chip response.Technical method provided by the invention can support user by destination OS, that is, other operating systems is supported to understand the peripheral hardware information of chip.

Description

A kind of method and device configuring DMI information
Technical field
The present invention relates to field of computer technology more particularly to a kind of method and devices for configuring DMI information.
Background technique
With the continuous development of society, the development of computer technology is also getting faster, especially to core in computer technology The research and development of piece and operating system are the rapidest.User can be relevant by understanding the chip based on the operating system for researching and developing the chip Peripheral device information.
In the prior art, when user wants to understand the relevant peripheral equipment letter of chip based on the research and development of specific operating system When breath, Directional Movement Index (the Desktop Management in traditional guidance file of chip is obtained by the operating system Interface, DMI) information, and then understand the relevant peripheral device information of the chip.But traditional guidance file can only prop up The information that user understands the peripheral equipment of chip by specific operating system is held, and can not support that user is by other operations System understands the information of the peripheral equipment of the chip.
Summary of the invention
In view of this, it is an object of that present invention to provide a kind of method and devices for configuring DMI information, user is supported to realize For the purpose of the information for understanding the peripheral equipment for the chip researched and developed based on specific operating system by other operating systems.
To achieve the above object, the invention provides the following technical scheme:
First aspect present invention discloses a kind of method for configuring DMI information, is suitable for BIOS system, which comprises
BIOS file is obtained, the BIOS file includes the DMI information table for the standard criterion for meeting objective chip;
The DMI information table is written in the peripheral hardware information of the objective chip by the peripheral hardware information for obtaining the objective chip In, obtain target DMI information;
The target DMI information is stored into the memory address of preset destination OS.
Optionally, the acquisition BIOS file, comprising:
Obtain the Uboot file of objective chip;
The Uboot file is converted to the BIOS file of the DMI information table of the standard criterion comprising meeting objective chip.
It is optionally described to store the target DMI information into the memory address of preset destination OS, Include:
Determine the keyword of the target DMI information;
Take the keyword as the head character of the target DMI information, the target DMI information is stored to presetting Destination OS memory address in.
Optionally, the process of the memory address for presetting destination OS, comprising:
The memory address that the BIOS system and the destination OS are reached common understanding is set as destination OS Memory address.
Second aspect of the present invention discloses a kind of method for configuring DMI information, is suitable for destination OS, the method Include:
Judge whether the DMI information stored in the memory address of the destination OS is target DMI information;
If the DMI information is target DMI information, the peripheral hardware of objective chip described in the target DMI information is obtained Information;
Based on the peripheral hardware information, in the destination OS, DMI information corresponding with the objective chip is established Table.
Optionally, whether the DMI information stored in the memory address for judging the destination OS is target DMI Information, comprising:
Read the DMI information stored in the memory address of the destination OS;
Whether the head character for judging the DMI information is keyword;
If the head character of the DMI information is keyword, it is determined that stored in the memory address of the destination OS DMI information be target DMI information.
Third aspect present invention discloses a kind of device for configuring DMI information, and described device includes:
First acquisition unit, for obtaining BIOS file, the BIOS file includes meeting the standard criterion of objective chip DMI information table;
Second acquisition unit, for obtaining the peripheral hardware information of the objective chip, by the peripheral hardware information of the objective chip It is written in the DMI information table, obtains target DMI information;
Storage unit, for storing the target DMI information to the memory address of preset destination OS In.
Optionally, the first acquisition unit, comprising:
Third acquiring unit, for obtaining the Uboot file of objective chip;
Converting unit, for the Uboot file to be converted to the DMI information of the standard criterion comprising meeting objective chip The BIOS file of table.
Fourth aspect present invention discloses a kind of device for configuring DMI information, and described device includes:
Judging unit, whether the DMI information stored in the memory address for judging the destination OS is target DMI information;
4th acquiring unit obtains institute in the target DMI information if being target DMI information for the DMI information State the peripheral hardware information of objective chip;
Unit is established, for being based on the peripheral hardware information, is established and the objective chip in the destination OS Corresponding DMI information table.
Optionally, the judging unit, comprising:
Reading unit, the DMI information stored in the memory address for reading the destination OS;
Judgment sub-unit, for judging whether the head character of the DMI information is keyword;
Target DMI information determination unit, if the head character for the DMI information is keyword, it is determined that the target The DMI information stored in the memory address of operating system is target DMI information.
The present invention provides a kind of method and device for configuring DMI information, obtains BIOS file by BIOS system, described BIOS file includes the DMI information table of the standard criterion of objective chip, then obtains the peripheral hardware information of the target information, will be described The peripheral hardware information of objective chip is written in the DMI information table, obtains target DMI information, and the target DMI information is stored Judge to deposit in the memory address of itself into the memory address of preset destination OS, then through destination OS Whether the DMI information of storage is target DMI information, if the DMI information is target DMI information, obtains the target DMI information Described in target information peripheral hardware information, and be based on the peripheral hardware information, establish with the objective chip response DMI information Table.The peripheral hardware information write-in of technical method provided by the invention, the objective chip that will acquire by BIOS system includes target core In the DMI information table of the standard criterion of piece, target DMI information is obtained, and target DMI information will be obtained and stored to preset In the memory address of destination OS, then passes through destination OS and obtained from the target DMI information stored in memory address The peripheral hardware information of objective chip is taken, and is based on peripheral hardware information, establishes DMI information table corresponding with objective chip, and then supports to use Other operating systems are supported to understand the peripheral hardware information of chip by destination OS in family.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow diagram of method for configuring DMI information disclosed by the embodiments of the present invention;
Fig. 2 is the flow diagram of the method disclosed by the embodiments of the present invention for obtaining BIOS file;
Fig. 3 be in the memory address disclosed by the embodiments of the present invention for judging destination OS the DMI information that stores whether For the flow diagram of the method for target DMI information;
Fig. 4 is a kind of structural schematic diagram of device for configuring DMI information disclosed by the embodiments of the present invention;
Fig. 5 is the structural schematic diagram of the device of another configuration DMI information disclosed by the embodiments of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
In this application, the terms "include", "comprise" or any other variant thereof is intended to cover non-exclusive inclusion, So that the process, method, article or equipment for including a series of elements not only includes those elements, but also including not having The other element being expressly recited, or further include for elements inherent to such a process, method, article, or device.Do not having There is the element limited in the case where more limiting by sentence "including a ...", it is not excluded that in the mistake including the element There is also other identical elements in journey, method, article or equipment.
By above-mentioned background technique it is found that in the prior art, when user wants to understand based on the research and development of specific operating system When the relevant peripheral device information of chip, passes through the operating system and obtain Directional Movement Index in guidance file traditional in chip (Desktop Management Interface, DMI) information, and then understand the relevant peripheral device information of the chip.But Traditional guidance file can only support user to understand the information of the peripheral equipment of chip by specific operating system, and can not prop up Hold the information that user understands the peripheral equipment of the chip by other operating systems.
Wherein, specific operation system is external operating system, and the homemade chip based on the research and development of external operating system, His operating system is domestic operating system.
Therefore, traditional guidance file can only support user to understand the peripheral information of chip by specific operating system, And it can not support that user understands the peripheral device information of the chip by other operating systems, that is, traditional guidance file is only User can be supported to pass through the information that external operating system understands the peripheral equipment for the homemade chip researched and developed based on external operating system, And user can not be supported to understand the information of the peripheral equipment of the chip by domestic operating system.
Firstly the need of explanation, the present embodiments relate to basic input output system (Basic Input Output System, BIOS) it is one group of program being cured in computer on mainboard on a rom chip, not only in store meter The program of the most important basic input and output of calculation machine, additionally it is possible to self-check program and system self-triggered program after powering.
As shown in Figure 1, a kind of flow diagram of method for configuring DMI information disclosed by the embodiments of the present invention.The configuration The method of DMI information the following steps are included:
S101:BIOS system obtains BIOS file, and BIOS file includes the DMI information for the standard criterion for meeting objective chip Table.
It should be noted that BIOS file is to support the unified Extensible Firmware Interface (Unified of multiple standards agreement Extensible Firmware Interface, UEFI) framework guidance file, and mainboard shows product pipe in a standard format Unified standard (System Management BIOS, the SMBIOS) agreement that reason information follows is one kind in multiple standards agreement, It can be set according to practical application, the embodiment of the present invention is not limited.
It should be noted that objective chip can be the chips such as 2000+ chip or Godson of soaring, when objective chip is winged When rising 2000+ chip, the standard criterion of objective chip is SMBIOS agreement.The standard criterion of objective chip and objective chip It is set according to practical application, the embodiment of the present invention is not limited.
During specifically executing step S101, BIOS file is obtained by BIOS system, and then obtain BIOS file The middle DMI information table for supporting SMBIOS agreement.
S102:BIOS system obtains the peripheral hardware information of objective chip, and DMI information table is written in the peripheral hardware information of objective chip In, obtain target DMI information.
It should be noted that peripheral hardware information refers to the information of the peripheral equipment of objective chip.For example, peripheral equipment can be with For network interface card, power supply, processor etc..Corresponding peripheral device information can for network interface card model, power supply model, processor model and The information etc. of other peripheral equipments.The peripheral equipment of objective chip and the information of peripheral equipment can be set according to practical application Fixed, present invention implementation is not limited.
During specifically executing step S102, BIOS system is by obtaining the peripheral hardware information of objective chip, and by mesh It marks in the peripheral hardware information write-in DMI information table of chip, obtains target DMI information, for example, when objective chip is 2000+ core of soaring When piece, the information of the peripheral equipment for 2000+ chip of soaring is obtained by BIOS system, and the periphery for 2000+ chip of soaring is set In standby information write-in DMI information table, target DMI information is obtained.
S103:BIOS system stores target DMI information into the memory address of preset destination OS.
It should be noted that target DMI packet contains keyword, which is head character DMI.
During specifically executing step S103, the keyword of target DMI information is determined, and by BIOS system with this Keyword is the head character of target DMI information, and target DMI information is stored to the memory of preset destination OS In location.
It should be noted that destination OS can be milky way kylin operating system, when destination OS is milky way Qi When unicorn operating system, the memory address of destination OS can be 0Xb9000000.Destination OS and object run system The memory address of system can be set according to practical application, and the embodiment of the present invention is not limited.
It should be noted that the memory address of destination OS be it is pre-set, specifically: by BIOS system and mesh The memory address that mark operating system is reached common understanding is set as the memory address of destination OS.
For example, when destination OS be the milky way kylin operating system when, by BIOS system with and kylin operating system reach At the memory address of common recognition, i.e. 0Xb9000000, it is set as the memory address of destination OS.
S104: destination OS judges whether the DMI information stored in the memory address of itself is target DMI information.
It should be noted that DMI information is target DMI information, step S105 is executed.
During specifically executing step S104, destination OS can be deposited in the memory address by judging itself Whether the head character of the DMI information of storage is keyword to judge whether the DMI information stored in memory address is target DMI letter Breath.For example, milky way kylin operating system passes through the memory for judging itself when destination OS is milky way kylin operating system Whether the head character of address, i.e. the DMI information stored in 0Xb9000000 is keyword, come judge to store in memory address Whether DMI information is target DMI information.
S105: destination OS obtains the peripheral hardware information of objective chip in target DMI information.
During specifically executing step S105, when what is stored in the memory address that destination OS judges itself When DMI information is target DMI information, the peripheral hardware information of objective chip in target DMI information is obtained.
For example, when destination OS is milky way kylin operating system, objective chip is milky way when soaring 2000+ chip Kylin operating system judges the memory address of itself, i.e. when the DMI information stored in 0Xb9000000 is target DMI information, obtains Take the information of the peripheral equipment for 2000+ chip of soaring in target DMI information.
S106: destination OS is based on peripheral hardware information, and DMI information table corresponding with objective chip is established in itself.
During specifically executing step S106, when destination OS gets objective chip in target DMI information Peripheral hardware information after, be based on peripheral hardware information, the DMI information table corresponding with objective chip is established in itself.
For example, when destination OS is milky way kylin operating system, objective chip is milky way when soaring 2000+ chip After kylin operating system gets the peripheral hardware information for 2000+ chip of soaring in target DMI information, it is based on peripheral hardware information, at itself It is middle to establish DMI information table corresponding with 2000+ chip of soaring.
The embodiment of the present invention provides a kind of method for configuring DMI information, obtains BIOS file, BIOS text by BIOS system Part includes the DMI information table of the standard criterion of objective chip, then obtains the peripheral hardware information of target information, by the peripheral hardware of objective chip Information is written in the DMI information table, obtains target DMI information, and target DMI information is stored to preset target and is grasped Make in the memory address of system, then by destination OS judge the DMI information stored in the memory address of itself whether be Target DMI information obtains the peripheral hardware information of target information in target DMI information, and base if DMI information is target DMI information In peripheral hardware information, the DMI information table with objective chip response is established.Technical method provided by the invention, will by BIOS system The peripheral hardware information write-in of the objective chip of acquisition includes obtaining target DMI letter in the DMI information table of standard criterion of objective chip Breath, and store target DMI information is obtained into the memory address of preset destination OS, then pass through object run System obtains the peripheral hardware information of objective chip from the target DMI information stored in memory address, and is based on peripheral hardware information, establishes DMI information table corresponding with objective chip, and then support user by destination OS, that is, support other operating systems to understand The peripheral hardware information of chip.
The step S101 that embodiments of the present invention Fig. 1 is disclosed obtains BIOS file, as shown in Figure 2, comprising the following steps:
The Uboot file of S201:BIOS system acquisition objective chip.
It it should be noted that Uboot file is traditional guidance file, and include comprising target core in Uboot file The DMI information of the peripheral hardware information of piece.
In S201, Uboot file is converted to the BIOS of the DMI information table of the standard criterion comprising meeting objective chip File, so that subsequent user be supported to understand the peripheral device information of chip by other operating systems.
Uboot file is converted to the DMI information table of the standard criterion comprising meeting objective chip by S202:BIOS system BIOS file.
It should be noted that objective chip can be the chips such as 2000+ chip or Godson of soaring, when objective chip is winged When rising 2000+ chip, the standard criterion of objective chip can be SMBIOS agreement.The standard criterion of objective chip and objective chip It can be set according to practical application, the embodiment of the present invention is not limited
During specifically executing step S202, the Uboot file for the objective chip that BIOS system will acquire is converted to BIOS file, and then obtain the DMI information table for the standard criterion for meeting objective chip for including in BIOS file.
For example, when objective chip is to soar 2000+ chip, the Uboot of what BIOS system will acquire soar 2000+ chip File is converted to BIOS file, and then obtains BIOS file and summarize the support SMBIOS agreement comprising meeting 2000+ chip of soaring DMI information table.
In embodiments of the present invention, Uboot file is converted to the standard criterion comprising meeting objective chip by BIOS system DMI information table BIOS file after, in the peripheral hardware information of the objective chip that can be will acquire write-in DMI information table, obtain mesh DMI information is marked, and then can will obtain target DMI information and store into the memory address of pre-set destination OS, with Just destination OS executes subsequent operation.
The step S104 destination OS that embodiments of the present invention Fig. 1 is disclosed judges to store in the memory address of itself DMI information whether be target DMI information, as shown in Figure 3, comprising the following steps:
S301: destination OS reads the DMI information stored in the memory address of itself.
During specifically executing step S301, when destination OS brings into operation, with reading the memory of itself The DMI information stored in location.
For example, when destination OS is milky way kylin operating system, when milky way kylin operating system brings into operation, Read the DMI information stored in 0Xb9000000.
S302: destination OS judges whether the head character of DMI information is keyword.
It should be noted that S303 is thened follow the steps if DMI information is target DMI, it is no to then follow the steps S304.
During specifically executing step S302, when destination OS brings into operation, judgement starts the DMI read Whether the head character of information is keyword.
S303: determine that the DMI information stored in the memory address in destination OS is target DMI information.
During specifically executing step S303, when destination OS brings into operation, start the DMI information read Head character when being keyword, determine that DMI information in the memory address in destination OS is target DMI information.
S304: determine that the DMI information stored in the memory address in destination OS is not target DMI information.
During specifically executing step S304, when destination OS brings into operation, start the DMI information read Head character when not being keyword, determine that the DMI information in the memory address in destination OS is not target DMI information.
In embodiments of the present invention, the DMI letter stored in memory address of the destination OS by judgement reading itself Whether the head character of breath is keyword, the DMI information stored in the memory address to determine itself whether target DMI information, when When the head character for reading the DMI information stored in the memory address of itself is keyword, the DMI letter stored in memory address is determined Breath is target DMI information, and then obtains the peripheral hardware information of objective chip in target DMI information, and is based on peripheral hardware information, in target DMI information table corresponding with objective chip is established in operating system, and then supports user by destination OS, that is, supports it His operating system understands the peripheral hardware information of chip.
Based on a kind of method for configuring DMI information disclosed in the embodiments of the present invention, the embodiment of the present invention is also corresponding public A kind of device for configuring DMI information is opened, as shown in figure 4, for a kind of device for configuring DMI information provided in an embodiment of the present invention Structural schematic diagram, the device 400 of configuration DMI information includes:
First acquisition unit 401, for obtaining BIOS file, BIOS file includes meeting the standard criterion of objective chip DMI information table.
The peripheral hardware information of objective chip is written for obtaining the peripheral hardware information of objective chip for second acquisition unit 402 In DMI information table, target DMI information is obtained.
Storage unit 403, for storing target DMI information to the memory address of preset destination OS In.
It should be noted that the memory address of destination OS be it is pre-set, specifically: by BIOS system and mesh The memory address that mark operating system is reached common understanding is set as the memory address of destination OS
The specific principle of each unit in the device of DMI information is configured disclosed in the embodiments of the present invention and is executed Journey, it is identical to step S103 as the step S101 for the method for configuring DMI information disclosed in the embodiments of the present invention, reference can be made on State it is disclosed by the embodiments of the present invention configuration DMI information method step S101 into step S103 corresponding part, here not It repeats again.
Further, as shown in figure 5, the structure of the device for another configuration DMI information provided in an embodiment of the present invention The device 500 of schematic diagram, configuration DMI information includes:
Judging unit 501, whether the DMI information stored in the memory address for judging destination OS is target DMI information.
It should be noted that if DMI information is that target DMI information executes the 4th acquiring unit 502.
4th acquiring unit 502, for obtaining the peripheral hardware information of objective chip in target DMI information;
Unit 503 is established, for being based on peripheral hardware information, DMI corresponding with objective chip is established in destination OS Information table.
The specific principle of each unit in the device of DMI information is configured disclosed in the embodiments of the present invention and is executed Journey, it is identical to step S106 as the step S104 for the method for configuring DMI information disclosed in the embodiments of the present invention, reference can be made on State it is disclosed by the embodiments of the present invention configuration DMI information method step S104 into step S106 corresponding part, here not It repeats again.
The embodiment of the present invention provides a kind of device for configuring DMI information, firstly, obtaining BIOS text by first acquisition unit Part, BIOS file include the DMI information table of the standard criterion of objective chip, obtain the outer of target information by second acquisition unit If information, the peripheral hardware information of objective chip is written in the DMI information table, obtains target DMI information, simultaneously by storage unit Target DMI information is stored into the memory address of preset destination OS, judges that target is grasped by judging unit Make whether the DMI information stored in the memory address of system is target DMI information, if DMI information is target DMI information, passes through 4th acquiring unit obtains the peripheral hardware information of target information in target DMI information, finally establishes unit and is based on peripheral hardware information, establishes With the DMI information table of objective chip response.Based on the embodiment of the present invention, pass through the peripheral hardware for the objective chip that BIOS system will acquire Information write-in includes obtaining target DMI information in the DMI information table of standard criterion of objective chip, and will obtain target DMI letter Breath is stored into the memory address of preset destination OS, then is stored from memory address by destination OS Target DMI information in obtain the peripheral hardware information of objective chip, and be based on peripheral hardware information, establish DMI corresponding with objective chip Information table, and then support user by destination OS, that is, support other operating systems to understand the peripheral hardware information of chip.
Preferably, first acquisition unit 401, comprising: third acquiring unit, converting unit.
Third acquiring unit, for obtaining the Uboot file of objective chip.
Converting unit, for Uboot file to be converted to the DMI information table of the standard criterion comprising meeting objective chip BIOS file.
In embodiments of the present invention, Uboot file is converted to the standard criterion comprising meeting objective chip by BIOS system DMI information table BIOS file after, in the peripheral hardware information of the objective chip that can be will acquire write-in DMI information table, obtain mesh DMI information is marked, and then can will obtain target DMI information and store into the memory address of pre-set destination OS, with Just destination OS executes subsequent operation.
Preferably, storage unit 403, comprising: determination unit, storing sub-units.
Determination unit, for determining the keyword of target DMI information.
Storing sub-units, for keyword be the target DMI information head character, by target DMI information store to In the memory address of preset destination OS.
Preferably, judging unit 501, comprising: reading unit, judgment sub-unit.
Reading unit, the DMI information stored in the memory address for reading the destination OS.
Judgment sub-unit, for judging whether the head character of the DMI information is keyword.
Target DMI information determination unit, if the head character for DMI information is keyword, it is determined that destination OS Memory address in the DMI information that stores be target DMI information.
In embodiments of the present invention, the DMI letter stored in memory address of the destination OS by judgement reading itself Whether the head character of breath is keyword, the DMI information stored in the memory address to determine itself whether target DMI information, when When the head character for reading the DMI information stored in the memory address of itself is keyword, the DMI letter stored in memory address is determined Breath is target DMI information, and then obtains the peripheral hardware information of objective chip in target DMI information, and is based on peripheral hardware information, in target DMI information table corresponding with objective chip is established in operating system, and then supports user by destination OS, that is, supports it His operating system understands the peripheral hardware information of chip.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system or For system embodiment, since it is substantially similar to the method embodiment, so describing fairly simple, related place is referring to method The part of embodiment illustrates.System and system embodiment described above is only schematical, wherein the conduct The unit of separate part description may or may not be physically separated, component shown as a unit can be or Person may not be physical unit, it can and it is in one place, or may be distributed over multiple network units.It can root According to actual need that some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.Ordinary skill Personnel can understand and implement without creative efforts.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond scope of the present application.
The foregoing description of the disclosed embodiments makes professional and technical personnel in the field can be realized or use the application. Various modifications to these embodiments will be readily apparent to 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 application.Therefore, the application It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.
The above is only the preferred embodiment of the application, it is noted that for the ordinary skill people of the art For member, under the premise of not departing from the application principle, several improvements and modifications can also be made, these improvements and modifications are also answered It is considered as the protection scope of the application.

Claims (10)

1. a kind of method for configuring DMI information, which is characterized in that be suitable for BIOS system, which comprises
BIOS file is obtained, the BIOS file includes the DMI information table for the standard criterion for meeting objective chip;
The peripheral hardware information of the objective chip is written in the DMI information table, is obtained by the peripheral hardware information for obtaining the objective chip To target DMI information;
The target DMI information is stored into the memory address of preset destination OS.
2. the method according to claim 1, wherein the acquisition BIOS file, comprising:
Obtain the Uboot file of objective chip;
The Uboot file is converted to the BIOS file of the DMI information table of the standard criterion comprising meeting objective chip.
3. the method according to claim 1, wherein described store the target DMI information to presetting Destination OS memory address in, comprising:
Determine the keyword of the target DMI information;
Take the keyword as the head character of the target DMI information, the target DMI information is stored to preset mesh In the memory address for marking operating system.
4. the method according to claim 1, wherein the memory address for presetting destination OS Process, comprising:
The memory address that the BIOS system and the destination OS are reached common understanding is set as in destination OS Deposit address.
5. a kind of method for configuring DMI information, which is characterized in that be suitable for destination OS, which comprises
Judge whether the DMI information stored in the memory address of the destination OS is target DMI information;
If the DMI information is target DMI information, the peripheral hardware information of objective chip described in the target DMI information is obtained;
Based on the peripheral hardware information, in the destination OS, DMI information table corresponding with the objective chip is established.
6. according to the method described in claim 5, it is characterized in that, in the memory address of the judgement destination OS Whether the DMI information of storage is target DMI information, comprising:
Read the DMI information stored in the memory address of the destination OS;
Whether the head character for judging the DMI information is keyword;
If the head character of the DMI information is keyword, it is determined that the DMI stored in the memory address of the destination OS Information is target DMI information.
7. a kind of device for configuring DMI information, which is characterized in that described device includes:
First acquisition unit, for obtaining BIOS file, the BIOS file includes the DMI for meeting the standard criterion of objective chip Information table;
The peripheral hardware information of the objective chip is written for obtaining the peripheral hardware information of the objective chip for second acquisition unit In the DMI information table, target DMI information is obtained;
Storage unit, for storing the target DMI information into the memory address of preset destination OS.
8. device according to claim 7, which is characterized in that the first acquisition unit, comprising:
Third acquiring unit, for obtaining the Uboot file of objective chip;
Converting unit, for the Uboot file to be converted to the DMI information table of the standard criterion comprising meeting objective chip BIOS file.
9. a kind of device for configuring DMI information, which is characterized in that described device includes:
Whether judging unit, the DMI information stored in the memory address for judging the destination OS are target DMI letter Breath;
4th acquiring unit obtains mesh described in the target DMI information if being target DMI information for the DMI information Mark the peripheral hardware information of chip;
Unit is established, for being based on the peripheral hardware information, is established in the destination OS corresponding to the objective chip DMI information table.
10. device according to claim 9, which is characterized in that the judging unit, comprising:
Reading unit, the DMI information stored in the memory address for reading the destination OS;
Judgment sub-unit, for judging whether the head character of the DMI information is keyword;
Target DMI information determination unit, if the head character for the DMI information is keyword, it is determined that the object run The DMI information stored in the memory address of system is target DMI information.
CN201910683990.6A 2019-07-26 2019-07-26 A kind of method and device configuring DMI information Withdrawn CN110515663A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910683990.6A CN110515663A (en) 2019-07-26 2019-07-26 A kind of method and device configuring DMI information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910683990.6A CN110515663A (en) 2019-07-26 2019-07-26 A kind of method and device configuring DMI information

Publications (1)

Publication Number Publication Date
CN110515663A true CN110515663A (en) 2019-11-29

Family

ID=68623738

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910683990.6A Withdrawn CN110515663A (en) 2019-07-26 2019-07-26 A kind of method and device configuring DMI information

Country Status (1)

Country Link
CN (1) CN110515663A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111831306A (en) * 2020-03-26 2020-10-27 成都万创科技有限责任公司 Serial number and ProjectName reading and writing method based on network card NVM

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111831306A (en) * 2020-03-26 2020-10-27 成都万创科技有限责任公司 Serial number and ProjectName reading and writing method based on network card NVM

Similar Documents

Publication Publication Date Title
CN102945134B (en) The method and device of Quick-return
WO2006056992A3 (en) Obtaining and assessing objective data relating to network resources
CN105338594B (en) A kind of wifi network connection method and device
CN108108094A (en) A kind of information processing method, terminal and computer-readable medium
CN110020382A (en) Intelligent input method, user equipment, storage medium and the device of information
CN105745621B (en) Emulation testing Distributed Application on the server
CN110162305A (en) A kind of method and client at configuration activities interface
CN110515663A (en) A kind of method and device configuring DMI information
CN109886775A (en) House advantage and disadvantage appraisal procedure, device, equipment and computer readable storage medium
CN108366091A (en) Network request processing method, terminal and computer-readable medium
CN110211673A (en) Intelligent diagnosis method and system
RU2006107971A (en) PLATFORM FOR UNLOCKING AND USING WEB SERVICES
CN106301891A (en) A kind of configuring information of network appliance processing method and processing device
CN110480633A (en) A kind of method, apparatus and storage medium controlling equipment
CN104572224B (en) A kind of out file loading methods, apparatus and system
CN109683715A (en) A kind of VR apparatus control method, device and computer readable storage medium
CN106201228A (en) The layout method of a kind of status bar and device
CN107025126A (en) A kind of resource regulating method, NFVO and system
JP2010039381A (en) Name-collating method of building data
CN110223685A (en) New hospital based on DSP speech recognition is registered guidance system
CN107659438A (en) A kind of configuration of routers function pages jump method and system
CN108877773A (en) A kind of audio recognition method and electronic equipment
CN104035649A (en) Bookmark display method and device
CN104333635B (en) A kind of processing method and processing device by collection contacts list
JP5493412B2 (en) Nursing support device

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20191129

WW01 Invention patent application withdrawn after publication