System and method for transmitting data

A data transmission method and a technology of a data transmission system, which are applied in the field of data communication, can solve problems such as fluctuations in data size, difficulty in allocation, and a large number of fragments in memory, so as to reduce system cost, improve system performance, and save memory resources.

Active Publication Date: 2007-07-11
HUAWEI TECH CO LTD
View PDF0 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Unless reserved memory is used, it is difficult to allocate a large block of contiguous memory after the system has been running for a while
At the same time, large fluctuations in the size of data communicated with peripherals can result in significant fragmentation of reserved memory

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
  • System and method for transmitting data
  • System and method for transmitting data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0024] The embodiment of the present invention is applicable to the operating system including the kernel, and the user program in the operating system and the kernel correspond to different address spaces. In the embodiment of the present invention, the buffer block indication information is dynamically exchanged between the peripheral device and the user program, and combined with Address mapping realizes zero copy of data between user programs and peripheral devices, which can greatly improve data transmission performance.

[0025] In the embodiment of the...

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 data transmission method is based on the realization of the main buffer area and inner core realization, with the said main buffer composed of at least two buffer blocks, with each buffer block having instructing information for each buffer block, and the method composed of acquiring at least an idle buffer block instructing information form the inner core by the No1 communicating party, and writing it to the corresponding idle buffer block, getting the instructing information of the buffer block of the bore data and reading corresponding bore data buffer block reading data. It also provides a data transmission system. It can realize data zero copy in two party's communication, with improved system performance, reduced precious internal memory and reduced system cost.

Description

technical field [0001] The invention belongs to the field of data communication, in particular to a method and system for data transmission between peripheral equipment and user programs. Background technique [0002] At present, in many special-purpose chip solutions, an embedded system architecture with a general-purpose central processing unit (Central Processing Unit, CPU) core plus a digital signal processing (Digital Signal Processing, DSP) engine, such as the Internet Protocol (IP) Internet Protocol, IP) processors, third-generation (3G) mobile phone chips, IP TV (IPTV) chips, etc. Linux is one of the mainstream operating systems used in embedded systems. [0003] In an embedded system built with Linux, data communication between peripheral devices such as input / output (I / O) devices and main memory outside the CPU core usually uses direct memory access (Direct Memory Access). Access, DMA) mode. Due to the limitation of the communication performance between the CPU ...

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 Applications(China)
IPC IPC(8): G06F13/28G06F12/08G06F12/0804
Inventor 陈康林南元
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products