CN102118356A - Message transmission method and transmission device - Google Patents
Message transmission method and transmission device Download PDFInfo
- Publication number
- CN102118356A CN102118356A CN2009102388542A CN200910238854A CN102118356A CN 102118356 A CN102118356 A CN 102118356A CN 2009102388542 A CN2009102388542 A CN 2009102388542A CN 200910238854 A CN200910238854 A CN 200910238854A CN 102118356 A CN102118356 A CN 102118356A
- Authority
- CN
- China
- Prior art keywords
- message
- multiplexing
- gre
- encapsulated
- encapsulation
- 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.)
- Pending
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
技术领域technical field
本发明实施例涉及通信技术领域,具体地说,涉及一种报文发送方法和发送装置。The embodiments of the present invention relate to the technical field of communications, and in particular, to a method and device for sending a message.
背景技术Background technique
通用路由封装GRE(Generic Route Encapsulation)是一种第三层隧道协议,这类协议规定了如何用一种网络协议去封装另外一种网络协议的通用方式,这一隧道封装方式已经被很多接入网络采用。比如WiMAX网络的R3/R4/R6接口中都可以采用这种封装方式。WiMAX网络主要由三个部分组成,即终端(MS)、接入服务网(ASN)、以及连接服务网(CSN),所述接入服务网包括基站(BS)和接入业务网网关(ASN-GW)。其中,BS与ASN-GW之间的通信接口称之为R6接口,ASN-GW与CSN之间的通信接口称之为R3接口,ASN与ASN之间的通信接口称之为R4接口。Generic Route Encapsulation GRE (Generic Route Encapsulation) is a layer-3 tunneling protocol. This type of protocol specifies how to use one network protocol to encapsulate another network protocol. This tunnel encapsulation method has been used by many Network adoption. For example, the R3/R4/R6 interface of the WiMAX network can adopt this encapsulation method. A WiMAX network is mainly composed of three parts, namely a terminal (MS), an access service network (ASN), and a connection service network (CSN). The access service network includes a base station (BS) and an access service network gateway (ASN) -GW). Wherein, the communication interface between the BS and the ASN-GW is called the R6 interface, the communication interface between the ASN-GW and the CSN is called the R3 interface, and the communication interface between the ASN and the ASN is called the R4 interface.
如图1所示,在WiMAX网络中,采用GRE协议进行封装在R3接口是可选的,在R4接口和R6接口是必选的。GRE头的结构参见图2所示,结构中包含4个字段:As shown in Figure 1, in a WiMAX network, encapsulation using the GRE protocol is optional on the R3 interface, and mandatory on the R4 and R6 interfaces. The structure of the GRE header is shown in Figure 2. The structure contains 4 fields:
1)控制字段:其中控制字段的S位用于标识是否携带了Sequence Number;1) Control field: the S bit of the control field is used to identify whether the Sequence Number is carried;
2)协议类型字段Protocol Type:协议类型字段中所指示的协议类型可以是2) Protocol type field Protocol Type: The protocol type indicated in the protocol type field can be
IPv4,IPv6,Ethernet,WiMAX Payload中任意一种;Any of IPv4, IPv6, Ethernet, WiMAX Payload;
3)KEY:用于标识Data Path ID;3) KEY: used to identify the Data Path ID;
4)序列号Sequence Number:传输净荷的序列编号,当传输的数据中携带此4) Sequence Number: The sequence number of the transmission payload, when the transmitted data carries this
序列号时所述控制字段的值必须为1。The value of the control field MUST be 1 for the serial number.
整个GRE报文包括用于指示所封装净荷相关信息的GRE报文头和被封装的对象GRE净荷,其中,GRE头最大为12字节,对于采用GRE协议的各个接口,到达对应接口的任何类型的报文,比如IPv4报文、IPv6报文、Ethernet报文等,都将作为GRE报文的净荷进行传输。The entire GRE message includes the GRE message header used to indicate the relevant information of the encapsulated payload and the encapsulated object GRE payload. The maximum length of the GRE header is 12 bytes. For each interface using the GRE protocol, the Any type of packets, such as IPv4 packets, IPv6 packets, and Ethernet packets, will be transmitted as the payload of the GRE packet.
以R6接口IP汇聚子层IP-CS为例,其传输协议模型如图3所示,通过R6接口传输的每个IP报文(包括从CSN发送到ASN-GW的报文和从MS发送到ASN-GW的报文)都将作为GRE报文的净荷被封装,然后再对GRE报文进行IP、MAC和PHY的封装后并传输。这里的IP封装是外层IP封装,其IP地址信息寻址的是ASN-GW和BS的目的地址。Taking the IP-CS of the IP convergence sublayer of the R6 interface as an example, its transmission protocol model is shown in Figure 3. Each IP message (including the message sent from the CSN to the ASN-GW and the message sent from the MS to the ASN-GW message) will be encapsulated as the payload of the GRE message, and then IP, MAC and PHY encapsulation is performed on the GRE message and transmitted. The IP encapsulation here is the outer layer IP encapsulation, and its IP address information addresses the destination addresses of the ASN-GW and the BS.
仍以R6接口IP-CS为例,对于通过R6接口传输的长度比较小的报文,比如VoIP语音帧通常在100字节左右,在R6接口进行封装后再传输将使得开销很大(各个协议层封装头的开销实际大小可以参考图4,不计物理层20字节的PHY开销,则每个包的封装开销为50字节),并且传输效率很低(这里传输效率定义为:净荷长度/(净荷长度+封装总开销))。而实际网络中通常含有大量的这类200字节以下的报文,比如在Internet网络中,这类报文所占的比例大概为40%~60%,如果对这类报文均进行封装再传输将会导致整个网络的平均传输效率很低。图4中的20字节的IP头为IPv4头的基本大小,当采用IPv6协议之后,这部分开销将更大,此时IPv6头的大小至少为40字节,将使得传输效率更低。Still taking the IP-CS on the R6 interface as an example, for a message with a relatively small length transmitted through the R6 interface, such as a VoIP voice frame, which is usually about 100 bytes, encapsulation on the R6 interface before transmission will cause a large overhead (each protocol The actual size of the overhead of the layer encapsulation header can refer to Figure 4, excluding the 20-byte PHY overhead of the physical layer, the encapsulation overhead of each packet is 50 bytes), and the transmission efficiency is very low (here the transmission efficiency is defined as: payload length /(payload length + encapsulation overhead)). However, the actual network usually contains a large number of such messages below 200 bytes. For example, in the Internet network, the proportion of such messages is about 40% to 60%. Transmission will cause the average transmission efficiency of the entire network to be very low. The 20-byte IP header in Figure 4 is the basic size of the IPv4 header. After the IPv6 protocol is adopted, this part of the overhead will be larger. At this time, the size of the IPv6 header is at least 40 bytes, which will make the transmission efficiency lower.
发明内容Contents of the invention
本发明实施例所要解决的技术问题是提供一种报文发送方法和装置,解决了现有技术中报文传输效率低的问题。The technical problem to be solved by the embodiments of the present invention is to provide a message sending method and device, which solves the problem of low message transmission efficiency in the prior art.
为解决以上技术问题,本发明实施例提供了一种报文发送方法,包括:In order to solve the above technical problems, an embodiment of the present invention provides a message sending method, including:
发送端对接收到的具有相同目的地址的多个报文分别根据通用路由封装GRE协议进行封装;The sender encapsulates the received multiple messages with the same destination address according to the general routing encapsulation GRE protocol;
将所述多个封装后的报文设置在公共信息字段之后形成一个复用封装报文;Setting the plurality of encapsulated messages behind the public information field to form a multiplexed encapsulated message;
发送端向接收端发送所述复用封装报文。The sending end sends the multiplexed and encapsulated message to the receiving end.
本发明实施例还提供了一种发送装置,包括:The embodiment of the present invention also provides a sending device, including:
封装单元,用于对接收到的具有相同目的地址的多个报文分别根据通用路由封装GRE协议进行封装;An encapsulation unit, configured to encapsulate the received multiple messages with the same destination address according to the general routing encapsulation GRE protocol;
设置单元,用于将所述多个封装后的报文设置在公共信息字段之后形成一个复用封装报文;A setting unit, configured to set the plurality of encapsulated messages after the public information field to form a multiplexed encapsulated message;
发送单元,用于向接收端发送复用封装后的报文。The sending unit is configured to send the multiplexed and encapsulated message to the receiving end.
本发明实施例通过复用部分公共信息字段来减少平均每个GRE报文的封装开销,另外,通过进一步对GRE头进行压缩传输,从而提高了传输效率。The embodiment of the present invention reduces the average encapsulation overhead of each GRE message by multiplexing part of the common information fields, and further improves the transmission efficiency by further compressing and transmitting the GRE header.
附图说明Description of drawings
图1是现有技术WiMAX网络参考模型;FIG. 1 is a prior art WiMAX network reference model;
图2是现有技术根据GRE协议进行封装的头结构示意图;FIG. 2 is a schematic diagram of a header structure encapsulated according to the GRE protocol in the prior art;
图3是现有技术WiMAX IP-CS协议传输模型;Fig. 3 is prior art WiMAX IP-CS protocol transmission model;
图4是现有技术R6口封装报文的实际开销示意图;Fig. 4 is a schematic diagram of the actual overhead of packet packaging at the R6 port in the prior art;
图5是本发明实施例R6口的数据传输流程示意图;Fig. 5 is a schematic diagram of the data transmission process of the R6 port of the embodiment of the present invention;
图6是本发明实施例采用协商方式进行复用传输的流程示意图;FIG. 6 is a schematic flow diagram of multiplexing transmission in a negotiation mode according to an embodiment of the present invention;
图7是本发明实施例采用协商方式进行复用传输的报文结构图;Fig. 7 is a message structure diagram for multiplexing transmission in a negotiation mode according to an embodiment of the present invention;
图8是本发明实施例采用IP头中的相应比特位进行复用指示的报文结构图;Fig. 8 is a message structure diagram of multiplexing indication using corresponding bits in the IP header according to an embodiment of the present invention;
图9是本发明实施例采用额外定义的特殊字段进行复用指示的报文结构图;FIG. 9 is a message structure diagram for multiplexing indication using additionally defined special fields in an embodiment of the present invention;
图10是本发明实施例采用复用功能的GRE头进行复用指示的报文结构图;Fig. 10 is a message structure diagram of multiplexing indication using the GRE header of the multiplexing function according to an embodiment of the present invention;
图11是本发明实施例进行压缩协商的流程示意图。Fig. 11 is a schematic flow chart of compression negotiation according to an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步地详细描述。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings.
以R6口为例,现有的实现方式中,每个到达R6口的报文都要根据GRE协议进行封装,传输开销很大。为了减少传输开销,本发明实施例采用的方法如图5所示,以ASN-GW作为发送端,BS作为接收端的数据传输流程如下:Taking the R6 interface as an example, in the existing implementation mode, each packet arriving at the R6 interface must be encapsulated according to the GRE protocol, and the transmission overhead is very large. In order to reduce the transmission overhead, the method adopted in the embodiment of the present invention is shown in Figure 5. The data transmission process with the ASN-GW as the sending end and the BS as the receiving end is as follows:
ASN-GW接收CSN发送的报文;The ASN-GW receives the message sent by the CSN;
ASN-GW对接收到的具有相同目的地址(例如:报文的目的地址为同一BS)的多个报文分别根据GRE协议进行封装,然后将所述多个封装后的报文设置在公共信息字段之后形成一个复用封装报文;The ASN-GW encapsulates the received multiple packets with the same destination address (for example: the destination address of the packets is the same BS) according to the GRE protocol, and then sets the multiple encapsulated packets in the public information After the field forms a multiplexing package message;
ASN-GW向所述目的地址发送所述复用封装报文。The ASN-GW sends the multiplexed encapsulated packet to the destination address.
以BS作为发送端,ASN-GW作为接收端的数据传输流程如下:The data transmission process with BS as the sending end and ASN-GW as the receiving end is as follows:
BS接收MS发送的报文;The BS receives the message sent by the MS;
BS对接收到的具有相同目的地址(例如:同一ASN-GW)的多个报文分别根据GRE协议进行封装,然后将所述多个封装后的报文设置在公共信息字段之后形成一个复用封装报文;The BS encapsulates multiple received messages with the same destination address (for example: the same ASN-GW) according to the GRE protocol, and then sets the multiple encapsulated messages after the public information field to form a multiplex encapsulated message;
BS向所述目的地址发送复用封装报文。The BS sends the multiplexed encapsulated message to the destination address.
所述公共信息字段包括IP、MAC和PHY。The common information fields include IP, MAC and PHY.
在发送复用封装报文之前或在发送复用封装报文时,可以通知目的地址对应的实体,发送给目的地址的报文是复用封装报文,其具体可以采用如下两种方式来实现:1)采用协商的方式确认将要发送的报文为复用封装报文;2)在复用封装报文中设置一字段用于指示报文为复用封装报文。Before sending the multiplexed encapsulated message or when sending the multiplexed encapsulated message, the entity corresponding to the destination address can be notified that the message sent to the destination address is a multiplexed encapsulated message, which can be implemented in the following two ways 1) Confirming that the message to be sent is a multiplexed encapsulated message by means of negotiation; 2) setting a field in the multiplexed encapsulated message to indicate that the message is a multiplexed encapsulated message.
在以上复用的基础上,还可以对GRE头进行压缩,以进一步减少传输开销。On the basis of the above multiplexing, the GRE header can also be compressed to further reduce the transmission overhead.
下面通过几个具体的实施例对以上方案进行详细说明:The above scheme is described in detail below through several specific embodiments:
实施例一:Embodiment one:
图6是采用协商方式进行复用传输的流程示意图,其采用功能协商的方式进行报文的复用传输,在协商后开始采用固定的复用报文结构进行传输。此时接收方需要根据协商的状态来判断如何解析接收到的报文。协商的简要过程描述如下(协商流程可能由双方任何一方发起):Fig. 6 is a schematic diagram of the process of multiplexed transmission using the negotiation method, which uses the method of function negotiation to perform multiplexed transmission of messages, and starts to use a fixed multiplexed message structure for transmission after negotiation. At this time, the receiver needs to judge how to parse the received message according to the negotiation status. A brief description of the negotiation process is as follows (the negotiation process may be initiated by either party):
由发送方ASN-GW(或BS)发起复用功能请求消息;The multiplexing function request message is initiated by the sender ASN-GW (or BS);
接收方BS(或ASN-GW)收到复用功能请求消息之后,回复是否启用复用功能的确认消息;After receiving the multiplexing function request message, the receiver BS (or ASN-GW) replies with a confirmation message whether to enable the multiplexing function;
若接收方回复的消息为肯定的消息,则发送方开始用复用的结构发送报文;接收方根据所述复用的结构解析报文;If the message replied by the receiver is an affirmative message, the sender starts to send the message with the multiplexed structure; the receiver parses the message according to the multiplexed structure;
若接收方回复的消息为否定的消息,或者没有回复,则发送方以非复用的结构封装报文,接收方以非复用的结构解析报文。If the message replied by the receiver is a negative message, or there is no reply, the sender encapsulates the message in a non-multiplexed structure, and the receiver parses the message in a non-multiplexed structure.
其中,上述报文复用的结构如图7所示,图中MH(Multiplex Header)为复用子头,其包含的字段用于指示每个GRE报文在整个报文中的位置和每个GRE报文的长度信息。图中复用的公共信息部分为PHY、MAC和IP,他们虽然属于不同的协议头信息,但是对于复用在一起的报文来说都是一样的,属公共信息。Wherein, the structure of above-mentioned message multiplexing is as shown in Figure 7, MH (Multiplex Header) in the figure is multiplexing subheader, and the field that it contains is used to indicate the position of each GRE message in the whole message and each GRE message Length information of the GRE packet. The multiplexed public information in the figure is PHY, MAC, and IP. Although they belong to different protocol header information, they are the same for the multiplexed packets and belong to public information.
实施例二Embodiment two
采用特殊的信息字段来指示传输报文是否是一个复用报文,此时接收端只需要根据特殊信息字段的指示来获取如何解析复用报文的信息。此实施例采取的复用方式包括但不限于以下几种方式:A special information field is used to indicate whether the transmission message is a multiplexed message. At this time, the receiving end only needs to obtain information on how to parse the multiplexed message according to the indication of the special information field. The multiplexing methods adopted in this embodiment include but are not limited to the following methods:
1)采用IP头中的某个比特位(比如预留比特位)来指示传输报文的类型。1) A certain bit in the IP header (such as a reserved bit) is used to indicate the type of the transmission message.
如图8所示,图中MH(Multiplex Header)为复用子头,其包含的字段用于指示每个GRE报文在整个报文中的位置和每个GRE报文的长度信息。As shown in Figure 8, the MH (Multiplex Header) in the figure is a multiplexing sub-header, and the fields it contains are used to indicate the position of each GRE message in the entire message and the length information of each GRE message.
此方式下,接收方首先需要判断IP头中所述比特位指示的传输报文的类型是否为一个复用报文,如果为复用报文,则按照第一个报文结构来进行解析,所述第一个报文结构中包含MH和多个GRE报文;如果指示为非复用报文,则按照第二个报文结构来进行解析,所述第二个报文结构中含一个GRE报文。In this mode, the receiver first needs to judge whether the type of the transmission message indicated by the bit in the IP header is a multiplexed message, and if it is a multiplexed message, it will analyze it according to the first message structure. The first message structure includes MH and multiple GRE messages; if it is indicated as a non-multiplexed message, it is parsed according to the second message structure, and the second message structure contains a GRE packets.
2)采用额外定义的特殊字段来指示报文是否是一个复用报文。复用的报文结构如图9所示,其中,所述特殊字段为图中的Flag字段,图中MH(MultiplexHeader)为复用子头,其包含的字段用于指示每个GRE报文在整个报文中的位置和每个GRE报文的长度信息。2) An additionally defined special field is used to indicate whether the packet is a multiplexed packet. The multiplexed message structure is as shown in Figure 9, wherein, the special field is the Flag field in the figure, and MH (MultiplexHeader) in the figure is a multiplexing sub-header, and the fields it contains are used to indicate that each GRE message is in the The position in the entire message and the length information of each GRE message.
此方式下,首先需要通过协议进行约定,使发送方和接收方均知道该Flag字段在传输的报文中是固定存在的,接收方在读取IP头之后,再判断该Flag字段中指示的传输报文的类型是否为一个复用报文,如果为复用报文(如:Flag=1),则按照第一个报文结构来进行解析,所述第一个报文结构包含MH和多个GRE报文;如果指示为非复用报文(如:Flag=0),则按照第二个报文结构来进行解析,所述第二个报文结构包含一个GRE报文。In this mode, it is first necessary to make an agreement through the agreement, so that both the sender and the receiver know that the Flag field is fixed in the transmitted message, and the receiver judges the value indicated in the Flag field after reading the IP header. Whether the type of the transmission message is a multiplexing message, if it is a multiplexing message (such as: Flag=1), then analyze according to the first message structure, the first message structure includes MH and A plurality of GRE messages; if the indication is a non-multiplexed message (for example: Flag=0), it is parsed according to the second message structure, and the second message structure contains one GRE message.
3)定义具有复用功能的GRE头,新的GRE头要在现有的GRE头的基础上增加字段,所述新增加的字段中包括复用信息控制位,用于指示报文是否为复用报文;所述GRE头中还需要包括复用子头MH信息(包括分段控制信息和分段长度信息),用于指示每个GRE报文在整个报文中的位置和每个GRE报文的长度信息,此时的复用结构如图10所示。在此方式下,需要通过协议进行约定,使发送方和接收方均知道GRE是具有复用功能的头结构,接收方在接收到报文后根据新增的字段就可以判断出如何解析接收到的报文。3) Define a GRE header with a multiplexing function. The new GRE header will add fields on the basis of the existing GRE header. The newly added fields include a multiplexing information control bit, which is used to indicate whether the message is multiplexed. message; the GRE header also needs to include the multiplexing subheader MH information (including segment control information and segment length information), which is used to indicate the position of each GRE message in the entire message and each GRE message The length information of the packet, and the multiplexing structure at this time are shown in FIG. 10 . In this way, it needs to be agreed through the agreement, so that both the sender and the receiver know that GRE is a header structure with a multiplexing function. After receiving the message, the receiver can determine how to parse the received message according to the newly added field. message.
上述实施例一和实施例二中复用的公共信息部分为IP、MAC和PHY,这些协议头信息对于复用在一起的报文来说都是一样的,属公共信息。复用上述同一个IP、MAC和PHY的各个报文具有一定的复用条件,首先必须是具有相同的目的地址,其次可能的复用条件包括但不限于具有相同的业务类型或具有相同的DSCP值。这些复用包可以来自不同的用户,也可以来自相同的用户。The public information multiplexed in
复用后的报文总的大小应有上限,具体可以通过MTU(MaximumTransmission Unit)的值(防止复用报文再次被分片)进行设置,或根据其他因素来决定,但至少应小于或等于MTU的值。The total size of multiplexed packets should have an upper limit, which can be set by the value of MTU (Maximum Transmission Unit) (to prevent multiplexed packets from being fragmented again), or determined according to other factors, but at least it should be less than or equal to MTU value.
由于IP报文超过MTU的值之后将进行分片,每个分片分别传输。采用上述复用方式复用的报文不包含分片后的报文,即产生分片后的报文不再参与此复用传输过程,分片信息在IP头内相关字段有指示。Since the IP packet will be fragmented after exceeding the value of the MTU, each fragment is transmitted separately. The message multiplexed by the above multiplexing method does not include the fragmented message, that is, the fragmented message no longer participates in the multiplexing transmission process, and the fragmentation information is indicated in the relevant field in the IP header.
对于复用在一起的包前后到达时间需要进行限制(限制第一个到达的包驻留在缓存中的时延),以防止复用处理对业务面数据转发时延产生大的影响。超过限制时延后,已经复用的包不管当前大小必须马上发送。It is necessary to limit the arrival time before and after the multiplexed packets (limit the delay of the first arriving packet residing in the cache), so as to prevent the multiplexing processing from having a large impact on the data forwarding delay of the service plane. After the time limit is exceeded, the multiplexed packets must be sent immediately regardless of their current size.
实施例三Embodiment Three
在发送端对接收到的具有相同目的地址的GRE报文的公共信息字段进行复用封装之前,发送端还可以对GRE头部分信息进行压缩,在接下来的传输过程中,压缩掉的信息不进行传输,从而节省了传输带宽。Before the sender multiplexes and encapsulates the public information fields of the received GRE packets with the same destination address, the sender can also compress the information in the GRE header. In the next transmission process, the compressed information will not transmission, thereby saving transmission bandwidth.
具体的压缩字段可以根据网络的实际情况决定,比如现有控制位在传输过程中通常不改变,可以压缩;协议类型在采用单一应用类型的网络中可以压缩,等等。具体的压缩字段可以通过消息协商的方式通知接收方,主要包括如下步骤:The specific compression field can be determined according to the actual situation of the network. For example, the existing control bits usually do not change during transmission and can be compressed; the protocol type can be compressed in a network using a single application type, and so on. The specific compressed fields can be notified to the receiver through message negotiation, which mainly includes the following steps:
1.发送端发送完整报文给接收端;1. The sender sends a complete message to the receiver;
2.发送端发送压缩传输请求/协商消息给接收端;2. The sender sends a compressed transmission request/negotiation message to the receiver;
3.接收端保存压缩字段,并向发送端发送压缩传输确认消息;3. The receiving end saves the compressed field and sends a compressed transmission confirmation message to the sending end;
4.发送端保存压缩字段,并发送压缩后的复用报文;4. The sender saves the compressed field and sends the compressed multiplexed message;
5.接收端收到之后进行解复用,并还原压缩字段,即将被压缩的报文重新填充。5. The receiving end performs demultiplexing after receiving, and restores the compressed field, that is, refills the compressed message.
通过复用GRE报文的传输以及压缩GRE头,减少了每个GRE净荷的平均传输开销,提高了总的传输效率。By multiplexing the transmission of the GRE message and compressing the GRE header, the average transmission overhead of each GRE payload is reduced, and the overall transmission efficiency is improved.
另外,本发明实施例还提供了一种发送装置,包括:In addition, an embodiment of the present invention also provides a sending device, including:
封装单元,用于对接收到的具有相同目的地址的多个报文分别根据通用路由封装GRE协议进行封装;An encapsulation unit, configured to encapsulate the received multiple messages with the same destination address according to the general routing encapsulation GRE protocol;
设置单元,用于将所述多个封装后的报文设置在公共信息字段之后形成一个复用封装报文;A setting unit, configured to set the plurality of encapsulated messages after the public information field to form a multiplexed encapsulated message;
发送单元,用于向接收端发送复用封装后的报文。The sending unit is configured to send the multiplexed and encapsulated message to the receiving end.
所述发送装置还包括:The sending device also includes:
压缩单元,用于发送端对接收到的具有相同目的地址的多个报文分别根据GRE协议进行封装前,对GRE头的部分信息进行压缩。The compression unit is used for the sending end to compress part of the information in the GRE header before encapsulating multiple received messages with the same destination address according to the GRE protocol.
通过对以上实施方式的描述,本领域的技术人员可以清楚地了解到本发明可借助软件加必要的通用硬件平台的方式来实现,当然也可以通过硬件来实现,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be realized by means of software plus a necessary general-purpose hardware platform, and of course it can also be realized by hardware. The above embodiments are only used to illustrate the present invention. The technical scheme of the invention is not limited thereto; although the present invention has been described in detail with reference to the aforementioned embodiments, those of ordinary skill in the art should understand that: it can still modify the technical solutions described in the aforementioned embodiments, or Some of the technical features are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims (11)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2009102388542A CN102118356A (en) | 2009-12-30 | 2009-12-30 | Message transmission method and transmission device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2009102388542A CN102118356A (en) | 2009-12-30 | 2009-12-30 | Message transmission method and transmission device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN102118356A true CN102118356A (en) | 2011-07-06 |
Family
ID=44216949
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2009102388542A Pending CN102118356A (en) | 2009-12-30 | 2009-12-30 | Message transmission method and transmission device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN102118356A (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103152254A (en) * | 2013-02-01 | 2013-06-12 | 汉柏科技有限公司 | Generic route encapsulation tunnel message forwarding method and system |
| CN106713170A (en) * | 2016-12-30 | 2017-05-24 | 杭州迪普科技股份有限公司 | Message fragmentation method and device for VSM channel |
| CN110798862A (en) * | 2019-09-27 | 2020-02-14 | 许继集团有限公司 | Method and device for data transmission between service terminal and service master station |
| CN112804146A (en) * | 2018-05-25 | 2021-05-14 | 华为技术有限公司 | Message transmission method, communication device and system |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040145773A1 (en) * | 2003-01-29 | 2004-07-29 | Oakeson Kenneth L. | Message authorization system and method |
| CN1909513A (en) * | 2006-07-18 | 2007-02-07 | 华为技术有限公司 | Method for realizing head compressing and multiple-use in serial chain circuit |
| CN101150517A (en) * | 2007-10-25 | 2008-03-26 | 杭州华三通信技术有限公司 | Packet transmission method and device |
| CN101277305A (en) * | 2008-05-12 | 2008-10-01 | 华为技术有限公司 | Method, device and system for universal routing encapsulation GRE bearer |
| CN101388825A (en) * | 2007-09-12 | 2009-03-18 | 华为技术有限公司 | A method and device for transmitting GPRS tunnel protocol data packets |
-
2009
- 2009-12-30 CN CN2009102388542A patent/CN102118356A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040145773A1 (en) * | 2003-01-29 | 2004-07-29 | Oakeson Kenneth L. | Message authorization system and method |
| CN1909513A (en) * | 2006-07-18 | 2007-02-07 | 华为技术有限公司 | Method for realizing head compressing and multiple-use in serial chain circuit |
| CN101388825A (en) * | 2007-09-12 | 2009-03-18 | 华为技术有限公司 | A method and device for transmitting GPRS tunnel protocol data packets |
| CN101150517A (en) * | 2007-10-25 | 2008-03-26 | 杭州华三通信技术有限公司 | Packet transmission method and device |
| CN101277305A (en) * | 2008-05-12 | 2008-10-01 | 华为技术有限公司 | Method, device and system for universal routing encapsulation GRE bearer |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103152254A (en) * | 2013-02-01 | 2013-06-12 | 汉柏科技有限公司 | Generic route encapsulation tunnel message forwarding method and system |
| CN106713170A (en) * | 2016-12-30 | 2017-05-24 | 杭州迪普科技股份有限公司 | Message fragmentation method and device for VSM channel |
| CN112804146A (en) * | 2018-05-25 | 2021-05-14 | 华为技术有限公司 | Message transmission method, communication device and system |
| CN112804146B (en) * | 2018-05-25 | 2022-05-10 | 华为技术有限公司 | Message transmission method, communication device and system |
| US11444874B2 (en) | 2018-05-25 | 2022-09-13 | Huawei Technologies Co., Ltd. | Packet transmission method, and communications apparatus and system |
| CN110798862A (en) * | 2019-09-27 | 2020-02-14 | 许继集团有限公司 | Method and device for data transmission between service terminal and service master station |
| CN110798862B (en) * | 2019-09-27 | 2023-06-06 | 许继集团有限公司 | A data transmission method and device between a business terminal and a business master station |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4877979B2 (en) | Method of operating in a network in which multiple stations communicate via a shared medium | |
| CN100486225C (en) | Method for reducing data IP fragmentation quantity in PS network | |
| CN102377650B (en) | Data transmission processing method, device and system | |
| CN101388825B (en) | A method and device for transmitting GPRS tunnel protocol data packets | |
| CN109861801B (en) | Data transmission method and device | |
| CN101529827B (en) | Length indicator optimization | |
| US20120140686A1 (en) | Method and apparatus for sending, receiving, and transmission of data packets (as amended) | |
| CN109842570B (en) | Polymerization rate control method, device and system | |
| WO2010031324A1 (en) | Method, device and system for data transmission | |
| CN102056235A (en) | Data transmission method, equipment and system | |
| CN101150497A (en) | Method, system and device for multi-packet transmission in mobile communication | |
| CN101827031A (en) | Method and device for packet transmission in user datagram protocol UDP tunnel | |
| CN102447617A (en) | Method, terminal and gateway for transmitting IPv6 message in IPv4 network | |
| CN101207571B (en) | Apparatus and method for forwarding packets | |
| WO2022022229A1 (en) | Method and device for processing message | |
| CN107196834B (en) | Message processing method and device | |
| CN102118792B (en) | Method and device for transmitting data packets | |
| WO2011120358A1 (en) | Method and system for transmitting information in relay communication network | |
| CN105657865A (en) | Data relay transmission method, data relay transmission system and UE having relay function | |
| CN104303466A (en) | A data transmission method, device, communication device and communication system | |
| WO2018233376A9 (en) | Message transmission method, proxy server and computer-readable storage medium | |
| WO2009033371A1 (en) | System and apparatus for filling protocol data unit (pdu) and the processing method thereof | |
| CN112737967A (en) | Method for realizing IPv4 GRE message load balancing based on Flow Director | |
| CN102369752A (en) | Data transmission method and apparatus | |
| CN101170487A (en) | Compression method, compression system and compression equipment in data stream multiplexing |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C05 | Deemed withdrawal (patent law before 1993) | ||
| WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20110706 |