Patents by Inventor Liufei WEN
Liufei WEN has filed for patents to protect the following inventions. This listing includes patent applications that are pending as well as patents that have already been granted by the United States Patent and Trademark Office (USPTO).
-
Patent number: 10554485Abstract: A network virtualization configuration method, a network system, and a device, where the method includes creating a switch virtual machine (VM), where the switch VM is configured to run a virtual switch, responding to a Peripheral Component Interconnect (PCI) scanning of the switch VM, configuring, using a physical function (PF) driver, a PCI Express (PCIE) device to allocate a corresponding network resource to the switch VM, and initializing the PCIE device using the PF driver, where a default forwarding rule of the initialized PCIE device includes setting a default forwarding port of the PCIE device to a VF receiving queue (VF 0) corresponding to the switch VM. Hence, a cross-platform virtual switch solution can be implemented, thereby improving flexibility of deploying a virtual switch, and implementing compatibility with different hypervisors/VM monitors (VMMs).Type: GrantFiled: January 2, 2018Date of Patent: February 4, 2020Assignee: HUAWEI TECHNOLOGIES CO., LTD.Inventors: Liufei Wen, Xiangyang Xu
-
Patent number: 10338849Abstract: A method and device for processing an input/output (I/O) request in a network file system (NFS) includes sending, by a NFS server, a request for parsing the unidentifiable NFS FH to a centralized controller when a NFS file handle (NFS FH) in an I/O request cannot be identified, receiving, by the NFS server, a file identifier that corresponds to the unidentifiable NFS FH from the centralized controller according to the parsing request, where the file identifier is determined according to a pre-stored correspondence between NFS FHs and file identifiers, and processing, by the NFS server, the I/O request according to the file identifier.Type: GrantFiled: August 3, 2017Date of Patent: July 2, 2019Assignee: HUAWEI TECHNOLOGIES CO., LTD.Inventors: Lin Chen, Xiangyang Xu, Liufei Wen
-
Patent number: 10241830Abstract: A data processing apparatus and a data processing method are provided. The apparatus includes M protocol stacks and at least one distribution service module, and the M protocol stacks separately run on different logic cores of a processor and are configured to independently perform protocol processing on a data packet to be processed. The distribution service module receives an input data packet from a network interface and sends the data packet to one of the M protocol stacks for protocol processing, and receives data packets processed by the M protocol stacks and sends the data packets outwards through the network interface. The present disclosure implements a function of parallel protocol processing by multiple processes in user space of an operating system in a multi-core environment by using a parallel processing feature of a multi-core system, thereby reducing resource consumption caused by data packet copying.Type: GrantFiled: November 9, 2015Date of Patent: March 26, 2019Assignee: Huawei Technologies Co., Ltd.Inventors: Qiang Gu, Liufei Wen, Guangyu Shi
-
Patent number: 10218820Abstract: A method and an apparatus for processing a data packet based on parallel protocol stack instances and the method includes determining a distribution policy of a data packet according to distribution policy information of a network adapter, determining a first protocol stack instance according to the distribution policy of the data packet, and creating a target socket in the first protocol stack instance such that when the data packet is distributed to the first protocol stack instance, the first protocol stack instance performs protocol processing on the data packet using the target socket. Hence, a case in which a protocol stack instance that is specified for the target socket by an application conflicts with a protocol stack instance specified by a network adapter is avoided, and a technical problem that protocol processing cannot be performed on the data packet is resolved.Type: GrantFiled: July 28, 2016Date of Patent: February 26, 2019Assignee: HUAWEI TECHNOLOGIES CO., LTD.Inventors: Qiang Gu, Liufei Wen
-
Patent number: 10127067Abstract: A method and computing device for selecting a protocol stack for performing protocol processing on data is presented. The computing device is configured with a hypervisor for managing a first virtual machine. According to the method, when a socket creation instruction sent by the first virtual machine is received, a protocol stack instance is selected from the protocol stack instances provided by the computing device. Then, a socket is created in the selected protocol stack instance according to the socket creation instruction; and a creation result is transmitted to the first virtual machine. Therefore, in a virtualized environment, multiple virtual machines disposed in a same computing device can share a network protocol processing capability, and protocol stacks of the virtual machines achieve load balance.Type: GrantFiled: April 27, 2016Date of Patent: November 13, 2018Assignee: HUAWEI TECHNOLOGIES CO., LTD.Inventors: Qiang Gu, Liufei Wen
-
Patent number: 10069947Abstract: A method and an apparatus for processing a data packet based on parallel protocol stack instances, where lower-layer protocol processing is performed, using a first protocol stack instance. An associated second protocol stack instance is determined using a target socket after the target socket that is needed to perform upper-layer protocol processing on the data packet is determined, and the upper-layer protocol processing is performed, using the target socket and the second protocol stack instance. The second protocol stack instance that performs the upper-layer protocol processing is determined using the target socket, and hence, a technical problem that protocol processing cannot be performed on a data packet because a protocol stack instance specified by an application (APP) conflicts with a protocol stack instance specified by a network adapter is resolved.Type: GrantFiled: July 28, 2016Date of Patent: September 4, 2018Assignee: HUAWEI TECHNOLOGIES CO., LTD.Inventors: Yongqiang Yang, Fen Dai, Liufei Wen
-
Patent number: 9996401Abstract: A task processing method and virtual machine are disclosed. The method includes selecting an idle resource for a task; creating a global variable snapshot for a global variable; executing the task, in private memory space in the selected idle resource; after the execution of the task is complete, acquiring a new global variable snapshot corresponding to the global variable, and acquiring an updated global variable according to a local global variable snapshot and the new global variable snapshot; and determining whether a synchronization variable of a to-be-executed task in a task synchronization waiting queue includes the current updated global variable, and if the synchronization variable of the to-be-executed task in the task synchronization waiting queue includes the current updated global variable, putting the task into a task execution waiting queue.Type: GrantFiled: June 12, 2015Date of Patent: June 12, 2018Assignee: HUAWEI TECHNOLOGIES CO., LTD.Inventors: Lin Gu, Zhiqiang Ma, Zhonghua Sheng, Liufei Wen
-
Patent number: 9985926Abstract: An address acquiring method includes receiving an address resolution request packet sent by a source host, where the address resolution request packet includes an Internet Protocol (IP) address of a destination host; determining another network virtualization edge (NVE) device, where the another NVE device stores a correspondence between the IP address of the destination host and a Media Access Control (MAC) address of the destination host and a correspondence between the IP address of the destination host and an IP address of a destination NVE device corresponding to the destination host; obtaining the MAC address of the destination host and the IP address of the destination NVE device corresponding to the destination host from the another NVE device according to the IP address of the destination host. The technical solutions provided in the present disclosure are intended to reduce processing pressure on a physical network.Type: GrantFiled: July 19, 2016Date of Patent: May 29, 2018Assignee: HUAWEI TECHNOLOGIES CO., LTD.Inventors: Xiangyang Xu, Liufei Wen
-
Publication number: 20180123880Abstract: A network virtualization configuration method, a network system, and a device, where the method includes creating a switch virtual machine (VM), where the switch VM is configured to run a virtual switch, responding to a Peripheral Component Interconnect (PCI) scanning of the switch VM, configuring, using a physical function (PF) driver, a PCI Express (PCIE) device to allocate a corresponding network resource to the switch VM, and initializing the PCIE device using the PF driver, where a default forwarding rule of the initialized PCIE device includes setting a default forwarding port of the PCIE device to a VF receiving queue (VF 0) corresponding to the switch VM. Hence, a cross-platform virtual switch solution can be implemented, thereby improving flexibility of deploying a virtual switch, and implementing compatibility with different hypervisors/VM monitors (VMMs).Type: ApplicationFiled: January 2, 2018Publication date: May 3, 2018Inventors: Liufei Wen, Xiangyang Xu
-
Publication number: 20170329558Abstract: A method and device for processing an input/output (I/O) request in a network file system (NFS) includes sending, by a NFS server, a request for parsing the unidentifiable NFS FH to a centralized controller when a NFS file handle (NFS FH) in an I/O request cannot be identified, receiving, by the NFS server, a file identifier that corresponds to the unidentifiable NFS FH from the centralized controller according to the parsing request, where the file identifier is determined according to a pre-stored correspondence between NFS FHs and file identifiers, and processing, by the NFS server, the I/O request according to the file identifier.Type: ApplicationFiled: August 3, 2017Publication date: November 16, 2017Inventors: Lin Chen, Xiangyang Xu, Liufei Wen
-
Patent number: 9614789Abstract: System and method for supporting multiple vSwitches on a single host server. In one aspect, embodiments according to the present disclosure include a system and method for supporting multiple vSwitches on a single host server. In one aspect, a set of packet processor threads are instantiated to process data packets on behalf of all vSwitches deployed on the host server. For a data packet received at a port of the host server, a packet processor determines the datapath based on a mapping table and processes the packet according to the rules defined for that datapath. In one aspect, ports (physical and/or virtual) are able to be configured to specified vSwitches dynamically.Type: GrantFiled: January 8, 2015Date of Patent: April 4, 2017Assignee: Futurewei Technologies, Inc.Inventors: Xiaogang Zhu, Arularasi Sivasankaran, Jiafeng Zhu, Liufei Wen, Yanlan Wei
-
Publication number: 20160337483Abstract: A method and an apparatus for processing a data packet based on parallel protocol stack instances, where lower-layer protocol processing is performed, using a first protocol stack instance. An associated second protocol stack instance is determined using a target socket after the target socket that is needed to perform upper-layer protocol processing on the data packet is determined, and the upper-layer protocol processing is performed, using the target socket and the second protocol stack instance. The second protocol stack instance that performs the upper-layer protocol processing is determined using the target socket, and hence, a technical problem that protocol processing cannot be performed on a data packet because a protocol stack instance specified by an application (APP) conflicts with a protocol stack instance specified by a network adapter is resolved.Type: ApplicationFiled: July 28, 2016Publication date: November 17, 2016Inventors: Yongqiang Yang, Fen Dai, Liufei Wen
-
Publication number: 20160337482Abstract: A method and an apparatus for processing a data packet based on parallel protocol stack instances and the method includes determining a distribution policy of a data packet according to distribution policy information of a network adapter, determining a first protocol stack instance according to the distribution policy of the data packet, and creating a target socket in the first protocol stack instance such that when the data packet is distributed to the first protocol stack instance, the first protocol stack instance performs protocol processing on the data packet using the target socket. Hence, a case in which a protocol stack instance that is specified for the target socket by an application conflicts with a protocol stack instance specified by a network adapter is avoided, and a technical problem that protocol processing cannot be performed on the data packet is resolved.Type: ApplicationFiled: July 28, 2016Publication date: November 17, 2016Inventors: Qiang Gu, Liufei Wen
-
Publication number: 20160330166Abstract: An address acquiring method includes receiving an address resolution request packet sent by a source host, where the address resolution request packet includes an Internet Protocol (IP) address of a destination host; determining another network virtualization edge (NVE) device, where the another NVE device stores a correspondence between the IP address of the destination host and a Media Access Control (MAC) address of the destination host and a correspondence between the IP address of the destination host and an IP address of a destination NVE device corresponding to the destination host; obtaining the MAC address of the destination host and the IP address of the destination NVE device corresponding to the destination host from the another NVE device according to the IP address of the destination host. The technical solutions provided in the present disclosure are intended to reduce processing pressure on a physical network.Type: ApplicationFiled: July 19, 2016Publication date: November 10, 2016Inventors: Xiangyang Xu, Liufei Wen
-
Publication number: 20160239337Abstract: A method and computing device for selecting a protocol stack for performing protocol processing on data is presented. The computing device is configured with a hypervisor for managing a first virtual machine. According to the method, when a socket creation instruction sent by the first virtual machine is received, a protocol stack instance is selected from the protocol stack instances provided by the computing device. Then, a socket is created in the selected protocol stack instance according to the socket creation instruction; and a creation result is transmitted to the first virtual machine. Therefore, in a virtualized environment, multiple virtual machines disposed in a same computing device can share a network protocol processing capability, and protocol stacks of the virtual machines achieve load balance.Type: ApplicationFiled: April 27, 2016Publication date: August 18, 2016Inventors: Qiang Gu, Liufei Wen
-
Publication number: 20160205048Abstract: System and method for supporting multiple vSwitches on a single host server. In one aspect, embodiments according to the present disclosure include a system and method for supporting multiple vSwitches on a single host server. In one aspect, a set of packet processor threads are instantiated to process data packets on behalf of all vSwitches deployed on the host server. For a data packet received at a port of the host server, a packet processor determines the datapath based on a mapping table and processes the packet according to the rules defined for that datapath. In one aspect, ports (physical and/or virtual) are able to be configured to specified vSwitches dynamically.Type: ApplicationFiled: January 8, 2015Publication date: July 14, 2016Inventors: Xiaogang ZHU, Arularasi SIVASANKARAN, Jiafeng ZHU, Liufei WEN, Yanlan WEI
-
Publication number: 20160077872Abstract: A data processing apparatus and a data processing method are provided. The apparatus includes M protocol stacks and at least one distribution service module, and the M protocol stacks separately run on different logic cores of a processor and are configured to independently perform protocol processing on a data packet to be processed. The distribution service module receives an input data packet from a network interface and sends the data packet to one of the M protocol stacks for protocol processing, and receives data packets processed by the M protocol stacks and sends the data packets outwards through the network interface. The present disclosure implements a function of parallel protocol processing by multiple processes in user space of an operating system in a multi-core environment by using a parallel processing feature of a multi-core system, thereby reducing resource consumption caused by data packet copying.Type: ApplicationFiled: November 9, 2015Publication date: March 17, 2016Applicant: HUAWEI TECHNOLOGIES CO., LTD.Inventors: Qiang GU, Liufei WEN, Guangyu SHI
-
Patent number: 9213943Abstract: A parameter inference method to solve a problem that precision of a Latent Dirichlet Allocation model is poor is provided.Type: GrantFiled: January 13, 2014Date of Patent: December 15, 2015Assignee: Huawei Technologies Co., Ltd.Inventors: Kopylov Vladislav, Liufei Wen, Guangyu Shi
-
Publication number: 20150277993Abstract: A task processing method and virtual machine are disclosed. The method includes selecting an idle resource for a task; creating a global variable snapshot for a global variable; executing the task, in private memory space in the selected idle resource; after the execution of the task is complete, acquiring a new global variable snapshot corresponding to the global variable, and acquiring an updated global variable according to a local global variable snapshot and the new global variable snapshot; and determining whether a synchronization variable of a to-be-executed task in a task synchronization waiting queue includes the current updated global variable, and if the synchronization variable of the to-be-executed task in the task synchronization waiting queue includes the current updated global variable, putting the task into a task execution waiting queue.Type: ApplicationFiled: June 12, 2015Publication date: October 1, 2015Inventors: Lin Gu, Zhiqiang Ma, Zhonghua Sheng, Liufei Wen
-
Patent number: 9137045Abstract: An Ethernet multicast method and device are provided, which relate to the communications technology field, and improve the capability of distributing multicast data in the Ethernet. The method includes: receiving a request from a host/multicast source, wherein the request carries a multicast Media Access Control (MAC) address of a destination multicast group; selecting, according to the request, a switch satisfying a particular optimization condition as a multicast root node corresponding to the multicast MAC address of the destination multicast group when it is determined that the multicast MAC address of the destination multicast group does not have the corresponding multicast root node; transmitting an identification of the multicast root node to the host/multicast source. The embodiments of the present invention are mainly applied to the process of the multicast data distribution in the Ethernet.Type: GrantFiled: November 14, 2012Date of Patent: September 15, 2015Assignee: Huawei Technologies Co., Ltd.Inventors: Xueliang Chen, Guangyu Shi, Liufei Wen