CN107453959A - The management method and its device of a kind of network interface card - Google Patents
The management method and its device of a kind of network interface card Download PDFInfo
- Publication number
- CN107453959A CN107453959A CN201710865530.6A CN201710865530A CN107453959A CN 107453959 A CN107453959 A CN 107453959A CN 201710865530 A CN201710865530 A CN 201710865530A CN 107453959 A CN107453959 A CN 107453959A
- Authority
- CN
- China
- Prior art keywords
- network interface
- interface card
- information
- state information
- terminal
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0817—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
Landscapes
- Engineering & Computer Science (AREA)
- Environmental & Geological Engineering (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of management method of network interface card and its device.This method, including:The first state information of network interface card is obtained, the first state information includes following any one or its combination:The operation information of the network interface card, the link information of the network interface card and power supply, the operation information include the information that the network interface card is opened or the network interface card is closed;The first state information is transmitted to terminal, so that the terminal operates according to the first state information to the network interface card.The first state information according to network interface card is realized, network interface card is operated, so as to improve the efficiency of cloud computing.
Description
Technical field
The present invention relates to computer technology, the management method and its device of espespecially a kind of network interface card.
Background technology
With the development of the communication technology, in order to improve the utilization rate of Internet resources, the cloud based on virtualization technology is counted
It is becoming widely adopted.
In the prior art, cloud computing is to provide the pattern of virtual resources based on internet.That is, cloud computing
The interaction of middle virtual resources needs to rely on network interface card progress.
However, it can not can not determine whether that network interface card causes cloud in the prior art under the scene of normal operation in cloud computing
Calculate can not normal operation, cause the operating efficiency of cloud computing relatively low.
The content of the invention
In order to solve the above-mentioned technical problem, the invention provides a kind of management method of network interface card and its device, to solve
Obtain data it is less efficient the problem of.
In order to reach the object of the invention, the invention provides a kind of management method of network interface card, including:
The first state information of network interface card is obtained, the first state information includes following any one or its combination:It is described
The operation information of network interface card, the link information of the network interface card and power supply, the operation information include network interface card unlatching or the net
Block the information closed;
The first state information is transmitted to terminal so that the terminal according to the first state information to institute
Network interface card is stated to be operated.
Further, before the status information for obtaining network interface card, in addition to:
The second status information of network interface card detector is obtained, the network interface card detector is used to perform the acquisition network interface card
Status information, it is described to be transmitted the status information to terminal;
Second status information is transmitted to terminal so that the terminal according to second status information to institute
Network interface card detector is stated to be operated.
Further, it is described the first state information is transmitted to terminal after, in addition to:
According to the first state information, it is closed mode to determine the network interface card;
It is closed mode according to the network interface card, opens the network interface card.
Further, the first state information for obtaining network interface card, including:
Periodically perform the first state information of the acquisition network interface card.
Further, before the first state information for obtaining network interface card, in addition to:
Setting performs the duration interval of the first state information for obtaining network interface card.
On the other hand, present invention also offers a kind of managing device of network interface card, including:
Acquisition module, for obtaining the first state information of network interface card, the first state information include it is following any one
Or its combination:The operation information of the network interface card, the link information of the network interface card and power supply, the operation information include the network interface card
The information that unlatching or the network interface card are closed;
Sending module, for the first state information to be transmitted to terminal, so that the terminal is according to described
One status information operates to the network interface card.
Further, the acquisition module, it is additionally operable to obtain the second status information of network interface card detector, the network interface card detection
Device is used to perform the status information for obtaining the network interface card, described to be transmitted the status information to terminal;
The sending module, be additionally operable to second status information being transmitted to terminal so that the terminal according to
Second status information operates to the network interface card detector.
Further, in addition to:Opening module;
The opening module, for according to the first state information, it to be closed mode to determine the network interface card;According to described
Network interface card is closed mode, opens the network interface card.
Further, the acquisition module, for periodically performing the first state information of the acquisition network interface card.
Further, the acquisition module, it is additionally operable to the duration that setting performs the first state information for obtaining network interface card
Interval.
The management method of network interface card provided by the invention, by obtaining the first state information of network interface card, the first state letter
Breath includes following any one or its and combined:The operation information of the network interface card, the link information of the network interface card and power supply, the fortune
Row information includes the information that the network interface card is opened or the network interface card is closed;The first state information is transmitted to terminal,
So that the terminal operates according to the first state information to the network interface card.Realize and believed according to the first state of network interface card
Breath, is operated to network interface card, so as to improve the efficiency of cloud computing.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification
Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by specification, rights
Specifically noted structure is realized and obtained in claim and accompanying drawing.
Brief description of the drawings
Accompanying drawing is used for providing further understanding technical solution of the present invention, and a part for constitution instruction, with this
The embodiment of application is used to explain technical scheme together, does not form the limitation to technical solution of the present invention.
Fig. 1 is the schematic flow sheet of the embodiment of management method one of network interface card of the present invention;
Fig. 2 is the structural representation of the embodiment of managing device one of network interface card of the present invention;
Fig. 3 is the structural representation of the embodiment of managing device two of network interface card of the present invention.
Embodiment
For the object, technical solutions and advantages of the present invention are more clearly understood, below in conjunction with accompanying drawing to the present invention
Embodiment be described in detail.It should be noted that in the case where not conflicting, in the embodiment and embodiment in the application
Feature can mutually be combined.
The management method of network interface card provided in an embodiment of the present invention specifically can apply to cloud computing can not normal operation when.This
The management method for the network interface card that embodiment provides can be performed by the managing device of network interface card, and the managing device of the network interface card can collect
Put down, or be separately provided into cloud computing, wherein, the managing device of the network interface card can by the way of software and/or hardware come
Realize.The management method and device of the network interface card provided below the present embodiment are described in detail.
Fig. 1 is the schematic flow sheet of the embodiment of management method one of network interface card of the present invention;As shown in figure 1, the present embodiment is held
Row main body can be the managing device of network interface card, the management method of network interface card provided by the invention, including:
Step 101, the first state information for obtaining network interface card.
In the present embodiment, the first state information includes following any one or its combination:The operation of the network interface card
Information, the link information of the network interface card and power supply, the operation information include the letter that the network interface card is opened or the network interface card is closed
Breath.That is, network interface card is opened or network interface card closing is can to operate the logic state opened and closed by software.
The present embodiment comprises at least following two applicable scenes:
The first be applicable scene, cloud computing can not normal operation when, for example, the virtual machine in cloud computing uses SR-IOV nets
When network and Macvtap networks.
Second of the first state information for being applicable scene, periodically performing acquisition network interface card.
Step 102, the first state information is transmitted to terminal, so that the terminal is according to the first state
Information operates to the network interface card.
Specifically, so that the terminal operates according to the first state information to the network interface card, for example,
One status information is the information that network interface card is closed, and corresponding operation can be that network interface card is opened in prompting, to realize the unlatching of network interface card;Or
Person, first state information are information of the network interface card with power supply without connection, then corresponding operation can be that prompt terminal establishes network interface card
With the connection of power supply, to establish the connection of network interface card and power supply.
For example, due in virtualized environment, when virtual machine uses SR-IOV and Macvtap networks, if network interface card
Running status when being not turned on, now virtual machine start is unsuccessful.The present embodiment can send the to the administration interface of terminal
One status information, user is prompted to need to open network interface card, that is to say, that the administration interface of terminal can show the first state of network interface card
Information, the first state information can include following any one or its combination:The operation information of the network interface card, and it is described
The link information of network interface card and power supply, so as to which user shows that those information operate corresponding to performing by terminal.Further, may be used also
With in those information of Terminal Alert interface display.
In the present embodiment, by obtaining the first state information of network interface card, the first state information includes following any
A kind of or its combination:The operation information of the network interface card, the link information of the network interface card and power supply, the operation information include described
The information that network interface card is opened or the network interface card is closed;The first state information is transmitted to terminal, so that the terminal root
The network interface card is operated according to the first state information.The first state information according to network interface card is realized, network interface card is carried out
Operation, so as to improve the efficiency of cloud computing.
Further, on the basis of above-described embodiment, before the status information for obtaining network interface card, in addition to:
The second status information of network interface card detector is obtained, the network interface card detector is used to perform the acquisition network interface card
Status information, it is described to be transmitted the status information to terminal;
Second status information is transmitted to terminal so that the terminal according to second status information to institute
Network interface card detector is stated to be operated.
It should be noted that network interface card detector can be the physical device of physical presence, can be that software program is realized.
For example, the present embodiment gives tacit consent to every 60 minutes to network interface card detector, i.e. program NicStatusDetection's
Running status is detected, if the operation of network interface card detector goes wrong, administration interface can real-time update second state letter
Breath, while can also prompt user to be restarted in administration interface to this network interface card detector, if restarted unsuccessfully, then management
Interface can show the feedback information after failure, and to prompt user further to operate virtualization system, network interface card detector is carried out
Repair.
Preferably, on the basis of above-described embodiment, it is described the first state information is transmitted to terminal after,
Also include:
According to the first state information, it is closed mode to determine the network interface card;
It is closed mode according to the network interface card, opens the network interface card.
Further, on the basis of above-described embodiment, the first state information for obtaining network interface card, including:
Periodically perform the first state information of the acquisition network interface card.
Preferably, on the basis of above-described embodiment, before the first state information for obtaining network interface card, in addition to:
Setting performs the duration interval of the first state information for obtaining network interface card.
Fig. 2 is the structural representation of the embodiment of managing device one of network interface card of the present invention.It is as shown in Fig. 2 provided by the invention
The managing device of network interface card, including:Acquisition module 21, and sending module 22.
Acquisition module 21, for obtaining the first state information of network interface card, the first state information includes following any one
Kind or its combination:The operation information of the network interface card, the link information of the network interface card and power supply, the operation information include the net
The information that card is opened or the network interface card is closed;
Sending module 22, for the first state information to be transmitted to terminal, so that the terminal is according to
First state information operates to the network interface card.
In the present embodiment, by obtaining the first state information of network interface card, the first state information includes following any
A kind of or its combination:The operation information of the network interface card, the link information of the network interface card and power supply, the operation information include described
The information that network interface card is opened or the network interface card is closed;The first state information is transmitted to terminal, so that the terminal root
The network interface card is operated according to the first state information.The first state information according to network interface card is realized, network interface card is carried out
Operation, so as to improve the efficiency of cloud computing.
Further, on the basis of above-described embodiment, the acquisition module 21, it is additionally operable to obtain the of network interface card detector
Two-state information, the network interface card detector is used to perform the status information for obtaining the network interface card, described to believe the state
Cease and be transmitted to terminal;
The sending module 22, it is additionally operable to second status information being transmitted to terminal, so that the terminal root
The network interface card detector is operated according to second status information.
Fig. 3 is the structural representation of the embodiment of managing device two of network interface card of the present invention.As shown in figure 3, in above-described embodiment
On the basis of, the managing device of network interface card provided by the invention, in addition to:Opening module 23;
The opening module 23, for according to the first state information, it to be closed mode to determine the network interface card;According to institute
It is closed mode to state network interface card, opens the network interface card.
Preferably, on the basis of above-described embodiment, the acquisition module 21, for periodically performing the acquisition net
The first state information of card.
Further, on the basis of above-described embodiment, the acquisition module 21, it is additionally operable to setting and performs the acquisition net
The duration interval of the first state information of card.
Although disclosed herein embodiment as above, described content be only readily appreciate the present invention and use
Embodiment, it is not limited to the present invention.Technical staff in any art of the present invention, taken off not departing from the present invention
On the premise of the spirit and scope of dew, any modification and change, but the present invention can be carried out in the form and details of implementation
Scope of patent protection, still should be subject to the scope of the claims as defined in the appended claims.
Claims (10)
- A kind of 1. management method of network interface card, it is characterised in that including:The first state information of network interface card is obtained, the first state information includes following any one or its combination:The network interface card Operation information, the link information of the network interface card and power supply, the operation information include the network interface card open or the network interface card close The information closed;The first state information is transmitted to terminal so that the terminal according to the first state information to the net Card is operated.
- 2. according to the method for claim 1, it is characterised in that before the status information for obtaining network interface card, in addition to:The second status information of network interface card detector is obtained, the network interface card detector is used to perform the state for obtaining the network interface card Information, it is described to be transmitted the status information to terminal;Second status information is transmitted to terminal so that the terminal according to second status information to the net Card Detector is operated.
- 3. method according to claim 1 or 2, it is characterised in that described to carry out the first state information to terminal After transmission, in addition to:According to the first state information, it is closed mode to determine the network interface card;It is closed mode according to the network interface card, opens the network interface card.
- 4. according to the method for claim 3, it is characterised in that the first state information for obtaining network interface card, including:Periodically perform the first state information of the acquisition network interface card.
- 5. according to the method for claim 4, it is characterised in that before the first state information for obtaining network interface card, also wrap Include:Setting performs the duration interval of the first state information for obtaining network interface card.
- A kind of 6. managing device of network interface card, it is characterised in that including:Acquisition module, for obtaining the first state information of network interface card, the first state information includes following any one or its Combination:The operation information of the network interface card, the link information of the network interface card and power supply, the operation information are opened including the network interface card Or the information that the network interface card is closed;Sending module, for the first state information to be transmitted to terminal, so that the terminal is according to first shape State information operates to the network interface card.
- 7. device according to claim 6, it is characterised in that the acquisition module, be additionally operable to obtain network interface card detector Second status information, the network interface card detector is used to perform the status information for obtaining the network interface card, described by the state Information is transmitted to terminal;The sending module, it is additionally operable to second status information being transmitted to terminal, so that the terminal is according to Second status information operates to the network interface card detector.
- 8. the device according to claim 6 or 7, it is characterised in that also include:Opening module;The opening module, for according to the first state information, it to be closed mode to determine the network interface card;According to the network interface card For closed mode, the network interface card is opened.
- 9. device according to claim 8, it is characterised in that the acquisition module, for being obtained described in periodically execution Take the first state information of network interface card.
- 10. device according to claim 9, it is characterised in that the acquisition module, be additionally operable to setting and perform the acquisition The duration interval of the first state information of network interface card.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710865530.6A CN107453959B (en) | 2017-09-22 | 2017-09-22 | Network card management method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710865530.6A CN107453959B (en) | 2017-09-22 | 2017-09-22 | Network card management method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107453959A true CN107453959A (en) | 2017-12-08 |
CN107453959B CN107453959B (en) | 2021-04-30 |
Family
ID=60497039
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710865530.6A Active CN107453959B (en) | 2017-09-22 | 2017-09-22 | Network card management method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107453959B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109104332A (en) * | 2018-08-01 | 2018-12-28 | 郑州云海信息技术有限公司 | A kind of network card status detection method and device |
CN114117562A (en) * | 2021-10-27 | 2022-03-01 | 苏州浪潮智能科技有限公司 | Intelligent network card management method and device, electronic equipment and computer storage medium |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102053698A (en) * | 2009-11-06 | 2011-05-11 | 联想(北京)有限公司 | Computer and network card control method |
CN102523209A (en) * | 2011-12-06 | 2012-06-27 | 北京航空航天大学 | Dynamic adjustment method and device of safety inspection virtual machines |
CN103023699A (en) * | 2012-11-30 | 2013-04-03 | 北京奇虎科技有限公司 | Network repair method and system |
US20130219204A1 (en) * | 2010-10-28 | 2013-08-22 | Nanjing University | Method and system for waking up remote devices |
CN103297271A (en) * | 2013-05-25 | 2013-09-11 | 成都网丁科技有限公司 | Network diagnosis system supportive of account validity verification |
CN103607308A (en) * | 2013-11-29 | 2014-02-26 | 杭州东信北邮信息技术有限公司 | Virtual machine multi-network management system and method in cloud computing environment |
CN103731514A (en) * | 2013-12-29 | 2014-04-16 | 国云科技股份有限公司 | Virtual network management method |
CN104468279A (en) * | 2014-12-22 | 2015-03-25 | 上海斐讯数据通信技术有限公司 | Routing protocol interaction testing method and tool |
US9348646B1 (en) * | 2014-09-22 | 2016-05-24 | Amazon Technologies, Inc. | Reboot-initiated virtual machine instance migration |
CN106169965A (en) * | 2016-09-28 | 2016-11-30 | 北京金山安全软件有限公司 | Network repairing method, device and terminal |
CN106789361A (en) * | 2017-02-16 | 2017-05-31 | 郑州云海信息技术有限公司 | Event-handling method and device under a kind of cloud computing environment |
-
2017
- 2017-09-22 CN CN201710865530.6A patent/CN107453959B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102053698A (en) * | 2009-11-06 | 2011-05-11 | 联想(北京)有限公司 | Computer and network card control method |
US20130219204A1 (en) * | 2010-10-28 | 2013-08-22 | Nanjing University | Method and system for waking up remote devices |
CN102523209A (en) * | 2011-12-06 | 2012-06-27 | 北京航空航天大学 | Dynamic adjustment method and device of safety inspection virtual machines |
CN103023699A (en) * | 2012-11-30 | 2013-04-03 | 北京奇虎科技有限公司 | Network repair method and system |
CN103297271A (en) * | 2013-05-25 | 2013-09-11 | 成都网丁科技有限公司 | Network diagnosis system supportive of account validity verification |
CN103607308A (en) * | 2013-11-29 | 2014-02-26 | 杭州东信北邮信息技术有限公司 | Virtual machine multi-network management system and method in cloud computing environment |
CN103731514A (en) * | 2013-12-29 | 2014-04-16 | 国云科技股份有限公司 | Virtual network management method |
US9348646B1 (en) * | 2014-09-22 | 2016-05-24 | Amazon Technologies, Inc. | Reboot-initiated virtual machine instance migration |
CN104468279A (en) * | 2014-12-22 | 2015-03-25 | 上海斐讯数据通信技术有限公司 | Routing protocol interaction testing method and tool |
CN106169965A (en) * | 2016-09-28 | 2016-11-30 | 北京金山安全软件有限公司 | Network repairing method, device and terminal |
CN106789361A (en) * | 2017-02-16 | 2017-05-31 | 郑州云海信息技术有限公司 | Event-handling method and device under a kind of cloud computing environment |
Non-Patent Citations (1)
Title |
---|
辛满章: "双网卡双线路的自动切换", 《电脑编程技巧与维护》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109104332A (en) * | 2018-08-01 | 2018-12-28 | 郑州云海信息技术有限公司 | A kind of network card status detection method and device |
CN114117562A (en) * | 2021-10-27 | 2022-03-01 | 苏州浪潮智能科技有限公司 | Intelligent network card management method and device, electronic equipment and computer storage medium |
CN114117562B (en) * | 2021-10-27 | 2024-01-12 | 苏州浪潮智能科技有限公司 | Intelligent network card management method and device, electronic equipment and computer storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107453959B (en) | 2021-04-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105426145B (en) | A kind of method that mobile phone screen projects computer terminal | |
CN104598513B (en) | A kind of method of data flow control and system based on web page frame | |
CN107204850A (en) | A kind of lightweight car networking safety communicating method | |
US11249782B2 (en) | Manageable external wake of virtual machines | |
CN102724079B (en) | Method and system for auxiliary configuration of Ethernet equipment | |
CN103138985B (en) | A kind of supporting network business host processes control method and system | |
CN103092691A (en) | Process management method and management unit of Android system | |
CN105771243A (en) | Method and system for achieving multiplayer voice interaction in mobile terminal game | |
CN109977681A (en) | A kind of fuzz testing system of fuzz testing method and unmanned plane towards unmanned plane | |
CN107453959A (en) | The management method and its device of a kind of network interface card | |
CN108037978A (en) | A kind of managing computing resources method based on virtualization technology | |
CN105592459B (en) | Safety certification device based on wireless communication | |
CN109683964A (en) | Bios software debugging control program, system and server | |
CN107483552A (en) | A kind of cloud desktop intelligent start/stop method based on cloud computing | |
CN116132519A (en) | Device management method, device and readable storage medium | |
CN104915252B (en) | A kind of process port management means and method | |
CN108170510A (en) | A kind of managing computing resources system based on virtualization technology | |
CN106060048A (en) | Network resource access method and network resource access device | |
CN206461664U (en) | A kind of data collecting system | |
CN106557362A (en) | It is applied to the task immigration method and system of intelligent robot | |
CN109670296A (en) | A kind of method and apparatus removing iOS backup password | |
CN110636030A (en) | Hierarchical safety management and control method and system for electric power mobile terminal | |
CN105204851B (en) | A kind of component active registration method based on software communications architecture | |
CN105357387B (en) | A kind of method, apparatus and system for waking up terminal | |
CN106793167A (en) | VPN traffic support method and device under a kind of mobile network environment |
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 |