CN108710508A - A kind of processing method, device and electronic equipment - Google Patents
A kind of processing method, device and electronic equipment Download PDFInfo
- Publication number
- CN108710508A CN108710508A CN201810495756.6A CN201810495756A CN108710508A CN 108710508 A CN108710508 A CN 108710508A CN 201810495756 A CN201810495756 A CN 201810495756A CN 108710508 A CN108710508 A CN 108710508A
- Authority
- CN
- China
- Prior art keywords
- electronic equipment
- hard disk
- link information
- information
- slot
- 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
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4411—Configuring 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)
- Debugging And Monitoring (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a kind of processing method, device and electronic equipment, the method includes:When the electronic equipment is powered, the link information for the hard disk being connect with the electronic equipment is obtained, the link information includes:The PCIE bus ports that slot and the slot where the hard disk are connected;The link information is written in the electronic equipment;When the electronic equipment starts, hard disk sequencing information is generated based on the link information, so that sequence of the hard disk in system front view, bios setup and operating system is consistent.
Description
Technical field
The present invention relates to a kind of field of computer technology more particularly to processing method, device and electronic equipments.
Background technology
It is higher and higher to the performance requirement of storage with the arrival in big data epoch, cause to need to prop up inside a system
The number for holding peripheral hardware hard disk such as NVMe hard disks is more and more, and the mode of peripheral hardware connection is also more and more flexible, however, to ensure that firmly
Hard disk sequence of the disk under the sequence of system front view, the sequence of bios setup menus, operating system is consistent, and is just needed
Hard disk cable is wanted to be assembled in a fixed order.
But fixed hard disk cable assembling sequence, the difficulty of hard disk cable assembling can be increased, reduce the assembling of hard disk cable
Efficiency.
Invention content
In view of this, a kind of processing method of present invention offer, device and electronic equipment, hard in the prior art to solve
Disk cable assembles the less efficient technical problem that difficulty is larger, and hard disk cable assembles.
This application provides a kind of processing methods as a result, are applied to electronic equipment, the method includes:
When the electronic equipment is powered, the link information for the hard disk being connect with the electronic equipment, the company are obtained
Connecing information includes:The high speed serialization computer expansion bus standard PCIE that slot and the slot where the hard disk are connected
Bus port;
The link information is written in the electronic equipment;
When the electronic equipment starts, hard disk sequencing information is generated based on the link information, so that the hard disk
Sequence in system front view, bios setup and operating system is consistent.
The above method, it is preferable that the link information for the hard disk being connect with the electronic equipment is obtained, including:
By the backplane logic chip of the electronic equipment, the hard disk set by the slot on the backboard is monitored;
By bus, the PCIE bus ports that the slot is connected are obtained.
The above method, it is preferable that the link information is written in the electronic equipment, including:
The link information is written in the storage chip of the electronic equipment by bus.
The above method, it is preferable that hard disk sequencing information is generated based on the link information, including:
By bus, the link information in the storage chip is read;
The link information is parsed, to obtain the connection relation of the hard disk and PCIE bus ports, so that described hard
Sequence of the disk in system front view, bios setup and operating system is consistent.
The above method, it is preferable that further include:
Based on the link information, the distribution information that the PCIE bus ports are connected to CPU is set.
Present invention also provides a kind of processing units, are applied to electronic equipment, and described device includes:
Obtaining unit, for when the electronic equipment is powered, obtaining the company for the hard disk being connect with the electronic equipment
Information is connect, the link information includes:The PCIE bus ports that slot and the slot where the hard disk are connected;
Writing unit, for the link information to be written in the electronic equipment;
Generation unit, for when the electronic equipment starts, hard disk sequencing information to be generated based on the link information,
So that sequence of the hard disk in system front view, bios setup and operating system is consistent.
Present invention also provides a kind of electronic equipment, including:
Backplane controller, for when the electronic equipment is powered, obtaining the hard disk being connect with the electronic equipment
Link information, the link information include:The PCIE bus ports that slot and the slot where the hard disk are connected;
Mainboard controller, for the link information to be written in the electronic equipment;
Bios, for when the electronic equipment starts, hard disk sequencing information to be generated based on the link information, so that
It is consistent to obtain sequence of the hard disk in system front view, bios setup and operating system.
Above-mentioned electronic equipment, it is preferable that further include:
Transit plate, the link information obtained for storing the backplane controller;
The mainboard controller is additionally operable to:The link information is read from the transit plate, and the electronics is written and sets
In standby.
Above-mentioned electronic equipment, it is preferable that further include:
Storage chip, the link information for storing the mainboard controller write-in.
Above-mentioned electronic equipment, it is preferable that the bios is additionally operable to:Based on the link information, the PCIE buses are set
Port is connected to the distribution information of CPU.
It can be seen from the above technical proposal that a kind of processing method, device and electronic equipment disclosed in the present application, pass through
The link information for the hard disk that electronic equipment is connected can be obtained when electronic equipment is powered, and then these link informations are write
Enter into electronic equipment, to which when electronic equipment starts hard disk clooating sequence can be generated based on these link informations,
So that clooating sequence of the hard disk in system front view, bios setup and operating system is consistent.Hard disk in the application
Clooating sequence is no longer limited by fixed hard disk cable assembling sequence, and no matter how the assembling of hard disk cable changes, by electronics
Equipment gets current hard disk link information after being powered, to generate hard disk sequence letter when electronic equipment starts
Breath, thereby guarantees that sequence of the hard disk under each view environment is consistent, realizes the application purpose.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, below will to embodiment or
Attached drawing needed to be used in the description of the prior art is briefly described, it should be apparent that, the accompanying drawings in the following description is only
Some embodiments of the present invention, for those of ordinary skill in the art, without creative efforts, also
It can be obtain other attached drawings according to these attached drawings.
Fig. 1 is a kind of flow chart for processing method that the embodiment of the present application one provides;
Fig. 2 is the partial process view of the embodiment of the present application one;
Fig. 3 is a kind of structural schematic diagram for processing unit that the embodiment of the present application two provides;
Fig. 4 is the structural schematic diagram for a kind of electronic equipment that the embodiment of the present application three provides;
Fig. 5 and Fig. 6 is respectively another structural schematic diagram for a kind of electronic equipment that the embodiment of the present application three provides;
Fig. 7 is the application exemplary plot of the embodiment of the present application.
Specific implementation mode
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 describes, 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 it is all its
His embodiment, shall fall within the protection scope of the present invention.
As shown in Figure 1, a kind of implementation flow chart of the processing method provided for the embodiment of the present application one, is suitable for electronics
The ordered state of each hard disk is handled in equipment.The electronic equipment can be computer or the service that can connect various hard disks
The system equipments such as device.
In the present embodiment, which may comprise steps of:
Step 101:When electronic equipment is powered, the link information for the hard disk being connect with electronic equipment is obtained.
Wherein, being included at least in the link information has:The PCIE that slot and slot where hard disk are connected
The information such as (peripheral component interconnect express) bus port.That is, link information
In include at least and can show that the content of following information:The correspondence of each hard disk and the slot of its grafting, and, often
The correspondence for the PCIE bus ports that a slot is connect with it.
It should be noted that when electronic equipment is not powered, user can to the hard disk that is connected on electronic equipment into
Row plug, according to demand assembles hard disk cable, is not only restricted to fixed hard disk cable assembling sequence, is assembled in user
After end, it is powered to electronic equipment, and after electronic equipment energization, to updated hard disk cable in the present embodiment
Assembled state is checked, to obtain the link information for the hard disk being connect with electronic equipment, such as the connection of hard disk and slot
And the information such as slot and the connection of PCIE bus ports.
Wherein, hard disk here can be the equipment that can be plugged on electronic equipment such as backboard, such as Nonvolatile memory
Host controller interface specification NVME (Non-Volatile Memory express) disk etc..
Step 102:Link information is written in electronic equipment.
Wherein, link information can be written in the storage unit in electronic equipment in the present embodiment.
Step 103:When electronic equipment starts, hard disk sequencing information is generated based on link information, so that hard disk is being
Sequence in front view, bios setup and the operating system of uniting is consistent.
Wherein, for electronic equipment before not actuated and after energization, the present embodiment believes the connection of hard disk on an electronic device
Breath is written in electronic equipment, and after electronic equipment startup, so that it may with based on these link informations stored in electronic equipment
Generate hard disk sequencing information, so electronic equipment can be based on this hard disk sequencing information generate hard disk system front view,
Sequence in bios setup and operating system, therefore, hard disk is in system front view, bios setup and behaviour in the present embodiment
The sequence made in system can be consistent, and is not only restricted to the assembled state of hard disk in the electronic device.
It can be seen from the above technical proposal that a kind of processing method that the embodiment of the present application one provides, by being set in electronics
The link information for the hard disk that electronic equipment is connected can be obtained when standby energization, and then these link informations are written to electronics
In equipment, to which when electronic equipment starts hard disk clooating sequence can be generated based on these link informations, so that
Clooating sequence of the hard disk in system front view, bios setup and operating system is consistent.The sequence of hard disk is suitable in the present embodiment
Sequence is no longer limited by fixed hard disk cable assembling sequence, and no matter how the assembling of hard disk cable changes, by logical in electronic equipment
Current hard disk link information is got after electricity, to which hard disk sequencing information can be generated when electronic equipment starts, thus
Ensure that sequence of the hard disk under each view environment is consistent, realizes the present embodiment purpose.
In one implementation, in the present embodiment when obtaining the link information for the hard disk being connect with electronic equipment,
It can be accomplished by the following way, as shown in Figure 2:
Step 201:By the backplane logic chip of electronic equipment, the hard disk set by the slot on backboard is monitored.
For example, using backplane logic chip by I2C buses or other bus monitoring backboards above each slot
It is connected by dynamic cable on retimer cards, if be connected with hard disk, if being connected with hard disk, which identification has been connected to
A little hard disks.
Step 202:By bus, the PCIE bus ports that slot is connected are obtained.
For example, using in cable I2C buses or other buses come obtain each slot be connected to which group CPU PCIE
Retimer cards are such as identified by I2C buses or other buses to obtain the PCIE bus ports that each slot is connected
Slot 1 corresponds to the PCIE physical bus port of which group CPU to slot N respectively, as a result, in the present embodiment by I2C buses or other are total
Line reads out link information from retimer cards.
In one implementation, in the present embodiment when link information to be written in electronic equipment, can specifically lead to
Cross following manner realization:
By bus, link information is written in the storage chip of electronic equipment.
Wherein, which can be the on-site programmable gate array FPGA (Field- in electronic equipment
Programmable Gate Array) chip, the chip can when electronic equipment starts by electronic equipment such as bios read,
Thus electronic equipment can be based on the link information and generate hard disk sequencing information so that hard disk is in system front view, bios
Sequence in setup and operating system is consistent.
Specifically, in the present embodiment when generating hard disk sequencing information based on link information, it specifically can be by with lower section
Formula is realized:
First, the link information stored in storage chip such as FPGA is read by bus and parses the company read later
Information is connect, to obtain the connection relation of hard disk and PCIE bus ports, so that hard disk is in system front view, bios setup
And the sequence in operating system is consistent.
In addition, in one implementation, the present embodiment is also based on link information after obtaining link information,
The distribution information that PCIE bus ports are connected to CPU is set, for example, after electronic equipment startup, company is read by bus
When connecing information, it is based on link information, so that it may to recognize, which hard disk is connected to the PCIE buses which organizes CPU on backboard, from
And these information are based on, the distribution of PCIE buses can be set dynamically, every group of CPU can be evenly distributed to by being achieved in hard disk
Under, realize that performance maximizes.
It can be arranged in electricity for a kind of structural schematic diagram for processing unit that the embodiment of the present application two provides with reference to figure 3
In sub- equipment, the ordered state of each hard disk is handled suitable for electronic equipment, which can be that can connect
The equipment such as the computer or server of various hard disks.
In the present embodiment, which may include with lower structure:
Obtaining unit 301, for when the electronic equipment is powered, obtaining the hard disk being connect with the electronic equipment
Link information.
Wherein, being included at least in the link information has:The PCIE bus ports etc. that slot and slot where hard disk are connected
Information.That is, including at least the content that can show that following information in link information:Each hard disk and its grafting
The correspondence of slot, and, the correspondence for the PCIE bus ports that each slot is connect with it.
It should be noted that when electronic equipment is not powered, user can to the hard disk that is connected on electronic equipment into
Row plug, according to demand assembles hard disk cable, is not only restricted to fixed hard disk cable assembling sequence, is assembled in user
After end, it is powered to electronic equipment, and after electronic equipment energization, after obtaining unit 301 is to update in the present embodiment
Hard disk cable assembled state checked, to obtain the link information of hard disk being connect with electronic equipment, such as hard disk and
The connection of slot and the information such as slot and the connection of PCIE bus ports.
Writing unit 302, for the link information to be written in the electronic equipment.
Wherein, link information can be written to the storage unit in electronic equipment by writing unit 302 in the present embodiment
In.
Generation unit 303, for when the electronic equipment starts, hard disk sequence letter to be generated based on the link information
Breath, so that sequence of the hard disk in system front view, bios setup and operating system is consistent.
Wherein, electronic equipment is before not actuated and after being powered, and the writing unit 302 of the present embodiment is by hard disk in electronics
Link information in equipment is written in electronic equipment, and after electronic equipment startup, generation unit 303 can be based on electricity
These link informations stored in sub- equipment generate hard disk sequencing information, and then electronic equipment can be based on this hard disk and arrange
Sequence information generates sequence of the hard disk in system front view, bios setup and operating system, therefore, hard disk in the present embodiment
Sequence in system front view, bios setup and operating system can be consistent, and is not only restricted to hard disk in the electronic device
Assembled state.
It can be seen from the above technical proposal that a kind of processing unit that the embodiment of the present application two provides, by being set in electronics
The link information for the hard disk that electronic equipment is connected can be obtained when standby energization, and then these link informations are written to electronics
In equipment, to which when electronic equipment starts hard disk clooating sequence can be generated based on these link informations, so that
Clooating sequence of the hard disk in system front view, bios setup and operating system is consistent.The sequence of hard disk is suitable in the present embodiment
Sequence is no longer limited by fixed hard disk cable assembling sequence, and no matter how the assembling of hard disk cable changes, by logical in electronic equipment
Current hard disk link information is got after electricity, to which hard disk sequencing information can be generated when electronic equipment starts, thus
Ensure that sequence of the hard disk under each view environment is consistent, realizes the present embodiment purpose.
In one implementation, obtaining unit 301 can specifically be accomplished by the following way in the present embodiment:
First, by the backplane logic chip of electronic equipment, the hard disk set by the slot on backboard is monitored, for example, sharp
With backplane logic chip by the retimer cards in I2C buses or other bus monitoring backboards above each slot by dynamic
The cable of state connects, if is connected with hard disk, if being connected with hard disk, which hard disk identification has been connected to.
Later or simultaneously, by bus, the PCIE bus ports that slot is connected are obtained.
For example, using in cable I2C buses or other buses come obtain each slot be connected to which group CPU PCIE
Retimer cards are such as identified by I2C buses or other buses to obtain the PCIE bus ports that each slot is connected
Slot 1 corresponds to the PCIE physical bus port of which group CPU to slot N respectively, as a result, in the present embodiment by I2C buses or other are total
Line reads out link information from retimer cards.
In one implementation, writing unit 302 can specifically be write link information by bus in the present embodiment
Enter into the storage chip of electronic equipment.
Wherein, which can be the fpga chip in electronic equipment, which can be when electronic equipment starts
It is read by electronic equipment such as bios, thus electronic equipment can be based on the link information and generate hard disk sequencing information so that hard disk
Sequence in system front view, bios setup and operating system is consistent.
Specifically, generation unit 303 specifically may be used when generating hard disk sequencing information based on link information in the present embodiment
To be accomplished by the following way:
First, the link information stored in storage chip such as FPGA is read by bus and parses the company read later
Information is connect, to obtain the connection relation of hard disk and PCIE bus ports, so that hard disk is in system front view, bios setup
And the sequence in operating system is consistent.
It, can be in the present embodiment after obtaining unit 301 obtains link information in addition, in one implementation
Based on link information, setting PCIE bus ports are connected to the distribution information of CPU, for example, after electronic equipment startup, lead to
When crossing bus and reading link information, it is based on link information, so that it may which which hard disk is connected to which group on backboard to recognize
To be based on these information the distribution of PCIE buses can be set dynamically, being achieved in hard disk can put down in the PCIE buses of CPU
It is assigned under every group of CPU, realizes that performance maximizes.
With reference to figure 4, for the structural schematic diagram for a kind of electronic equipment that the embodiment of the present application three provides, which can
Think the equipment such as the computer that can connect various hard disks or server.
Specifically, the electronic equipment in the present embodiment may include with lower structure:
Backplane controller 401, for when the electronic equipment is powered, acquisition to be connect hard with the electronic equipment
The link information of disk.
Wherein, being included at least in the link information has:The PCIE bus ports etc. that slot and slot where hard disk are connected
Information.That is, including at least the content that can show that following information in link information:Each hard disk and its grafting
The correspondence of slot, and, the correspondence for the PCIE bus ports that each slot is connect with it.
It should be noted that when electronic equipment is not powered, user can to the hard disk that is connected on electronic equipment into
Row plug, according to demand assembles hard disk cable, is not only restricted to fixed hard disk cable assembling sequence, is assembled in user
After end, it is powered to electronic equipment, and after electronic equipment energization, the present embodiment dorsulum controller 401 is to update
Hard disk cable assembled state afterwards is checked, to obtain the link information for the hard disk being connect on electronic equipment backboard,
The connection information of the connection of such as hard disk and slot and slot and PCIE bus ports.
Mainboard controller 402, for the link information to be written in the electronic equipment.
Wherein, link information can be written in the storage unit of electronic equipment by mainboard controller 402.
Bios403, for when the electronic equipment starts, hard disk sequencing information to be generated based on the link information, with
So that sequence of the hard disk in system front view, bios setup and operating system is consistent.
Wherein, electronic equipment is before not actuated and after being powered, and the mainboard controller 402 of the present embodiment is by hard disk in electricity
Link information in sub- equipment is written in electronic equipment, and after electronic equipment startup, the Bios403 of electronic equipment can
To generate hard disk sequencing information based on these link informations stored in electronic equipment, and then electronic equipment can be based on this
One hard disk sequencing information generates sequence of the hard disk in system front view, bios setup and operating system, therefore, this implementation
Sequence of the hard disk in system front view, bios setup and operating system can be consistent in example, and is not only restricted to hard disk in electricity
Assembled state in sub- equipment.
It can be seen from the above technical proposal that a kind of electronic equipment that the embodiment of the present application three provides, by being set in electronics
The link information for the hard disk that electronic equipment is connected can be obtained when standby energization, and then these link informations are written to electronics
In equipment, to which when electronic equipment starts hard disk clooating sequence can be generated based on these link informations, so that
Clooating sequence of the hard disk in system front view, bios setup and operating system is consistent.The sequence of hard disk is suitable in the present embodiment
Sequence is no longer limited by fixed hard disk cable assembling sequence, and no matter how the assembling of hard disk cable changes, by logical in electronic equipment
Current hard disk link information is got after electricity, to which hard disk sequencing information can be generated when electronic equipment starts, thus
Ensure that sequence of the hard disk under each view environment is consistent, realizes the present embodiment purpose.
In the concrete realization, as shown in Figure 5, can also include in electronic equipment:
Transit plate 404, the link information obtained for storing the backplane controller 401.
Wherein, transit plate 404 can be realized by riser cards, in the present embodiment, company that backplane controller 401 is obtained
It connects information to be stored temporarily in transit plate 404, subsequently to read.
Correspondingly, the mainboard controller 402 is additionally operable to:The link information is read from the transit plate 404, and
It is written in the electronic equipment.
Specifically, mainboard controller 402 will read the link information from the transit plate 404, and the electricity is written
In such as FPGA of storage chip 405 in sub- equipment, as shown in Figure 6, the storage chip 405 is for storing mainboard controller 402
The link information of write-in.
In addition, in the electronic equipment of the present embodiment, bios403 can be also used for:
Based on the link information, the distribution information that the PCIE bus ports are connected to CPU is set.
For example, after electronic equipment startup, when bios403 reads link information by bus, based on connection letter
Breath, so that it may, can be with to be based on these information to recognize which hard disk on backboard is connected to the PCIE buses of which group CPU
The distribution of PCIE buses is set dynamically, being achieved in hard disk can be evenly distributed under every group of CPU, realize that performance maximizes.
Below in conjunction with Fig. 7, the implementation in the embodiment of the present application is illustrated:
Include backboard BP, mainboard controller BMC, storage chip FPGA and bios system in the electronic device,
In, there is backplane logic chip on BP.
In the present embodiment, by the logic chip of backboard BP, the BMC of mainboard detects which slot above pronotum
The NVMe disks of position have the PCIE buses which group CPU installation and they use respectively, these information are notified FPGA,
FPGA can be recorded in these information inside the register of oneself, be switched on after the power is turned in electronic equipment, bios goes FPGA these
Information scratching, and by the mapping of these information setting PCIE buses, the interfaces bios setup are shown in, and notify to operate
System sequentially does sequence of the NVMe hard disks under system with this.Do the connection of cable in the present embodiment anyway as a result,
System can be transferred through the dynamic setting of software, realize that system front view, bios setup are consistent with hard disk sequence under operating system
Property purpose, realize optimal performance.
Specifically, first, as shown in Figure 7, by logic chip above, detect has above which slot backboard (BP)
NVMe disks are inserted into, as shown in the flow 1 in Fig. 7, then by I2C buses inside cable (or using other similar to bus
Agreement) the PCIE retimer cards being attached thereto are reported to, the connection of current cable is which disk position inside the front view of NVMe
Use the PCIE buses of slot 1 (bios knows slot 1 arrives which group PCIE physical bus that slot N corresponds to CPU respectively).
Secondly, BMC (mainboard managing chip) is by I2C buses (or using other similar to bus protocol), in Fig. 7
Flow 2 shown in, read the information got in flow 1 from the logic chip of retimer cards above.
Later, BMC is by I2C buses (or using other similar to bus protocol), as shown in the flow 3 in Fig. 7,
The information got in the flow 1 read passes to FPGA.
Later, Bios is through eSPI buses (or using other similar to bus protocol), as shown in the flow 4 in Fig. 7,
The information got in flow 1 is read inside from FPGA.
Finally, bios knows slot 1 corresponds to which group PCIE physical bus of CPU to slot N respectively, knows further through above-mentioned path
Road, the retimer cards above each slot are connected by dynamic cable, have been connected to which NVMe disk of backboard;Bios is just at this time
Know which NVMe disk of backboard be connected to CPU which group PCIE buses can also design PCIE buses then with this information
Distribution, then the mode of analysis is reported to operating system OS (Operating System), as a result, can be before realization system
View, bios setup, and under operating system hard disk sequence consistency purpose.Alternatively, it is also possible to pass through this dynamic cable
Connection realizes that NVMe disks are distributed evenly over each CPU in the following, the hard disk sequence for not interfering with above-mentioned three again is consistent, realisation
It can maximize.
Each embodiment is described by the way of progressive in this specification, the highlights of each of the examples are with its
The difference of his embodiment, just to refer each other for identical similar portion between each embodiment.For being filled disclosed in embodiment
For setting, since it is corresponded to the methods disclosed in the examples, so description is fairly simple, related place is referring to method portion
It defends oneself bright.
Professional further appreciates that, list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, hard in order to clearly demonstrate
The interchangeability of part and software generally describes each exemplary composition and step according to function in the above description.
These functions are implemented in hardware or software actually, depend on the specific application and design constraint of technical solution.
Professional technician can use different methods to achieve the described function each specific application, but this reality
Now it should not be considered as beyond the scope of the present invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly use hardware, processor
The combination of the software module or the two of execution is implemented.Software module can be placed in random access memory (RAM), memory, only
Read memory (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or
In any other form of storage medium well known in technical field.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention.
Various modifications to these embodiments will be apparent to those skilled in the art, defined herein
General Principle can realize in other embodiments without departing from the spirit or scope of the present invention.Therefore, originally
Invention is not intended to be limited to the embodiments shown herein, and is to fit to special with principles disclosed herein and novelty
The consistent widest range of point.
Claims (10)
1. a kind of processing method is applied to electronic equipment, the method includes:
When the electronic equipment is powered, the link information for the hard disk being connect with the electronic equipment, the connection letter are obtained
Breath includes:The high speed serialization computer expansion bus standard PCIE bus ends that slot and the slot where the hard disk are connected
Mouthful;
The link information is written in the electronic equipment;
When the electronic equipment starts, hard disk sequencing information is generated based on the link information, so that the hard disk is being
Sequence in front view, bios setup and the operating system of uniting is consistent.
2. according to the method described in claim 1, it is characterized in that, obtaining the connection for the hard disk being connect with the electronic equipment
Information, including:
By the backplane logic chip of the electronic equipment, the hard disk set by the slot on the backboard is monitored;
By bus, the PCIE bus ports that the slot is connected are obtained.
3. method according to claim 1 or 2, which is characterized in that the link information is written in the electronic equipment,
Including:
The link information is written in the storage chip of the electronic equipment by bus.
4. according to the method described in claim 3, it is characterized in that, generating hard disk sequencing information, packet based on the link information
It includes:
By bus, the link information in the storage chip is read;
The link information is parsed, to obtain the connection relation of the hard disk and PCIE bus ports, so that the hard disk exists
Sequence in system front view, bios setup and operating system is consistent.
5. method according to claim 1 or 3, which is characterized in that further include:
Based on the link information, the distribution information that the PCIE bus ports are connected to CPU is set.
6. a kind of processing unit, is applied to electronic equipment, described device includes:
Obtaining unit, the connection letter for when the electronic equipment is powered, obtaining the hard disk being connect with the electronic equipment
Breath, the link information include:The PCIE bus ports that slot and the slot where the hard disk are connected;
Writing unit, for the link information to be written in the electronic equipment;
Generation unit, for when the electronic equipment starts, hard disk sequencing information to be generated based on the link information, so that
Sequence of the hard disk in system front view, bios setup and operating system is consistent.
7. a kind of electronic equipment, including:
Backplane controller, for when the electronic equipment is powered, obtaining the connection for the hard disk being connect with the electronic equipment
Information, the link information include:The PCIE bus ports that slot and the slot where the hard disk are connected;
Mainboard controller, for the link information to be written in the electronic equipment;
Bios, for when the electronic equipment starts, hard disk sequencing information being generated based on the link information, so that described
Sequence of the hard disk in system front view, bios setup and operating system is consistent.
8. electronic equipment according to claim 7, which is characterized in that further include:
Transit plate, the link information obtained for storing the backplane controller;
The mainboard controller is additionally operable to:The link information is read from the transit plate, and is written in the electronic equipment.
9. electronic equipment according to claim 7 or 8, which is characterized in that further include:
Storage chip, the link information for storing the mainboard controller write-in.
10. electronic equipment according to claim 7, which is characterized in that the bios is additionally operable to:Believed based on the connection
Breath, is arranged the distribution information that the PCIE bus ports are connected to CPU.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810495756.6A CN108710508B (en) | 2018-05-22 | 2018-05-22 | Processing method and device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810495756.6A CN108710508B (en) | 2018-05-22 | 2018-05-22 | Processing method and device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108710508A true CN108710508A (en) | 2018-10-26 |
CN108710508B CN108710508B (en) | 2021-10-22 |
Family
ID=63869203
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810495756.6A Active CN108710508B (en) | 2018-05-22 | 2018-05-22 | Processing method and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108710508B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11507388B2 (en) * | 2020-05-06 | 2022-11-22 | Dell Products L.P. | Storage device enumeration in information handling systems |
Citations (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1534490A (en) * | 2003-03-31 | 2004-10-06 | 联想(北京)有限公司 | Realization method of computer hard disk data restoring and back-up |
CN101470618A (en) * | 2007-12-28 | 2009-07-01 | 英业达股份有限公司 | Hard disk backboard and system identification method |
CN101499008A (en) * | 2008-01-30 | 2009-08-05 | 中兴通讯股份有限公司 | Hard disk boot sequence recognition method and system |
US20120226829A1 (en) * | 2011-03-04 | 2012-09-06 | Toshiba Tec Kabushiki Kaisha | Electronic apparatus and method for controlling the same |
CN102799478A (en) * | 2011-05-24 | 2012-11-28 | 联想(北京)有限公司 | Computer and computer starting method |
CN103268241A (en) * | 2013-05-28 | 2013-08-28 | 山东超越数控电子有限公司 | Method for achieving hiding or display of hard disk partitions in BIOS |
CN103440141A (en) * | 2013-06-28 | 2013-12-11 | 株洲南车时代电气股份有限公司 | Program writing device and system for use in DOS (Disk Operating System) for display and method thereof |
CN103578568A (en) * | 2012-07-24 | 2014-02-12 | 苏州捷泰科信息技术有限公司 | Method and apparatus for testing performances of solid state disks |
US20140075068A1 (en) * | 2012-09-11 | 2014-03-13 | International Business Machines Corporation | Concurrent repair of pcie switch units in a tightly-coupled, multi-switch, multi-adapter, multi-host distributed system |
CN103793035A (en) * | 2012-10-30 | 2014-05-14 | 鸿富锦精密工业(深圳)有限公司 | Hard disk control circuit |
US20140298485A1 (en) * | 2005-03-18 | 2014-10-02 | Absolute Software Corporation | Persistent agent supported by processor |
CN104298302A (en) * | 2013-07-15 | 2015-01-21 | 鸿富锦精密工业(深圳)有限公司 | Storage equipment and mainboard capable of supporting storage equipment |
CN104679542A (en) * | 2013-11-29 | 2015-06-03 | 英业达科技有限公司 | Server staring method and computer system |
CN204759309U (en) * | 2015-07-01 | 2015-11-11 | 上海鼎钛克电子有限公司 | USB, GBE, mixed backplate of PCI -E multibus |
CN204945916U (en) * | 2015-09-24 | 2016-01-06 | 浪潮电子信息产业股份有限公司 | A kind of I/O expands module |
CN105589713A (en) * | 2015-09-22 | 2016-05-18 | 杭州华三通信技术有限公司 | Electronic equipment and starting method therefor |
CN106155713A (en) * | 2015-03-27 | 2016-11-23 | 联想(北京)有限公司 | Start approaches to IM and device |
US20160371098A1 (en) * | 2012-09-26 | 2016-12-22 | Intel Corporation | Communication of device presence between boot routine and operating system |
CN106933509A (en) * | 2017-02-17 | 2017-07-07 | 联想(北京)有限公司 | The processing method and electronic equipment of a kind of disk number |
CN106940669A (en) * | 2017-03-13 | 2017-07-11 | 郑州云海信息技术有限公司 | A kind of PCIe slot position automatic testing method in place |
CN107193763A (en) * | 2017-04-13 | 2017-09-22 | 联想(北京)有限公司 | The method and electronic equipment of a kind of information processing |
-
2018
- 2018-05-22 CN CN201810495756.6A patent/CN108710508B/en active Active
Patent Citations (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1534490A (en) * | 2003-03-31 | 2004-10-06 | 联想(北京)有限公司 | Realization method of computer hard disk data restoring and back-up |
US20140298485A1 (en) * | 2005-03-18 | 2014-10-02 | Absolute Software Corporation | Persistent agent supported by processor |
CN101470618A (en) * | 2007-12-28 | 2009-07-01 | 英业达股份有限公司 | Hard disk backboard and system identification method |
CN101499008A (en) * | 2008-01-30 | 2009-08-05 | 中兴通讯股份有限公司 | Hard disk boot sequence recognition method and system |
US20120226829A1 (en) * | 2011-03-04 | 2012-09-06 | Toshiba Tec Kabushiki Kaisha | Electronic apparatus and method for controlling the same |
CN102799478A (en) * | 2011-05-24 | 2012-11-28 | 联想(北京)有限公司 | Computer and computer starting method |
CN103578568A (en) * | 2012-07-24 | 2014-02-12 | 苏州捷泰科信息技术有限公司 | Method and apparatus for testing performances of solid state disks |
US20140075068A1 (en) * | 2012-09-11 | 2014-03-13 | International Business Machines Corporation | Concurrent repair of pcie switch units in a tightly-coupled, multi-switch, multi-adapter, multi-host distributed system |
US20160371098A1 (en) * | 2012-09-26 | 2016-12-22 | Intel Corporation | Communication of device presence between boot routine and operating system |
CN103793035A (en) * | 2012-10-30 | 2014-05-14 | 鸿富锦精密工业(深圳)有限公司 | Hard disk control circuit |
CN103268241A (en) * | 2013-05-28 | 2013-08-28 | 山东超越数控电子有限公司 | Method for achieving hiding or display of hard disk partitions in BIOS |
CN103440141A (en) * | 2013-06-28 | 2013-12-11 | 株洲南车时代电气股份有限公司 | Program writing device and system for use in DOS (Disk Operating System) for display and method thereof |
CN104298302A (en) * | 2013-07-15 | 2015-01-21 | 鸿富锦精密工业(深圳)有限公司 | Storage equipment and mainboard capable of supporting storage equipment |
CN104679542A (en) * | 2013-11-29 | 2015-06-03 | 英业达科技有限公司 | Server staring method and computer system |
CN106155713A (en) * | 2015-03-27 | 2016-11-23 | 联想(北京)有限公司 | Start approaches to IM and device |
CN204759309U (en) * | 2015-07-01 | 2015-11-11 | 上海鼎钛克电子有限公司 | USB, GBE, mixed backplate of PCI -E multibus |
CN105589713A (en) * | 2015-09-22 | 2016-05-18 | 杭州华三通信技术有限公司 | Electronic equipment and starting method therefor |
CN204945916U (en) * | 2015-09-24 | 2016-01-06 | 浪潮电子信息产业股份有限公司 | A kind of I/O expands module |
CN106933509A (en) * | 2017-02-17 | 2017-07-07 | 联想(北京)有限公司 | The processing method and electronic equipment of a kind of disk number |
CN106940669A (en) * | 2017-03-13 | 2017-07-11 | 郑州云海信息技术有限公司 | A kind of PCIe slot position automatic testing method in place |
CN107193763A (en) * | 2017-04-13 | 2017-09-22 | 联想(北京)有限公司 | The method and electronic equipment of a kind of information processing |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11507388B2 (en) * | 2020-05-06 | 2022-11-22 | Dell Products L.P. | Storage device enumeration in information handling systems |
Also Published As
Publication number | Publication date |
---|---|
CN108710508B (en) | 2021-10-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106557340B (en) | Configuration method and device | |
JP4810349B2 (en) | I / O apparatus and method | |
TWI452469B (en) | Pcie mass storage device, system having the same, and method for operating the same | |
US7457897B1 (en) | PCI express-compatible controller and interface for flash memory | |
CN113076227B (en) | MCU verification method, system and terminal equipment | |
US10420246B2 (en) | Modular computer system and server module | |
US8103993B2 (en) | Structure for dynamically allocating lanes to a plurality of PCI express connectors | |
TWI273604B (en) | Memory card and semiconductor device | |
TW200915087A (en) | Bridge device with page-access based processor interface | |
CN105404596B (en) | A kind of data transmission method, apparatus and system | |
US20180210850A1 (en) | System and Method to Avoid SMBus Address Conflicts via a Baseboard Management Controller | |
WO2010139612A1 (en) | Detecting lost and out of order posted write packets in a peripheral component interconnect (pci) express network | |
CN103176913B (en) | Hard disk method for mapping dynamically and the server applying it | |
CN110765032A (en) | Method for reading and writing I2C memory based on system management bus interface | |
CN114153779A (en) | I2C communication method, system, equipment and storage medium | |
CN107577624A (en) | A kind of data processing method and electronic equipment | |
CN107239418B (en) | Data storage module read-write device and I2C communication method | |
CN108710508A (en) | A kind of processing method, device and electronic equipment | |
CN117112460A (en) | Basic input/output system upgrading method and device, computer equipment and medium | |
US20100088477A1 (en) | Memory share system and memory share apparatus | |
CN203930839U (en) | A kind of safeguard protection card for forcing hard disc of computer to start the operating system | |
CN109800110A (en) | Data back up method, system and electronic equipment, storage medium and back-up device | |
CN110515540A (en) | A kind of method and device of topology hard disk | |
CN111063387B (en) | Method, device and equipment for testing performance of solid state disk and storage medium | |
CN108509301A (en) | The update method and more new system of system slot information in a kind of SMBIOS |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |