[go: up one dir, main page]

CN104283916A - A data message transmission method and device applied to HFC network - Google Patents

A data message transmission method and device applied to HFC network Download PDF

Info

Publication number
CN104283916A
CN104283916A CN201310280892.0A CN201310280892A CN104283916A CN 104283916 A CN104283916 A CN 104283916A CN 201310280892 A CN201310280892 A CN 201310280892A CN 104283916 A CN104283916 A CN 104283916A
Authority
CN
China
Prior art keywords
message
data message
client
data
header
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN201310280892.0A
Other languages
Chinese (zh)
Other versions
CN104283916B (en
Inventor
郑艳伟
刘磊
彭飞
刘孝圣
牛津
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Hiliway Digital Systems Co ltd
Institute of Acoustics CAS
Original Assignee
Beijing Hiliway Digital Systems Co ltd
Institute of Acoustics CAS
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 Beijing Hiliway Digital Systems Co ltd, Institute of Acoustics CAS filed Critical Beijing Hiliway Digital Systems Co ltd
Priority to CN201310280892.0A priority Critical patent/CN104283916B/en
Publication of CN104283916A publication Critical patent/CN104283916A/en
Application granted granted Critical
Publication of CN104283916B publication Critical patent/CN104283916B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明涉及一种应用于HFC网络的数据报文传输方法,包括:网关与客户端协商某一待传输的数据报文流的标识方式,同步该数据报文流的上下文信息;客户端记录该数据报文流对应的上下文信息;网关对待传输的数据报文流的报文进行压缩,并根据数据报文流的标识方式为压缩后的数据报文添加报文流标识,然后向客户端发送;客户端根据数据报文流的标识方式读取报文流标识,进而根据该报文流标识识别所接收数据报文所属的数据报文流。本发明利用HFC网络无路由转发的特性,压缩三层报文的IP头或二层报文的以太头和IP头的全部字段,提高了网络传输效率。

The invention relates to a data message transmission method applied to an HFC network, comprising: a gateway and a client negotiate an identification mode of a data message flow to be transmitted, and synchronize the context information of the data message flow; the client records the The context information corresponding to the data packet flow; the gateway compresses the packet of the data packet flow to be transmitted, and adds a packet flow identifier to the compressed data packet according to the identification method of the data packet flow, and then sends it to the client ; The client reads the packet flow identifier according to the identifier of the data packet flow, and then identifies the data packet flow to which the received data packet belongs according to the packet flow identifier. The invention utilizes the characteristic of no routing and forwarding in the HFC network to compress the IP header of the three-layer message or the Ethernet header and all fields of the IP header of the two-layer message, thereby improving the network transmission efficiency.

Description

一种应用于HFC网络的数据报文传输方法及装置A data message transmission method and device applied to HFC network

技术领域technical field

本发明涉及通信领域,特别涉及一种应用于HFC网络的数据报文传输方法及装置。The invention relates to the communication field, in particular to a data message transmission method and device applied to an HFC network.

背景技术Background technique

IP技术的发展解决了异质网络的互通互联问题,为多种网络上的应用提供了一个统一的网络层承载平台,IP化是网络发展的总趋势。新一代编码技术(H.264、AVS、VC-1等)的传输流都是基于IP格式的,因此前端必然IP化,前端的IP化必然带动传输网的IP化,最终的趋势就是全网的IP化,当然也包括有线电视网的IP化。The development of IP technology has solved the intercommunication and interconnection problem of heterogeneous networks, and provided a unified network layer bearing platform for applications on various networks. IP is the general trend of network development. The transmission stream of the new generation coding technology (H.264, AVS, VC-1, etc.) is based on the IP format, so the front-end must be IP-based, and the IP-based front-end will inevitably drive the IP-based transmission network. The final trend is that the entire network Of course, the IP of the cable TV network is also included.

在有线电视网上开展IP数据业务,可以充分发挥有线电视网的覆盖面广、高带宽的优势,满足用户日益增长的带宽需求。但是有线电视网是树形结构,不存在路由转发,因此用于路由寻址的IP头和以太头在有线电视网中就显得有些冗余,浪费了带宽资源,降低了带宽的有效利用率。Developing IP data services on the cable TV network can give full play to the advantages of wide coverage and high bandwidth of the cable TV network to meet the increasing bandwidth requirements of users. However, the cable TV network has a tree structure, and there is no routing and forwarding. Therefore, the IP header and Ethernet header used for routing addressing in the cable TV network appear redundant, which wastes bandwidth resources and reduces the effective utilization of bandwidth.

在IP头压缩技术方面,有学者提出了VJHC、IPHC、CRTP以及后来在无线网络应用比较广泛的ROHC等方法,但是以上的压缩方法,均采用了复杂的编码方法,终端需要维护和更新上下文信息,不够灵活,而且并未针对HFC网络的应用场景进行相应的优化。In terms of IP header compression technology, some scholars have proposed methods such as VJHC, IPHC, CRTP, and ROHC, which are widely used in wireless networks. However, the above compression methods all use complex encoding methods, and the terminal needs to maintain and update context information. , is not flexible enough, and is not optimized for the application scenarios of the HFC network.

因此,如何提出一种应用于HFC网络的数据报文传输方法是一个亟待解决的问题。Therefore, how to propose a data message transmission method applied to the HFC network is an urgent problem to be solved.

发明内容Contents of the invention

本发明的目的在于克服现有技术中的用于HFC网络的数据报文传输方法不够灵活、效率不高的缺陷,从而提供一种应用于HFC网络的数据报文传输方法及装置,以利用有线电视网不存在路由转发的特性,压缩二层报文的以太头和IP头,或压缩三层报文的IP头,提高传输的效率。The purpose of the present invention is to overcome the defect that the data message transmission method used in the HFC network in the prior art is not flexible enough and the efficiency is not high, thereby providing a data message transmission method and device applied to the HFC network to utilize wired The TV network does not have the feature of routing and forwarding. It compresses the Ethernet header and IP header of the two-layer message, or compresses the IP header of the three-layer message to improve the transmission efficiency.

为了实现上述目的,本发明提供了一种应用于HFC网络的数据报文传输方法,包括:In order to achieve the above object, the present invention provides a data message transmission method applied to HFC network, comprising:

步骤1)、网关与客户端协商某一待传输的数据报文流的标识方式,同步该数据报文流的上下文信息;其中,所述上下文信息包括该数据报文流对应的标识方式、该数据报文流对应的唯一标识、该数据报文流的报头信息;Step 1), the gateway and the client negotiate the identification mode of a data packet flow to be transmitted, and synchronize the context information of the data packet flow; wherein, the context information includes the identification method corresponding to the data packet flow, the The unique identifier corresponding to the data packet flow, and the header information of the data packet flow;

