-
公开(公告)号:US20190034230A1
公开(公告)日:2019-01-31
申请号:US16145607
申请日:2018-09-28
Applicant: Huawei Technologies Co., Ltd.
IPC: G06F9/48
Abstract: Data contention caused by multiple threads accessing one data block at the same time when used to execute tasks concurrently may be avoided, and difficulty in detecting and debugging a concurrent error may be reduced. A solution is: adding, according to correspondences between multiple tasks and M data blocks that are accessed by the multiple tasks, each of the multiple tasks to a task queue of a data block corresponding to the task; using N threads to execute tasks in N task queues of M task queues concurrently, where each of the N threads executes a task in a task queue of the N task queues, different threads of the N threads execute tasks in different task queues, and 2≤N≤M.
-
公开(公告)号:US20160294690A1
公开(公告)日:2016-10-06
申请号:US15185982
申请日:2016-06-17
Applicant: Huawei Technologies Co., Ltd.
Inventor: Chaowa QIU , Li XUE , Changbao LIU , Wei CAO
IPC: H04L12/721 , H04L12/723 , H04L12/741 , H04L12/707 , H04L12/703
CPC classification number: H04L45/68 , H04L45/22 , H04L45/28 , H04L45/50 , H04L45/745
Abstract: A method, a system, and a device for establishing a pseudo wire are disclosed. The method includes: receiving, by a switching provider edge at a bifurcation position, a label mapping message, obtaining information of the switching provider edge at the bifurcation position and information of at least two next hops or outgoing interfaces of the switching provider edge through parsing, comparing the information of the switching provider edge at the bifurcation position with information of a local device, and if the information of the switching provider edge at the bifurcation position matches with the information of the local device, establishing at least two pseudo wires from the switching provider edge according to the information of at least two next hops or outgoing interfaces.
-