CN107566189A - A kind of more network interface cards of server system identify configuration device and method - Google Patents
A kind of more network interface cards of server system identify configuration device and method Download PDFInfo
- Publication number
- CN107566189A CN107566189A CN201710910103.5A CN201710910103A CN107566189A CN 107566189 A CN107566189 A CN 107566189A CN 201710910103 A CN201710910103 A CN 201710910103A CN 107566189 A CN107566189 A CN 107566189A
- Authority
- CN
- China
- Prior art keywords
- network interface
- interface card
- digital
- server system
- network
- 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
Links
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The invention provides a kind of more network interface card identification configuration devices of server system and method, described device includes trawl performance module, Digital ID distribute module and some network interface cards, described trawl performance module is used for identifying network interface card, described Digital ID distribute module is used for distributing corresponding Digital ID for each network interface card, and described Digital ID corresponds with the unique physical mark being provided with each network card interface.Described method includes:S1:One unique physical label is set at each network interface card port;S2:Digital ID corresponding with network interface card is generated using Digital ID distribute module;S3:Network interface card is identified using trawl performance module, and Digital ID is associated one by one with physical label.By the way of software and hardware combining, more intuitively efficiently specific network interface card is identified and configured.
Description
Technical field
The present invention relates to field of computer technology, the more network interface cards identification configuration devices of specifically a kind of server system and
Method.
Background technology
With the development of server technology, in general server system can all have more than two network interface cards, some Storage
System even has the network interface card of up to more than 10, to meet the needs of client distinguishes heterogeneous networks and safety etc..
Multiple network interface cards brought to client facilitate while, but using configuration on it is also pretty troublesome, user cannot be directly perceived
Distinguish each network interface card.In Windows systems, system can give network interface card distribution such as " Local Area automatically successively
Connection ", " Local Area Connection 1 " ... " Local Area Connection 2 " etc. are identified,
Such as " eth0 ", " eth1 ", " eth2 " etc. can be distributed in linux system automatically successively to identify, though there are these marks, user is still
These marks can not be mapped with physical network card, when needing to configure some specific network interface card, will run into tired
Difficulty, connection that can only be one by one are disconnected the network interface card that determines to be configured, and when network interface card quantity is more, the efficiency so done can be more
It is low, and these name identifications be able to may also change because of some reasons in systems, so, want to distinguish network interface card just
It is more difficult.
The content of the invention
In order to solve the above problems, there is provided a kind of more network interface cards of server system identify that configuration device and method, use are soft
The mode of combination of hardware, more intuitively efficiently specific network interface card is identified and configured.
The embodiments of the invention provide a kind of more network interface card identification configuration devices of server system, described device includes network interface card
Drive module, Digital ID distribute module and some network interface cards, described trawl performance module are used for identifying network interface card, described numeral
Distribute module is identified to be used for distributing corresponding Digital ID for each network interface card, described Digital ID with each network card interface
The unique physical mark being provided with corresponds.
Further, described Digital ID includes device PCI number.
Further, described device PCI number includes bus number, device number and function number.
The embodiment of the present invention additionally provides a kind of more network interface card identification collocation methods of server system, and described method includes:
S1:One unique physical label is set at each network interface card port;
S2:Digital ID corresponding with network interface card is generated using Digital ID distribute module;
S3:Network interface card is identified using trawl performance module, and Digital ID is associated one by one with physical label.
Further, the specific implementation process of the step S1 is:Quantity and position according to network interface card, by Native digits according to
Each network interface card is given in sub-distribution, then by Native digits marking corresponding to each network interface card at its network card interface.
Further, described step S1 specific implementation process is:Quantity and position according to network interface card, by Native digits
It is sequentially allocated to each network interface card, Native digits is then fabricated to nameplate, nameplate corresponding to each network interface card is finally arranged on it
At network card interface.
Further, the specific implementation process of the step S2 is:
Detect device PCI corresponding to each network interface card;
Device PCI number is extracted from device PCI.
Further, described device PCI number includes bus number, device number and function number.
Further, the specific implementation process of the step S3 is:
Start the acquiescence name and its Digital ID of trawl performance module identification network interface card;
Network interface card acquiescence name is modified as physical label, and each physical label only corresponds to a Digital ID.
The effect provided in the content of the invention is only the effect of embodiment, rather than whole effects that invention is all, above-mentioned
A technical scheme in technical scheme has the following advantages that or beneficial effect:
1st, this programme identifies network interface card respectively by making physical label, and using the Digital ID in server system, and
Physical label is associated one by one with Digital ID and corresponded to, for server system, Digital ID can be utilized to identify
Network interface card, for operating personnel, physical label identification network interface card can be utilized, so as to carry out fast positioning to network interface card and look into
Look for, improve operating efficiency.
2nd, by the use of the device PCI number including bus number, device number and function number as Digital ID, due to device PCI
Number possess uniqueness, therefore, can effectively distinguish different network interface cards, meanwhile, with reference to the uniqueness of physical label, can be achieved with for
The Dual positioning of network interface card, improve the accuracy of network interface card positioning.
Brief description of the drawings
Fig. 1 is the structural representation of apparatus of the present invention;
Fig. 2 is the inventive method flow chart.
Embodiment
For the technical characterstic for illustrating this programme can be understood, below by embodiment, and its accompanying drawing is combined, to this hair
It is bright to be described in detail.Following disclosure provides many different embodiments or example is used for realizing the different knots of the present invention
Structure.In order to simplify disclosure of the invention, hereinafter the part and setting of specific examples are described.In addition, the present invention can be with
Repeat reference numerals and/or letter in different examples.This repetition is that for purposes of simplicity and clarity, itself is not indicated
Relation between various embodiments are discussed and/or set.It should be noted that part illustrated in the accompanying drawings is not necessarily to scale
Draw.Present invention omits the description to known assemblies and treatment technology and process to avoid being unnecessarily limiting the present invention.
A kind of more network interface card identification configuration devices of server system as shown in Figure 1, described device include trawl performance mould
Block, Digital ID distribute module and some network interface cards, described trawl performance module are used for identifying network interface card, described Digital ID point
It is used for distributing corresponding Digital ID for each network interface card with module, is provided with described Digital ID and each network card interface
Unique physical mark corresponds.
Described Digital ID includes device PCI number, and device PCI number derives from device PCI, and device PCI and each net
Card corresponds, therefore possesses uniqueness.Device PCI number includes bus number (Bus Number), device number (Device
) and function number (Function Number) Number.
As shown in Fig. 2 the embodiment of the present invention additionally provides a kind of more network interface card identification collocation methods of server system, it is described
Method includes:
S1:One unique physical label is set at each network interface card port.The step has a variety of implementations, a kind of
Implementation process is:Quantity and position according to network interface card, Native digits are sequentially allocated to each network interface card, then by each network interface card pair
The Native digits answered are marked at its network card interface.Another implementation process is:Quantity and position according to network interface card, by natural number
Word is sequentially allocated to each network interface card, and Native digits then are fabricated into nameplate, is finally arranged on nameplate corresponding to each network interface card
At its network card interface.
S2:Digital ID corresponding with network interface card is generated using Digital ID distribute module, specific implementation process is:Detection is every
Device PCI corresponding to individual network interface card;Device PCI number is extracted from device PCI.
Because each network interface card correspond to a device PCI, the bus number (Bus Number) of each device PCI, set
Standby number (Device Number) and function number (Function Number) are unique and fixation is indefinite, so trawl performance
Can distinguishes each network interface card with the bus number of network card equipment, device number, function can.
S3:Network interface card is identified using trawl performance module, and Digital ID is associated one by one with physical label.Implemented
Cheng Wei:Start the acquiescence name and its Digital ID of trawl performance module identification network interface card;Network interface card acquiescence name is modified as physical label,
And each physical label only corresponds to a Digital ID.
In existing server system, step S3 realization principle is:
After trawl performance module distinguishes each network interface card by PCI information, it is possible to the network interface card and physical network card in system
On mark be mapped, when system loads drive, the title of network connection or network interface card is changed, for example, the handle in Windows
" Local Area Connection ", " Local Area Connection 1 " ... " Local Area Connection
10 " are sequentially allocated and give physical network card 1-10, and " eth0 " in Linux, " eth1 " ... " eth10 " is sequentially allocated to physics
Network interface card 1-10, can is according to identifying come each network interface card in compartment system on physical network card after setting, it is possible to quick
Easily configure the physical network card specified.
Although specification and drawings and examples have been carried out being described in detail to the invention, this area skill
Art personnel should be appreciated that and still the invention can be modified or equivalent substitution;And all do not depart from wound of the present invention
The technical scheme for the spirit and scope made and its improvement, it is encompassed by among the protection domain of the invention patent.
Claims (9)
1. a kind of more network interface card identification configuration devices of server system, it is characterized in that:Described device includes trawl performance module, number
Word identifies distribute module and some network interface cards, and described trawl performance module is used for identifying network interface card, described Digital ID distribution mould
Block is used for distributing corresponding Digital ID for each network interface card, and described Digital ID is unique with being provided with each network card interface
Physical label corresponds.
2. the more network interface card identification configuration devices of a kind of server system according to claim 1, it is characterized in that:Described numeral
Mark includes device PCI number.
3. the more network interface card identification configuration devices of a kind of server system according to claim 2, it is characterized in that:Described PCI
Device number includes bus number, device number and function number.
4. a kind of more network interface card identification collocation methods of server system, it is characterized in that:Described method includes:
S1:One unique physical label is set at each network interface card port;
S2:Digital ID corresponding with network interface card is generated using Digital ID distribute module;
S3:Network interface card is identified using trawl performance module, and Digital ID is associated one by one with physical label.
5. the more network interface card identification collocation methods of a kind of server system according to claim 4, it is characterized in that:The step S1
Specific implementation process be:Quantity and position according to network interface card, Native digits are sequentially allocated to each network interface card, then will be each
Native digits marking is at its network card interface corresponding to network interface card.
6. the more network interface card identification collocation methods of a kind of server system according to claim 4, it is characterized in that:Described step
S1 specific implementation process is:Quantity and position according to network interface card, Native digits are sequentially allocated to each network interface card, then will be certainly
Right numeral is fabricated to nameplate, and finally nameplate corresponding to each network interface card is arranged at its network card interface.
7. the more network interface card identification collocation methods of a kind of server system according to claim 4, it is characterized in that:The step S2
Specific implementation process be:
Detect device PCI corresponding to each network interface card;
Device PCI number is extracted from device PCI.
8. the more network interface card identification collocation methods of a kind of server system according to claim 7, it is characterized in that:Described PCI
Device number includes bus number, device number and function number.
9. the more network interface card identification collocation methods of a kind of server system according to claim 4, it is characterized in that:The step S3
Specific implementation process be:
Start the acquiescence name and its Digital ID of trawl performance module identification network interface card;
Network interface card acquiescence name is modified as physical label, and each physical label only corresponds to a Digital ID.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710910103.5A CN107566189A (en) | 2017-09-29 | 2017-09-29 | A kind of more network interface cards of server system identify configuration device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710910103.5A CN107566189A (en) | 2017-09-29 | 2017-09-29 | A kind of more network interface cards of server system identify configuration device and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107566189A true CN107566189A (en) | 2018-01-09 |
Family
ID=60984745
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710910103.5A Pending CN107566189A (en) | 2017-09-29 | 2017-09-29 | A kind of more network interface cards of server system identify configuration device and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107566189A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109639476A (en) * | 2018-12-06 | 2019-04-16 | 郑州云海信息技术有限公司 | A kind of server network card apparatus information acquisition method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102567239A (en) * | 2010-12-29 | 2012-07-11 | 鸿富锦精密工业(深圳)有限公司 | Computer device and multi-network-card recognizing method thereof |
CN103150190A (en) * | 2013-03-26 | 2013-06-12 | 汉柏科技有限公司 | Automatic detecting and driving loading method of user mode network card in Linux system |
CN103186484A (en) * | 2011-12-28 | 2013-07-03 | 鸿富锦精密工业(深圳)有限公司 | Network card naming method and system |
WO2014012596A1 (en) * | 2012-07-20 | 2014-01-23 | Abb Technology Ag | Configuration management device, configuration interface device and method for vendor-independent network device configuration |
CN103986797A (en) * | 2014-05-12 | 2014-08-13 | 浪潮电子信息产业股份有限公司 | Network card sequence adjusting method based on Linux operation system |
-
2017
- 2017-09-29 CN CN201710910103.5A patent/CN107566189A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102567239A (en) * | 2010-12-29 | 2012-07-11 | 鸿富锦精密工业(深圳)有限公司 | Computer device and multi-network-card recognizing method thereof |
CN103186484A (en) * | 2011-12-28 | 2013-07-03 | 鸿富锦精密工业(深圳)有限公司 | Network card naming method and system |
WO2014012596A1 (en) * | 2012-07-20 | 2014-01-23 | Abb Technology Ag | Configuration management device, configuration interface device and method for vendor-independent network device configuration |
CN103150190A (en) * | 2013-03-26 | 2013-06-12 | 汉柏科技有限公司 | Automatic detecting and driving loading method of user mode network card in Linux system |
CN103986797A (en) * | 2014-05-12 | 2014-08-13 | 浪潮电子信息产业股份有限公司 | Network card sequence adjusting method based on Linux operation system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109639476A (en) * | 2018-12-06 | 2019-04-16 | 郑州云海信息技术有限公司 | A kind of server network card apparatus information acquisition method and device |
CN109639476B (en) * | 2018-12-06 | 2022-02-18 | 郑州云海信息技术有限公司 | Method and device for acquiring information of network card equipment of server |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109284784A (en) | A kind of content auditing model training method and device for live scene video | |
CN111476324B (en) | Traffic data labeling method, device, equipment and medium based on artificial intelligence | |
WO2009123586A1 (en) | Automated power topology discovery | |
CN108734110A (en) | Text fragment identification control methods based on longest common subsequence and system | |
CN111402120B (en) | Labeling image processing method and device | |
CN105430110A (en) | Container configuration method and network transmission device of virtual network system | |
CN104954451A (en) | Access control method of USB (universal serial bus) device in virtualized environment | |
US20120173860A1 (en) | Computing device and method for registering identification information of network interface card in operating system | |
CN104917635A (en) | Statistical method for IP address and corresponding physical location of data center resource | |
CN112559631B (en) | Data processing method and device of distributed graph database and electronic equipment | |
CN110572365A (en) | multi-protocol server management method, system, terminal device and storage medium | |
CN112559535A (en) | Multithreading-based asynchronous task processing method, device, equipment and medium | |
CN110727519A (en) | Multi-desktop USB (universal serial bus) equipment distribution management method and system for IDV (integrated digital video) cloud terminal | |
CN104915252B (en) | A kind of process port management means and method | |
CN106776785A (en) | A kind of method for writing data and device and data handling system | |
CN107566189A (en) | A kind of more network interface cards of server system identify configuration device and method | |
CN108446371A (en) | Data return guiding method, device, computer equipment and storage medium | |
CN108965403B (en) | Operation and maintenance monitoring connection establishing method and terminal equipment | |
CN104462322B (en) | Character string comparison method and device | |
CN108920955B (en) | Webpage backdoor detection method, device, equipment and storage medium | |
CN107393044A (en) | Intelligence is registered management method, apparatus and system | |
CN111200645B (en) | Service request processing method, device, equipment and readable storage medium | |
CN108427557A (en) | A kind of control layout display control method, device and computer readable storage medium | |
CN114268559A (en) | Directional network detection method, device, equipment and medium based on TF-IDF algorithm | |
CN113342867A (en) | Data distribution and management method and device, electronic equipment and readable storage medium |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180109 |