CN101197773B - Packet compressed transmitting and received de-compression method and system based on multilink - Google Patents

Packet compressed transmitting and received de-compression method and system based on multilink Download PDF

Info

Publication number
CN101197773B
CN101197773B CN200710167348XA CN200710167348A CN101197773B CN 101197773 B CN101197773 B CN 101197773B CN 200710167348X A CN200710167348X A CN 200710167348XA CN 200710167348 A CN200710167348 A CN 200710167348A CN 101197773 B CN101197773 B CN 101197773B
Authority
CN
China
Prior art keywords
message
multilink
member link
message compression
compression parameters
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.)
Expired - Fee Related
Application number
CN200710167348XA
Other languages
Chinese (zh)
Other versions
CN101197773A (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.)
Huawei Technologies Co Ltd
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
Priority to CN200710167348XA priority Critical patent/CN101197773B/en
Publication of CN101197773A publication Critical patent/CN101197773A/en
Application granted granted Critical
Publication of CN101197773B publication Critical patent/CN101197773B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to a message compressing transmission and receiving decompression method based on multilink, a member link and message forwarding system based on multilink. The compressing transmission method including the following steps: a member link of a multilink is bound to obtain a message; a self message compression parameter is inquired to execute message compression operation; finally, the compressed message is transmitted. The receiving decompression method including the following steps: a member link of the multilink is bound to receive the compressed message; moreover, the self message compression parameter is inquired to execute decompression operation. The member link comprises a message acquisition module, a memory module, a compressing module and a transmitting module; the message forwarding system comprises a control module, a first member link and a second member link. The invention, which can adapt to the requirements of compressing transmission and receiving decompression of message transmission under the condition of multilink, reduces message header byte number, thereby saving transmission cost.

Description

