CN105045615A - Method and device for adjusting starting sequences of elements of server - Google Patents

Method and device for adjusting starting sequences of elements of server Download PDF

Info

Publication number
CN105045615A
CN105045615A CN201510375556.3A CN201510375556A CN105045615A CN 105045615 A CN105045615 A CN 105045615A CN 201510375556 A CN201510375556 A CN 201510375556A CN 105045615 A CN105045615 A CN 105045615A
Authority
CN
China
Prior art keywords
index value
boot sequence
adjusted
server
startup
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.)
Pending
Application number
CN201510375556.3A
Other languages
Chinese (zh)
Inventor
李道童
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201510375556.3A priority Critical patent/CN105045615A/en
Publication of CN105045615A publication Critical patent/CN105045615A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides a method and device for adjusting starting sequences of elements of a server. The method comprises the following steps: collecting the source index value of each element with starting sequence to be adjusted; obtaining the target index value of each element which is started along with the server; traversing each element which is started along with the server; judging whether the current element is the element with starting sequence to be adjusted or not according to the target index value of the current element and each source index value; if the current element is the element with starting sequence to be adjusted, obtaining the starting priority of the current element according to the target index value of the current element; and configuring the starting priority of each element with starting sequence to be adjusted according to requirements. The device comprises a collection unit, a first obtaining unit, a judgement unit, a second obtaining unit and a configuration unit. According to the scheme provided by the invention, the time for adjusting the starting sequences of the elements of the server can be shortened.

Description

A kind of method and device adjusting server element boot sequence
Technical field
The present invention relates to server hardware field, particularly a kind of method and device adjusting server element boot sequence.
Background technology
Along with development and the progress of computer technology, the application of server is more and more extensive, the requirement of user to server is also more and more stricter, server needs enough fast travelling speed, enough large storage space and enough stability, in order to meet the demand of user, generally multiple provided as one homogeneous element is all comprised in one station server, such as multiple network interface card, multiple hard disks etc., Deterministic service device has enough fast travelling speed and enough large storage space on the one hand, on the other hand, multiple elements of the same type can realize the redundancy scheme of server, the safety and stability that Deterministic service device runs.
For the server comprising multiple element of the same type, when startup of server, the boot sequence of each element of same type is different, may affect the runnability of server, user can according to business demand, the boot sequence of each element of same type when arranging startup of server.
At present, the method for each element boot sequence of same type in adjustment server, the position mainly by changing each element and mainboard connecting interface realizes.
But, change the connecting interface of each element of same type and mainboard, need to disassemble server, expend time in, not easy to operate, in addition, some elements and mainboard are one, are not connected by connecting-disconnecting interface, change interface and need the more time, therefore, need the longer time by the boot sequence of each element of prior art adjustment same type, work efficiency is lower.
Summary of the invention
The invention provides a kind of method and the device that adjust server element boot sequence, the time needed for adjustment server element boot sequence can be shortened.
Embodiments provide a kind of method adjusting server element boot sequence, for the server comprising at least two same type boot sequence elements to be adjusted, comprising:
Gather the source index value of each boot sequence element to be adjusted described;
Obtain each target index value with described startup of server element;
Travel through each element with described startup of server, according to target index value and each source index value described of current elements, judge whether current elements is described boot sequence element to be adjusted;
If so, according to the target index value of current elements, the startup priority of current elements is obtained;
According to demand, the startup priority of configuration each boot sequence element to be adjusted described.
Preferably, described in described collection, the source index value of each boot sequence element to be adjusted comprises:
Each element with described startup of server is divided into groups, the element of same type is positioned at same grouping, for current boot sequence element place to be adjusted grouping, any one or more according in the manufacturer number of element, device number and mounting interface, each boot sequence element to be adjusted described is numbered, by the start-up code of element, gather the source index value of each numbered boot sequence element to be adjusted described.
Preferably, each target index value with described startup of server element of described acquisition comprises:
By the start-up code information of element, obtain the target index value of each element with described startup of server.
Preferably, the described target index value according to current elements and each source index value described, judge whether current elements is that described boot sequence element to be adjusted comprises:
Be directed to any one current elements with described startup of server, gather the target index value of this element, the source index value of the target index value of current elements and each boot sequence element to be adjusted described is compared, if the target index value of current elements is identical with any one in each source index value described, then judge that current elements is described boot sequence element to be adjusted, otherwise be not.
Preferably, according to demand described, the startup priority of configuration each boot sequence element to be adjusted described comprises:
Start priority according to element, by Of Bubble Sort Algorithm, boot sequence element to be adjusted corresponding for each numbering is sorted, according to demand, reconfigure the startup priority of boot sequence element to be adjusted corresponding to each numbering described.
Preferably, described source index value comprises: index value is numbered.
Preferably, described target index value comprises: the log-on message of index value numbering and counter element.
The embodiment of the present invention additionally provides a kind of device adjusting server element boot sequence, comprising:
Collecting unit, for gathering the source index value of each boot sequence element to be adjusted of same type;
First acquiring unit, obtains each target index value with described startup of server element;
Judging unit, for traveling through each element with described startup of server, the target index value of current elements obtained according to described first acquiring unit and each source index value of described collecting unit collection, judge whether current elements is described boot sequence element to be adjusted;
Second acquisition unit, for the judged result according to described judging unit, if so, according to the target index value of current elements, obtains the startup priority of current elements;
Dispensing unit, for according to demand, configures the startup priority of each boot sequence element to be adjusted described.
Preferably,
Described collecting unit, for each element with described startup of server is divided into groups, the element of same type is positioned at same grouping, for current boot sequence element place to be adjusted grouping, any one or more according in the manufacturer number of element, device number and mounting interface, each boot sequence element to be adjusted described is numbered, by the start-up code of element, gathers the source index value of each numbered boot sequence element to be adjusted described.
Preferably,
Described first acquiring unit, for the start-up code information by element, obtains the target index value of each element with described startup of server.
Preferably,
Described judging unit, for being directed to any one current elements with described startup of server, gather the target index value of this element, the source index value of the target index value of current elements and each boot sequence element to be adjusted described is compared, if the target index value of current elements is identical with any one in each source index value described, then judge that current elements is described boot sequence element to be adjusted, otherwise be not.
Preferably,
Described dispensing unit, for starting priority according to element, by Of Bubble Sort Algorithm, boot sequence element to be adjusted corresponding for each numbering is sorted, according to demand, the startup priority of boot sequence element to be adjusted corresponding to each numbering described is reconfigured.
Embodiments provide a kind of method and the device that adjust server element boot sequence, each element boot sequence of the type is adjusted during for comprising the startup of server of multiple same type element, by gathering the target index value of the source index value of all boot sequence elements to be adjusted and all elements with server system startup, according to the adjoint target index value of startup of server element and the source index value of boot sequence element to be adjusted, judge the element with the boot sequence to be adjusted in all elements of startup of server, according to the target index value of these elements, obtain the priority of boot sequence element to be adjusted, according to demand, reconfigure the priority of each boot sequence element to be adjusted, by this method, the element that needs to adjust boot sequence and the concrete boot sequence of this element only need be selected according to demand when startup of server, just the adjustment of element boot sequence can automatically be completed, without the need to disassembling server, therefore, it is possible to shorten the time needed for adjustment server element boot sequence.
Accompanying drawing explanation
Fig. 1 is a kind of method flow diagram adjusting server element boot sequence that one embodiment of the invention provides;
Fig. 2 is a kind of method flow diagram adjusting server element boot sequence that another embodiment of the present invention provides;
Fig. 3 is a kind of device schematic diagram adjusting server element boot sequence that one embodiment of the invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described.Obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
As shown in Figure 1, one embodiment of the invention provides a kind of method adjusting server element boot sequence, for the server comprising at least two same type boot sequence elements to be adjusted, comprising:
Step 101: the source index value gathering each boot sequence element to be adjusted described;
Step 102: obtain each target index value with described startup of server element;
Step 103: travel through each element with described startup of server, according to target index value and each source index value described of current elements, judge whether current elements is described boot sequence element to be adjusted;
Step 104: according to judged result, if so, according to the target index value of current elements, obtains the startup priority of current elements;
Step 105: according to demand, the startup priority of configuration each boot sequence element to be adjusted described.
Embodiments provide a kind of method adjusting server element boot sequence, each element boot sequence of the type is adjusted during for comprising the startup of server of multiple same type element, by gathering the target index value of the source index value of all boot sequence elements to be adjusted and all elements with server system startup, according to the adjoint target index value of startup of server element and the source index value of boot sequence element to be adjusted, judge the element with the boot sequence to be adjusted in all elements of startup of server, according to the target index value of these elements, obtain the priority of boot sequence element to be adjusted, according to demand, reconfigure the priority of each boot sequence element to be adjusted, by this method, the element that needs to adjust boot sequence and the concrete boot sequence of this element only need be selected according to demand when startup of server, just the adjustment of element boot sequence can automatically be completed, without the need to disassembling server, therefore, it is possible to shorten the time needed for adjustment server element boot sequence.
In an embodiment of the invention, when gathering the source index value of boot sequence element to be adjusted, first according to the manufacturer number of element, any one or more in device number and mounting interface, all elements with startup of server are divided into groups, for the grouping needing to carry out adjusting boot sequence element place, each element in this grouping is numbered, by the start-up code of these elements, gather their each self-corresponding source index value, by the manufacturer number of element, device number and mounting interface, each element with startup of server can be divided into groups accurately, the element region of each boot sequence to be adjusted can also be separated by these information, each element needing to carry out adjusting boot sequence is numbered, to distinguish the element of each boot sequence to be adjusted easily, the later stage is facilitated to carry out reconfiguring of priority to it.
In an embodiment of the invention, by the start-up code information of each element with startup of server, obtain the directory index value of these elements, by each directory index value with need the former index value adjusting boot sequence element to compare, can judge whether current elements is the element needing to adjust boot sequence, select boot sequence element to be adjusted from all with the element of startup of server, thus the boot sequence of boot sequence original paper to be adjusted is adjusted.
In an embodiment of the invention, obtain the target index value of each element with startup of server, successively the source index value of boot sequence element to be adjusted is compared by this target index value, if target index value is identical with one of them source index value, then illustrate that element that this target index value is corresponding is the element of boot sequence to be adjusted, the startup priority of further this element of acquisition, if target index value is all not identical with the source index value of each boot sequence element to be adjusted of collection, then illustrate that the element that this target index value is corresponding is not boot sequence element to be adjusted, further operation is not done for this element, by the mode of this comparison, the element needing to adjust boot sequence can be selected easily.
In an embodiment of the invention, after obtaining the startup priority of each boot sequence element to be adjusted, according to the startup priority of each element, by bubble sort method, each boot sequence element to be adjusted is sorted, after sequence, according to demand, when keeping startup prioritization constant, change the sequence of each boot sequence element to be adjusted, namely the startup priority that each boot sequence element to be adjusted is corresponding is changed, thus reach the object of adjustment element boot sequence, by this method, clearly can represent the boot sequence of each boot sequence element to be adjusted, the convenient adjustment to boot sequence.
In an embodiment of the invention, the source index value obtained comprises the index value numbering of each boot sequence element to be adjusted, the index value numbering that each element is corresponding unique, unique element can be determined by sky index value numbering, from all elements of adjoint startup of server, therefore determine the element of boot sequence to be adjusted accurately.
In an embodiment of the invention, each the target index value with startup of server element obtained comprises index value numbering and the log-on message of counter element, contrast by the index value numbering in target index value is numbered with the index value in the index value of source, can judge that whether the element of corresponding adjoint startup of server is the element of boot sequence to be adjusted, by the log-on message in target index value, the startup priority of counter element can be obtained, thus realize obtaining boot sequence element to be adjusted and starting priority.
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with drawings and the specific embodiments, the present invention is described in further detail.
As shown in Figure 2, embodiments provide a kind of method adjusting server element boot sequence, the boot sequence of each network interface card during to adjust the startup of server comprising multiple network interface card, comprising:
Step 201: according to the type of element, divides into groups all elements with startup of server.
In an embodiment of the invention, by all elements with startup of server, according to type, the element of same type is divided into a grouping.Such as, element with startup of server comprises memory device and network card equipment, so just all elements with startup of server are divided into two groupings, be all memory device in a grouping, comprise various hard disk, be all network interface card in another grouping, comprise 1 ten thousand Broadcom and 2 PCI-Express.
Step 202: in network interface card grouping, is numbered each network interface card according to the manufacturer number of network interface card, device number and mounting interface.
In an embodiment of the invention, device number good according to the manufacturer of network interface card and mounting interface, be numbered the network interface card of boot sequence to be adjusted, to show differentiation.Such as, according to the manufacturer number of three network interface cards, device number and mounting interface, distinguish three network interface cards, and to being numbered these three network interface cards respectively, wherein, ten thousand Broadcoms are network interface card 1, two PCI-Express all with brand same model, according to mounting interface, one of them PCI-Express is arranged on A interface, be numbered network interface card 2, another PCI-Express is arranged on B interface, is numbered network interface card 3.
Step 203: the source index value gathering each numbering network interface card.
In an embodiment of the invention, according to the start-up code of each network interface card, gather the source index value of each network interface card.Such as, according to the start-up code information of three network interface cards, collect the source index value of three network interface cards, the index value code that wherein the source index value of network interface card 1 is corresponding is 001, the index value code that the source index value of network interface card 2 is corresponding is 002, and the index value code that the source index value of network interface card 3 is corresponding is 003.
Step 204: obtain all target index values with startup of server element.
In an embodiment of the invention, in startup of server process, by the start-up code information of each element, obtain all target index values with startup of server element, wherein target index value comprises the log-on message of index value numbering and counter element.Such as, according to the start-up code information of element, get the target index value of each hard disk and network interface card respectively.
Step 205: according to the target index value of element and the source index value of network interface card, judges whether each element with startup of server is network interface card successively, if so, performs step 206, if not, for the next element of current elements, continues to perform step 205.
In an embodiment of the invention, travel through each element with startup of server successively, to be numbered with the index value of each network interface card by index value in its target index value numbering and compare, if this index value with startup of server element numbering is numbered identical with the index value of one of them network interface card, then judge that this is network interface card with startup of server element, step 206 is performed for this element, if all not identical with the index value of any one network interface card, then making element clear is not network interface card, this element is not processed, next element for this element continues to perform step 205.Such as, this server comprises 10 elements with startup of server altogether, be respectively element 1 to element 10, successively the index value numbering in the target index value of these 10 elements is numbered with the index value of network interface card 1 to network interface card 3 and compare, wherein index value numbering and the index value of network interface card 1 of element 2 number just as, index value numbering and the index value of network interface card 2 of element 4 number just as, index value numbering and the index value of network interface card 3 of element 8 number just as, can decision element 4 be then network interface card 1, element 6 is network interface card 2, element 8 is network interface card 3, for element 4, element 6 and element 8 perform step 206, other elements do not process.
Step 206: according to the target index value of this network interface card, obtains it and starts priority.
In an embodiment of the invention, according to the judged result of step 205, getting is the element of network interface card, and according to the target index value of these elements, the acquiescence obtaining these elements starts priority.Such as, network card equipments through decision element 4, element 6 and element 8, by the log-on message in respective target index value, obtain the startup priority of three network interface cards, wherein, element 4 is network interface card 1, corresponding priority is 3, and element 6 is network interface card 2, and corresponding priority is 1, element 8 is network interface card 3, and corresponding priority is 2.
Step 207: according to startup priority, each network interface card is sorted.
In an embodiment of the invention, after obtaining the startup priority of each network interface card, according to the size order starting priority, each network interface card is sorted.Such as, according to startup priority order from small to large, sorted by network interface card 1 to network interface card 3, ranking results is followed successively by network interface card 2, network interface card 3 and network interface card 1.
Step 208: according to demand, reconfigures the startup priority of each network interface card.
In an embodiment of the invention, after each network interface card is sorted, according to the actual requirements, the startup priority of each network interface card is reconfigured.Such as, according to the actual requirements, need first to start ten thousand Broadcoms, then the PCI-Express being arranged on A interface is started, finally start the PCI-Express being arranged on B interface, then network interface card 3 is set to the position of sequence the 1st from the position of sequence the 3rd, corresponding with minimum startup priority, network interface card 2 drops to the position of sequence the 2nd from the position of sequence the 1st, corresponding with the startup priority mediated, network interface card 3 drops to the position of sequence the 3rd from the position of sequence the 2nd, corresponding with maximum startup priority, after reconfiguring the result starting priority, the clooating sequence of three network interface cards is followed successively by network interface card 1, network interface card 2 grades of network interface cards 3, in three network interface cards, network interface card 1 starts at first, network interface card 3 finally starts, network interface card 2 is in and starts between the two, thus satisfy the demands.
As shown in Figure 3, the invention provides a kind of device adjusting server element boot sequence, comprising:
Collecting unit 301, for gathering the source index value of each boot sequence element to be adjusted of same type;
First acquiring unit 302, obtains each target index value with described startup of server element;
Judging unit 303, for traveling through each element with described startup of server, the target index value of current elements obtained according to described first acquiring unit 302 and each source index value of described collecting unit 301 collection, judge whether current elements is described boot sequence element to be adjusted;
Second acquisition unit 304, for the judged result according to described judging unit 303, if so, according to the target index value of current elements, obtains the startup priority of current elements;
Dispensing unit 305, for according to demand, configures the startup priority of each boot sequence element to be adjusted described.
In an embodiment of the invention,
Described collecting unit 301, for each element with described startup of server is divided into groups, the element of same type is positioned at same grouping, for current boot sequence element place to be adjusted grouping, any one or more according in the manufacturer number of element, device number and mounting interface, each boot sequence element to be adjusted described is numbered, by the start-up code of element, gathers the source index value of each numbered boot sequence element to be adjusted described.
In an embodiment of the invention,
Described first acquiring unit 302, for the start-up code information by element, obtains the target index value of each element with described startup of server.
In an embodiment of the invention,
Described judging unit 303, for being directed to any one current elements with described startup of server, gather the target index value of this element, the source index value of the target index value of current elements and each boot sequence element to be adjusted described is compared, if the target index value of current elements is identical with any one in each source index value described, then judge that current elements is described boot sequence element to be adjusted, otherwise be not.
In an embodiment of the invention,
Described dispensing unit 305, for starting priority according to element, by Of Bubble Sort Algorithm, boot sequence element to be adjusted corresponding for each numbering is sorted, according to demand, the startup priority of boot sequence element to be adjusted corresponding to each numbering described is reconfigured.
The content such as information interaction, implementation between each unit in the said equipment, due to the inventive method embodiment based on same design, particular content can see in the inventive method embodiment describe, repeat no more herein.
According to such scheme, a kind of method and device adjusting server element boot sequence that the embodiment of the present invention provides, at least has following beneficial effect:
1, in the embodiment of the present invention, each element boot sequence of the type is adjusted when comprising the startup of server of multiple same type element, by gathering the target index value of the source index value of all boot sequence elements to be adjusted and all elements with server system startup, according to the adjoint target index value of startup of server element and the source index value of boot sequence element to be adjusted, judge the element with the boot sequence to be adjusted in all elements of startup of server, according to the target index value of these elements, obtain the priority of boot sequence element to be adjusted, according to demand, reconfigure the priority of each boot sequence element to be adjusted, by this method, the element that needs to adjust boot sequence and the concrete boot sequence of this element only need be selected according to demand when startup of server, just the adjustment of element boot sequence can automatically be completed, without the need to disassembling server, therefore, it is possible to shorten the time needed for adjustment server element boot sequence.
2, in the embodiment of the present invention, by gathering the source index value of dissimilar element, can adjust the boot sequence of dissimilar element, be applicable to multiple different element, can according to the demand of user, regulate the boot sequence of the multiple element of same type flexibly, thus realize the object of user.
3, in the embodiment of the present invention, first the source index value needing to adjust boot sequence element is gathered, remove to screen the element needing to adjust boot sequence according to this source index value, due to the corresponding unique source index value of each element, and travel through each element with startup of server successively, can filter out the element that each needs to debug boot sequence accurately, the situation that avoiding can not find needs to adjust boot sequence element occurs.
4, in the embodiment of the present invention, the element needing to carry out adjusting boot sequence is numbered, clearly each element of same type can be distinguished by numbering, facilitate the later stage according to demand each element to be carried out to the configuration of priority.
5, in the embodiment of the present invention, when reconfiguring priority to element, first according to the original startup priority of each element, each element is sorted, then according to the demand of user, when keeping startup priority orders constant, adjust putting in order of each element, thus change startup priority corresponding to each element, realize the object of adjustment element boot sequence.
It should be noted that, in this article, the relational terms of such as first and second and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element " being comprised a 〃 〃 〃 〃 〃 〃 " limited by statement, and be not precluded within process, method, article or the equipment comprising described key element and also there is other same factor.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can have been come by the hardware that programmed instruction is relevant, aforesaid program can be stored in the storage medium of embodied on computer readable, this program, when performing, performs the step comprising said method embodiment; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium in.
Finally it should be noted that: the foregoing is only preferred embodiment of the present invention, only for illustration of technical scheme of the present invention, be not intended to limit protection scope of the present invention.All any amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., be all included in protection scope of the present invention.

Claims (10)

1. adjust a method for server element boot sequence, it is characterized in that, for the server comprising at least two same type boot sequence elements to be adjusted, comprising:
Gather the source index value of each boot sequence element to be adjusted described;
Obtain each target index value with described startup of server element;
Travel through each element with described startup of server, according to target index value and each source index value described of current elements, judge whether current elements is described boot sequence element to be adjusted;
If so, according to the target index value of current elements, the startup priority of current elements is obtained;
According to demand, the startup priority of configuration each boot sequence element to be adjusted described.
2. method according to claim 1, is characterized in that, described in described collection, the source index value of each boot sequence element to be adjusted comprises:
Each element with described startup of server is divided into groups, the element of same type is positioned at same grouping, for current boot sequence element place to be adjusted grouping, any one or more according in the manufacturer number of element, device number and mounting interface, each boot sequence element to be adjusted described is numbered, by the start-up code of element, gather the source index value of each numbered boot sequence element to be adjusted described.
3. method according to claim 1, is characterized in that, each target index value with described startup of server element of described acquisition comprises:
By the start-up code information of element, obtain the target index value of each element with described startup of server.
4. method according to claim 1, is characterized in that, the described target index value according to current elements and each source index value described, judges whether current elements is that described boot sequence element to be adjusted comprises:
Be directed to any one current elements with described startup of server, gather the target index value of this element, the source index value of the target index value of current elements and each boot sequence element to be adjusted described is compared, if the target index value of current elements is identical with any one in each source index value described, then judge that current elements is described boot sequence element to be adjusted, otherwise be not.
5. method according to claim 2, is characterized in that, according to demand described, and the startup priority of configuration each boot sequence element to be adjusted described comprises:
Start priority according to element, by Of Bubble Sort Algorithm, boot sequence element to be adjusted corresponding for each numbering is sorted, according to demand, reconfigure the startup priority of boot sequence element to be adjusted corresponding to each numbering described.
6., according to described method arbitrary in claim 1 to 5, it is characterized in that,
Described source index value comprises: index value is numbered;
And/or,
Described target index value comprises: the log-on message of index value numbering and counter element.
7. adjust a device for server element boot sequence, it is characterized in that, comprising:
Collecting unit, for gathering the source index value of each boot sequence element to be adjusted of same type;
First acquiring unit, obtains each target index value with described startup of server element;
Judging unit, for traveling through each element with described startup of server, the target index value of current elements obtained according to described first acquiring unit and each source index value of described collecting unit collection, judge whether current elements is described boot sequence element to be adjusted;
Second acquisition unit, for the judged result according to described judging unit, if so, according to the target index value of current elements, obtains the startup priority of current elements;
Dispensing unit, for according to demand, configures the startup priority of each boot sequence element to be adjusted described.
8. device according to claim 7, is characterized in that,
Described collecting unit, for each element with described startup of server is divided into groups, the element of same type is positioned at same grouping, for current boot sequence element place to be adjusted grouping, any one or more according in the manufacturer number of element, device number and mounting interface, each boot sequence element to be adjusted described is numbered, by the start-up code of element, gathers the source index value of each numbered boot sequence element to be adjusted described;
And/or,
Described first acquiring unit, for the start-up code information by element, obtains the target index value of each element with described startup of server.
9. device according to claim 7, is characterized in that,
Described judging unit, for being directed to any one current elements with described startup of server, gather the target index value of this element, the source index value of the target index value of current elements and each boot sequence element to be adjusted described is compared, if the target index value of current elements is identical with any one in each source index value described, then judge that current elements is described boot sequence element to be adjusted, otherwise be not.
10. device according to claim 8, is characterized in that,
Described dispensing unit, for starting priority according to element, by Of Bubble Sort Algorithm, boot sequence element to be adjusted corresponding for each numbering is sorted, according to demand, the startup priority of boot sequence element to be adjusted corresponding to each numbering described is reconfigured.
CN201510375556.3A 2015-07-01 2015-07-01 Method and device for adjusting starting sequences of elements of server Pending CN105045615A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510375556.3A CN105045615A (en) 2015-07-01 2015-07-01 Method and device for adjusting starting sequences of elements of server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510375556.3A CN105045615A (en) 2015-07-01 2015-07-01 Method and device for adjusting starting sequences of elements of server

