Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data distribution method and distributor

A data shunt and shunt technology, applied in the computer field, can solve problems such as insufficient multi-core processor processing capability, mutual exclusion between threads, and cache failure between cores with synchronization overhead.

Inactive Publication Date: 2015-06-24
HANGZHOU HUAWEI DIGITAL TECH
View PDF8 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Therefore, the existing data shunting method has the following disadvantages: multiple threads share the buffer queue of the same process, which will cause a large amount of mutual exclusion and synchronization overhead between threads and cache failure between cores, resulting in insufficient processing capacity of multi-core processors. to play

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
  • Data distribution method and distributor
  • Data distribution method and distributor
  • Data distribution method and distributor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments . Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0039] Below to figure 1 As an example, a data distribution method provided in Embodiment 1 of the present invention is described in detail. figure 1 It is a schematic flowchart of a data distribution method provided in Embodiment 1 of the present invention. The data distribution method is applied in a data distribution system, and the data distribution system includes a distribution device, a memory and multiple threads for processing da...

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 relates to a data splitting method and splitter. The data splitting method comprises: a splitter parsing a received packet and determining the transport layer communications protocol to which said packet belongs; said splitter obtaining from said packet the identification information of the data stream, to which the packet belongs, corresponding to said determined transport layer communications protocol; according to the correlation between said transport layer communications protocol and a flow table, the splitter obtaining from the storage device the flow table corresponding to the transport layer communications protocol to which said packet belongs; said splitter determining, according to the correlations between the identification information and threads of the data stream in the flow table corresponding to the transport layer communications protocol to which said packet belongs, the thread corresponding to the data stream to which said packet belongs; said splitter sending said packet to the buffer queue of the thread corresponding to said data stream, to enable the thread corresponding to the data stream to obtain the packet from said buffer queue.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a data splitting method and a splitter. Background technique [0002] Today, processors have entered the multi-core era. Under the multi-core architecture, multi-threads are often deployed in multiple cores to achieve parallel processing. Then, it is necessary to send data packets to different threads by shunting to make multiple cores Implement parallel processing. [0003] In the existing data distribution method, the distribution granularity is process, that is, the data packet is sent to the buffer queue of the process corresponding to the data packet. Threads in this process obtain data packets from the buffer queue of this process, and the connection information of this data packet may be shared by other threads. If it is shared, when the thread accesses the connection information corresponding to the data packet, the mutual exclusion and synchronization mechanism betwe...

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
IPC IPC(8): H04L12/863H04L45/74
CPCH04L12/10H04L67/1027H04L47/2483H04L49/90H04L69/326H04L69/22H04L45/745H04L47/125H04L47/193H04L47/6255H04L67/568G06F9/544
Inventor 唐继元黄彬陈克平
Owner HANGZHOU HUAWEI DIGITAL TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products