步骤2)、客户端记录该数据报文流对应的上下文信息;Step 2), the client records the context information corresponding to the data packet flow;

步骤3)、网关对所述待传输的数据报文流中的数据报文进行压缩,并根据步骤1)中所协商的数据报文流的标识方式为压缩后的数据报文添加报文流标识,然后向客户端发送;Step 3), the gateway compresses the data packets in the data packet flow to be transmitted, and adds a packet flow to the compressed data packet according to the identification method of the data packet flow negotiated in step 1) ID, and then sent to the client;

步骤4)、客户端根据步骤1)中所协商的数据报文流的标识方式读取报文流标识,进而根据该报文流标识识别所接收数据报文所属的数据报文流。Step 4), the client reads the packet flow identifier according to the identifier of the data packet flow negotiated in step 1), and then identifies the data packet flow to which the received data packet belongs according to the packet flow identifier.

上述技术方案中,还包括:Among the above-mentioned technical solutions, it also includes:

步骤5)、当客户端需要还原数据报头时,根据步骤1)中所得到的上下文信息还原数据报头。Step 5), when the client needs to restore the data header, restore the data header according to the context information obtained in step 1).

上述技术方案中,所述步骤1)包括以下步骤:In the above technical solution, the step 1) includes the following steps:

步骤1-1)、网关向客户端发送协商消息,该协商消息中包含网关所能支持的数据报文流的标识方式;Step 1-1), the gateway sends a negotiation message to the client, and the negotiation message includes the identification mode of the data packet stream that the gateway can support;

步骤1-2)、客户端接收到所述协商消息后,从所述协商消息所包含的网关所能支持的数据报文流的标识方式中选取某一种标识方式;根据需要确定是否进行数据报头还原;Step 1-2), after receiving the negotiation message, the client selects a certain identification method from the identification methods of the data packet flow supported by the gateway contained in the negotiation message; Header restoration;

步骤1-3)、客户端将步骤1-2)中所选择的结果通过协商回复消息通知网关;Step 1-3), the client notifies the gateway of the result selected in step 1-2) through a negotiation reply message;

步骤1-4)、网关向客户端发送数据报文流对应的上下文消息。Step 1-4), the gateway sends the context message corresponding to the data packet flow to the client.

上述技术方案中,所述数据报文包括二层以太报文或三层IP报文;其中,所述二层以太报文包括报头与IP载荷,其中的报头包含以太帧头和IP头;所述三层IP报文包括报头和IP载荷,其中的报头包含IP头。In the above-mentioned technical solution, the data message includes a two-layer Ethernet message or a three-layer IP message; wherein, the two-layer Ethernet message includes a header and an IP load, and the header includes an Ethernet frame header and an IP header; The above-mentioned three-layer IP packet includes a header and an IP payload, wherein the header includes an IP header.

上述技术方案中,在所述步骤3)中,网关对所述待传输的数据报文流中的数据报文进行压缩包括:对于三层IP报文,去除IP报文中的报头,仅保留IP载荷;对于二层以太报文,去除以太报文中的以太头和IP头,仅保留IP载荷。In the above technical solution, in the step 3), the gateway compressing the data packets in the data packet stream to be transmitted includes: for the three-layer IP packet, removing the header in the IP packet, and only retaining IP payload; for Layer 2 Ethernet packets, the Ethernet header and IP header in the Ethernet packet are removed, and only the IP payload is retained.

上述技术方案中,所述标识方式包括:利用HFC网络中封装协议的闲置字段来唯一标识数据报文流,或在IP载荷前添加标识字段来唯一标识数据报文流。In the above technical solution, the identification method includes: using an idle field of the encapsulation protocol in the HFC network to uniquely identify the data packet flow, or adding an identification field before the IP payload to uniquely identify the data packet flow.

上述技术方案中,所述的步骤5)包括:In the above technical solution, the step 5) includes:

当采用HFC网络中封装协议中的闲置字段对数据报文流进行标识时,若所述数据报文为三层IP报文,则在所接收到的数据报文前加上三层IP头;若所述数据报文是二层以太报文,则在所接收到的数据报文前加上三层IP头和二层以太头;When adopting the idle field in the encapsulation protocol in the HFC network to mark the data message flow, if the data message is a three-layer IP message, then add a three-layer IP header before the received data message; If the data message is a two-layer Ethernet message, add a three-layer IP header and a two-layer Ethernet header before the received data message;

当采用在IP载荷前添加标识字段对数据报文流进行标识时,若所述数据报文为三层IP报文,则去掉标识字段,在剩余的数据前面加上三层IP头;若所述数据报文为二层以太报文,则去掉标识字段,在剩余的数据前面加上三层IP头和二层以太头。When adopting to add the identification field before the IP load to identify the data message flow, if the data message is a three-layer IP message, then remove the identification field, and add a three-layer IP header in front of the remaining data; If the above data message is a Layer 2 Ethernet message, the identification field is removed, and a Layer 3 IP header and a Layer 2 Ethernet header are added in front of the remaining data.

本发明还提供了一种应用于HFC网络的数据报文传输装置,包括:网关和终端客户端,其中,The present invention also provides a data message transmission device applied to the HFC network, including: a gateway and a terminal client, wherein,

所述网关将其所支持的数据报文流标识方式通知客户端,将数据报文流的上下文信息通知客户端,然后压缩数据报文并根据商定的报文流标识方式为压缩后的数据报文添加报文流标识,将压缩后的报文发送给客户端;The gateway notifies the client of the supported data packet flow identification method, notifies the client of the context information of the data packet flow, then compresses the data packet and converts the compressed data packet into a compressed data packet according to the agreed packet flow identification method. Add a message flow identifier to the file, and send the compressed message to the client;

所述客户端保存数据报文流的上下文信息,接收压缩后的报文,若需还原数据报文,客户端根据该数据报文流的上下文信息进行还原。The client saves the context information of the data message flow, receives the compressed message, and restores the data message according to the context information of the data message flow.

本发明的优点在于:The advantages of the present invention are:

1、利用HFC网络无路由转发的特性,压缩三层报文的IP头或二层报文的以太头和IP头的全部字段,提高了网络传输效率。1. Utilizing the non-routing and forwarding feature of the HFC network, the IP header of the layer 3 message or the Ethernet header and all fields of the IP header of the layer 2 message are compressed, which improves the network transmission efficiency.

2、无需考虑数据报文的载荷是何种类型,支持TCP、UDP等多种传输层协议格式。2. It does not need to consider the type of the payload of the data message, and supports TCP, UDP and other transport layer protocol formats.

3、客户端可以根据应用需求,灵活选择是否需要还原数据报文头部,对于无需还原的情形,进行了进一步的简化。3. The client can flexibly choose whether to restore the header of the data packet according to the application requirements, and further simplifies the situation that does not need to be restored.

附图说明Description of drawings

图1是本发明方法在一个实施例中的实现步骤的流程图;Fig. 1 is a flow chart of the implementation steps of the inventive method in one embodiment;

图2是网关与客户端之间进行协商的示意图;Fig. 2 is a schematic diagram of negotiation between the gateway and the client;

图3是IP报文压缩前后的比较示意图;Fig. 3 is a schematic diagram of comparison before and after IP packet compression;

图4是多协议封装MPE的段格式的示意图;Fig. 4 is a schematic diagram of the segment format of the multi-protocol encapsulation MPE;

图5是本发明方法在又一个实施例中的实现步骤的流程图;Fig. 5 is a flow chart of the implementation steps of the method of the present invention in yet another embodiment;

图6是以太报文压缩前后的比较示意图。Fig. 6 is a schematic diagram of comparison before and after Ethernet packet compression.

具体实施方式Detailed ways

现结合附图对本发明作进一步的描述。The present invention will be further described now in conjunction with accompanying drawing.

在一个实施例中,HFC网络采用IP over DVB封装协议,该封装协议中采用了多协议封装协议MPE。In one embodiment, the HFC network adopts the IP over DVB encapsulation protocol, in which the multi-protocol encapsulation protocol MPE is adopted.

下面结合图1对本发明方法在该实施例中的实现步骤进行说明。The implementation steps of the method of the present invention in this embodiment will be described below with reference to FIG. 1 .

本发明的方法包括以下步骤:Method of the present invention comprises the following steps:

步骤101)、网关与终端客户端协商IP报文流的标识方式,同步IP报文流的上下文信息;Step 101), the gateway and the terminal client negotiate the identification mode of the IP packet flow, and synchronize the context information of the IP packet flow;

步骤102)、客户端记录该IP报文流对应的上下文信息;Step 102), the client records the context information corresponding to the IP packet flow;

步骤103)、网关对所要发送的IP报文进行压缩,并为压缩后的IP报文添加报文流标识,然后向客户端发送;Step 103), the gateway compresses the IP message to be sent, and adds a message flow identifier to the compressed IP message, and then sends it to the client;

步骤104)、客户端根据步骤1)中协商的IP报文流的标识方式读取报文流标识,进而识别所接收IP报文所属的IP报文流,若终端需要还原IP报头,则根据步骤101)中所得到的上下文信息还原IP报头。Step 104), the client reads the packet flow identification according to the identification method of the IP packet flow negotiated in step 1), and then identifies the IP packet flow to which the received IP packet belongs. If the terminal needs to restore the IP header, then according to The context information obtained in step 101) restores the IP header.

下面对该方法的相关步骤做进一步的描述。The relevant steps of the method are further described below.

如图2所示,所述的步骤101)具体包括以下步骤:As shown in Figure 2, the step 101) specifically includes the following steps:

步骤101-1)、网关向客户端发送协商消息,该协商消息中包含网关所能支持的IP报文流的标识方式;Step 101-1), the gateway sends a negotiation message to the client, and the negotiation message includes the identification mode of the IP packet flow that the gateway can support;

网关所能支持的IP报文流的标识方式可以有多种,例如,利用HFC网络中封装协议的闲置字段来进行唯一标识,或在IP载荷前添加标识字段来进行唯一标识。在本实施例中,可利用多协议封装MPE中的闲置字段来标识IP报文流。在图4中给出了多协议封装MPE的段格式,其中的“MAC6,5字段”为闲置字段,客户端可以利用该字段来标识IP报文流。There are many ways to identify the IP message flow that the gateway can support. For example, use the idle field of the encapsulation protocol in the HFC network for unique identification, or add an identification field before the IP payload for unique identification. In this embodiment, the idle field in the MPE can be used to identify the IP packet flow. Figure 4 shows the segment format of the multi-protocol encapsulation MPE, in which the "MAC6, 5 field" is an idle field, and the client can use this field to identify the IP packet flow.

步骤101-2)、客户端接收到所述协商消息后,从所述协商消息所包含的网关所能支持的IP报文流的标识方式中选取某一种标识方式;此外,根据需要确定是否进行IP报头还原;Step 101-2), after receiving the negotiation message, the client selects a certain identification method from the identification methods of the IP packet flow supported by the gateway included in the negotiation message; in addition, it determines whether Perform IP header restoration;

步骤101-3)、客户端将步骤101-2)中所选择的结果通过协商回复消息通知网关;Step 101-3), the client notifies the gateway of the result selected in step 101-2) through a negotiation reply message;

步骤101-4)、网关向客户端发送IP报文流对应的上下文消息。Step 101-4), the gateway sends the context message corresponding to the IP packet flow to the client.

本步骤中所涉及的IP报文流对应的上下文信息包括:该报文流对应的标识方式、该报文流对应的唯一标识、该报文流的IP报头信息。其中,报文流的IP报头信息为终端需要还原报头时所必需的信息;IP报文流的唯一标识由网关为每一路IP报文流分配,在本实施例中,所述唯一标识有2字节大小,可循环使用。The context information corresponding to the IP packet flow involved in this step includes: the identification mode corresponding to the packet flow, the unique identifier corresponding to the packet flow, and the IP header information of the packet flow. Wherein, the IP header information of message flow is the necessary information when the terminal needs to restore the header; the unique identifier of IP message flow is assigned by the gateway for each IP message flow. In this embodiment, the unique identifier has 2 Byte size, recyclable.

在所述的步骤103)中,网关对所要发送的IP报文进行压缩包括:去除IP报文中的报头,仅保留IP载荷。在图3中给出了IP报文压缩前后的比较。In said step 103), the gateway compressing the IP message to be sent includes: removing the header in the IP message, and only retaining the IP payload. Figure 3 shows the comparison before and after IP packet compression.

在所述的步骤103)中,为压缩后的IP报文添加报文流标识包括:将网关为所述IP报文所在的IP报文流所分配的唯一标识存储在所述多协议封装MPE中的“MAC6,5”字段。In the step 103), adding a packet flow identifier to the compressed IP packet includes: storing the unique identifier assigned by the gateway to the IP packet flow where the IP packet is located in the multi-protocol encapsulation MPE The "MAC6,5" field in .

所述的步骤104)包括:Said step 104) includes:

步骤104-1)、客户端接收到关于某一压缩后的IP报文的数据流后,将这一数据流中的数据组装成多协议封装段,利用其中的“MAC6,5字段”读取出IP报文流的唯一标识;Step 104-1), after the client receives the data stream of a certain compressed IP message, assemble the data in this data stream into a multi-protocol encapsulation segment, and use the "MAC6, 5 field" to read The unique identifier of the outgoing IP packet flow;

步骤104-2)、根据步骤104-1)中所读取的IP报文流的唯一标识为所接收的IP报文进行归类,识别IP报文所属的IP报文流。Step 104-2), classify the received IP packets according to the unique identifier of the IP packet flow read in step 104-1), and identify the IP packet flow to which the IP packet belongs.

若IP报文还需还原IP报头,所述步骤104)还包括:If the IP message still needs to restore the IP header, the step 104) also includes:

步骤104-3)、根据步骤101)中所得到的上下文信息将IP报头添加到压缩后的IP报文的前端。Step 104-3), adding an IP header to the front end of the compressed IP message according to the context information obtained in step 101).

在本发明的又一个实施例中,以HFC网络中的EoC方案为场景,对本发明的方法进行说明。如图5所示,本发明的方法包含如下步骤:In yet another embodiment of the present invention, the method of the present invention is described by taking the EoC solution in the HFC network as a scenario. As shown in Figure 5, the method of the present invention comprises the following steps:

步骤201)、网关与终端客户端协商以太报文流的标识方式,同步以太报文流的上下文信息;Step 201), the gateway and the terminal client negotiate the identification mode of the Ethernet packet flow, and synchronize the context information of the Ethernet packet flow;

步骤202)、客户端记录该以太报文流对应的上下文信息;Step 202), the client records the context information corresponding to the Ethernet packet flow;

步骤203)、网关对所要发送的以太报文进行压缩,并为压缩后的以太报文添加报文流标识,然后向客户端发送;Step 203), the gateway compresses the Ethernet message to be sent, and adds a message flow identifier to the compressed Ethernet message, and then sends it to the client;

步骤204)、客户端根据步骤201)中协商的以太报文流的标识方式读取报文流标识,进而识别所接收以太报文所属的以太报文流,若终端需要还原以太报头,则根据步骤201)中所得到的上下文信息还原以太报头。Step 204), the client reads the packet flow identifier according to the identifier of the Ethernet packet flow negotiated in step 201), and then identifies the Ethernet packet flow to which the received Ethernet packet belongs. If the terminal needs to restore the Ethernet header, then according to The context information obtained in step 201) restores the Ethernet header.

下面对该方法的相关步骤做进一步的描述。The relevant steps of the method are further described below.

所述步骤201包括:The step 201 includes:

步骤201-1)、网关向客户端发送协商消息,该协商消息中包含网关所能支持的以太报文流的标识方式;Step 201-1), the gateway sends a negotiation message to the client, and the negotiation message includes the identification mode of the Ethernet packet flow that the gateway can support;

步骤201-2)、客户端接收到所述协商消息后,从所述协商消息所包含的网关所能支持的以太报文流的标识方式中选取某一种标识方式;此外,根据需要确定是否进行以太报头还原;Step 201-2), after receiving the negotiation message, the client selects a certain identification method from the identification methods of the Ethernet packet flow supported by the gateway included in the negotiation message; in addition, it determines whether to Perform Ethernet header restoration;

在本实施例中,所述以太报文流的标识方式采用在IP载荷前添加标识字段来进行唯一标识的方式。In this embodiment, the identification method of the Ethernet packet flow adopts the method of adding an identification field before the IP payload for unique identification.

步骤201-3)、客户端将步骤201-2)中所选择的结果通过协商回复消息通知网关;Step 201-3), the client notifies the gateway of the result selected in step 201-2) through a negotiation reply message;

步骤201-4)、网关向客户端发送以太报文流对应的上下文消息。Step 201-4), the gateway sends the context message corresponding to the Ethernet packet flow to the client.

本步骤中所涉及的以太报文流对应的上下文信息包括:该报文流对应的标识方式、该报文流对应的唯一标识、该报文流的以太头和IP头信息。其中,报文流的以太头和IP头为终端需要还原报头时所必需的信息。The context information corresponding to the Ethernet packet flow involved in this step includes: the identification mode corresponding to the packet flow, the unique identifier corresponding to the packet flow, the Ethernet header and the IP header information of the packet flow. Wherein, the Ethernet header and the IP header of the message flow are necessary information when the terminal needs to restore the header.

在所述的步骤203)中,网关对所要发送的以太报文进行压缩包括:去除以太报文中的以太头和IP头,仅保留IP载荷。在所述的步骤203)中,为压缩后的以太报文添加报文标识包括:将报文流标识添加到IP载荷之前。图6为以太报文压缩前以及经过压缩、添加报文标识后的示意图。In step 203), the gateway compressing the Ethernet message to be sent includes: removing the Ethernet header and IP header in the Ethernet message, and only retaining the IP payload. In the step 203), adding the packet identifier to the compressed Ethernet packet includes: adding the packet flow identifier before the IP payload. FIG. 6 is a schematic diagram of an Ethernet packet before compression and after compression and adding a packet identifier.

所述的步骤204)包括:The step 204) includes:

步骤204-1)、客户端接收到关于某一压缩后的以太报文的数据流后,从该报文的前2个字节读取出该压缩后的以太报文所属以太报文流的唯一标识。Step 204-1), after the client receives the data stream of a certain compressed Ethernet message, it reads the Ethernet message stream to which the compressed Ethernet message belongs from the first 2 bytes of the message. Uniquely identifies.

步骤204-2)、根据步骤204-1)中所读取的以太报文流的唯一标识为所接收的以太报文进行归类,识别以太报文所属的以太报文流。Step 204-2), classify the received Ethernet packets according to the unique identifier of the Ethernet packet flow read in step 204-1), and identify the Ethernet packet flow to which the Ethernet packet belongs.

若以太报文还需还原以太报头,所述步骤204)还包括:If the Ethernet packet still needs to restore the Ethernet header, the step 204) also includes:

步骤204-3)、根据步骤201)中所得到的上下文信息将以太头和IP头添加到压缩后的以太报文的前端。Step 204-3), adding the Ethernet header and IP header to the front end of the compressed Ethernet packet according to the context information obtained in step 201).

最后所应说明的是,以上实施例仅用以说明本发明的技术方案而非限制。尽管参照实施例对本发明进行了详细说明,本领域的普通技术人员应当理解,对本发明的技术方案进行修改或者等同替换,都不脱离本发明技术方案的精神和范围,其均应涵盖在本发明的权利要求范围当中。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than limit them. Although the present invention has been described in detail with reference to the embodiments, those skilled in the art should understand that modifications or equivalent replacements to the technical solutions of the present invention do not depart from the spirit and scope of the technical solutions of the present invention, and all of them should be included in the scope of the present invention. within the scope of the claims.

Claims (8)

1. be applied to a data message transmission method for hfc plant, comprise:
The identification means of a certain data message stream waiting for transmission of step 1), gateway and client negotiate, the synchronously contextual information of this data message stream; Wherein, described contextual information comprises the header information of identification means corresponding to this data message stream, unique identification that this data message stream is corresponding, this data message stream;
Step 2), contextual information that this data message stream of client records is corresponding;
Step 3), gateway compress the data message in described data message stream waiting for transmission, and according to the identification means of the data message stream consulted in step 1) be compression after data message add message flow mark, then send to client;
Step 4), client read message flow mark according to the identification means of the data message stream consulted in step 1), and then identify the data message stream belonging to received data message according to this message flow mark.
2. the data message transmission method being applied to hfc plant according to claim 1, is characterized in that, also comprise:
Step 5), when client needs restoring data header, according to the contextual information restoring data header obtained in step 1).
3. the data message transmission method being applied to hfc plant according to claim 1 and 2, is characterized in that, described step 1) comprises the following steps:
Step 1-1), gateway sends negotiation message to client, comprises the identification means of the data message stream that gateway can be supported in this negotiation message;
Step 1-2), after client receives described negotiation message, the identification means of the data message stream that the gateway comprised from described negotiation message can be supported, choose a certain identification means; Determine whether as required to carry out datagram header reduction;
Step 1-3), client is by step 1-2) selected in result reply message informing gateway through consultation;
Step 1-4), gateway to send datagram context message corresponding to stream to client.
4. the data message transmission method being applied to hfc plant according to claim 1 and 2, is characterized in that, described data message comprises two layers of Ethernet message or three layers of IP message; Wherein, described two layers of Ethernet message comprise header and IP load, and header wherein comprises ether frame head and IP head; Described three layers of IP message comprises header and IP load, and header wherein comprises IP head.
5. the data message transmission method being applied to hfc plant according to claim 4, it is characterized in that, in described step 3), gateway carries out compression to the data message in described data message stream waiting for transmission and comprises: for three layers of IP message, remove the header in IP message, only retain IP load; For two layers of Ethernet message, remove the Ethernet header in Ethernet message and IP head, only retain IP load.
6. the data message transmission method being applied to hfc plant according to claim 4, it is characterized in that, described identification means comprises: utilize the idle field of tunneling in hfc plant to carry out unique identification data message flow, or before IP load, adds identification field carry out unique identification data message flow.
7. the data message transmission method being applied to hfc plant according to claim 6, is characterized in that, described step 5) comprises:
When adopting the idle field in hfc plant in tunneling to identify data message flow, if described data message is three layers of IP message, then before received data message, add three layers of IP head; If described data message is two layers of Ethernet message, then before received data message, add three layers of IP head and two layers of Ethernet header;
When adopt add before IP load identification field data message flow is identified time, if described data message is three layers of IP message, then remove identification field, before remaining data, add three layers of IP head; If described data message is two layers of Ethernet message, then remove identification field, before remaining data, add three layers of IP head and two layers of Ethernet header.
8. be applied to a data-message transmission device for hfc plant, it is characterized in that, comprising: gateway and client terminals, wherein,
The data message traffic identifier mode that it supports by described gateway notifies client, by the contextual information of data message stream notice client, then the packed data message message flow identification means that also basis is decided through consultation is the data message interpolation message flow mark after compression, and the message after compressing is sent to client;
Described client preserves the contextual information of data message stream, and receive the message after compression, if need restoring data message, client is reduced according to the contextual information of this data message stream.
CN201310280892.0A 2013-07-05 2013-07-05 A kind of data message transmission method and device for being applied to hfc plant Expired - Fee Related CN104283916B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310280892.0A CN104283916B (en) 2013-07-05 2013-07-05 A kind of data message transmission method and device for being applied to hfc plant

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310280892.0A CN104283916B (en) 2013-07-05 2013-07-05 A kind of data message transmission method and device for being applied to hfc plant

Publications (2)

Publication Number Publication Date
CN104283916A true CN104283916A (en) 2015-01-14
CN104283916B CN104283916B (en) 2017-07-07

Family

ID=52258396

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310280892.0A Expired - Fee Related CN104283916B (en) 2013-07-05 2013-07-05 A kind of data message transmission method and device for being applied to hfc plant

Country Status (1)

Country Link
CN (1) CN104283916B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107634915A (en) * 2017-08-25 2018-01-26 中国科学院计算机网络信息中心 Data transmission method, device and storage medium
CN108111523A (en) * 2017-12-28 2018-06-01 网易(杭州)网络有限公司 Data transmission method and device
WO2021087923A1 (en) * 2019-11-07 2021-05-14 华为技术有限公司 Information transmission method and apparatus
CN112868213A (en) * 2019-09-27 2021-05-28 诺基亚技术有限公司 Joint use of Ethernet header compression and robust header compression
CN114244781A (en) * 2021-12-20 2022-03-25 苏州盛科通信股份有限公司 DPDK-based message deduplication processing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1475048A (en) * 2000-11-16 2004-02-11 ����ɭ�绰�ɷ����޹�˾ Communication system and method for shared context compression
CN1602616A (en) * 2002-08-09 2005-03-30 松下电器产业株式会社 Header compression/decompression device and header compression/decompression method
EP1641193A1 (en) * 1999-05-25 2006-03-29 Lucent Technologies Inc. Method for telecommunications using internet protocol
CN101568144A (en) * 2009-03-18 2009-10-28 中国人民解放军理工大学 Header compression method applicable to wireless ad hoc network
CN101843154A (en) * 2007-10-30 2010-09-22 皇家飞利浦电子股份有限公司 Coordinated change of transmission parameters for data and control information
CN103428181A (en) * 2012-05-22 2013-12-04 中国科学院声学研究所 UDP message transmission optimizing method applied to IP over DVB

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1641193A1 (en) * 1999-05-25 2006-03-29 Lucent Technologies Inc. Method for telecommunications using internet protocol
CN1475048A (en) * 2000-11-16 2004-02-11 ����ɭ�绰�ɷ����޹�˾ Communication system and method for shared context compression
CN1602616A (en) * 2002-08-09 2005-03-30 松下电器产业株式会社 Header compression/decompression device and header compression/decompression method
CN101843154A (en) * 2007-10-30 2010-09-22 皇家飞利浦电子股份有限公司 Coordinated change of transmission parameters for data and control information
CN101568144A (en) * 2009-03-18 2009-10-28 中国人民解放军理工大学 Header compression method applicable to wireless ad hoc network
CN103428181A (en) * 2012-05-22 2013-12-04 中国科学院声学研究所 UDP message transmission optimizing method applied to IP over DVB

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107634915A (en) * 2017-08-25 2018-01-26 中国科学院计算机网络信息中心 Data transmission method, device and storage medium
CN108111523A (en) * 2017-12-28 2018-06-01 网易(杭州)网络有限公司 Data transmission method and device
CN108111523B (en) * 2017-12-28 2021-02-19 网易(杭州)网络有限公司 Data transmission method and device
CN112868213A (en) * 2019-09-27 2021-05-28 诺基亚技术有限公司 Joint use of Ethernet header compression and robust header compression
WO2021087923A1 (en) * 2019-11-07 2021-05-14 华为技术有限公司 Information transmission method and apparatus
CN114244781A (en) * 2021-12-20 2022-03-25 苏州盛科通信股份有限公司 DPDK-based message deduplication processing method and device
CN114244781B (en) * 2021-12-20 2023-12-22 苏州盛科通信股份有限公司 Message de-duplication processing method and device based on DPDK

Also Published As

Publication number Publication date
CN104283916B (en) 2017-07-07

Similar Documents

Publication Publication Date Title
JP6025880B2 (en) Data transmission method, apparatus and system
CN100558072C (en) The method of converting message in three-layer virtual special network, system and equipment
US8964641B2 (en) System and method for transporting digital baseband streams in a network environment
CN110149262B (en) Method and device for processing signaling message and storage medium
US8311092B2 (en) Network packet aware data encoding
CN104283916B (en) A kind of data message transmission method and device for being applied to hfc plant
CN102088460B (en) Method, device and system for transmitting streaming media data in restricted networks
WO2010020197A1 (en) Data transmission method, communication equipment and communication system
JP2018182768A (en) Apparatus and method for transferring multimedia data in broadcast system
KR20060054662A (en) Apparatus and method for header compression in broadband wireless communication system
CN104521220B (en) Message processing method and equipment
KR20140092120A (en) Relaying system and method for transmitting IP address of client to server
CN109936492B (en) Method, device and system for transmitting message through tunnel
EP1312237B1 (en) Telecommunication system and method of communicating protocol information
CN115567346A (en) Data message transmission method and device, electronic equipment and storage medium
CN109151610A (en) A kind for the treatment of method and apparatus receiving web camera picture
CN103428181B (en) A kind of UDP message transmission optimization method being applied to IP over DVB
CN110336796B (en) Communication method and communication device
KR20040094561A (en) Apparatus for improving efficiency of data packet transmission in a mobile ad hoc network and method thereof
CN102238164B (en) Internet protocol (IP) telecommunication network-oriented multi-protocol message adaptation method
CN110336710B (en) A terminal testing method, system and device and storage medium
WO2009109128A1 (en) Method and apparatus of full header information message configuration
CN110098993B (en) Method and device for processing signaling message
CN117376233A (en) Data processing method, device and system
CN110086772B (en) Method and system for acquiring monitoring video

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170707