CN110134639A - A kind of facility information storage location recognition methods and device - Google Patents
A kind of facility information storage location recognition methods and device Download PDFInfo
- Publication number
- CN110134639A CN110134639A CN201910320033.7A CN201910320033A CN110134639A CN 110134639 A CN110134639 A CN 110134639A CN 201910320033 A CN201910320033 A CN 201910320033A CN 110134639 A CN110134639 A CN 110134639A
- Authority
- CN
- China
- Prior art keywords
- configuration information
- bios
- specific memory
- gpu
- presetting rule
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/16—Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
- G06F15/177—Initialisation or configuration control
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/76—Architectures of general purpose stored program computers
- G06F15/78—Architectures of general purpose stored program computers comprising a single central processing unit
- G06F15/7803—System on board, i.e. computer system on one or more PCB, e.g. motherboards, daughterboards or blades
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Software Systems (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the invention provides a kind of facility information storage location recognition methods and devices, applied to display control program, display control program includes central processor CPU, graphics processor GPU, basic input-output system BIOS, specific memory, which comprises CPU reads the configuration information in BIOS;If the configuration information in BIOS meets presetting rule, GPU is initialized using the configuration information in BIOS;If the configuration information in BIOS is unsatisfactory for presetting rule, the configuration information in specific memory is read;If the configuration information in specific memory meets presetting rule, GPU is initialized using the configuration information in specific memory.The embodiment of the present invention determines the storage location of board configuration information by the way that whether the data judged in BIOS and specific memory meet presetting rule, so as to effectively identify the storage location of board configuration information, solve the problems, such as that board shows that relevant configuration information storage location is not fixed bring software adaptation.
Description
Technical field
The present invention relates to identification technology fields, set more particularly to a kind of facility information storage location recognition methods and one kind
Standby storage position information identification device.
Background technique
Board is a kind of printed circuit board, abbreviation pcb board, and when production has lock pin, and the main circuit of computer can be inserted
In the slot of plate (mainboard), for controlling the equipment such as the operation of hardware, such as display, capture card, after driver is installed, i.e.,
Corresponding hardware capability can be achieved.
Board configuration information size is uncertain, can be directly placed in BIOS/firmware in certain boards, some boards
It needs to be stored in specific memory.
For the display controller being integrated in bridge piece, since the design of board is different, if correct plate cannot be obtained
Card configuration information is just unable to complete the correct initialization of display subsystem.
Summary of the invention
In view of the above problems, it proposes the embodiment of the present invention and overcomes the above problem or at least partly in order to provide one kind
A kind of facility information storage location recognition methods to solve the above problems and a kind of corresponding facility information storage location identification dress
It sets.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of facility information storage location recognition methods, applications
In display control program, the display control program includes central processor CPU, graphics processor GPU, basic input and output system
Unite BIOS, specific memory, which comprises
The CPU reads the configuration information in BIOS;
If the configuration information in the BIOS meets presetting rule, institute is initialized using the configuration information in the BIOS
State GPU;
If the configuration information in the BIOS is unsatisfactory for presetting rule, reads in the specific memory and match confidence
Breath;
If the configuration information in the specific memory meets presetting rule, the configuration in the specific memory is used
GPU described in information initializing.
Optionally, further includes:
If the configuration information in the specific memory is unsatisfactory for presetting rule, institute is initialized using default configuration information
State GPU.
Optionally, the CPU reads the configuration information in BIOS, comprising:
The configuration information in BIOS is read according to preconfigured hardware port, port numbers, port speed.
Optionally, if the configuration information in the BIOS meets presetting rule, the configuration in the BIOS is used
GPU described in information initializing, comprising:
Obtain the data head and check code of the configuration information in the BIOS;
The data head and check code for judging the configuration information in the BIOS with preconfigured data head and check code be
It is no consistent;
If consistent, judge that the configuration information in the BIOS meets presetting rule;
The GPU is initialized using the configuration information in the BIOS.
Optionally, it if the configuration information in the specific memory meets presetting rule, specific is deposited using described
Configuration information in reservoir initializes the GPU, comprising:
Obtain the data head and check code of the configuration information in the specific memory;
Judge the data head and check code and preconfigured configuration information head of the configuration information in the specific memory
And whether check code is consistent;
If consistent, judge that the configuration information in the specific memory meets presetting rule;
The GPU is initialized using the configuration information in the specific memory.
The embodiment of the invention also discloses a kind of facility information storage location identification devices, are applied to display control program,
The display control program includes central processor CPU, graphics processor GPU, basic input-output system BIOS, particular memory
Device, described device include:
BIOS configuration information read module reads the configuration information in BIOS for the CPU;
First initialization module uses the BIOS if the configuration information in the BIOS meets presetting rule
In configuration information initialize the GPU;
Specific memory configuration information read module, if the configuration information in the BIOS is unsatisfactory for presetting rule,
Then read the configuration information in the specific memory;
Second initialization module specific is deposited if the configuration information in the specific memory is legal using described
Configuration information in reservoir initializes the GPU.
Optionally, further includes:
Third initialization module uses if the configuration information in the specific memory is unsatisfactory for presetting rule
Default configuration information initializes the GPU.
Optionally, the BIOS configuration information read module, comprising:
BIOS configuration information reading submodule, for being read according to preconfigured hardware port, port numbers, port speed
Configuration information in BIOS.
Optionally, first initialization module, comprising:
First acquisition submodule, for obtaining the data head and check code of the configuration information in the BIOS;
First judging submodule, for judge the configuration information in the BIOS data head and check code be pre-configured with
Data head and check code it is whether consistent;
First legitimacy confirms submodule, if judging that the configuration information in the BIOS meets preset rule for consistent
Then;
First initialization submodule, for using the configuration information in the BIOS to initialize the GPU.
Optionally, second initialization module, comprising:
Second acquisition submodule, for obtaining the data head and check code of the configuration information in the specific memory;
Second judgment submodule, for judging the data head and check code and pre- of the configuration information in the specific memory
Whether the data head and check code first configured be consistent;
Second legitimacy confirms submodule, if judging that the configuration information in the specific memory meets for consistent
Presetting rule;
Second initialization submodule, for using the configuration information in the specific memory to initialize the GPU.
The embodiment of the invention also discloses a kind of devices, comprising:
One or more processors;With
One or more machine readable medias of instruction are stored thereon with, are executed when by one or more of processors
When, so that described device executes one or more method as described above.
The embodiment of the invention also discloses one or more machine readable medias, are stored thereon with instruction, when by one or
When multiple processors execute, so that the processor executes one or more method as described above.
The embodiment of the present invention includes following advantages: the embodiment of the present invention reads the configuration information in BIOS by CPU;If institute
It states the configuration information in BIOS and meets presetting rule, then initialize the GPU using the configuration information in the BIOS;If described
Configuration information in BIOS is unsatisfactory for presetting rule, then reads the configuration information in specific memory;If the specific memory
In configuration information meet presetting rule, then initialize the GPU using the configuration information in the specific memory;If described
Configuration information in specific memory is unsatisfactory for presetting rule, then initializes GPU using default configuration configuration information.The present invention is real
Example is applied by the way that whether the data judged in BIOS and specific memory meet presetting rule to determine depositing for board configuration information
Storage space is set, and so as to effectively identify the storage location of board configuration information, is solved board and is shown relevant configuration information storage
Position is not fixed bring software adaptation problem.
Detailed description of the invention
Fig. 1 is a kind of step flow chart of facility information storage location recognition methods embodiment of the invention;
Fig. 2 is the step flow chart of another facility information storage location recognition methods embodiment of the invention;
Fig. 3 is a kind of hardware structural diagram of the embodiment of the present invention;
Fig. 4 is a kind of software flow pattern of the embodiment of the present invention;
Fig. 5 is a kind of structural block diagram of facility information storage location identification device embodiment of the invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real
Applying mode, the present invention is described in further detail.
Referring to Fig.1, a kind of step flow chart of facility information storage location recognition methods embodiment of the invention is shown,
It can specifically include following steps:
Step 101, the CPU reads the configuration information in BIOS;
Basic input output system (Basic Input Output System, BIOS), is a kind of firmware of industrywide standard
Interface, major function are that the bottom, most direct hardware setting and control are provided for computer.In addition, BIOS is also to work
Industry system provides some system parameters.
For the display controller being integrated in bridge piece, since the design of board is different, if correct plate cannot be obtained
Card configuration information is just unable to complete the correct initialization of display subsystem, and board configuration information size is uncertain, in certain plates
It can be directly placed in BIOS/firmware in card, some boards need to be stored in specific memory.Based on this, CPU can be with
First read the configuration information in BIOS.Whether the configuration information in verification BIOS is display controller initialization display subsystem institute
The configuration information needed.
Step 102, if the configuration information in the BIOS meets presetting rule, the configuration information in the BIOS is used
Initialize the GPU;
In the concrete realization, after having read the configuration information in BIOS by data preparation function, to avoid having read
The configuration information of mistake causes display subsystem that can not initialize, and it is preset to need to judge whether the configuration information in BIOS meets
Decision rule.
If the configuration information in the BIOS read meets preset decision rule, the configuration in BIOS may determine that
Information is required configuration information, then the configuration information initialization GPU in the BIOS read can be used.
Step 103, it if the configuration information in the BIOS is unsatisfactory for presetting rule, reads in the specific memory
Configuration information;
If not meeting the configuration information of presetting rule in BIOS, start to read specific memory according to agreement method
In configuration information.
Step 104, if the configuration information in the specific memory meets presetting rule, the specific memory is used
In configuration information initialize the GPU.
In the concrete realization, after having read the configuration information in specific memory by data preparation function, to avoid
The configuration information for having read mistake, causes display subsystem that can not initialize, needs to judge the configuration information in specific memory
Whether presetting rule is met.
If the configuration information in the specific memory read meets preset decision rule, specific deposit may determine that
Configuration information in reservoir is required configuration information, then the configuration information that can be used in the specific memory read is initial
Change GPU.
Referring to Fig. 2, the step process of another facility information storage location recognition methods embodiment of the invention is shown
Figure, can specifically include following steps:
Step 201, the CPU reads the configuration information in BIOS;
In the concrete realization, CPU can first read the configuration information in BIOS.Verification BIOS in configuration information whether be
Configuration information needed for display controller initializes display subsystem.
In embodiments of the present invention, the storage specification of a display configuration information can be defined first, can wrap in specification
Containing fixed data head, specification version number, configuration information data, verification data etc., while it also may include BIOS and specific depositing
The read method of reservoir is arranged;Due to there is multiple interfaces in bridge piece, these interfaces may be used for other purposes, with biding farewell
Purposes when may read method it is different, if reading the data that can be malfunctioned or read with the read method of other purposes
Mistake, it is possible to arrange the read method of BIOS and specific memory by version of an agreement, the read method arranged can be with
Including information such as agreement hardware port, port numbers, port speeds.
When display driving starts, data preparation function can be executed at first, and the effect of data preparation function is to read
Vbios is simultaneously parsed.It attempts to read the configuration in BIOS according to the read method appointed in advance by data preparation function
Information.
In embodiments of the present invention, the method for the configuration information in the CPU reading BIOS may include:
The configuration information in BIOS is read according to pre-set hardware port, port numbers, port speed.
In practical applications, memory device may include BIOS/firmware, specific memory etc., port can have I2C-1,
I2C-2, SPI-1 etc., port speed would also vary from as needed.Therefore, reading BIOS/firmware can be pre-set to match
Hardware port, port numbers, the port speed etc. that confidence breath needs, then when actually reading, according to pre-set hardware end
The information such as mouth, port numbers, port speed read the configuration information in BIOS.
Referring to Fig. 3, a kind of hardware structural diagram of the embodiment of the present invention is shown
Main Borad main circuit board in figure includes central processor CPU, graphics processor GPU, BIOS/firmware, multiple
Specific memory FLASH1, FLASH2 and Bridge bridge piece.
In actual operation, CPU can read data in the FLASH in BIOS/firmware by SPI port;It can also be with
Bridge is bridge, reads the data in specific memory FLASH1 by SPI (X), or read spy by the port (X) I2C
Determine the data in memory FLASH2.X therein is the port numbers of agreement, and dotted line representative is not necessarily not present.CPU can pass through
The configuration information read, deinitialization GPU.
Step 202, if the configuration information in the BIOS meets presetting rule, the configuration information in the BIOS is used
Initialize the GPU;
In the concrete realization, after having read the configuration information in BIOS by data preparation function, to avoid having read
The configuration information of mistake causes display subsystem that can not initialize, and it is preset to need to judge whether the configuration information in BIOS meets
Rule.
If the configuration information in the BIOS read meets presetting rule, matching in the BIOS read can be used
Set information initializing GPU;It is also an option that saving the configuration information in the BIOS read, remain to use when subsequent need, so
Backed off after random data preparation function.
In embodiments of the present invention, if the configuration information in the BIOS is required configuration information, institute is used
Stating the method that the configuration information in BIOS initializes the GPU includes:
Obtain the data head and check code of the configuration information in the BIOS;Judge the number of the configuration information in the BIOS
It is whether consistent according to head and check code and preconfigured data head and check code;If consistent, the configuration in the BIOS is judged
Information meets presetting rule;The GPU is initialized using the configuration information in the BIOS.
In the concrete realization, due to having pre-defined the storage specification for showing configuration information, BIOS and specific memory
Read method agreement, therefore read BIOS can be judged according to storage specification predetermined and the read method appointed
Whether the configuration information in firmware meets presetting rule.Specifically can decide whether it is to meet the data head of presetting rule and be
No is the check code for meeting presetting rule, finally solves the configuration information of new record again, further judges whether configuration information meets
Presetting rule.For example, can first determine whether data head meets presetting rule, data head is the character of one group of agreement, if
The configuration information head of the configuration information of reading and the data head appointed are inconsistent, then read configuration information is unsatisfactory for preset
Rule.Then judging whether check code meets presetting rule, check code is generated according to aforementioned agreement, such as cyclic redundancy check,
By aforementioned all configuration informations by the algorithm of CRC32, check code is generated, it is whether consistent compared with read cyclic redundancy check,
It may know that whether read check code meets presetting rule.The configuration information of new record is finally solved, further judgement configuration
Whether information meets presetting rule.
If the configuration information in the BIOS read meets presetting rule, matching in the BIOS read can be used
Set information initializing GPU;It is also an option that saving the configuration information in the BIOS read, remain to use when subsequent need, so
Backed off after random data preparation function.
Step 203, it if the configuration information in the BIOS is unsatisfactory for presetting rule, reads in the specific memory
Configuration information;
If not meeting the configuration information of presetting rule in BIOS, start to read specific memory according to agreement method
In configuration information.As Fig. 3, CPU can read the configuration information in FLASH1 and FLASH2 indirectly by Bridge.For example,
The configuration information in FLASH1 can be read first.
Step 204, if the configuration information in the specific memory meets presetting rule, the specific memory is used
In configuration information initialize the GPU;
In the concrete realization, after having read the configuration information in specific memory FLASH1 by data preparation function,
To avoid having read the configuration information of mistake, causes display subsystem that can not initialize, need to judge to match confidence in FLASH1
Whether breath meets presetting rule.
If the configuration information in the FLASH1 read meets presetting rule, can be used in the FLASH1 read
Configuration information initialize GPU;It is also an option that saving the configuration information in the FLASH1 read, remain to make when subsequent need
With then moving back data preparation function.
In embodiments of the present invention, it if the configuration information in the specific memory meets presetting rule, uses
The method that configuration information in the specific memory initializes the GPU includes:
Obtain the data head and check code of the configuration information in the specific memory;Judge in the specific memory
Whether the data head and check code of configuration information and preconfigured data head and check code are consistent;If consistent, described in judgement
Configuration information in specific memory meets presetting rule;Using described in the configuration information initialization in the specific memory
GPU。
In the concrete realization, due to having pre-defined the storage specification for showing configuration information, BIOS and specific memory
Read method agreement, therefore can be judged according to storage specification predetermined and the read method appointed read
Whether the configuration information in FLASH1 meets presetting rule.Specifically can decide whether be meet presetting rule data head and
Whether it is the check code for meeting presetting rule, finally solves the configuration information of new record again, further judges whether configuration information is full
Sufficient presetting rule.For example, can first determine whether data head meets presetting rule, data head is the character of one group of agreement, such as
The data head for the configuration information that fruit is read and the data head appointed are inconsistent, then read configuration information is unsatisfactory for preset rule
Then.Then judge whether check code meets presetting rule, check code is according to the generation of aforementioned agreement, such as cyclic redundancy check.It will
Whether aforementioned all configuration informations generate check code by the algorithm of CRC32, consistent compared with read cyclic redundancy check, i.e.,
It may know that whether read check code meets presetting rule.The configuration information of new record is finally solved, further confidence is matched in judgement
Whether breath meets presetting rule.
If the configuration information in the FLASH1 read meets presetting rule, can be used in the FLASH1 read
Configuration information initialize GPU;It is also an option that saving the configuration information in the FLASH1 read, remain to make when subsequent need
With being then log out data preparation function.
If the configuration information in FLASH1 is unsatisfactory for presetting rule, continue the memory interface for traversing next agreement.
Step 205, if the configuration information in the specific memory is unsatisfactory for presetting rule, default configuration information is used
Initialize the GPU.
In practical applications, if presetting rule is not satisfied in the configuration information in BIOS/firmware and specific memory, it is
Guarantee display subsystem correctly initializes, and can choose and initializes GPU using the self-contained configuration configuration information of kernel.
Referring to Fig. 4, a kind of software flow pattern of the embodiment of the present invention is shown.
When display driving starts, it can first judge whether the address kernel Vbios is NULL, if the address is not NULL,
Whether the configuration information in detection kernel Vbios meets presetting rule;If meeting presetting rule, using in kernel Vbios
Configuration information initializes GPU, and the corresponding structural body pointer of configuration information in Vbios is stored in the enantiomorph of driving
In.If testing result is that the configuration information in kernel Vbios is unsatisfactory for presetting rule, or, the address kernel Vbios is NULL, then
Judge whether there is specific memory Spi Flash.Spi Flash if it exists, then read agreed address in Flash with confidence
Breath, whether the configuration information detected in agreed address meets presetting rule, if meeting presetting rule, using in agreed address
Configuration information initializes GPU, and the corresponding structural body pointer of configuration information is stored in the enantiomorph of driving.If detection
As a result it is unsatisfactory for presetting rule for the configuration information in agreed address, or, when Spi Flash is not present, then using in being stored in
Default configuration information in core initializes GPU, and the corresponding structural body pointer of configuration information is stored in the counter structure of driving
In body.
The embodiment of the present invention includes following advantages: the embodiment of the present invention reads the configuration information in BIOS by CPU;If institute
It states the configuration information in BIOS and meets presetting rule, then initialize the GPU using the configuration information in the BIOS;If meeting
Presetting rule then reads the configuration information in specific memory;If the configuration information in the specific memory meets preset rule
Then, then the GPU is initialized using the configuration information in the specific memory;If meeting presetting rule, matched using default
Set configuration information initialization GPU.It is pre- whether the embodiment of the present invention is met by the data judged in BIOS and specific memory
Rule is set to determine the storage location of board configuration information, so as to effectively identify the storage location of board configuration information, is solved
Board of having determined shows that relevant configuration information storage location is not fixed bring software adaptation problem.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method
It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to
According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should
Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented
Necessary to example.
Referring to Fig. 5, a kind of structural block diagram of facility information storage location identification device embodiment of the invention is shown, is had
Body may include following module:
BIOS configuration information read module 501 reads the configuration information in BIOS for the CPU;
First initialization module 502, if the configuration information in the BIOS meets presetting rule, using described
Configuration information in BIOS initializes the GPU;
Specific memory configuration information read module 503, if being unsatisfactory for preset rule for the configuration information in the BIOS
Then, then the configuration information in the specific memory is read;
Second initialization module 504 uses if the configuration information in the specific memory meets presetting rule
Configuration information in the specific memory initializes the GPU.
In embodiments of the present invention, described device can also include:
Third initialization module uses if the configuration information in the specific memory is unsatisfactory for presetting rule
Default configuration information initializes the GPU.
In embodiments of the present invention, the BIOS configuration information read module can also include:
BIOS configuration information reading submodule, for being read according to preconfigured hardware port, port numbers, port speed
Configuration information in BIOS.
In embodiments of the present invention, first initialization module can also include:
First acquisition submodule, for obtaining the data head and check code of the configuration information in the BIOS;
First judging submodule, for judge the configuration information in the BIOS data head and check code be pre-configured with
Data head and check code it is whether consistent;
First legitimacy confirms submodule, if judging that the configuration information in the BIOS meets preset rule for consistent
Then;
First initialization submodule, for using the configuration information in the BIOS to initialize the GPU.
In embodiments of the present invention, second initialization module can also include:
Second acquisition submodule, for obtaining the data head and check code of the configuration information in the specific memory;
Second judgment submodule, for judging the data head and check code and pre- of the configuration information in the specific memory
Whether the data head and check code first configured be consistent;
Second legitimacy confirms submodule, if configuration information in the specific memory meets preset for consistent
Rule;
Second initialization submodule, for using the configuration information in the specific memory to initialize the GPU.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple
Place illustrates referring to the part of embodiment of the method.
The embodiment of the invention also provides a kind of devices, comprising:
One or more processors;With
One or more machine readable medias of instruction are stored thereon with, are executed when by one or more of processors
When, so that described device executes method described in the embodiment of the present invention.
The embodiment of the invention also provides one or more machine readable medias, are stored thereon with instruction, when by one or
When multiple processors execute, so that the processor executes method described in the embodiment of the present invention.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with
The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate
Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and
The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can
With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code
The form of the computer program product of implementation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program
The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions
In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these
Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals
Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices
Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram
The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices
In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet
The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram
The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that
Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus
The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart
And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases
This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as
Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap
Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article
Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited
Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Position is stored to a kind of facility information storage location recognition methods provided by the present invention and a kind of facility information above
Identification device is set, is described in detail, specific case used herein carries out the principle of the present invention and embodiment
It illustrates, the above description of the embodiment is only used to help understand the method for the present invention and its core ideas;Meanwhile for this field
Those skilled in the art, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, to sum up
Described, the contents of this specification are not to be construed as limiting the invention.
Claims (12)
1. a kind of facility information storage location recognition methods, which is characterized in that be applied to display control program, the display control
System includes central processor CPU, graphics processor GPU, basic input-output system BIOS, specific memory, the method
Include:
The CPU reads the configuration information in BIOS;
If the configuration information in the BIOS meets presetting rule, using described in the configuration information initialization in the BIOS
GPU;
If the configuration information in the BIOS is unsatisfactory for presetting rule, the configuration information in the specific memory is read;
If the configuration information in the specific memory meets presetting rule, the configuration information in the specific memory is used
Initialize the GPU.
2. method according to claim 1, which is characterized in that further include:
If the configuration information in the specific memory is unsatisfactory for presetting rule, using described in default configuration information initialization
GPU。
3. method according to claim 1, which is characterized in that the CPU reads the configuration information in BIOS, comprising:
The configuration information in BIOS is read according to preconfigured hardware port, port numbers, port speed.
4. method according to claim 1, which is characterized in that if the configuration information in the BIOS meets preset rule
Then, then the GPU is initialized using the configuration information in the BIOS, comprising:
Obtain the data head and check code of the configuration information in the BIOS;
Judge the configuration information in the BIOS data head and check code and preconfigured data head and check code whether one
It causes;
If consistent, judge that the configuration information in the BIOS meets presetting rule;
The GPU is initialized using the configuration information in the BIOS.
5. method according to claim 1, which is characterized in that if the configuration information in the specific memory meets in advance
Rule is set, then initializes the GPU using the configuration information in the specific memory, comprising:
Obtain the data head and check code of the configuration information in the specific memory;
Judge data head and check code and preconfigured configuration information head and the school of the configuration information in the specific memory
Whether consistent test code;
If consistent, judge that the configuration information in the specific memory meets presetting rule;
The GPU is initialized using the configuration information in the specific memory.
6. a kind of facility information storage location identification device, which is characterized in that be applied to display control program, the display control
System includes central processor CPU, graphics processor GPU, basic input-output system BIOS, specific memory, described device
Include:
BIOS configuration information read module reads the configuration information in BIOS for the CPU;
First initialization module, if the configuration information in the BIOS meets presetting rule, using in the BIOS
Configuration information initializes the GPU;
Specific memory configuration information read module is read if the configuration information in the BIOS is unsatisfactory for presetting rule
Take the configuration information in the specific memory;
Second initialization module uses the specific memory if the configuration information in the specific memory is legal
In configuration information initialize the GPU.
7. device according to claim 6, which is characterized in that further include:
Third initialization module uses default if being unsatisfactory for presetting rule for the configuration information in the specific memory
Configuration information initializes the GPU.
8. device according to claim 7, which is characterized in that the BIOS configuration information read module, comprising:
BIOS configuration information reading submodule, for reading BIOS according to preconfigured hardware port, port numbers, port speed
In configuration information.
9. device according to claim 6, which is characterized in that first initialization module, comprising:
First acquisition submodule, for obtaining the data head and check code of the configuration information in the BIOS;
First judging submodule, for judging the data head and check code and preconfigured number of the configuration information in the BIOS
It is whether consistent according to head and check code;
First legitimacy confirms submodule, if judging that the configuration information in the BIOS meets presetting rule for consistent;
First initialization submodule, for using the configuration information in the BIOS to initialize the GPU.
10. device according to claim 6, which is characterized in that second initialization module, comprising:
Second acquisition submodule, for obtaining the data head and check code of the configuration information in the specific memory;
Second judgment submodule, for judge the configuration information in the specific memory data head and check code with match in advance
Whether the data head and check code set are consistent;
Second legitimacy confirms submodule, if it is preset to judge that the configuration information in the specific memory meets for consistent
Rule;
Second initialization submodule, for using the configuration information in the specific memory to initialize the GPU.
11. a kind of device characterized by comprising
One or more processors;With
One or more machine readable medias of instruction are stored thereon with, when being executed by one or more of processors, are made
Obtain the method that described device executes one or more as claimed in claims 1-5.
12. one or more machine readable medias, are stored thereon with instruction, when executed by one or more processors, so that
The method that the processor executes one or more as claimed in claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910320033.7A CN110134639B (en) | 2019-04-19 | 2019-04-19 | Equipment information storage position identification method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910320033.7A CN110134639B (en) | 2019-04-19 | 2019-04-19 | Equipment information storage position identification method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110134639A true CN110134639A (en) | 2019-08-16 |
CN110134639B CN110134639B (en) | 2021-09-17 |
Family
ID=67570683
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910320033.7A Active CN110134639B (en) | 2019-04-19 | 2019-04-19 | Equipment information storage position identification method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110134639B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109408450A (en) * | 2018-09-27 | 2019-03-01 | 中兴飞流信息科技有限公司 | A kind of method of data processing, system, association's processing unit and primary processing unit |
CN114510277A (en) * | 2021-12-31 | 2022-05-17 | 中电科技(北京)股份有限公司 | Modularized BIOS (basic input output System) configuration equipment chip method |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101354659A (en) * | 2008-09-12 | 2009-01-28 | 成都市华为赛门铁克科技有限公司 | Method, controller and control system for controlling BIOS start-up of electronic apparatus |
CN103678030A (en) * | 2012-09-04 | 2014-03-26 | 杭州海康威视数字技术股份有限公司 | Multi-system equipment start system and method thereof |
US20160260006A1 (en) * | 2015-03-04 | 2016-09-08 | Google Inc. | Microelectronics device with exposed user interfaces |
CN106371945A (en) * | 2016-08-30 | 2017-02-01 | 合肥联宝信息技术有限公司 | Method and device for restoring firmware information |
CN107357619A (en) * | 2017-07-07 | 2017-11-17 | 广州视源电子科技股份有限公司 | Method, device, equipment and storage medium for generating card configuration file |
US20180089560A1 (en) * | 2016-09-28 | 2018-03-29 | Dell Products, Lp | High Speed Serial Links for High Volume Manufacturing |
-
2019
- 2019-04-19 CN CN201910320033.7A patent/CN110134639B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101354659A (en) * | 2008-09-12 | 2009-01-28 | 成都市华为赛门铁克科技有限公司 | Method, controller and control system for controlling BIOS start-up of electronic apparatus |
CN103678030A (en) * | 2012-09-04 | 2014-03-26 | 杭州海康威视数字技术股份有限公司 | Multi-system equipment start system and method thereof |
US20160260006A1 (en) * | 2015-03-04 | 2016-09-08 | Google Inc. | Microelectronics device with exposed user interfaces |
CN106371945A (en) * | 2016-08-30 | 2017-02-01 | 合肥联宝信息技术有限公司 | Method and device for restoring firmware information |
US20180089560A1 (en) * | 2016-09-28 | 2018-03-29 | Dell Products, Lp | High Speed Serial Links for High Volume Manufacturing |
CN107357619A (en) * | 2017-07-07 | 2017-11-17 | 广州视源电子科技股份有限公司 | Method, device, equipment and storage medium for generating card configuration file |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109408450A (en) * | 2018-09-27 | 2019-03-01 | 中兴飞流信息科技有限公司 | A kind of method of data processing, system, association's processing unit and primary processing unit |
CN109408450B (en) * | 2018-09-27 | 2021-03-30 | 中兴飞流信息科技有限公司 | Data processing method, system, co-processing device and main processing device |
CN114510277A (en) * | 2021-12-31 | 2022-05-17 | 中电科技(北京)股份有限公司 | Modularized BIOS (basic input output System) configuration equipment chip method |
Also Published As
Publication number | Publication date |
---|---|
CN110134639B (en) | 2021-09-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8874953B2 (en) | System and method of cloud testing and remote monitoring for integrated circuit components in system validation | |
US20050038986A1 (en) | Techniques for initializing a device on an expansion card | |
CN110162435B (en) | Method, system, terminal and storage medium for starting and testing PXE of server | |
US20090300588A1 (en) | Method and apparatus for acquiring definitions of debug code of basic input/output system | |
CN101377749B (en) | Method, programmable logic device, system and apparatus for checking memory data | |
US10866881B1 (en) | Firmware debug trace capture | |
CN114003538A (en) | Intelligent network card and identification method thereof | |
CN110134639A (en) | A kind of facility information storage location recognition methods and device | |
CN109460187B (en) | Verification method and verification terminal for data consistency of qcow2 file | |
US10067894B1 (en) | Cable-based configuration | |
CN114020626A (en) | Chip verification method, device, equipment and medium | |
JP6233027B2 (en) | Library device and storage medium initialization program | |
CN109582334B (en) | Upgrading method and device for programmable logic device | |
CN109802866B (en) | Network card SR-IOV function testing method, device, terminal and storage medium | |
CN115113943B (en) | Method, device, equipment and storage medium for determining matching degree of board card and slot position | |
CN115599618B (en) | Register dynamic change-allocation verification method and device, storage medium and processor | |
CN117909148A (en) | Test method and board under test | |
CN108829541A (en) | Dilatation detection method, electronic device and computer readable storage medium | |
CN112486578B (en) | Method, system, terminal and storage medium for dynamically loading BMC (baseboard management controller) with sensor | |
CN114513436B (en) | SDIO device transmission rate detection method, system and storage medium | |
CN113468027B (en) | Monitoring device address management method and device, substrate management controller and equipment | |
CN116401120A (en) | Cable connection verification method, device, equipment and machine-readable storage medium | |
CN115712559A (en) | Method and device for testing hardware management software and electronic equipment | |
CN106802847A (en) | Method and apparatus for simulating storage dish at a slow speed | |
CN111309521B (en) | FPGA reloading method, FPGA card type equipment and host |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 100095 Building 2, Longxin Industrial Park, Zhongguancun environmental protection technology demonstration park, Haidian District, Beijing Applicant after: Loongson Zhongke Technology Co.,Ltd. Address before: 100095 Building 2, Longxin Industrial Park, Zhongguancun environmental protection technology demonstration park, Haidian District, Beijing Applicant before: LOONGSON TECHNOLOGY Corp.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |