WO2007109991A1 - A method, device and system for data packets transmission - Google Patents

A method, device and system for data packets transmission Download PDF

Info

Publication number
WO2007109991A1
WO2007109991A1 PCT/CN2007/000953 CN2007000953W WO2007109991A1 WO 2007109991 A1 WO2007109991 A1 WO 2007109991A1 CN 2007000953 W CN2007000953 W CN 2007000953W WO 2007109991 A1 WO2007109991 A1 WO 2007109991A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
data packet
high priority
control signal
packet
Prior art date
Application number
PCT/CN2007/000953
Other languages
French (fr)
Chinese (zh)
Inventor
Zhangzhen Jiang
Original Assignee
Huawei Technologies Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2007109991A1 publication Critical patent/WO2007109991A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2416Real-time traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2425Traffic characterised by specific attributes, e.g. priority or QoS for supporting services specification, e.g. SLA
    • H04L47/2433Allocation of priorities to traffic types
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/245Traffic characterised by specific attributes, e.g. priority or QoS using preemption

Definitions

  • the present invention relates to the field of information communication technologies, and in particular, to data transmission technologies, and in particular, to a data packet transmission method, apparatus and system. Background technique
  • the data forwarding device uses the Queuing Scheduling Mechanism in the egress scheduling service process.
  • the function of queue scheduling is how the router selects the next packet to be forwarded from one or more queues.
  • the queue scheduling is inherently different from the queue management mechanism. According to different service rules, the queue scheduling algorithm can be divided into the following types: First-to-First Service (FCFS), Round Robin, Processor Sharing, Priority Service, Random service, etc.
  • FCFS First-to-First Service
  • Round Robin Round Robin
  • Processor Sharing Priority Service
  • Random service etc.
  • queue scheduling algorithms there are two main types of queue scheduling algorithms: cyclic scheduling based algorithms and generalized processor sharing (GPS) algorithms.
  • the performance metrics that an effective queue scheduling algorithm should achieve are: fairness, delay characteristics, isolation of malicious traffic flows, utilization of link bandwidth, complexity, etc.
  • QoS Quality of Service
  • the algorithm based on the round-robin scheduling services each queue in turn, which implements the billing, but can not provide delay guarantee for the service.
  • round-robin scheduling services each queue in turn, which implements the billing, but can not provide delay guarantee for the service.
  • the scheduling algorithms based on general processor sharing mainly include: Weighted Fair Queuing (WFQ), Self-Clocked Fair Queuing (SCFQ), Virtual Clock (VC), etc. It is a weighted fair queuing that provides better fairness, delay characteristics, and isolation of malicious traffic. However, when the number of queues is large, the implementation complexity is large.
  • WFQ Weighted Fair Queuing
  • SCFQ Self-Clocked Fair Queuing
  • VC Virtual Clock
  • the above queue scheduling algorithms are based on the fact that the data packet is inseparable. To send a packet, the next packet must be sent after the packet has been sent. If a relatively long low priority packet has started to be sent but receives a high priority packet that is urgently needed to be sent, the high priority packet can only wait for transmission. Increased latency for high priority packets.
  • the scheduler only checks that the low priority packet L1 needs to be transmitted at time S1, and starts transmitting L1. At the next scheduling time S2, although there is a high priority HI packet to be sent, but L1 has not been sent yet, HI waits until L1 is sent before sending.
  • ATM divides the upper packet of the upper layer into small packets of equal length for transmission, so that the high priority packet needs to be sent with delay, and the delay is small.
  • the embodiment of the invention provides a data packet transmission method, device and system, which can timely transmit the delay of the high priority data packet and the low priority data packet.
  • An embodiment of the present invention provides a data packet transmission method, including the following steps:
  • the low priority data packet When a high priority data packet needs to be transmitted, the low priority data packet is temporarily suspended at the transmitting end, and the control signal and the high priority data packet are sent to the data receiving end;
  • the low priority data packet is continuously sent.
  • the embodiment of the invention provides a data packet transmission system, including:
  • a data transmitting device configured to temporarily suspend a low priority data packet when transmitting a high priority data packet, and send the control signal and the high priority data packet to the data receiving device; Receiving a data packet from the data transmitting device according to the control signal.
  • the embodiment of the invention further provides a data sending device, including:
  • a packet suspension module for temporarily suspending a low priority packet when a high priority packet needs to be transmitted
  • control module configured to send a handover control signal to the low priority data packet after suspension a data receiving device; and transmitting a resume control signal to the data receiving device when the high priority data packet is transmitted;
  • a data sending module configured to send the high priority data packet to the data receiving device after the control module sends the switching control signal
  • the data transmitting module continues to send the remaining low priority data packets to the data receiving device.
  • the embodiment of the invention further provides a data receiving device, including:
  • a first data storage module configured to receive a low priority data packet from the data transmitting device
  • a second data storage module configured to receive a high priority data packet from the data transmitting device
  • control module configured to: when receiving the handover control signal, instruct to store the received high priority data packet to the second data storage module, and instruct the data processing module to perform the received high priority data packet deal with;
  • a data processing module for processing the received data packet.
  • An embodiment of the present invention further provides a data sending method, including the following steps:
  • the low priority data packet to be sent is suspended at a specified time
  • the low priority data packet and the corresponding handover control signal are continuously sent to the receiving end.
  • data packet scheduling is performed according to the priority of the data packet, and high priority data packets are inserted in real time during the process of transmitting the data packet, and the high priority data packet is transmitted in time, thereby lowering the high priority.
  • the delay of the level data packet does not reduce the bandwidth utilization, and has strong practicability.
  • FIG. 2 is a schematic structural diagram of a data packet transmission system in an embodiment of the present invention.
  • FIG. 3 is a flowchart of a data packet transmission method in an embodiment of the present invention.
  • FIG. 4 is a schematic diagram showing a part of the flow of a data packet transmission method according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram showing a part of the flow of a data packet transmission method according to an embodiment of the present invention
  • FIG. 6 is a data in a specific embodiment of the present invention.
  • a flowchart of a packet transmission method
  • Figure 7 is a control code set recited in a specific embodiment of the present invention
  • FIG. 8 is a schematic diagram of inserting a control signal between two frames in a specific embodiment of the present invention
  • FIG. 9 is a schematic diagram of a data packet transmission state in a specific embodiment of the present invention.
  • Figure 10 is a timing chart of data packet transmission in a specific embodiment of the present invention. detailed description
  • the data packet transmission system 200 includes: a data transmitting device 202, for temporarily suspending a low priority data packet when an urgent high priority data packet needs to be transmitted, and then placing a control signal and a high priority The data packet is sent to the data receiving device; and the data receiving device 204 is configured to receive the data packet from the data transmitting device according to the control signal.
  • the control signal includes: a switching control signal for instructing the data receiving device to start receiving the high priority data packet; and a recovery control signal for instructing the data receiving device to start continuing to receive the low priority data packet.
  • the data sending device 202 includes: a data packet suspending module 202-2, configured to temporarily suspend a low priority data packet when an urgent high priority data packet needs to be transmitted; and a control module 202-4, for using a low priority After the level data packet is suspended, the switching control signal is sent to the data receiving device, and the recovery control signal is sent to the data receiving device when the emergency high priority data packet transmission is completed; and the data transmitting module 202-6 is used for controlling After transmitting the switching control signal, the signal transmitting module transmits the urgent high priority data packet to the data receiving device, and after the control signal transmitting module sends the resume control signal, continues to send the remaining low priority data packets to the data receiving device.
  • the data receiving device 204 includes:
  • the first data storage module 204-2 receives low priority data from the data transmitting device; the second data storage module 204-4 receives the urgent high priority data packet from the data transmitting device;
  • the data receiving control module 204-6 is configured to, when receiving the switching control signal, instruct to store the received high priority data packet to the second data storage module, and simultaneously instruct the data processing module to receive the received high priority data. Processing the packet; when receiving the resume control signal, instructing to store the received low priority data packet to the first data storage module;
  • the data processing module 204-8 is configured to process the received data packet.
  • one or more urgent high priority packets can be transmitted continuously.
  • the packet transmission method includes the following steps:
  • Step S302 when it is required to transmit an urgent high priority data packet, the data transmitting device temporarily suspends the low priority data packet, and then sends the control signal and the high priority data packet to the data receiving device;
  • Step S304 the data receiving device receives the data from the data transmitting device according to the control signal and performs processing.
  • the control signal includes: a switching control signal for instructing the data receiving device to start receiving the high priority data packet; and a recovery control signal for instructing the data receiving device to start continuing to receive the low priority data packet.
  • one or more urgent high priority packets can be transmitted continuously.
  • step S302 specifically includes:
  • Step 302-2 Temporarily advertise a low priority data packet when an urgent high priority data packet needs to be transmitted;
  • Step 302-4 switching the control signal and high priority after the low priority data packet is suspended
  • the data packet is sent to the data receiving device
  • Step 302-6 the resume control signal is sent to the data receiving device when the emergency high priority packet transmission is completed, and the remaining low priority data packets are continuously transmitted to the data receiving device.
  • FIG. 5 is a flowchart of a part of the flow of a data packet transmission method according to an embodiment of the present invention. As shown in FIG. 5, step 304 includes:
  • Step 304-2 when receiving the handover control signal, start receiving the high priority data packet, and storing the received high priority data packet to the second data storage module;
  • Step 304-4 processing the high priority packet after receiving the high priority packet;
  • Step 304-6 when receiving the recovery control signal, starting to receive the low priority packet, and receiving the received low priority
  • the level data packet is stored to the first data storage module.
  • FIG. 6 is a schematic diagram of a data packet transmission method in an embodiment of the present invention.
  • a part of the low priority data packet HI is temporarily suspended, and Sending the switching control signal to the receiving end, and then starting to send the urgent high priority data packet to be sent, the receiving end receives the switching control signal, switches to another data buffer, starts receiving the high priority data packet H2, and The high priority data packet H2 is stored in the switched data buffer and simultaneously processes the received high priority data packet H2.
  • the transmitting end When the high priority data packet H2 is sent, the transmitting end sends a resume control signal to the receiving end, and after receiving the resume control signal, the receiving end switches the data buffer to the previous data buffer, and starts receiving the previously received remaining low priority data.
  • Package Hl When the high priority data packet H2 is sent, the transmitting end sends a resume control signal to the receiving end, and after receiving the resume control signal, the receiving end switches the data buffer to the previous data buffer, and starts receiving the previously received remaining low priority data.
  • the scheduler finds that a high priority message needs to be sent at the time of scheduling.
  • the second case is triggered after the high priority queue receives the packet.
  • the data packet transmission method provided by the embodiment of the present invention can be applied to Ethernet, and can also be applied to technologies such as Fibre Channel (Fiber Channel) and Fiber Optic Connection (FICON).
  • Fibre Channel Fibre Channel
  • FICON Fiber Optic Connection
  • the network structure of packet transmission such as the physical layer with control coding
  • Ethernet 4B/5B, 8B/10B, 64B/66B or other forms of physical layer coding define special packet transmission switching and recovery
  • the control code is used as a control signal.
  • code bits In a block coding system, if the code space is larger than the data space, there may be some unused The code bits, they do not correspond to any data values. These code bits can be used to control, for example, the start and end of a frame, the idle wait or bearer extension signal, an error prompt, and so on. For example, 4B/5B and 8B/10B encoding in Ethernet. There are a lot of code sets for control that are called ordered sets. The table shown in Figure 7.
  • Ethernet According to the process of frame transmission, there are many codes for control between two frames. As shown in FIG. 8, the control signal in the embodiment of the present invention can be inserted between two frames.
  • FIG. 9 is a schematic diagram of a data packet transmission state in an embodiment of the present invention.
  • the control symbols i.e., control signals
  • K28.2 and K28.3 which may be other control characters in the control character set.
  • the receiver has at least one special extra buffer (Buffer) that can receive high-priority instructions for emergency insertion: packets, of course, are better.
  • Buffer special extra buffer
  • the low priority data being sent is aborted, a data pending control (such as K28.2) is inserted, and then a high priority packet is sent. After the transmission is completed, the K28.3 control character for unsuspending is sent. Then continue to send the rest of the package.
  • a data pending control such as K28.2
  • K28.3 control character for unsuspending is sent. Then continue to send the rest of the package.
  • the receiving end After receiving the pending control word at time t1, the receiving end switches the buffer and receives the high priority data packet with another buffer. At t2, the unsuspended control word is received, the cache is switched to the low priority, and the complete low priority data packet is received at t3. At this time, the data packet in the high priority cache has been processed, thus reducing The delay of high priority packets.
  • the sender receives a high-priority packet, and can continue to insert the high-priority packet to be transmitted.
  • low priority packets may be suspended at specified times, such as periodically, to send high priority packets.
  • the specific steps of data transmission include:
  • a high-priority service A is configured, such as 2MBits/s, which accounts for 1/50 of the total bandwidth.
  • the transmit scheduler takes 12500 bytes as a scheduling period (1ms period), then this service occupies 250 bytes. For a fixed position in each cycle. It is also possible to allocate two more bytes of time slot width for transmitting control characters, thus occupying 252 bytes.
  • the data transmission process in the embodiment of the present invention is as follows:
  • Packet P1 length 12000 bytes, in the process of being sent, to the high priority service
  • the transmission slot T of A at this time, the packet PI transmits 2000 bytes.
  • the controller sends a start switch control character of 1 byte, then sends a high priority message P2, a length of 250 bytes, and then sends an end switch control character of 1 byte. The entire time slot just runs out. The remaining 10000 bytes of packet P1 are then transmitted.
  • the packet P1 After the packet P1 is sent, it will then send other packets, such as P3, with a length of 20000 bytes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Communication Control (AREA)

Abstract

A method and system for data packets transmission, the method includes: when it needs to transmit data packets of high priority, the data transmitter (202) hangs up data packets of low priority temporarily, then it transmits control signal and data packets of high priority to the data receiver (204) (S302); The data receiver (204) receives data packets from the data transmitter (202) and carries out processing on them according to the control signal (S304).The system (200) includes: a data transmitter (202), used to hang up data packets of low priority temporarily when it needs to transmit data packets of high priority, and transmit control signal and data packets of high priority to the data receiver (204); and a data receiver (204),used to receive data packets from the data transmitter (202) according to the control signal. By use of this invention, it can transmit data packets of high priority in time, reduce the delay of data packets of high priority, and it cannot reduce the availability of the bandwidth as well.

Description

数据包传输方法、 装置和系统  Packet transmission method, device and system
本申请要求于 2006 年 03 月 24 日提交中国专利局、 申请号为 200610066158.4、 发明名称为 "数据包传输系统和方法" 的中国专利申请 的优先权, 其全部内容通过引用结合在本申请中。 技术械  The present application claims priority to Chinese Patent Application No. 200610066158.4, filed on Jan. 24, 2006, which is incorporated herein by reference. Technical equipment
本发明涉及信息通信技术领域, 尤其涉及数据传输技术, 具体地说, 涉及一种数据包传输方法、 装置和系统。 背景技术  The present invention relates to the field of information communication technologies, and in particular, to data transmission technologies, and in particular, to a data packet transmission method, apparatus and system. Background technique
目前, 数据转发设备在出口调度业务过程中都会用到队列调度机制 ( Queuing Scheduling Mechanism )。 队列调度的功能是路由器如何从一个 或多个队列中选择下一个待转发的分组, 队列调度与队列管理机制有着本 质的区别。 根据不同的服务规则, 队列调度算法可以分为以下几种: 先到 先服务(FCFS, First-Come First-Service ), 循环调度( Round Robin )、 处 理机共享(Processor Sharing )、 优先级服务、 随机服务等。  Currently, the data forwarding device uses the Queuing Scheduling Mechanism in the egress scheduling service process. The function of queue scheduling is how the router selects the next packet to be forwarded from one or more queues. The queue scheduling is inherently different from the queue management mechanism. According to different service rules, the queue scheduling algorithm can be divided into the following types: First-to-First Service (FCFS), Round Robin, Processor Sharing, Priority Service, Random service, etc.
目前已出现的队列调度算法主要有: 基于循环调度的算法、 基于通用 处理机共享(GPS, Generalized Processor Sharing )的算法两大类。 一个有 效的队列调度算法应达到的性能指标主要有: 公平性、 时延特性、 对恶意 业务流的隔离能力、 链路带宽的利用率、 复杂性等, 前 4个指标与服务质 量 ( QoS, Quality of Service ) 密切相关。  Currently, there are two main types of queue scheduling algorithms: cyclic scheduling based algorithms and generalized processor sharing (GPS) algorithms. The performance metrics that an effective queue scheduling algorithm should achieve are: fairness, delay characteristics, isolation of malicious traffic flows, utilization of link bandwidth, complexity, etc. The first four indicators and quality of service (QoS, Quality of Service ) is closely related.
基于循环调度的算法是轮流地对每个队列进行服务, 其实现筒单, 但 不能对业务提供时延保证, 目前主要有加权轮询 ( Weighted Round Robin )、 差额轮询 ( Deficit Round Robin )等。  The algorithm based on the round-robin scheduling services each queue in turn, which implements the billing, but can not provide delay guarantee for the service. At present, there are mainly weighted round Robin, Deficit Round Robin, etc. .
基于通用处理机共享的调度算法目前主要有: 加权公平排队(WFQ, Weighted Fair Queuing ) , 自时钟公平排队 ( SCFQ , Self-Clocked Fair Queuing ), 虚拟时钟(VC, Virtual Clock )等, 它们 (尤其是加权公平排 队)能提供较好的公平性、 时延特性以及对恶意业务流的隔离能力, 但当 队列数较多时, 其实现复杂度较大。  The scheduling algorithms based on general processor sharing mainly include: Weighted Fair Queuing (WFQ), Self-Clocked Fair Queuing (SCFQ), Virtual Clock (VC), etc. It is a weighted fair queuing that provides better fairness, delay characteristics, and isolation of malicious traffic. However, when the number of queues is large, the implementation complexity is large.
但是以上的队列调度算法都是基于数据包是不可分割的, 一旦开始发 送某个数据包, 必须在该数据包发送完毕以后才开始启动发送下一个数据 包。 如果有一个比较长的低优先级数据包已经开始发送, 但是收到一个急 需发送的高优先级数据包, 那么高优先级数据包只能等待发送。 增加了高 优先级数据包的延时。 But the above queue scheduling algorithms are based on the fact that the data packet is inseparable. To send a packet, the next packet must be sent after the packet has been sent. If a relatively long low priority packet has started to be sent but receives a high priority packet that is urgently needed to be sent, the high priority packet can only wait for transmission. Increased latency for high priority packets.
根据相关技术的数据包传输方法, 如图 1所示, 调度器在时间 S1只 检查到低优先级数据包 L1需要发送, 就开始发送 Ll。 在下一个调度时间 S2, 尽管有高优先级的 HI包需要发送, 但是 L1还没有发送完毕, HI等 待 L1发送完毕以后才开始发送。  According to the packet transmission method of the related art, as shown in Fig. 1, the scheduler only checks that the low priority packet L1 needs to be transmitted at time S1, and starts transmitting L1. At the next scheduling time S2, although there is a high priority HI packet to be sent, but L1 has not been sent yet, HI waits until L1 is sent before sending.
目前, ATM将上层的长数据包划分成等长的小数据包来发送, 那么 高优先级的数据包就算需要延时发送, 延时也很小。  At present, ATM divides the upper packet of the upper layer into small packets of equal length for transmission, so that the high priority packet needs to be sent with delay, and the delay is small.
但是, 分割成小数据包带来很大的系统开销, 带宽利用率低而且分包 和组包的处理 4艮复杂。 所以, 需要一种能够减少延时而又不增加系统开销 的数据包传输方法。 发明内容  However, splitting into small packets results in large system overhead, low bandwidth utilization, and the complexity of packet and packet processing. Therefore, there is a need for a data packet transmission method that can reduce latency without increasing system overhead. Summary of the invention
本发明实施例提供一种数据包传输方法、 装置和系统, 可及时地传输 该'高优先级数据包, 低高优先级数据包的时延。  The embodiment of the invention provides a data packet transmission method, device and system, which can timely transmit the delay of the high priority data packet and the low priority data packet.
本发明实施例提供一种数据包传输方法, 包括以下步骤:  An embodiment of the present invention provides a data packet transmission method, including the following steps:
当需要传输高优先级数据包时 , 在发送端将低优先级数据包暂时挂 起, 并将控制信号和所述高优先级数据包发送至数据接收端;  When a high priority data packet needs to be transmitted, the low priority data packet is temporarily suspended at the transmitting end, and the control signal and the high priority data packet are sent to the data receiving end;
当所述高优先级数据包发送完毕后, 继续发送所述低优先级数据包。 After the high priority data packet is sent, the low priority data packet is continuously sent.
本发明实施例提供一种数据包传输系统, 包括:  The embodiment of the invention provides a data packet transmission system, including:
数据发送装置, 用于在需要传输高优先级数据包时, 将低优先级数据 包暂时挂起, 将控制信号和所述高优先级数据包发送至数据接收装置; 所迷数据接收装置, 用于根据所述控制信号接收来自所述数据发送装 置的数据包。  a data transmitting device, configured to temporarily suspend a low priority data packet when transmitting a high priority data packet, and send the control signal and the high priority data packet to the data receiving device; Receiving a data packet from the data transmitting device according to the control signal.
本发明实施例还提供一种数据发送装置, 包括:  The embodiment of the invention further provides a data sending device, including:
数据包挂起模块, 用于当需要传输高优先级数据包时, 将低优先级数 据包暂时挂起;  a packet suspension module for temporarily suspending a low priority packet when a high priority packet needs to be transmitted;
控制模块, 用于在所述低优先级数据包挂起后将切换控制信号发送至 数据接收装置; 并在所述高优先级数据包传输完毕时, 将恢复控制信号发 送至所述数据接收装置; a control module, configured to send a handover control signal to the low priority data packet after suspension a data receiving device; and transmitting a resume control signal to the data receiving device when the high priority data packet is transmitted;
数据发送模块, 用于在所述控制模块发送所述切换控制信号之后, 将 所述高优先级数据包发送至所述数据接收装置;  a data sending module, configured to send the high priority data packet to the data receiving device after the control module sends the switching control signal;
在所述控制模块发送所述恢复控制信号之后, 所述数据发送模块将剩 余的低优先级数据包继续发送至所述数据接收装置。  After the control module sends the resume control signal, the data transmitting module continues to send the remaining low priority data packets to the data receiving device.
本发明实施例还提供一种数据接收装置, 包括:  The embodiment of the invention further provides a data receiving device, including:
第一数据存储模块, 用于接收来自所述数据发送装置的低优先级数据 包;  a first data storage module, configured to receive a low priority data packet from the data transmitting device;
第二数据存储模块, 用于接收来自所述数据发送装置的高优先级数据 包;  a second data storage module, configured to receive a high priority data packet from the data transmitting device;
控制模块, 用于当接收到切换控制信号时, 指示将接收到的高优先级 数据包存储到所述第二数据存储模块, 并且指示数据处理模块对接收到的 所述高优先级数据包进行处理;  a control module, configured to: when receiving the handover control signal, instruct to store the received high priority data packet to the second data storage module, and instruct the data processing module to perform the received high priority data packet deal with;
当接收到恢复控制信号时,指示将接收到的低优先级数据包存储到所 述第一数据存储模块;  Receiving, when receiving the resume control signal, storing the received low priority data packet to the first data storage module;
数据处理模块, 用于处理接收到的数据包。  A data processing module for processing the received data packet.
本发明实施例还提供一种数据发送方法, 包括以下步骤:  An embodiment of the present invention further provides a data sending method, including the following steps:
进行数据传输过程中, 在指定时刻将所要发送的低优先级数据包挂 起;  During the data transmission process, the low priority data packet to be sent is suspended at a specified time;
发送高优先级的数据及相应的控制信号给接收端;  Sending high priority data and corresponding control signals to the receiving end;
当所述高优先级数据的发送时隙结束时, 继续发送所述低优先级数据包及 相应的切换控制信号给接收端。 When the transmission time slot of the high priority data ends, the low priority data packet and the corresponding handover control signal are continuously sent to the receiving end.
本发明实施例提供的技术方案中,根据数据包的优先级进行数据包调 度, 在发送数据包的过程中实时地插入高优先级数据包, 及时地传输高优 先级数据包, 降低了高优先级数据包的延时, 同时不会降低带宽利用率, 具有很强的实用性。 附图说明  In the technical solution provided by the embodiment of the present invention, data packet scheduling is performed according to the priority of the data packet, and high priority data packets are inserted in real time during the process of transmitting the data packet, and the high priority data packet is transmitted in time, thereby lowering the high priority. The delay of the level data packet does not reduce the bandwidth utilization, and has strong practicability. DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一 部分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发 明的限定。 在附图中: The drawings described herein are provided to provide a further understanding of the invention and constitute a In part, the illustrative embodiments of the invention and the description thereof are intended to illustrate the invention and are not intended to limit the invention. In the drawing:
图 1是根据现有技术的传统的数据包传输方法;  1 is a conventional data packet transmission method according to the prior art;
图 2是本发明实施例中的数据包传输系统的结构示意图;  2 is a schematic structural diagram of a data packet transmission system in an embodiment of the present invention;
图 3是本发明实施例中的数据包传输方法的流程图;  3 is a flowchart of a data packet transmission method in an embodiment of the present invention;
图 4是本发明实施例中的数据包传输方法的部分流程的示意图; 图 5是本发明实施例中的数据包传输方法的部分流程的示意图; 图 6是本发明的具体实施例中的数据包传输方法的流程图; 图 7是本发明的具体实施例中列举的控制代码集;  4 is a schematic diagram showing a part of the flow of a data packet transmission method according to an embodiment of the present invention; FIG. 5 is a schematic diagram showing a part of the flow of a data packet transmission method according to an embodiment of the present invention; and FIG. 6 is a data in a specific embodiment of the present invention. A flowchart of a packet transmission method; Figure 7 is a control code set recited in a specific embodiment of the present invention;
图 8是本发明的具体实施例中在两帧之间插入控制信号的示意图; 图 9是本发明的具体实施例中的数据包传输状态示意图;  8 is a schematic diagram of inserting a control signal between two frames in a specific embodiment of the present invention; FIG. 9 is a schematic diagram of a data packet transmission state in a specific embodiment of the present invention;
图 10是本发明的具体实施例中的数据包发送时序图。 具体实施方式  Figure 10 is a timing chart of data packet transmission in a specific embodiment of the present invention. detailed description
下面将参考附图详细描述本发明的具体实现方案。  Specific implementations of the present invention will be described in detail below with reference to the accompanying drawings.
如图 2所示, 该数据包传输系统 200包括: 数据发送装置 202, 用于 当需要传输紧急的高优先级数据包时, 将低优先级数据包暂时挂起, 然后 将控制信号和高优先级数据包发送至数据接收装置; 以及数据接收装置 204, 用于根据控制信号接收来自数据发送装置的 :据包。  As shown in FIG. 2, the data packet transmission system 200 includes: a data transmitting device 202, for temporarily suspending a low priority data packet when an urgent high priority data packet needs to be transmitted, and then placing a control signal and a high priority The data packet is sent to the data receiving device; and the data receiving device 204 is configured to receive the data packet from the data transmitting device according to the control signal.
控制信号包括: 切换控制信号, 用于指示数据接收装置开始接收高优 先级数据包; 以及恢复控制信号, 用于指示数据接收装置开始继续接收低 优先级数据包。  The control signal includes: a switching control signal for instructing the data receiving device to start receiving the high priority data packet; and a recovery control signal for instructing the data receiving device to start continuing to receive the low priority data packet.
数据发送装置 202包括: 数据包挂起模块 202-2, 用于当需要传输紧 急的高优先级数据包时, 将低优先级数据包暂时挂起; 控制模块 202-4, 用于在低优先级数据包挂起后将切换控制信号发送至数据接收装置, 以及 在紧急的高优先级数据包传输完毕时将恢复控制信号发送至数据接收装 置; 以及数据发送模块 202-6, 用于在控制信号发送模块发送切换控制信 号之后, 将紧急的高优先级数据包发送至数据接收装置, 以及在控制信号 发送模块发送恢复控制信号之后, 将剩余的低优先级数据包继续发送至数 据接收装置。 数据接收装置 204包括: The data sending device 202 includes: a data packet suspending module 202-2, configured to temporarily suspend a low priority data packet when an urgent high priority data packet needs to be transmitted; and a control module 202-4, for using a low priority After the level data packet is suspended, the switching control signal is sent to the data receiving device, and the recovery control signal is sent to the data receiving device when the emergency high priority data packet transmission is completed; and the data transmitting module 202-6 is used for controlling After transmitting the switching control signal, the signal transmitting module transmits the urgent high priority data packet to the data receiving device, and after the control signal transmitting module sends the resume control signal, continues to send the remaining low priority data packets to the data receiving device. The data receiving device 204 includes:
第一数据存储模块 204-2, 接收来自数据发送装置的低优先级数据; 第二数据存储模块 204-4, 接收来自数据发送装置的紧急高优先级数 据包;  The first data storage module 204-2 receives low priority data from the data transmitting device; the second data storage module 204-4 receives the urgent high priority data packet from the data transmitting device;
数据接收控制模块 204-6, 用于当接收到切换控制信号时, 指示将接 收到的高优先级数据包存储到第二数据存储模块 , 并且同时指示数据处理 模块对接收到的高优先级数据包进行处理; 当接收到恢复控制信号时, 指 示将接收到的低优先级数据包存储到第一数据存储模块; 以及  The data receiving control module 204-6 is configured to, when receiving the switching control signal, instruct to store the received high priority data packet to the second data storage module, and simultaneously instruct the data processing module to receive the received high priority data. Processing the packet; when receiving the resume control signal, instructing to store the received low priority data packet to the first data storage module;
数据处理模块 204-8, 用于处理接收到的 :据包。  The data processing module 204-8 is configured to process the received data packet.
当有多个高优先级数据包时, 可以连续传输一个或多个紧急的高优先 级数据包。  When there are multiple high priority packets, one or more urgent high priority packets can be transmitted continuously.
实施例 1  Example 1
图 3是本发明实施例中的数据包传输方法的流程图。该数据包传输方 法包括以下步骤:  3 is a flow chart of a data packet transmission method in an embodiment of the present invention. The packet transmission method includes the following steps:
步骤 S302, 当需要传输紧急的高优先级数据包时,数据发送装置将低 优先级数据包暂时挂起, 然后将控制信号和高优先级数据包发送至数据接 收装置;  Step S302, when it is required to transmit an urgent high priority data packet, the data transmitting device temporarily suspends the low priority data packet, and then sends the control signal and the high priority data packet to the data receiving device;
步骤 S304,数据接收装置根据控制信号接收来自数据发送装置的数据 并进行处理。  Step S304, the data receiving device receives the data from the data transmitting device according to the control signal and performs processing.
控制信号包括: 切换控制信号, 用于指示数据接收装置开始接收高优 先级数据包; 以及恢复控制信号, 用于指示数据接收装置开始继续接收低 优先级数据包。  The control signal includes: a switching control signal for instructing the data receiving device to start receiving the high priority data packet; and a recovery control signal for instructing the data receiving device to start continuing to receive the low priority data packet.
当有多个高优先级数据包时,可以连续传输一个或多个紧急的高优先 级数据包。  When there are multiple high priority packets, one or more urgent high priority packets can be transmitted continuously.
图 4是本发明实施例的数据包传输方法的部分流程, 如图 4所示, 前 述步驟 S302具体包括:  4 is a partial flow of a data packet transmission method according to an embodiment of the present invention. As shown in FIG. 4, the foregoing step S302 specifically includes:
步骤 302-2, 当需要传输紧急的高优先级数据包时, 将低优先级数据 包暂时桂起;  Step 302-2: Temporarily advertise a low priority data packet when an urgent high priority data packet needs to be transmitted;
步骤 302-4, 在低优先级数据包挂起之后将切换控制信号和高优先级 数据包发送至数据接收装置; Step 302-4, switching the control signal and high priority after the low priority data packet is suspended The data packet is sent to the data receiving device;
步驟 302-6, 在紧急的高优先级 据包传输完毕时将恢复控制信号发 送至数据接收装置, 将剩余的低优先级数据包继续发送至数据接收装置。  Step 302-6, the resume control signal is sent to the data receiving device when the emergency high priority packet transmission is completed, and the remaining low priority data packets are continuously transmitted to the data receiving device.
图 5是本发明实施例的数据包传输方法的部分流程的流程图。 如图 5 所示, 步骤 304包括:  FIG. 5 is a flowchart of a part of the flow of a data packet transmission method according to an embodiment of the present invention. As shown in FIG. 5, step 304 includes:
步骤 304-2, 当接收到切换控制信号时, 开始接收高优先级数据包, 并将接收到的高优先级数据包存储到第二数据存储模块;  Step 304-2, when receiving the handover control signal, start receiving the high priority data packet, and storing the received high priority data packet to the second data storage module;
步骤 304-4, 在接收到高优先级数据包后对高优先级数包进行处理; 步骤 304-6, 当接收到恢复控制信号时, 开始接收低优先级数据包, 将接收到的低优先级数据包存储到第一数据存储模块。  Step 304-4, processing the high priority packet after receiving the high priority packet; Step 304-6, when receiving the recovery control signal, starting to receive the low priority packet, and receiving the received low priority The level data packet is stored to the first data storage module.
图 6是本发明实施例中的数据包传输方法的示意图。 如图 6所示, 当 需要发送紧急的高优先级数据包时, 为了保障高优先级数据包的延时和延 时抖动性, 将发送了一部分的低优先级数据包 HI暂时挂起, 并将切换控 制信号发送到接收端, 然后开始发送需要发送的紧急高优先级数据包, 接 收端接收到切换控制信号后切换到另外一个数据缓存, 开始接收该高优先 级数据包 H2,并将该高优先级数据包 H2存储在所切换到的数据緩存中并 且同时对接收到的高优先级数据包 H2进行处理。  FIG. 6 is a schematic diagram of a data packet transmission method in an embodiment of the present invention. As shown in FIG. 6, when an urgent high priority data packet needs to be transmitted, in order to guarantee the delay and delay jitter of the high priority data packet, a part of the low priority data packet HI is temporarily suspended, and Sending the switching control signal to the receiving end, and then starting to send the urgent high priority data packet to be sent, the receiving end receives the switching control signal, switches to another data buffer, starts receiving the high priority data packet H2, and The high priority data packet H2 is stored in the switched data buffer and simultaneously processes the received high priority data packet H2.
当发送完高优先级数据包 H2时,发送端向接收端发送恢复控制信号, 接收端接收到恢复控制信号后将数据緩存切换至先前的数据緩存, 并且开 始接收先前接收的剩余低优先级数据包 Hl。  When the high priority data packet H2 is sent, the transmitting end sends a resume control signal to the receiving end, and after receiving the resume control signal, the receiving end switches the data buffer to the previous data buffer, and starts receiving the previously received remaining low priority data. Package Hl.
触发插入高优先级数据包有两种情况: 第一种情况为调度器在调度时 刻发现有高优先级报文需要发送。 第二种情况为高优先级队列收到数据包 之后触发。  There are two cases in which a high priority packet is triggered. In the first case, the scheduler finds that a high priority message needs to be sent at the time of scheduling. The second case is triggered after the high priority queue receives the packet.
本发明实施例提供的数据包传输方法可以应用到以太网, 也可以应用 到光纤通道(Fiber Channel )、 光纤连接 ( FICON )等技术中。 在数据包传 送的网络结构 (比如具有控制编码的物理层) 中, 比如以太网的 4B/5B、 8B/10B, 64B/66B或其它形式的物理层编码, 定义特殊的数据包传送切换 和恢复控制编码作为控制信号。  The data packet transmission method provided by the embodiment of the present invention can be applied to Ethernet, and can also be applied to technologies such as Fibre Channel (Fiber Channel) and Fiber Optic Connection (FICON). In the network structure of packet transmission (such as the physical layer with control coding), such as Ethernet 4B/5B, 8B/10B, 64B/66B or other forms of physical layer coding, define special packet transmission switching and recovery The control code is used as a control signal.
在块编码系统中, 如果代码空间比数据空间大, 可能会有一些未用到 的代码位, 它们不对应于任何数据值。 这些代码位可以用于控制, 例如, 划定帧的开始与结束、 空闲等待或承载扩展信号、 出错提示等等。 比如以 太网中的 4B/5B、 8B/10B编码。 其中有很多用于控制的代码集, 被成为有 序集。 如图 7所示的表。 In a block coding system, if the code space is larger than the data space, there may be some unused The code bits, they do not correspond to any data values. These code bits can be used to control, for example, the start and end of a frame, the idle wait or bearer extension signal, an error prompt, and so on. For example, 4B/5B and 8B/10B encoding in Ethernet. There are a lot of code sets for control that are called ordered sets. The table shown in Figure 7.
以太网 :据帧传送的过程中, 两个帧之间就有很多用于控制的编码, 如图 8所示, 可以将本发明实施例中的控制信号插入两帧之间。  Ethernet: According to the process of frame transmission, there are many codes for control between two frames. As shown in FIG. 8, the control signal in the embodiment of the present invention can be inserted between two frames.
图 9是本发明实施例中的数据包传输状态示意图。本发明实施例通过 采用控制编码挂起已发送包, 定义挂起和解除挂起的控制符(即, 控制信 号)是 K28.2和 K28.3 (可以是控制字符集中的其他控制符)。  FIG. 9 is a schematic diagram of a data packet transmission state in an embodiment of the present invention. In the embodiment of the present invention, by using the control code to suspend the transmitted packet, the control symbols (i.e., control signals) that define suspend and unsuspend are K28.2 and K28.3 (which may be other control characters in the control character set).
接收端至少有一个特殊的额外緩存 ( Buffer )可以接收紧急插入的高 优先级教:据包, 当然多一些更好。  The receiver has at least one special extra buffer (Buffer) that can receive high-priority instructions for emergency insertion: packets, of course, are better.
在 tl时,正在发送的低优先级数据被中止发送,插入一个数据挂起的 控制符(比如是 K28.2 ), 然后发送高优先级数据包。 发送完毕以后, 发送 解除挂起的 K28.3控制符。 然后继续发送被桂起包的剩余部分。  At tl, the low priority data being sent is aborted, a data pending control (such as K28.2) is inserted, and then a high priority packet is sent. After the transmission is completed, the K28.3 control character for unsuspending is sent. Then continue to send the rest of the package.
接收端在 tl时刻收到挂起控制字后,切换緩存,用另一个緩存接收高 优先级数据包。 在 t2时收到解除挂起的控制字, 切换緩存到低优先级, 在 t3时收到完整的低优先级数据包, 此时, 高优先级緩存中的数据包已经被 处理完了, 这样降低了高优先级数据包的延时。  After receiving the pending control word at time t1, the receiving end switches the buffer and receives the high priority data packet with another buffer. At t2, the unsuspended control word is received, the cache is switched to the low priority, and the complete low priority data packet is received at t3. At this time, the data packet in the high priority cache has been processed, thus reducing The delay of high priority packets.
存在连续插入高优先级数据包的情况, 比如, 前一个高优先级数据包 插入发送尚未结束, 发送端又收到了一个高优先级数据包, 可以继续插入 需要发送的高优先级数据包。  In the case where a high-priority packet is continuously inserted, for example, the previous high-priority packet insertion and transmission have not yet ended, and the sender receives a high-priority packet, and can continue to insert the high-priority packet to be transmitted.
实施例 2  Example 2
在本发明的具体实施方案中, 可根据情况在指定时间, 如周期性地定 时, 挂起低优先级数据包, 以发送高优先级的数据包。 数据传输的具体步 骤包括:  In a particular embodiment of the invention, low priority packets may be suspended at specified times, such as periodically, to send high priority packets. The specific steps of data transmission include:
51001 , 在指定时刻, 挂起低优先级数据包的发送;  51001, suspends the sending of low priority packets at a specified time;
51002, 发送切换指令并随后发送高优先级的数据;  51002, sending a switching instruction and then transmitting high priority data;
51003 , 高优先級数据发送时隙结束时, 发送高优先级数据结束指令 进行切换; 或者 高优先级数据发送时隙结束时, 自动进行切换,不需要发送控制指令; S1004, 继续发送低优先级数据包。 51003, when the high priority data transmission time slot ends, sending a high priority data end instruction to switch; or When the high priority data transmission time slot ends, the automatic switching is performed, and no control command is required to be sent; S1004, the low priority data packet is continuously transmitted.
在一个速度为 100Mbits/s的以太网接口(经过 8B/10B编码后的物理速 率为 125Mbits/s )上, 配置了一条高优先级的业务 A, 比如 2MBits/s, 占 总带宽的 1/50。  On a 100Mbits/s Ethernet interface (with a physical rate of 125Mbits/s after 8B/10B encoding), a high-priority service A is configured, such as 2MBits/s, which accounts for 1/50 of the total bandwidth. .
发送调度器按 12500个字节为一个调度周期(周期 1ms ) , 那么这条 业务占 250个字节。 对于每个周期中的固定位置。 也可以多分配两个字节 的时隙宽度用于传送控制字符, 这样就占 252个字节。  The transmit scheduler takes 12500 bytes as a scheduling period (1ms period), then this service occupies 250 bytes. For a fixed position in each cycle. It is also possible to allocate two more bytes of time slot width for transmitting control characters, thus occupying 252 bytes.
参照图 10, 本发明实施例中数据传输过程如下:  Referring to FIG. 10, the data transmission process in the embodiment of the present invention is as follows:
分组 P1 , 长度 12000字节, 正在发送过程中, 到了高优先级的业务 Packet P1, length 12000 bytes, in the process of being sent, to the high priority service
A的发送时隙 Thl , 此时分组 PI发送了 2000字节。 The transmission slot T of A, at this time, the packet PI transmits 2000 bytes.
控制器发送启动切换控制符 1个字节, 然后发送高优先级报文 P2, 长度 250字节, 然后发送结束切换控制符 1个字节。 整个时隙刚好用完。 接着发送分组 P1的剩余 10000个字节。  The controller sends a start switch control character of 1 byte, then sends a high priority message P2, a length of 250 bytes, and then sends an end switch control character of 1 byte. The entire time slot just runs out. The remaining 10000 bytes of packet P1 are then transmitted.
分组 P1发送完毕后,接着发送其它分组, 比如 P3,长度 20000字节。 After the packet P1 is sent, it will then send other packets, such as P3, with a length of 20000 bytes.
P3发送了一部分以后, 到了高优先级的业务 A的发送时隙 Th2。 控制器发送启动切换控制符 1个字节, 然后发送高优先级报文 P4, 长度 200字节, 然后发送结束切换控制符 1个字节。 整个时隙未用完。 接 着发送分组 P3的剩余 10000个字节。 After P3 sends a part, it reaches the transmission slot Th2 of the high priority service A. The controller sends a start switch control character of 1 byte, then sends a high priority message P4, a length of 200 bytes, and then sends an end switch control character of 1 byte. The entire time slot has not been used up. The remaining 10000 bytes of the packet P3 are then transmitted.
实施例 3  Example 3
本发明提供的另一实施例中数据传输的具体步骤包括:  The specific steps of data transmission in another embodiment provided by the present invention include:
51101 , 在指定时刻, 挂起低优先级数据包的发送;  51101, suspending the sending of low priority data packets at a specified time;
51102, 发送切换指令并随后发送高优先级的数据;  51102, sending a switching instruction and then sending high priority data;
51103 , 高优先级数据发送完毕, 且发送时隙未到结束时间, 发送高 优先级数据结束指令进行切换;  51103, the high priority data is sent, and the sending time slot has not reached the end time, and the high priority data end instruction is sent to switch;
51104, 继续发送低优先级数据包。  51104, continue to send low priority packets.
在一个速度为 100Mbits/s的以太网接口 (经过 8B/10B编码后的物理 速率为 125Mbits/s )上,如果配置了一条高优先级的业务 A,比如 2MBits/s, 占总带宽的 1/50。 发送调度器按 12500个字节为一个调度周期(周期 1ms ) , 那么这条 业务占 250个字节。 对于每个周期中的固定位置。 当然也可以多分配两个 字节的时隙宽度用于传送控制字符, 这样就占 252个字节。 On an Ethernet interface with a speed of 100 Mbits/s (physical rate of 125 Mbits/s after 8B/10B encoding), if a high priority service A is configured, such as 2 MBits/s, it accounts for 1/1 of the total bandwidth. 50. The transmission scheduler takes 12500 bytes as a scheduling period (cycle 1ms), then this service occupies 250 bytes. For a fixed position in each cycle. Of course, it is also possible to allocate two bytes of the slot width for transmitting control characters, thus occupying 252 bytes.
参照图 10, 本发明实施例中数据传输过程如下:  Referring to FIG. 10, the data transmission process in the embodiment of the present invention is as follows:
分組 P1 , 长度 12000字节, 正在发送的过程中, 到了高优先级的业 务 A的发送时隙, 此时分组 P1发送了 2000字节。  The packet P1, which is 12000 bytes in length, is in the process of being sent, and the transmission slot of the high priority service A is reached. At this time, the packet P1 transmits 2000 bytes.
控制器发送启动切换控制符 1个字节, 然后发送高优先级报文 P2, 长 度 400字节, 发送到 250字节时, 时隙结束, 发送结束切换控制符 1个字 节。 接着发送分组 P1的剩余 10000个字节。  The controller sends a start switch control character of 1 byte, then sends a high priority message P2, which is 400 bytes long. When it is sent to 250 bytes, the time slot ends, and the transmission end switch control character is 1 byte. The remaining 10000 bytes of packet P1 are then transmitted.
分组 P1发送完毕后,接着发送其它分組, 比如 P3,长度 20000字节。 After the packet P1 is sent, it will then send other packets, such as P3, with a length of 20000 bytes.
P3发送了一部分以后, 到了高优先级的业务 A的发送时隙。 After P3 sends a part, it reaches the transmission slot of the high priority service A.
控制器发送启动切换控制符 1个字节, 然后发送高优先级报文 P2的 剩余部分, 长度 150字节, 发送完 P2后, 没有其它高优先级报文需要发 送, 则发送结束切换控制符 1个字节。 整个时隙未用完。接着发送分組 P3 的剩余 10000个字节。  The controller sends a start switch control character 1 byte, and then sends the remaining part of the high priority message P2, the length is 150 bytes. After the P2 is sent, no other high priority message needs to be sent, then the end switch control is sent. 1 byte. The entire time slot has not been used up. The remaining 10000 bytes of packet P3 are then transmitted.
本实施例中, 在指定时刻启动高优先级数据发送, 而不是检测到高优 先级数据就中断低优先级数据发送; 高优先级数据不能无限占有发送优先 权, 只能在设定的时隙长度进行发送, 这样更符合实际网络要求。  In this embodiment, high priority data transmission is initiated at a specified time, and low priority data transmission is interrupted instead of high priority data; high priority data cannot occupy the transmission priority indefinitely, and can only be in the set time slot. The length is sent, which is more in line with the actual network requirements.
在同步系统中, 不一定需要特殊的消息通知对端启动高优先级数据发 送和结束。  In a synchronous system, a special message is not necessarily required to notify the peer to initiate high priority data transmission and termination.
综上所述, 本发明实施例通过采用在发送低优先级数据包的过程中实 时地插入高优先级数据包, 降低了高优先级数据包的延时, 同时不会降低 带宽利用率, 具有很强的实用性。  In summary, the embodiment of the present invention reduces the delay of the high priority data packet by using the high priority data packet in the process of transmitting the low priority data packet, and does not reduce the bandwidth utilization. Very practical.
以上所述仅为本发明的示范性实施例而已, 并不用于限制本发明, 对 于本领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的 精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发 明的保护范围之内。  The above is only an exemplary embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 Rights request
1. 一种数据包传输方法, 其特征在于, 包括以下步驟:  A data packet transmission method, comprising the steps of:
当需要传输高优先级数据包时, 在发送端将低优先级数据包暂时挂 起, 并将控制信号和所述高优先级数据包发送至数据接收端;  When a high priority data packet needs to be transmitted, the low priority data packet is temporarily suspended at the transmitting end, and the control signal and the high priority data packet are sent to the data receiving end;
当所述高优先级数据包发送完毕后, 继续发送所述低优先级数据包。 After the high priority data packet is sent, the low priority data packet is continuously sent.
2. 根据权利要求 1 所述的 据包传输方法, 其特征在于, 进一步包 括: 接收端根据所述控制信号接收来自所述高优先级数据包并进行相应的 处理。 2. The packet transmission method according to claim 1, further comprising: receiving, by the receiving end, the high priority data packet according to the control signal and performing corresponding processing.
3. 根据权利要求 1或 2所述的数据包传输方法, 其特征在于, 所述 控制信号包括:  The data packet transmission method according to claim 1 or 2, wherein the control signal comprises:
切换控制信号, 用于指示所述数据接收装置开始接收所述高优先级数 据包;  And a switching control signal, configured to instruct the data receiving apparatus to start receiving the high priority data packet;
恢复控制信号, 用于指示所述数据接收装置开始继续接收所述低优先 级数据包。  And a recovery control signal, configured to instruct the data receiving device to start continuing to receive the low priority data packet.
4.根据权利要求 3所述的数据包传输方法,其特征在于,所述在发送 端的搡作步骤具体包括:  The data packet transmission method according to claim 3, wherein the step of performing the transmitting end comprises:
当需要传输紧急的高优先级数据包时, 将低优先级数据包暂时挂起; 将切换控制信号发送给所述数据接收端, 并将所迷高优先级数据包发 送至所述数据接收端;  When the urgent high priority data packet needs to be transmitted, the low priority data packet is temporarily suspended; the switching control signal is sent to the data receiving end, and the high priority data packet is sent to the data receiving end ;
当所迷高优先级数据包传输完毕,将恢复控制信号发送至所述数据接 收端, 并继续发送剩余的低优先级数据包。  When the high priority packet is transmitted, a resume control signal is sent to the data receiver, and the remaining low priority packets are continued to be transmitted.
5.根据权利要求 3所述的数据包传输方法, 其特征在于, 所述数据 接收端的操作步骤具体包括:  The data packet transmission method according to claim 3, wherein the operating step of the data receiving end comprises:
在需要传输高优先级数据包时, 当接收到切换控制信号时, 接收高优 先级数据包;  When a high priority data packet needs to be transmitted, when a handover control signal is received, a high priority data packet is received;
并对所接收的高优先级数包进行处理;  And processing the received high priority packet;
当接收到恢复控制信号时, 开始接收低优先级数据包, 并存储所接收 到的低优先级数据包。  Upon receiving the resume control signal, it begins to receive low priority packets and stores the received low priority packets.
6. —种数据包传输系统, 其特征在于, 包括: 数据发送装置, 用于在需要传输高优先级数据包时, 将低优先级数据 包暂时挂起, 将控制信号和所述高优先级数据包发送至数据接收装置; 所述数据接收装置, 用于根据所述控制信号接收来自所述数据发送装 置的数据包。 . 6. A data packet transmission system, characterized by comprising: a data transmitting device, configured to temporarily suspend a low priority data packet when transmitting a high priority data packet, and send the control signal and the high priority data packet to the data receiving device; Receiving a data packet from the data transmitting device according to the control signal. .
7. 根据权利要求 6所述的数据包传输系统, 其特征在于, 所述控制 信号包括:  7. The data packet transmission system according to claim 6, wherein the control signal comprises:
切换控制信号 , 用于指示所述数据接收装置开始接收所述高优先级数 据包;  And a switching control signal, configured to instruct the data receiving device to start receiving the high priority data packet;
恢复控制信号, 用于指示所述数据接收装置开始继续接收所迷低优先 级数据包。  And a recovery control signal, configured to instruct the data receiving device to start receiving the low priority data packet.
8.根据权利要求 Ί所述的数据包传输系统, 其特征在于, 所述数据 发送装置包括:  The data packet transmission system according to claim </RTI>, wherein the data transmitting apparatus comprises:
数据包挂起模块, 用于当需要传输高优先级数据包时, 将低优先级数 据包暂时挂起;  a packet suspension module for temporarily suspending a low priority packet when a high priority packet needs to be transmitted;
控制模块, 用于在所述低优先级数据包挂起后将切换控制信号发送至 所述数据接收装置; 并在所述高优先级数据包传输完毕时, 将恢复控制信 号发送至所述数据接收装置;  a control module, configured to send a handover control signal to the data receiving device after the low priority data packet is suspended; and send a recovery control signal to the data when the high priority data packet is transmitted Receiving device
数据发送模块, 用于在所述控制模块发送所述切换控制信号之后, 将 所述高优先级数据包发送至所述数据接收装置; 在所述控制模块发送所述 恢复控制信号之后, 将剩余的低优先级数据包继续发送至所述数据接收装 置。  a data sending module, configured to send the high priority data packet to the data receiving device after the control module sends the switching control signal; after the control module sends the resume control signal, the remaining The low priority data packet continues to be sent to the data receiving device.
9.根据权利要求 6所述的数据包传输系统, 其特征在于, 所述数据 接收装置包括:  The data packet transmission system according to claim 6, wherein the data receiving device comprises:
第一数据存储模块, 用于接收并保存来自所述数据发送装置的低优先 级数据包;  a first data storage module, configured to receive and save a low priority data packet from the data transmitting device;
第二数据存储模块, 用于接收并保存来自所述数据发送装置的高优先 级数据包;  a second data storage module, configured to receive and save a high priority data packet from the data transmitting device;
数据接收控制模块, 用于当接收到切换控制信号时, 指示将接收到的 高优先级数据包存储到所述第二数据存储模块, 并且指示数据处理模块对 接收到的所述高优先级数据包进行处理; a data receiving control module, configured to: when receiving the switching control signal, instruct to store the received high priority data packet to the second data storage module, and instruct the data processing module to Receiving the high priority data packet for processing;
当接收到恢复控制信号时, 指示将接收到的低优先级 :据包存储到所 述第一数据存储模块;  When receiving the resume control signal, indicating that the received low priority: the data packet is stored to the first data storage module;
数据处理模块, 用于处理接收到的数据包。  A data processing module for processing the received data packet.
10、 一种数据发送装置, 其特征在于, 包括:  10. A data transmitting apparatus, comprising:
数据包挂起模块, 用于当需要传输高优先级数据包时, 将低优先级数 据包暂时挂起;  a packet suspension module for temporarily suspending a low priority packet when a high priority packet needs to be transmitted;
控制模块, 用于在所述低优先级数据包挂起后将切换控制信号发送至 数据接收装置; 并在所述高优先级数据包传输完毕时, 将恢复控制信号发 送至所述数据接收装置;  a control module, configured to send a handover control signal to the data receiving device after the low priority data packet is suspended; and send a resume control signal to the data receiving device when the high priority data packet is transmitted ;
数据发送模块, 用于在所述控制模块发送所述切换控制信号之后, 将 所述高优先级数据包发送至所述数据接收装置;  a data sending module, configured to send the high priority data packet to the data receiving device after the control module sends the switching control signal;
在所述控制模块发送所述恢复控制信号之后 , 所述数据发送模块将剩 余的低优先级数据包继续发送至所述数据接收装置。  After the control module sends the resume control signal, the data transmitting module continues to send the remaining low priority data packets to the data receiving device.
11、 一种数据接收装置, 其特征在于, 包括:  A data receiving device, comprising:
第一数据存储模块, 用于接收来自所述数据发送装置的低优先級数据 包;  a first data storage module, configured to receive a low priority data packet from the data transmitting device;
第二数据存储模块, 用于接收来自所述数据发送装置的高优先级数据 包;  a second data storage module, configured to receive a high priority data packet from the data transmitting device;
控制模块, 用于当接收到切换控制信号时, 指示将接收到的高优先级 数据包存储到所述第二数据存储模块, 并且指示数据处理模块对接收到的 所述高优先级数据包进行处理;  a control module, configured to: when receiving the handover control signal, instruct to store the received high priority data packet to the second data storage module, and instruct the data processing module to perform the received high priority data packet deal with;
当接收到恢复控制信号时, 指示将接收到的低优先级数据包存储到所 述第一数据存储模块;  Receiving, when receiving the resume control signal, storing the received low priority data packet to the first data storage module;
数据处理模块, 用于处理接收到的数据包。  A data processing module for processing the received data packet.
12、 一种数据发送方法, 其特征在于, 包括以下步驟:  12. A data transmission method, comprising the steps of:
进行数据传输过程中, 在指定时刻, 将所要发送的低优先级数据包挂 起;  During the data transmission process, the low priority data packet to be sent is suspended at a specified time;
发送高优先级的数据及相应的控制信号给接收端; 当所述高优先级数据的发送时隙结束时, 继续发送所述低优先级数据 包及相应的切换控制信号给接收端。 Sending high priority data and corresponding control signals to the receiving end; When the sending time slot of the high priority data ends, the low priority data packet and the corresponding switching control signal are continuously sent to the receiving end.
13、 根据权利要求 12所述的数据包传输方法, 其特征在于, 当所述高优先级数据发送完毕, 继续发送所述低优先级数据包及相应 的切换控制信号给接收端。  The data packet transmission method according to claim 12, wherein, when the high priority data is transmitted, the low priority data packet and the corresponding handover control signal are continuously sent to the receiving end.
14、 根据权利要求 12或 13所述的数据包传输方法, 其特征在于, 所述指定时刻为周期性预定的时刻。  The data packet transmission method according to claim 12 or 13, wherein the designated time is a periodically scheduled time.
PCT/CN2007/000953 2006-03-24 2007-03-26 A method, device and system for data packets transmission WO2007109991A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CNA2006100661584A CN101043438A (en) 2006-03-24 2006-03-24 System and method for transmitting data packet
CN200610066158.4 2006-03-24

Publications (1)

Publication Number Publication Date
WO2007109991A1 true WO2007109991A1 (en) 2007-10-04

Family

ID=38540810

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/000953 WO2007109991A1 (en) 2006-03-24 2007-03-26 A method, device and system for data packets transmission

Country Status (2)

Country Link
CN (1) CN101043438A (en)
WO (1) WO2007109991A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10129884B1 (en) 2015-02-05 2018-11-13 Unmanned Autonomous Systems Safeflight Inc. Multi-thread tx/rx and video data to improve throughput and reliability over cellular based communications systems
CN112491620A (en) * 2020-11-29 2021-03-12 中国航空工业集团公司洛阳电光设备研究所 Multi-channel data transmission controller based on SRIO and adjusting method

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013140529A (en) * 2012-01-06 2013-07-18 Sony Corp Information processing apparatus, information processing method, and program
CN104581839B (en) * 2013-10-24 2018-10-16 展讯通信(上海)有限公司 A kind of method and communication equipment of information transmission
CN104734468A (en) * 2013-12-23 2015-06-24 上海英威腾工业技术有限公司 Interrupt processing method for IGBT module driving optocoupling circuit fault signals
CN104079501B (en) * 2014-06-05 2017-06-13 邦彦技术股份有限公司 Queue scheduling method based on multiple priorities
WO2016090539A1 (en) 2014-12-08 2016-06-16 华为技术有限公司 Data transmission method and device
US10791521B2 (en) 2015-12-03 2020-09-29 Huawei Technologies Co., Ltd. Data sending method and apparatus, and terminal
CN108012338A (en) * 2016-11-02 2018-05-08 中兴通讯股份有限公司 Data transmission method, device, application and base station
CN109818710A (en) * 2017-11-21 2019-05-28 中移(杭州)信息技术有限公司 A kind of data transmission method and corresponding intrument
DE102018206785A1 (en) * 2018-05-03 2019-11-07 Audi Ag Data transmission using the Bluetooth Low Energy (BLE) standard
CN111817985B (en) * 2019-04-10 2024-02-02 华为技术有限公司 Service processing method and device
CN111428973B (en) * 2020-03-11 2024-04-12 慧镕电子系统工程股份有限公司 Virtual resource allocation method capable of effectively improving resource utilization rate
CN112468182A (en) * 2020-11-23 2021-03-09 杭州海康威视数字技术股份有限公司 Data transmission device, method and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020041595A1 (en) * 2000-10-05 2002-04-11 Marc Delvaux System and method for suspending and resuming transmission of information without creating significant additional overhead
CN1349362A (en) * 2000-10-17 2002-05-15 华为技术有限公司 Multiple carrier task processing method in GSM wideband base station
WO2004084511A2 (en) * 2003-03-18 2004-09-30 Cisco Technology, Inc. Pre-empting low-priority traffic with high-priority traffic
US20050129028A1 (en) * 2003-12-05 2005-06-16 Broadcom Corporation Transmission of data packets of different priority levels using pre-emption
JP2005278215A (en) * 2005-04-28 2005-10-06 Hitachi Ltd Communication system and communication method
CN1705295A (en) * 2004-05-29 2005-12-07 华为技术有限公司 Packet transmission system having priority and method therefor

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020041595A1 (en) * 2000-10-05 2002-04-11 Marc Delvaux System and method for suspending and resuming transmission of information without creating significant additional overhead
CN1349362A (en) * 2000-10-17 2002-05-15 华为技术有限公司 Multiple carrier task processing method in GSM wideband base station
WO2004084511A2 (en) * 2003-03-18 2004-09-30 Cisco Technology, Inc. Pre-empting low-priority traffic with high-priority traffic
US20050129028A1 (en) * 2003-12-05 2005-06-16 Broadcom Corporation Transmission of data packets of different priority levels using pre-emption
CN1705295A (en) * 2004-05-29 2005-12-07 华为技术有限公司 Packet transmission system having priority and method therefor
JP2005278215A (en) * 2005-04-28 2005-10-06 Hitachi Ltd Communication system and communication method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10129884B1 (en) 2015-02-05 2018-11-13 Unmanned Autonomous Systems Safeflight Inc. Multi-thread tx/rx and video data to improve throughput and reliability over cellular based communications systems
CN112491620A (en) * 2020-11-29 2021-03-12 中国航空工业集团公司洛阳电光设备研究所 Multi-channel data transmission controller based on SRIO and adjusting method

Also Published As

Publication number Publication date
CN101043438A (en) 2007-09-26

Similar Documents

Publication Publication Date Title
WO2007109991A1 (en) A method, device and system for data packets transmission
CN112105080B (en) Time-sensitive network data transmission system and transmission method
JP7231749B2 (en) Packet scheduling method, scheduler, network device and network system
US8027344B2 (en) Transmission of data packets of different priority levels using pre-emption
EP2002617B1 (en) Memory management for high speed media access control
JP2526013B2 (en) Packet switching communication method
WO2019157867A1 (en) Method for controlling traffic in packet network, and device
JP4790289B2 (en) Method, apparatus, and system for ensuring packet delivery time in an asynchronous network
CA2519648A1 (en) A method for a simple 802.11e hcf implementation
US20110274117A1 (en) Bandwith allocation method and routing device
EP1376948A1 (en) Quality of service scheduling for packet switched data services
WO2007027643A2 (en) Priority queuing of frames in a tdma network
CN115378874B (en) Data transmitting and receiving method, device, electronic equipment, chip and storage medium
WO2012171461A1 (en) Method and device for forwarding packet
WO2012119414A1 (en) Method and device for controlling traffic of switching network
CN109450817B (en) Mixed scheduling method for time-triggered Ethernet multi-service message transmission
JP4624464B2 (en) System and method for transmitting data
JP2008125073A (en) Stale data removal using latency count in wimax scheduler
JP2024507298A (en) Methods, computer programs and apparatus implemented in packet-switched networks for scheduling transmission of Ethernet frames
WO2008074191A1 (en) A packet switching system and a method thereof
US20080165768A1 (en) Communication device and methods thereof
JP4535849B2 (en) Communications system
Lazzez et al. Segments-priorities based contention resolution technique for QoS support in optical burst-switched networks
JP7512456B2 (en) Packet scheduling method, scheduler, network device, and network system
Radivojević et al. Single-Channel EPON

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 07720527

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 07720527

Country of ref document: EP

Kind code of ref document: A1