Publications (1)

Publication Number Publication Date
CN105045615A true CN105045615A (en) 2015-11-11

Family

ID=54452179

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510375556.3A Pending CN105045615A (en) 2015-07-01 2015-07-01 Method and device for adjusting starting sequences of elements of server

Country Status (1)

Country Link
CN (1) CN105045615A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110147157A (en) * 2019-05-23 2019-08-20 苏州浪潮智能科技有限公司 A kind of starting method, system and the associated component of storage server
CN110888677A (en) * 2019-08-16 2020-03-17 研祥智能科技股份有限公司 Method and device for adjusting computer starting sequence
CN111124508A (en) * 2019-11-29 2020-05-08 苏州浪潮智能科技有限公司 Method and device for adjusting PXE (PCI extensions for instrumentation) starting sequence of network card
CN114579196A (en) * 2022-05-06 2022-06-03 成都前锋信息技术股份有限公司 Self-learning-based computer starting disk starting sequence control method
CN116430755A (en) * 2022-12-13 2023-07-14 广州智业节能科技有限公司 Automatic optimizing start-stop control method for equipment, storage medium and equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101499008A (en) * 2008-01-30 2009-08-05 中兴通讯股份有限公司 Hard disk boot sequence recognition method and system
US20110276794A1 (en) * 2009-01-26 2011-11-10 Fujitsu Limited Information processing device having configuration changing function and system configuration method
CN102455922A (en) * 2010-10-28 2012-05-16 鸿富锦精密工业(深圳)有限公司 System and method for setting computer startup order
CN104679542A (en) * 2013-11-29 2015-06-03 英业达科技有限公司 Server staring method and computer system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101499008A (en) * 2008-01-30 2009-08-05 中兴通讯股份有限公司 Hard disk boot sequence recognition method and system
US20110276794A1 (en) * 2009-01-26 2011-11-10 Fujitsu Limited Information processing device having configuration changing function and system configuration method
CN102455922A (en) * 2010-10-28 2012-05-16 鸿富锦精密工业(深圳)有限公司 System and method for setting computer startup order
CN104679542A (en) * 2013-11-29 2015-06-03 英业达科技有限公司 Server staring method and computer system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110147157A (en) * 2019-05-23 2019-08-20 苏州浪潮智能科技有限公司 A kind of starting method, system and the associated component of storage server
CN110888677A (en) * 2019-08-16 2020-03-17 研祥智能科技股份有限公司 Method and device for adjusting computer starting sequence
CN110888677B (en) * 2019-08-16 2024-03-22 研祥智慧物联科技有限公司 Method and device for adjusting starting sequence of computer
CN111124508A (en) * 2019-11-29 2020-05-08 苏州浪潮智能科技有限公司 Method and device for adjusting PXE (PCI extensions for instrumentation) starting sequence of network card
CN114579196A (en) * 2022-05-06 2022-06-03 成都前锋信息技术股份有限公司 Self-learning-based computer starting disk starting sequence control method
CN116430755A (en) * 2022-12-13 2023-07-14 广州智业节能科技有限公司 Automatic optimizing start-stop control method for equipment, storage medium and equipment

