Network interface card fault injection methods and apparatuses

A fault injection, network card technology, applied in the field of electronic communication, can solve the problem of lack of methods and devices for network fault injection

Active Publication Date: 2017-01-11
HONOR DEVICE CO LTD
View PDF6 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Therefore, for various virtualization platforms including VMware ESXi, Xen, KVM, Hyper-V, etc., there is a lack of an efficient and universal method and device for network fault injection

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Network interface card fault injection methods and apparatuses
  • Network interface card fault injection methods and apparatuses
  • Network interface card fault injection methods and apparatuses

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0059] Such as figure 1 As shown, Embodiment 1 of a network card fault injection method provided by the embodiment of the present invention includes:

[0060] Step S101, when the virtual machine monitor (Hypervisor) loads the network card driver in the startup phase, the interface of the network device in the virtual monitor is referenced to the first interface implementation module of the network card driver; specifically, in the virtual machine monitor (Hypervisor ), the network packet needs to be processed by several modules from top to bottom, which are protocol stack, network device, network card driver, and network card hardware. The protocol stack and the network device are modules included in the virtual machine monitor (such as ESXi), and the network card driver is provided by the device manufacturer and installed in the virtual machine monitor. Each physical network card in the ESXi system corresponds to an abstract network device NetDevice, which includes the contr...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The present invention provides a network interface card fault injection method. The method is characterized by comprising the steps of when a hypervisor loads a network interface card driver in a startup phase, invoking, by an interface of a network device in the hypervisor, a first interface implementation module of the network interface card driver; loading a fault injection module into the hypervisor in a fault injection mode; replacing the first interface implementation module of the network interface card driver with a second interface implementation module in the fault injection module, so as to enable the interface to invoke the second interface implementation module; acquiring a fault description instruction, and then sending the fault description instruction to the fault injection module, so as to enable the fault injection module to acquire a fault injection parameter carried in the fault description instruction; and when the interface of the network device invokes the second interface implementation module, injecting, by using the second interface implementation module, the fault injection parameter into a data package processed by network interface card hardware.

Description

technical field [0001] The invention relates to the technical field of electronic communication, in particular to a network card fault injection method and device. Background technique [0002] Traditional telecommunication equipment adopts integrated software and hardware, and builds the operating system and application software on a dedicated hardware platform. The matching of software and hardware models is relatively fixed, and the scope of compatibility problems is limited. Design, development, and testing are aimed at certain software and hardware environments. The hardware quality is controlled by the same equipment manufacturer, so the system reliability is effectively guaranteed. [0003] With the establishment of telecom operators, they gradually focus on the research of network function virtualization (NFV), and take software and hardware decoupling, general computing, and hardware standardization as research goals. NFV is an emerging solution dedicated to improv...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/22
Inventor 王新宇
Owner HONOR DEVICE CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products