Message compression based on multilink sends and receives decompression method and system
Technical field
The present invention relates to a kind of message compression based on multilink send and receive decompression method, based on the Member Link and the message forwarding system of multilink, relate in particular to and be applicable under the multilink bundle condition, adopting compression real-time packet host-host protocol to carry out message compression back sends, and the method that decompresses behind the reception compressed packet, also relate to a kind of Member Link and message forwarding system based on multilink.
Background technology
In the business of Voice over IP, usually adopt real-time packet host-host protocol (Real-timetransport protocol, hereinafter to be referred as RTP) carry out message transmissions, the heading of each message need take nearly 40 bytes, and the speech data in actual each message is generally all less than 30 bytes.Like this, the expense of heading is too big, makes efficiency of transmission low.Based on this problem, linked groups has developed series of standards and has solved this problem, compression real-time packet host-host protocol (Compressedreal-time transport protocol wherein, hereinafter to be referred as cRTP) heading of 40 bytes can be compressed to 2-4 byte in compression end, the contraction principle of cRTP technology is: in same message flow, most of field contents in the heading remains unchanged, such as: source address, destination address, fields such as source port number and destination slogan, the header field that foregoing is constant is substantially compressed at message, the context that is called message flow in the decompression, as long as set up the compression of this message flow correspondence at the communication link two ends, the decompression context, so when follow-up E-Packeting, just can from heading, delete the constant field of content, get final product and send the heading of only carrying the change at random field, restore original complete message according to corresponding context again at receiving terminal.That is: compression end is distributed a Context identifier number (Context identifier for each message flow, hereinafter to be referred as CID) identify the heading information of this message flow, and this heading information is sent to decompressor end with message, the further part of this message flow just replaces to cid information in compression end with heading information and passes to decompressor end, decompressor end is found out original heading information according to corresponding C ID, thereby restores original message.Solved the problem of efficiency of transmission so to a great extent.Message format is usually as shown in Table 1 and Table 2 before and after the cRTP compression:
Message format before table 1 compression:
The link layer head IP heading (40 byte) Speech data
Table 2 compression back message format:
The link layer head CRTP heading (2-4 byte) Speech data
The cRTP technology is applied in the point-to-point protocol (Point to Point Protocol is hereinafter to be referred as PPP) of single-link, but still has some defectives in the transmission system of multilink bundle.
At present, the network in many areas still uses a large amount of low speed lines, in order to increase bandwidth and reliability, need tie up a plurality of low speed lines usually and do as a whole link use.Like this, the cRTP compression and the transmission of enforcement real-time packet becomes a problem demanding prompt solution under the multilink condition.For the multilink bundle circuit, generally adopt Multi-Link Point-to-Point Protocol (Multi-LinkPoint to PointProtocol is hereinafter to be referred as MP), by the MP agreement a plurality of Member Links are tied up as a link and use.
MP does a plurality of Member Links that it bundlees down as a whole, for improving link efficiency and reducing transmission delay, when equipment sends message on the MP multilink, big message is cut into small pieces, on each Member Link, send uniformly, for message being recombinated again by sending order, need to increase the MP heading and attach corresponding information at receiving terminal.
When carrying out message compression, decompression on MP binding multilink, the MP multilink is done as a whole, has the cRTP parameter of unified configuration on it.The step that the message compression sends is generally: when message compression transmitting apparatus receives the message that needs forwarding, cRTP parameter according to unified configuration is compressed message, form the cRTP heading, then also need add the MP heading after, again message is transferred to each physical link and is sent.
Provide clear and definite definition to how on ppp link and MP link, carrying out cRTP compression and transmission in the cRTP agreement.But the inventor finds that in carrying out research process of the present invention there is following defective at least in existing MP transmission technology:
On the one hand, the physical link number that can bundle in the message compression transmitting apparatus based on multilink is restricted, though present MP agreement itself to the number of links that can bundle without limits, but the resource of being subjected to, the restriction of factors such as efficient, the number of links of binding can not be too much, because need buffer memory in receiving terminal elder generation from the fragment message of many physical link transmission, make up again and subsequent treatment after receiving fully, when the number of links of binding is too much, the demand of cache resources increases thereupon undoubtedly, cost increases substantially, in addition, transmit the physical link of fragment message when too much, when inconsistent or certain link of each link transmission ability breaks down, then the propagation delay time of message can increase, and the possibility of bust this increases.The general direct MP link of being realized by hardware chip includes only 12 physical links at most, but not the MP link that chip is realized, or adopts general processor to realize and inefficiency, or adopts application specific processor to realize and cost is very high;
On the other hand, when message transmits, need to increase the MP heading expense of 4~6 bytes on the MP link, then the expense of link transmission resource is big, the form after the heading compression as shown in Figure 3:
Table 3 MP compression back message format:
The link layer head MP heading (4~6 byte) CRTP heading (2-4 byte) Speech data
In sum, the defective of the multilink bundle technology of prior art is: when the quantity of physical link was too much, efficiency of transmission was low, and message transmissions postpones to increase poor reliability; When transmitting under the multilink condition, need to comprise extra expense in the heading of compression, for example the MP heading has taken certain byte transport overhead.
Summary of the invention
The purpose of the embodiment of the invention, first aspect, provide a kind of message compression sending method based on multilink, the technical scheme of this method embodiment can adapt to the compression of message under the multilink condition and send requirement, heading byte number when reducing message transmissions, save transport overhead, and the physical link quantity in the multilink is unrestricted, efficiency of transmission and reliability height.
The purpose of the embodiment of the invention, second aspect provides a kind of message based on multilink and receives decompression method, the technical scheme of this method embodiment can adapt to the reception and the decompression requirement of message under the multilink condition, required heading byte number when reducing message transmissions, save transport overhead, and the physical link quantity in the multilink is unrestricted, efficiency of transmission and reliability height.
The purpose of the embodiment of the invention, the third aspect provides a kind of Member Link based on multilink, the compression that can adapt to message under the multilink condition sends and receives the decompression requirement, heading byte number when reducing message transmissions, save transport overhead, and the physical link quantity in the multilink is unrestricted, efficiency of transmission and reliability height.
The purpose of the embodiment of the invention, fourth aspect provides a kind of message forwarding system based on multilink, the compression that the technical scheme of this system embodiment can adapt to message under the multilink condition sends and receives the decompression requirement, heading byte number when reducing message transmissions, save transport overhead, and the physical link quantity in the multilink is unrestricted, efficiency of transmission and reliability height.
For realizing the first aspect of embodiment of the invention purpose, provide a kind of message compression sending method by some embodiment based on multilink, comprise the steps:
Member Link in the binding multilink obtains message to be sent;
The message compression parameters of Member Link inquiry self is carried out the message squeeze operation according to the message compression parameters that inquires to message;
Member Link sends this compressed packet.
In technique scheme, when the Member Link under the multilink obtains message to be sent, can finish the message squeeze operation and then send according to the message compression parameters of self storage.The message compression parameters of Member Link self specifically can obtain when adding the multilink bundle interface from it, realized that Member Link has separately independently message compression parameters, wherein the message compression parameters has been stipulated the scope of CID, and define which kind of message is compressed etc., each Member Link can be provided with independently CID sign when implementing the message squeeze operation, has promptly had independently CID space.
For realizing the second aspect of embodiment of the invention purpose, provide a kind of message to receive decompression method by some embodiment based on multilink, comprise the steps:
Member Link in the binding multilink receives compressed packet;
Member Link is inquired about the message compression parameters of self, and according to the message compression parameters that inquires message is carried out the message decompression operation.
In the technique scheme, when the Member Link under the multilink receives compressed packet, can finish the message decompression operation according to the message compression parameters of self storing.The message compression parameters of Member Link self specifically can obtain when adding the multilink bundle interface from it, Member Link self stored messages compression parameters, realized to have separately independently CID space, when implementing the message decompression operation, can independently finish decompression operation according to the message compression parameters of self.
For realizing the third aspect of embodiment of the invention purpose, provide a kind of Member Link by some embodiment based on multilink, comprising:
The message acquisition module is used to obtain message to be sent;
Memory module is used for the stored messages compression parameters;
The compression processing module is used at memory module query message compression parameters, and according to the message compression parameters that inquires message is carried out the message squeeze operation;
Sending module is used to send this compressed packet.
The Member Link of technique scheme has the module of stored messages compression parameters, can independently carry out the compression and decompression operation to message, then needn't increase extra encapsulation byte, can effectively reduce the heading byte number, reach the purpose of saving transport overhead.
For realizing the fourth aspect of embodiment of the invention purpose, provide a kind of message forwarding system by some embodiment based on multilink, comprise control module, first Member Link and second Member Link, wherein:
This control module when being used to receive message to be sent, being set one first Member Link and is sent this message, and this message is handed down to first Member Link of setting;
First Member Link comprises: the message acquisition module that is used for obtaining from this control module message to be sent; First memory module that is used for the stored messages compression parameters; Be used at the first memory module query message compression parameters, and this message carried out the compression processing module of message squeeze operation according to the message compression parameters that inquires; Be used to send the sending module of this compressed packet;
Second Member Link comprises: the receiver module that is used for receiving from the sending module of this first Member Link compressed packet; Second memory module that is used for the stored messages compression parameters; Be used at the second memory module query message compression parameters, and this compressed packet carried out the decompression module of message decompression operation according to the message compression parameters that inquires.
In the technique scheme, realize setting a Member Link and carried out the function that the message compression sends, and first Member Link and second Member Link all independently store the message compression parameters, promptly have independently CID space, the operation that can independently finish the message compression or decompress.
By above technical scheme as can be known, the stored messages compression parameters has independently CID space to the technical scheme of the embodiment of the invention by making Member Link obtain also, and can specifically adopt the multilink bundle interface to each Member Link downward message compression parameters, or each Member Link separate configurations message compression parameters, make each Member Link all have independently message compression parameters, overcome in the existing multilink bundle technology, each Member Link has unified message compression parameters, use the technical problem in a CID space, select a Member Link simultaneously and finished compression and the transmission that all messages are flowed in same session, can solve that to transmit the cache resources demand that causes simultaneously big because of a plurality of physical links, propagation delay time is long, the problem of transmission reliability difference.Therefore, the present invention has the following advantages:
1, in the heading of compression, need not to add extra encapsulation byte, reduced the heading byte number, saved transport overhead;
2, can adapt to the multilink transmission technology, especially number of links was greater than 12 o'clock, and compression, transmission and the decompression of message under the distributed straddle situation of multilink, the restricted number of physical link under the multilink is reduced, and improved the reliability and the efficient of message transmissions;
3, each Member Link has independently message compression stroke, and the independent compression and decompression step of carrying out has improved the reliability of message compression and decompression.
Also in conjunction with the accompanying drawings the present invention is described in further detail below by specific embodiment.
Description of drawings
Fig. 1 is the flow chart that the present invention is based on the message compression sending method specific embodiment one of multilink.
Fig. 2 is the flow chart that the present invention is based on the message reception decompression method specific embodiment of multilink.
Fig. 3 is the structural representation that the present invention is based on the Member Link specific embodiment of multilink.
Fig. 4 is the structural representation that the present invention is based on the message forwarding system specific embodiment of multilink.
Embodiment
Message compression sending method embodiment one based on multilink
Be illustrated in figure 1 as the flow chart of the message compression sending method specific embodiment one that the present invention is based on multilink, present embodiment specifically can compress a Member Link that bundlees in the multilink on the transmitting apparatus by message to be carried out, after each physical link adds the multilink bundle interface of this message compression transmitting apparatus, just become its Member Link, this message compression transmitting apparatus may further include control module, the method of present embodiment can be compressed compression and the transmit operation of carrying out message under the control of transmitting apparatus control module at message, present embodiment specifically adopts the cRTP parameter to carry out the compression of message, comprises the steps:
Member Link in steps A 1, the binding multilink obtains message to be sent from the control module of message compression transmitting apparatus;
The cRTP parameter of steps A 2, this Member Link inquiry self is carried out the message squeeze operation according to the cRTP parameter that inquires to this message;
Steps A 3, this Member Link send this compressed packet.
The technical scheme of present embodiment be Member Link after having added the multilink bundle interface, to message compress with process of transmitting in the flow process carried out.Wherein, the cRTP parameter that each Member Link is carried out squeeze operation time institute foundation is each Member Link self, cRTP parameter independently, be to obtain from the multilink bundle interface that message compression transmitting apparatus is provided with, be that the obtain manner of member's link self message compression parameters specifically can be carried out following step and realizes before steps A 1, as shown in Figure 1:
Steps A 01, physical link add the multilink bundle interface, and when becoming its Member Link, this Member Link is gathered the cRTP parameter of cRTP parameter as self from this multilink bundle interface.
In the present embodiment, the multilink bundle interface can be the interface on the logical form.The multilink bundle interface is handed down to the Member Link that all insert this multilink bundle interface with cRTP parameter unified on it, makes it have independently cRTP parameter separately.
In the steps A 1 of present embodiment, the step that the Member Link in the binding multilink obtains message to be sent can be specially:
Steps A 1 ', after message compression transmitting apparatus receives message to be sent, a Member Link of setting in the binding multilink sends message.
Set a Member Link and send message, be about to this message is handed down to setting from control module Member Link, each Member Link sends in the binding multilink but not with being distributed to after the message fragment compression again, so the Member Link of setting can according to himself independently the cRTP parameter message is carried out sending after the squeeze operation, compressed packet uses independently CID sign, has independently CID space, promptly be equivalent to a single-link and carry out the message squeeze operation, need not to increase compressed packet that this link of extra byte-identifier sends and other links and send related between the message, therefore can effectively reduce the heading byte number, reach the purpose of saving transport overhead.When this Member Link withdraws from this multilink bundle interface, can delete the cRTP parameter of obtaining from this multilink bundle interface.
In the present embodiment, message compression transmitting apparatus is provided with the multilink bundle interface when setting up for the first time, promptly before physical link adds the multilink bundle interface, configuration cRTP parameter on the multilink bundle interface, and other and message compression or the relevant parameter of transmission.
The another kind of form of Member Link self cRTP parameter acquiring mode can be in the Member Link use, be that physical link joins the multilink bundle interface, become its Member Link and carry out compression, carrying out following step after the operation of transmission message realizes: further the cRTP parameter on the multilink bundle interface or other parameters relevant with message compression or transmission are configured renewal, the cRTP parameter of multilink bundle interface after Member Link issues config update then, perhaps when member's link monitoring arrives the cRTP parameter update of multilink bundle interface, gather the cRTP parameter from the multilink bundle interface.Adopt this technical scheme, the cRTP parameter of the multilink of binding can be set more flexibly, and setting operation of execution gets final product on the multilink bundle interface, being provided with of cRTP parameter is unified and convenient.
On the other hand, steps A 1 ' in, message compression transmitting apparatus is set a Member Link and is sent message, as a whole, unified allocation of resources through message compression transmitting apparatus control module, the still satisfied transformation task of sharing of the binding of multilink, improve the requirement of transmittability, and independently transmit same session by a Member Link and flow all messages, can reduce the unreliability of transmission, and reduced because of the transmittability difference, needed the wasting of resources and the time delay of waiting for that fragment message receives fully and cause by the sending order reorganization again.
Guarantee that in the present embodiment technical scheme each Member Link has on the basis of independent cRTP parameter, can make each Member Link have consistent cRTP parameter by the multilink bundle interface, also can be according to concrete needs, for specific Member Link disposes the cRTP parameter separately, when if the cRTP parameter of Member Link configuration is conflicted mutually with the configuration parameter in the bundle interface, configuration with Member Link self is as the criterion, so that dispose the cRTP parameter of each Member Link.Can be that physical link just possesses the cRTP parameter before adding the multilink bundle interface, also can be to add configuration afterwards, Member Link also comprises from the multilink bundle interface obtains the step of cRTP parameter: Member Link judges whether self disposes the cRTP parameter, if, the cRTP parameter that then keeps self, if not, then obtain the cRTP parameter of cRTP parameter as self from the multilink bundle interface.The enforcement of this step can be to add the multilink bundle interface at Member Link, when obtaining the cRTP parameter for the first time, and also can be behind the cRTP parameter update on the multilink bundle interface, when obtaining the cRTP parameter once more.Adopt this technical scheme, can guarantee that promptly each Member Link has independently cRTP parameter, the Member Link that also can guarantee to have the cRTP parameter keeps the attribute of self flexibly.Member Link is carried out in the course of work of message compression and transmission after adding the multilink bundle interface, can also as required the cRTP parameter of this Member Link self be set further, to replace the cRTP parameter that obtains from the multilink bundle interface.
Message compression sending method embodiment two based on multilink
The present invention is based on the message compression sending method specific embodiment two of multilink and the difference of embodiment one is: steps A 1 ' in, message compression transmitting apparatus is set the embodiment that a Member Link sends this message: message compression transmitting apparatus detects and relatively bundlees the state of each Member Link in the multilink, sets a Member Link according to comparative result and transmits this message.
The concrete mode of detection and comparison Member Link state can have multiple, and wherein a kind of preferred implementation is:
Steps A 11a, message compression transmitting apparatus detect the transmission band occupation rate of each Member Link in the binding multilink, promptly detect its transmittability;
Steps A 12a, message compression transmitting apparatus be the transmission band occupation rate of each Member Link relatively, sets transmission band occupation rate minimum or reaches the setting threshold value according to comparative result, and the Member Link that promptly transmittability is strong is transmitted and given this message.
Wherein, the parameter of reflection Member Link transmittability is not limited to the transmission band occupation rate, can also be other parameters.
The another kind of execution mode of detection and comparison Member Link state is:
Whether steps A 11b, message compression transmitting apparatus detect the failure identification of each Member Link in the binding multilink, or detect its time delay value, promptly detect it and transmit normally;
Steps A 12b, message compression transmitting apparatus be the failure identification or the time delay value of each Member Link relatively, according to comparative result, in normal, the trouble-free Member Link of transmission, perhaps less or reach one and set in the Member Link of threshold value at time delay value, at random, repeating query or set a Member Link by rule and send this message.
Adopt technique scheme, can select transmission state better, promptly current transmittability is stronger, or selects specific non-fault Member Link to send message, can effectively avoid message is dealt on the Member Link of fault, therefore can improve the reliability and the efficiency of transmission of message transmissions.
Message compression sending method embodiment three based on multilink
The present invention is based on the message compression sending method specific embodiment three of multilink and the difference of embodiment one is: steps A 1 ' in, the embodiment that the Member Link in the message compression transmitting apparatus setting binding multilink sends this message is:
Message compression transmitting apparatus is gathered the property value of message to be sent, corresponding respective attributes value of gathering each Member Link in the binding multilink, and message attribute value and the Member Link property value of gathering carried out matching operation according to the matched rule of setting, set a Member Link according to matching result and send this message.
The acquisition step of technique scheme is specially the property value and the corresponding respective attributes values of gathering Member Link such as source IP address, purpose IP address, source port number, destination slogan and/or Synchronization Source (being called for short SSRC) territory of gathering message to be sent.Matched rule can be for multiple, and whether for example, it is identical to mate above-mentioned property value, or relevance is the strongest etc.The mode of selecting according to matching result also can have multiple, and for example: matching result is that all identical Member Link of property value is chosen; Perhaps the Member Link that same alike result value project is maximum is chosen; Perhaps chosen for the identical Member Link of the important attribute value of setting, or the like.
The technical scheme of present embodiment promptly adopts the algorithmic match message to be sent of appointment and the property value of Member Link, and the property value project that is used to mate is not limited to above several, can be its arbitrary combination, or other matching values of setting according to concrete needs.
Adopt this technical scheme, can make full use of the bandwidth and the attribute of every Member Link, improve message transmissions efficient and reliability.
The foregoing description two and three kind of concrete mode of setting Member Link are not limited to above two kinds.The concrete mode of above-mentioned detection member condition and matching message and link attribute can be independent enforcement, also can adopt together, or can according to circumstances set other link selection mode.
In the foregoing description one, two or three technical scheme, the step that Member Link is carried out the message squeeze operation according to the cRTP parameter of self to message specifically can also further be carried out determining step, that is:
Member Link judges at first whether self disposes the cRTP parameter, if, then this message is carried out the message squeeze operation according to this cRTP parameter, if not, just do not carry out squeeze operation.
Message based on multilink receives decompression method embodiment
Be illustrated in figure 2 as the flow chart that the message that the present invention is based on multilink receives the decompression method specific embodiment, present embodiment specifically can receive a Member Link that bundlees in the multilink on the decompression apparatus by message and carry out, message receives decompression apparatus and is provided with the multilink bundle interface, after each physical link adds this multilink bundle interface, just become its Member Link, carry out the reception and the decompression operation of message, present embodiment specifically adopts the cRTP parameter to carry out the decompression of message, comprises the steps:
The Member Link that step B1, message receive decompression apparatus multilink bundle interface receives compressed packet;
Step B2, Member Link are inquired about the cRTP parameter of self, and according to the cRTP parameter that inquires message are carried out the message decompression operation.
The technical scheme of present embodiment can be corresponding with the technical scheme of each embodiment of message compression sending method that the present invention is based on multilink, when message transmission after to receive message that decompression apparatus receives be to adopt this compression sending method to compress, then can adopt the technical scheme of present embodiment to receive and decompress.
The technical scheme of present embodiment be Member Link after having added the multilink bundle interface, to message receive with decompression process in the flow process carried out.Wherein, the cRTP parameter that each Member Link is carried out decompression operation time institute foundation is each Member Link self, cRTP parameter independently, its obtain manner is to obtain from the multilink bundle interface that message reception decompression apparatus is provided with, promptly before physical link becomes the Member Link of multilink bundle interface, before above-mentioned steps B1, also comprise the steps, as shown in Figure 2:
Step B01, when physical link adds the multilink bundle interface, when becoming its Member Link, this Member Link is gathered the cRTP parameter of cRTP parameter as self from this multilink bundle interface.
In the present embodiment, the multilink bundle interface can be the interface on the logical form.The multilink bundle interface is handed down to the Member Link that all insert this multilink bundle interface with cRTP parameter unified on it, makes it have independently cRTP parameter separately.Compressed packet through Member Link transmission, in the present embodiment, Member Link by correspondence receives and decompression, receive, the Member Link of compressed packet can according to himself independently the cRTP parameter message is carried out decompression operation, the message that need not to receive with other links carries out decompressing after related again, promptly be equivalent to a single-link and carry out the message decompression operation, related between the compressed packet that need not extra this reception of byte-identifier in the compressed packet that receives and the message that other links are received, therefore can effectively reduce the heading byte number, reach the purpose of saving transport overhead.When this Member Link withdraws from this multilink bundle interface, can delete the cRTP parameter of obtaining from this multilink bundle interface.
In the present embodiment, message receives the multilink bundle interface is set when decompression apparatus is set up for the first time, promptly before physical link adds the multilink bundle interface, disposes cRTP parameter and other relevant parameters on the multilink bundle interface.Receive in the decompression apparatus use at message, be that physical link joins the multilink bundle interface, become after its Member Link, also can further be configured renewal to the cRTP parameter on the multilink bundle interface or other parameters, the cRTP parameter of multilink bundle interface after Member Link issues renewal then, perhaps when member's link monitoring arrives the cRTP parameter update of multilink bundle interface, gather the cRTP parameter from the multilink bundle interface.Adopt this technical scheme, the cRTP parameter of the multilink of binding can be set more flexibly, and setting operation of execution gets final product on the multilink bundle interface, being provided with of parameter is unified and convenient.
On the other hand, it is corresponding to Member Link reception message that message receives decompression apparatus, as a whole, the binding of multilink is still satisfied and is shared transformation task, improves the requirement of transmittability, and independently receives a message by a Member Link, but not receive fragment message respectively by a plurality of Member Links, can reduce the unreliability of transmission, and reduce, need wait for that fragment message receives fully and the wasting of resources and the time delay that cause because of the transmittability difference.
Guarantee that in the present embodiment technical scheme each Member Link has on the basis of independent cRTP parameter, can make each Member Link have consistent cRTP parameter by the multilink bundle interface, also can be according to concrete needs, for specific Member Link disposes the cRTP parameter separately, when if the cRTP parameter of Member Link configuration is conflicted mutually with the configuration parameter in the bundle interface, configuration with Member Link self is as the criterion, so that dispose the cRTP parameter of each Member Link.Can be that physical link just possesses the cRTP parameter before adding the multilink bundle interface, also can be to add configuration afterwards, then also comprise Member Link obtains the step of cRTP parameter from the multilink bundle interface: Member Link judges whether self disposes the cRTP parameter, if, the cRTP parameter that then keeps self, if not, then obtain the cRTP parameter of cRTP parameter as self from the multilink bundle interface.The enforcement of this step can be to add the multilink bundle interface at Member Link, when obtaining the cRTP parameter for the first time, and also can be behind the cRTP parameter update on the multilink bundle interface, when obtaining the cRTP parameter once more.Adopt this technical scheme, can guarantee that promptly each Member Link has independently cRTP parameter, the Member Link that also can guarantee to have the cRTP parameter keeps the attribute of self flexibly.Member Link is carried out in the course of work of message reception and decompression after adding the multilink bundle interface, can also as required the cRTP parameter of this Member Link self be set further, to replace the cRTP parameter that obtains from the multilink bundle interface.
In the technical scheme of message compression sending method that the present invention is based on multilink and reception decompression method embodiment, each physical link can be the Member Link under the distribution system, can also be positioned on the different veneers.In addition, each embodiment of the inventive method is not limited to adopt the cRTP compress technique, can also adopt the compression and decompression of other IP headings, get final product so long as be applicable to the compress technique of single-link message transmission, it is the cRTP parameter that the parameter that each corresponding Member Link obtains from the multilink bundle interface is not limited to, and can be to be applicable to other message compressions or the message compression parameters that decompression technique adopted.
The present invention is based on the message compression sending method of multilink and receive compression, transmission and the decompression operation that the specific embodiment of decompression method can cooperatively interact and finish message, do not need extra heading expense to come the message that each Member Link sends in the related multilink, do not exist because of number of links yet and increase, the problem that the buffer memory expense that causes increases and time delay increases, effectively improved the efficiency of transmission of message, improve the reliability of transmission, alleviated the transport overhead burden of link.
Member Link embodiment based on multilink
Be illustrated in figure 3 as the structural representation of the Member Link specific embodiment that the present invention is based on multilink, this Member Link comprises: message acquisition module 1 is used to obtain message to be sent; Memory module 2 is used for the stored messages compression parameters; Compression processing module 3 is used at memory module 2 query message compression parameters, and according to the message compression parameters that inquires message is carried out the message squeeze operation; Sending module 4 is used to send this compressed packet.
The Member Link of present embodiment is the Member Link that binding becomes multilink, it is provided with memory module 2, thereby can have independently message compression parameters, and promptly independently carry out the message squeeze operation, needn't in the compressed packet that sends, add extra byte.
The Member Link of present embodiment can further include following module, and as shown in Figure 3: receiver module 5 is used to receive compressed packet; Decompression module 6 is used at memory module 2 query message compression parameters, and according to the message compression parameters that inquires this compressed packet that receives is carried out the message decompression operation.
The Member Link of technique scheme has decompression module 6, has then increased the function of independent decompression message, needn't have extra byte in its compressed packet that receives.
The approach that memory module 2 in the present embodiment Member Link is obtained the message compression parameters can have multiple, and wherein a kind of concrete mode is each the Member Link separate configurations message compression parameters that is bundled into multilink.Another kind of execution mode is that memory module 2 specifically comprises: message compression parameters acquiring unit, being used for Member Link adds after the multilink bundle interface, obtain the message compression parameters of message compression parameters from the multilink bundle interface as self, can obtain the message compression parameters afterwards at once for the first multilink bundle interface that adds, also can be after this, when the message compression parameters that disposes on the multilink bundle interface upgrades, obtain once more; Memory cell is used for the message compression parameters that stored messages compression parameters acquiring unit gets access to.Then adopt each Member Link that is bundled into multilink of said structure to obtain the message compression parameters, thereby avoided the loaded down with trivial details of configuration respectively from a multilink bundle interface; Another execution mode that the Member Link of employing said structure obtains the message compression parameters is in conjunction with above-mentioned dual mode, and to set in a kind of mode wherein serve as preferential, for example based on the message compression parameters of each Member Link separate configurations, when not having separate configurations, just obtain the message compression parameters from the multilink bundle interface.
Member Link in the present embodiment technical scheme has independently compression/de-compression module, can independently finish the compression and decompression operation among the said method embodiment of the present invention, in compressed packet, needn't add extra encapsulation byte, therefore can effectively reduce the heading byte number, reach the purpose of saving transport overhead.In addition, independently finish the compression and the transmit operation of a message, reduced demand, reduced message transmitting time delay, improved efficiency of transmission and reliability cache resources by a Member Link.
Message forwarding system based on multilink
Be illustrated in figure 4 as the structural representation of the message forwarding system specific embodiment that the present invention is based on multilink, this system comprises control module 10, first Member Link 20 and second Member Link 30, first Member Link 20 and second Member Link 30 are the Member Link that binding becomes multilink, its quantity is at least one, generally include several first, second Member Links, wherein:
Control module 10 when being used to receive message to be sent, being set one first Member Link and is sent this message, and this message is handed down to this first Member Link 20 of setting; This first Member Link 20 comprises: the message acquisition module 21 that is used for obtaining from control module 10 message to be sent; First memory module 22 that is used for the stored messages compression parameters; Be used at first memory module, 22 query message compression parameters, and this message carried out the compression processing module 23 of message squeeze operation according to the message compression parameters that inquires; Be used to send the sending module 24 of this compressed packet; This second Member Link 30 comprises: the receiver module 31 that is used for receiving from the sending module 21 of this first Member Link 20 compressed packet; Second memory module 32 that is used for the stored messages compression parameters; Be used at second memory module, 32 query message compression parameters, and this compressed packet carried out the decompression module 33 of message decompression operation according to the message compression parameters that inquires.
Can further include multilink bundle interface 40 in the message forwarding system of present embodiment based on multilink, as shown in Figure 4, be used for after first Member Link 20 and second Member Link, 30 adding multilink bundle interfaces 40, to first memory module 22 of first Member Link 20 and second memory module, the 32 downward message compression parameters of second Member Link 30.The mode that first memory module 22 and second memory module 32 are obtained the message compression parameters specifically can adopt memory module 2 among the Member Link embodiment that the present invention is based on multilink to obtain the technical scheme of message compression parameters.
Control module 10 in the present embodiment may further include: the attribute acquisition unit, when being used to receive message to be sent, gather the property value of this message and the property value of first Member Link 20; Comparing unit, the message attribute value that is used for relatively collecting and the property value of first Member Link 20, and set a Member Link 20 according to comparative result and send these messages.
The workflow of present embodiment technical scheme can adopt the message that the present invention is based on multilink to compress the technical scheme of sending method and message reception decompression method embodiment, message compression transmitting apparatus in said method embodiment can specifically comprise the control module and first Member Link among the message forwarding system embodiment of the present invention, and message reception decompression apparatus can specifically comprise second Member Link among the repeater system embodiment of the present invention.The binding become multilink each first, second Member Link has the functional module of separate, stored message compression parameters, thereby the compression and decompression that can independently carry out message are operated, therefore needn't in the message of compression, increase extra byte, reduced the heading byte number, saved transport overhead, in addition, can select a Member Link and finish compression and the transmission that all messages are flowed in same session, therefore can solve that to transmit the cache resources demand that causes simultaneously big because of a plurality of physical links, propagation delay time is long, the problem of transmission reliability difference, and the restricted number of physical link under the multilink reduced.Present embodiment is also by introducing multilink bundle interface 40, guarantee that each Member Link has independently message compression parameters, multilink bundle interface 40 can also further be separately positioned on the compression transmitting terminal of message and receive decompressor end, can be separately positioned in the message compression transmitting apparatus in other words and message receives in the decompression apparatus, realize respectively function to first Member Link and the second Member Link downward message compression parameters.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (21)

1. the message based on multilink compresses sending method, it is characterized in that comprising:
Member Link in the binding multilink obtains message to be sent;
The message compression parameters of described Member Link inquiry self is carried out the message squeeze operation according to the message compression parameters that inquires to described message;
Described Member Link sends this compressed packet.
2. the message compression sending method based on multilink according to claim 1 is characterized in that, also comprises:
When described Member Link adds the multilink bundle interface, obtain the message compression parameters of message compression parameters as self from the collection of described multilink bundle interface.
3. the message compression sending method based on multilink according to claim 2 is characterized in that, also comprises:
After the message compression parameters of described multilink bundle interface upgrades, described Member Link obtains the message compression parameters after the renewal that the multilink bundle interface issues, or the described Member Link message compression parameters that monitors the multilink bundle interface obtains the message compression parameters from the collection of described multilink bundle interface when upgrading.
4. according to claim 2 or 3 described messages compression sending methods based on multilink, it is characterized in that, when described Member Link when described multilink bundle interface obtains the message compression parameters, also comprise:
Described Member Link judges whether self disposes the message compression parameters, if, then keep self message compression parameters, if not, then obtain the message compression parameters of message compression parameters as self from described multilink bundle interface.
5. according to claim 2 or 3 described message compression sending methods, it is characterized in that, also comprise based on multilink:
Described Member Link adds after the multilink bundle interface, upgrades the message compression parameters of this Member Link self, to replace the message compression parameters that obtains from the multilink bundle interface.
6. according to claim 1 or 2 or 3 described message compression sending methods, it is characterized in that, also comprise based on multilink: when Member Link withdraws from the multilink bundle interface, the message compression parameters that deletion is obtained from described multilink bundle interface.
7. the message compression sending method based on multilink according to claim 1, it is characterized in that, Member Link in the binding multilink obtains message to be sent and is specially: when message compression transmitting apparatus received message to be sent, a Member Link of setting in the binding multilink sent this message.
8. the message compression sending method based on multilink according to claim 7, it is characterized in that, Member Link in the described message compression transmitting apparatus setting binding multilink sends this message and is specially: described message compression transmitting apparatus detects and relatively bundlees the state of each Member Link in the multilink, sets a Member Link according to comparative result and sends this message.
9. the message compression sending method based on multilink according to claim 8, it is characterized in that, described message compression transmitting apparatus detects and relatively bundlees the state of each Member Link in the multilink, sets a Member Link according to comparative result and sends this message and be specially:
Message compression transmitting apparatus detects the transmission band occupation rate of each Member Link in the binding multilink;
Message compression transmitting apparatus is the transmission band occupation rate of each Member Link relatively, and the Member Link of setting a transmission band occupation rate minimum according to comparative result sends this message.
10. the message compression sending method based on multilink according to claim 8, it is characterized in that, described message compression transmitting apparatus detects and relatively bundlees the state of each Member Link in the multilink, sets a Member Link according to comparative result and sends this message and be specially:
Message compression transmitting apparatus detects the failure identification or the time delay value of each Member Link in the binding multilink;
Message compression transmitting apparatus is the failure identification or the time delay value of each Member Link relatively, according to comparative result, is lower than at fault-free or time delay value and sets a Member Link in the Member Link of setting threshold value and send this message.
11. the message compression sending method based on multilink according to claim 7, it is characterized in that, Member Link in the described message compression transmitting apparatus setting binding multilink sends this message and is specially: message compression transmitting apparatus is gathered the property value of message to be sent, corresponding respective attributes value of gathering each Member Link in the binding multilink, and carry out matching operation according to setting matched rule, set a Member Link according to matching result and send this message.
12. the message compression sending method based on multilink according to claim 11, it is characterized in that, message to be sent gathered by described message compression transmitting apparatus and the Member Link property value is specially: source I P address, purpose IP address, source port number, destination slogan and/or Synchronization Source territory that message compression transmitting apparatus is gathered message to be sent, and corresponding respective attributes value of gathering each Member Link.
13. the message based on multilink receives decompression method, comprises as follows:
Member Link in the binding multilink receives compressed packet;
Described Member Link is inquired about the message compression parameters of self, and according to the message compression parameters that inquires described message is carried out the message decompression operation.
14. the message based on multilink according to claim 13 receives decompression method, it is characterized in that, also comprises:
When described Member Link adds the multilink bundle interface, obtain the message compression parameters of message compression parameters as self from the collection of described multilink bundle interface.
15. the message based on multilink according to claim 14 receives decompression method, it is characterized in that, also comprises:
After the message compression parameters of multilink bundle interface upgrades, described Member Link obtains the message compression parameters after the renewal that the multilink bundle interface issues, or the described Member Link message compression parameters that monitors the multilink bundle interface obtains the message compression parameters from the collection of described multilink bundle interface when upgrading.
16. receive decompression methods according to claim 14 or 15 described messages based on multilink, it is characterized in that, when member's link when the multilink bundle interface obtains the message compression parameters, also comprise:
Described Member Link judges whether self disposes the message compression parameters, if, then keep self message compression parameters, if not, then obtain the message compression parameters of message compression parameters as self from described multilink bundle interface.
17. receive decompression method according to claim 14 or 15 described messages based on multilink, it is characterized in that, also comprise:
Described Member Link adds after the multilink bundle interface, upgrades the message compression parameters of this Member Link self, to replace the message compression parameters that obtains from the multilink bundle interface.
18. receive decompression method according to claim 13 or 14 or 15 described messages based on multilink, it is characterized in that, also comprise: when Member Link withdraws from the multilink bundle interface, the message compression parameters that deletion is obtained from described multilink bundle interface.
19. the Member Link based on multilink is characterized in that, comprising:
The message acquisition module is used to obtain message to be sent;
Memory module is used for the stored messages compression parameters;
The compression processing module is used at described memory module query message compression parameters, and according to the message compression parameters that inquires described message is carried out the message squeeze operation;
Sending module is used to send this compressed packet.
20. the Member Link based on multilink according to claim 19 is characterized in that, also comprises:
Receiver module is used to receive compressed packet;
The decompression module is used at described memory module query message compression parameters, and according to the message compression parameters that inquires the described compressed packet that receives is carried out the message decompression operation.
21., it is characterized in that described memory module comprises according to claim 19 or 20 described Member Links based on multilink:
Message compression parameters acquiring unit is used for described Member Link and adds after the multilink bundle interface, obtains the message compression parameters of message compression parameters as self from described multilink bundle interface;
Memory cell is used to store the message compression parameters that described message compression parameters acquiring unit gets access to.
CN200710167348XA 2007-10-25 2007-10-25 Packet compressed transmitting and received de-compression method and system based on multilink Expired - Fee Related CN101197773B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200710167348XA CN101197773B (en) 2007-10-25 2007-10-25 Packet compressed transmitting and received de-compression method and system based on multilink

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200710167348XA CN101197773B (en) 2007-10-25 2007-10-25 Packet compressed transmitting and received de-compression method and system based on multilink

Publications (2)

Publication Number Publication Date
CN101197773A CN101197773A (en) 2008-06-11
CN101197773B true CN101197773B (en) 2010-12-15

Family

ID=39547929

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200710167348XA Expired - Fee Related CN101197773B (en) 2007-10-25 2007-10-25 Packet compressed transmitting and received de-compression method and system based on multilink

Country Status (1)

Country Link
CN (1) CN101197773B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101656639B (en) * 2009-08-27 2012-01-04 华为技术有限公司 Empty identifying method, device and receiving equipment for MLPPP link
CN103795655A (en) * 2012-10-30 2014-05-14 中兴通讯股份有限公司 Data transmission method and data transmission device
CN104219079A (en) * 2013-06-04 2014-12-17 华为技术有限公司 Method and device for data transmission
CN103593437A (en) * 2013-11-14 2014-02-19 浪潮电子信息产业股份有限公司 Data compression chip structure based on DMA and implementation method thereof
CN103746934A (en) * 2013-12-24 2014-04-23 乐视网信息技术(北京)股份有限公司 CDN bandwidth balancing method, CDN control center and system
CN104410723A (en) * 2014-12-19 2015-03-11 上海斐讯数据通信技术有限公司 LSDB (LinkState Database) synchronization method and system in OSPF (Open Shortest Path First)
CN105791108B (en) * 2014-12-25 2019-07-12 中兴通讯股份有限公司 A kind of method and device that the tunnel bandwidth based on bundle interface is reserved
CN109257244B (en) * 2017-07-14 2021-12-07 北京国双科技有限公司 Transmission control method, device and system for user behavior data
CN112534784A (en) 2018-08-29 2021-03-19 瑞典爱立信有限公司 Method and network device for data transmission via a forwarding interface

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1529520A (en) * 2003-09-29 2004-09-15 中兴通讯股份有限公司 Multi-link point-to-point protocol link consulting method
CN1852284A (en) * 2006-04-11 2006-10-25 潘国纲 Network parallel data transmission method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1529520A (en) * 2003-09-29 2004-09-15 中兴通讯股份有限公司 Multi-link point-to-point protocol link consulting method
CN1852284A (en) * 2006-04-11 2006-10-25 潘国纲 Network parallel data transmission method

