- 专利标题: Method and apparatus for transmitting data packet based on virtual machine
-
申请号: US16359036申请日: 2019-03-20
-
公开(公告)号: US11048535B2公开(公告)日: 2021-06-29
- 发明人: Hua Liu
- 申请人: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
- 申请人地址: CN Guangdong
- 专利权人: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
- 当前专利权人: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
- 当前专利权人地址: CN Guangdong
- 代理机构: Sughrue Mion, PLLC
- 优先权: CN201611190729.5 20161221
- 主分类号: G06F9/46
- IPC分类号: G06F9/46 ; G06F9/455 ; H04L29/12 ; H04L12/66
摘要:
A method for transmitting a data packet based on a virtual machine is provided. A direct through-connection is established between the virtual machine and a network interface card. A data packet transmitted by a driver layer of the virtual machine is detected. An encapsulation parameter obtaining request is transmitted to a virtual machine monitor corresponding to the virtual machine, and encapsulation information and an encapsulation parameter are received in response to the encapsulation parameter obtaining request. The data packet is encapsulated according to the encapsulation information and the encapsulation parameter, and the encapsulated data packet is added to a hardware transmitting queue of the network interface card by using the direct through-connection to transmit the encapsulated data packet.
公开/授权文献
信息查询