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

Data splitting method and splitter

A data shunt and shunt technology, applied in the computer field, can solve the problems of mutual exclusion between threads and synchronization overhead, cache failure between cores, multi-core processor processing capabilities cannot be fully utilized, etc.

Inactive Publication Date: 2018-05-18
HANGZHOU HUAWEI DIGITAL TECH
View PDF8 Cites 1 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 splitting method and splitter
  • Data splitting method and splitter
  • Data splitting method and splitter

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 invention relates to a data splitting method and a splitter. The data splitting method includes: the splitter analyzes the received data packet to determine the transport layer communication protocol to which the data packet belongs; the splitter obtains from the data packet corresponding to the determined transport layer communication protocol The identification information of the data flow to which the data packet belongs; the splitter obtains from the memory the split corresponding to the transport layer communication protocol to which the data packet belongs according to the corresponding relationship between the transport layer communication protocol and the split table table; the splitter determines the thread corresponding to the data stream to which the data packet belongs according to the identification information of the data stream in the split table corresponding to the transport layer communication protocol to which the data packet belongs and the thread; the split The controller sends the data packet to the buffer queue of the thread corresponding to the data flow, so that the thread corresponding to the data flow obtains the data packet from the 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
Patent Type & Authority Patents(China)
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