Similar Documents

Publication Publication Date Title
CN105045615A (en) Method and device for adjusting starting sequences of elements of server
CN104185840B (en) It is used for being prioritized the mthods, systems and devices of multiple tests in lasting deployment streamline
CN102279786B (en) A kind of method of monitoring and measuring application program effective access amount and device
CN104503840B (en) The method and device that terminal resource is optimized
CN105204927A (en) Application arrangement device and method for terminal equipment
CN106020811A (en) Development method and device of algorithm model
CN105897457A (en) Service upgrade method and system of server group
CN104965630A (en) Method and system for layout of desktop application icons
CN104951342A (en) Method and device for adjusting starting sequence
CN105099786A (en) Method and apparatus of service configuration in network cutover
CN110493806A (en) Mobile network complains source tracing method and device
CN107423097A (en) The management method and device of a kind of application program
CN105653288B (en) A kind of method and apparatus of module product software automatic identification hardware
CN104317574A (en) Method and device for identifying application program type
CN101615815A (en) Collocation method to different acquisition units parameter reorganization demonstration in the electric power monitoring system
CN106354631A (en) Rapid software system regression testing method and device
CN107463338A (en) A kind for the treatment of method and apparatus of logical volume
CN109375923B (en) Method and device for processing change data, storage medium, processor and server
CN104270269A (en) Method for automatically configuring network cards
CN109999495B (en) Method and system for processing artificial intelligence AI unit state information
CN104123307A (en) Data loading method and system
CN106021852A (en) Density clustering algorithm based blood glucose data abnormal value computing method and device
CN106779909A (en) Material matching process and device
CN110493058B (en) Method and device for constructing network topology structure, storage medium and terminal
CN106557519A (en) File delet method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20151111