Data transmission method and device based on queues and communication system

A data transmission method and technology of a data transmission device, applied in the field of communication, can solve the problems of low transmission reliability and low bandwidth utilization, and achieve the effects of reducing data discarding, improving bandwidth utilization, and reducing transmission
CN104052831AInactive Publication Date: 2014-09-17HUAWEI TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
HUAWEI TECH CO LTD
Publication Date
2014-09-17
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a data transmission method and device based on queues and a communication system and belongs to the technical field of communication. The data transmission method based on the queues comprises the steps that when the first queue has vacant positions, N data messages are written into a shared memory, and the N data messages are transmitted based on the first queue, wherein N is a positive integer and is larger than or equal to two, and the first queue is one queue or is one of multiple queues; a write pointer of the first queue in the storage memory is updated, wherein the value of the updated writer pointer is equal to the sum of the value of the original write pointer and N. According to the data transmission method and device based on the queues and the communication system, the N data messages are written into the shared memory, the write pointer of the first queue in the shared memory is updated, N is a positive integer and is larger than or equal to two, the value of the updated writer pointer is equal to the sum of the value of the original write pointer and N, the write pointer does not need to be sent when the data are sent, in this way, the sending frequency of the write pointer is reduced, the utilization rate of bandwidth is increased, the occurrence frequency of data loss caused when the transmission bandwidth is limited is reduced, and transmission stability is improved.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present invention relates to the technical field of communication, in particular to a queue-based data transmission method, device and communication system. Background technique

[0002] Queue-based data transfer is a common method for asynchronous transfers between two devices.

[0003] Taking data transmission from a first device to a second device as an example, the existing queue-based data transmission method includes: the first device constructs the data to be transmitted into a data message, and writes the data message into the first device and the second device. In the shared storage area of ​​the second device; the first device constructs the PD (Packet Descriptor, message descriptor) of the data message, constructs the PD of the data message as a descriptor message, and writes the descriptor message into the shared storage In the queue of the zone, the PD of the data message includes message information such as the storage address and le...

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