Method and apparatus for processing data packet based on parallel protocol stack instances

    公开(公告)号:US10218820B2

    公开(公告)日:2019-02-26

    申请号:US15222741

    申请日:2016-07-28

    Inventor: Qiang Gu Liufei Wen

    Abstract: 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.

    Data processing method and a computer using distribution service module

    公开(公告)号:US10241830B2

    公开(公告)日:2019-03-26

    申请号:US14936118

    申请日:2015-11-09

    Abstract: 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.

    Method and Apparatus for Processing Data Packet Based on Parallel Protocol Stack Instances
    3.
    发明申请
    Method and Apparatus for Processing Data Packet Based on Parallel Protocol Stack Instances 审中-公开
    基于并行协议堆栈实例处理数据包的方法和装置

    公开(公告)号:US20160337482A1

    公开(公告)日:2016-11-17

    申请号:US15222741

    申请日:2016-07-28

    Inventor: Qiang Gu Liufei Wen

    CPC classification number: H04L69/162 H04L67/10

    Abstract: 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.

    Abstract translation: 一种用于基于并行协议栈实例处理数据分组的方法和装置,所述方法包括根据网络适配器的分发策略信息来确定数据分组的分配策略,根据分发策略确定第一协议栈实例 数据包,并在第一协议栈实例中创建目标套接字,使得当数据包分发到第一协议栈实例时,第一协议栈实例使用目标套接字对数据包执行协议处理。 因此,避免了由应用程序为目标套接字指定的协议栈实例与由网络适配器指定的协议栈实例冲突的情况,并解决了对数据包不能执行协议处理的技术问题 。

    Method and computing device for selecting protocol stack for virtual machines

    公开(公告)号:US10127067B2

    公开(公告)日:2018-11-13

    申请号:US15139724

    申请日:2016-04-27

    Inventor: Qiang Gu Liufei Wen

    Abstract: 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.

    METHOD AND APPARATUS FOR DETERMINING AUTOMATIC PARKING STRATEGY

    公开(公告)号:US20210114587A1

    公开(公告)日:2021-04-22

    申请号:US17134858

    申请日:2020-12-28

    Abstract: This application provides a method for determining an automatic parking strategy. The method includes: determining, a target parking action corresponding to a current parking stage performing the target parking action; obtaining feedback information, where the feedback information is used to indicate whether a result of performing the target parking action reaches a predetermined objective, and the predetermined objective is a predetermined position of the vehicle relative to a target parking spot, and/or the predetermined objective is a status of the vehicle in the parking process; and updating the automatic parking strategy based on the feedback information. In the foregoing method, the entire parking process is divided into several parking stages, and a control strategy is obtained by using a different method at each stage. This can increase a success rate of automatic parking in a complex parking scenario.

    INFORMATION DETECTION METHOD AND MOBILE DEVICE

    公开(公告)号:US20200320317A1

    公开(公告)日:2020-10-08

    申请号:US16906323

    申请日:2020-06-19

    Abstract: A method includes photographing a first picture, the first picture including a signal light at a first intersection; and detecting a signal light status in the first picture by using a first detection model. The first detection model is a detection model corresponding to the first intersection. The first detection model is obtained by a server through training based on signal light pictures corresponding to the first intersection and signal light statuses in the signal light pictures. The signal light statuses in the signal light pictures are obtained through detection by using a general model. The general model is obtained through training based on pictures in a first set and a signal light status in each picture in the first set. The first set includes signal light pictures of a plurality of intersections.

    Method for mapping between virtual CPU and physical CPU and electronic device

    公开(公告)号:US10216530B2

    公开(公告)日:2019-02-26

    申请号:US15375919

    申请日:2016-12-12

    Abstract: A method for mapping between a virtual central processing unit (CPU) and a physical CPU. The method includes obtaining, by a virtual machine manager, a set of to-be-mapped first virtual CPUs in a current time period and a first physical CPU that has fewest to-be-run tasks, obtaining, by the virtual machine manager, a first characteristic value of each first virtual CPU in the set of first virtual CPUs and a second characteristic value of the first physical CPU, obtaining, by the virtual machine manager from all the first characteristic values, a target characteristic value that matches the second characteristic value, and mapping a target virtual CPU corresponding to the target characteristic value to the first physical CPU for running. By means of the foregoing technical solutions, resource contention and a decrease in overall system performance are avoided when mapping a virtual CPU to a physical CPU.

    Method for Mapping Between Virtual CPU and Physical CPU and Electronic Device

    公开(公告)号:US20170090962A1

    公开(公告)日:2017-03-30

    申请号:US15375919

    申请日:2016-12-12

    Abstract: A method for mapping between a virtual central processing unit (CPU) and a physical CPU. The method includes obtaining, by a virtual machine manager, a set of to-be-mapped first virtual CPUs in a current time period and a first physical CPU that has fewest to-be-run tasks, obtaining, by the virtual machine manager, a first characteristic value of each first virtual CPU in the set of first virtual CPUs and a second characteristic value of the first physical CPU, obtaining, by the virtual machine manager from all the first characteristic values, a target characteristic value that matches the second characteristic value, and mapping a target virtual CPU corresponding to the target characteristic value to the first physical CPU for running. By means of the foregoing technical solutions, resource contention and a decrease in overall system performance are avoided when mapping a virtual CPU to a physical CPU.

    PARAMETER CALIBRATION METHOD AND APPARATUS
    9.
    发明公开

    公开(公告)号:US20240230383A1

    公开(公告)日:2024-07-11

    申请号:US18610200

    申请日:2024-03-19

    CPC classification number: G01D18/00

    Abstract: This application provides a parameter calibration method and apparatus that may be applied to vehicles such as an intelligent vehicle, a new energy vehicle, a connected vehicle, and an intelligent driving vehicle. The method includes: obtaining evaluation results of parameter combinations of a plurality of devices, where the evaluation results of the parameter combinations of the plurality of devices are obtained by respectively performing calibration tests by the plurality of devices in a first time period based on the parameter combinations of the plurality of devices; and obtaining at least one adjusted parameter combination based on the evaluation results of the parameter combinations of the plurality of devices.

    Method and apparatus for determining automatic parking strategy

    公开(公告)号:US11897454B2

    公开(公告)日:2024-02-13

    申请号:US17134858

    申请日:2020-12-28

    CPC classification number: B60W30/06 B60W60/001 B60W2510/20

    Abstract: This application provides a method for determining an automatic parking strategy. The method includes: determining, a target parking action corresponding to a current parking stage performing the target parking action; obtaining feedback information, where the feedback information is used to indicate whether a result of performing the target parking action reaches a predetermined objective, and the predetermined objective is a predetermined position of the vehicle relative to a target parking spot, and/or the predetermined objective is a status of the vehicle in the parking process; and updating the automatic parking strategy based on the feedback information. In the foregoing method, the entire parking process is divided into several parking stages, and a control strategy is obtained by using a different method at each stage. This can increase a success rate of automatic parking in a complex parking scenario.

Patent Agency Ranking