Also Published As

Publication number Publication date
CN101197773A (en) 2008-06-11

Similar Documents

Publication Publication Date Title
CN101197773B (en) Packet compressed transmitting and received de-compression method and system based on multilink
US7653749B2 (en) Remote protocol support for communication of large objects in arbitrary format
WO2014135038A1 (en) Packet transmission method and device based on pcie bus
US20200250129A1 (en) Rdma data sending and receiving methods, electronic device, and readable storage medium
CN102118792B (en) Method and device for transmitting data packets
CN103369593A (en) Method for compressing and decompressing Ethernet message and network element equipment
CN111464635B (en) Dictionary index transmission method and device
WO2016095149A1 (en) Data compression and storage method and device, and distributed file system
CN102439574A (en) Data replacement method in system cache and multi-core communication processor
CN102694730B (en) Method and device for parallel processing
CN107529186A (en) The method and system of channel transmission upstream data, client, server
CN101860904A (en) Method for calculating checksums based on data packet IP (Internet Protocol) hearder compression technology
CN113839902B (en) Communication protocol adaptation method, device, computer equipment and storage medium
CN112769743B (en) Header compression method, device and equipment
CN101668018A (en) Network transmission method and system therefor
CN103068052A (en) Dynamic configuration method and system of resources and portal server
CN106790320A (en) A kind of method that multi-application inter-system data is pushed
CN103220260B (en) The more method of new data, server, client and system
CN100401671C (en) Method for transmitting files
CN111221792A (en) Ceph-based rbd file transmission method and system
CN103906007A (en) Multimedia-message forwarding method and device
CN105430006B (en) A kind of method of dynamic realtime adjustment spice image quality
CN111198844B (en) Method for transmitting specified file or directory structure
CN107465962B (en) Method for transmitting non-real-time video and audio files
WO2010150704A1 (en) Processing node selecting system, information processing node, processing method and program

Legal Events

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

Granted publication date: 20101215

Termination date: 20191025

CF01 Termination of patent right due to non-payment of annual fee