CN104618961A - Single-channel TCP/ IP header compression method and system for intelligent power grid - Google Patents

Single-channel TCP/ IP header compression method and system for intelligent power grid Download PDF

Info

Publication number
CN104618961A
CN104618961A CN201510030511.2A CN201510030511A CN104618961A CN 104618961 A CN104618961 A CN 104618961A CN 201510030511 A CN201510030511 A CN 201510030511A CN 104618961 A CN104618961 A CN 104618961A
Authority
CN
China
Prior art keywords
tcp
packet
compression
contextual information
data
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
Application number
CN201510030511.2A
Other languages
Chinese (zh)
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.)
Potevio Information Technology Co Ltd
Putian Information Technology Co Ltd
Original Assignee
Putian Information Technology 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 Putian Information Technology Co Ltd filed Critical Putian Information Technology Co Ltd
Priority to CN201510030511.2A priority Critical patent/CN104618961A/en
Publication of CN104618961A publication Critical patent/CN104618961A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • H04L67/5651Reducing the amount or size of exchanged application data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/04Protocols for data compression, e.g. ROHC
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information

Abstract

The invention provides single-channel TCP/ IP header compression method and system for an intelligent power grid. The method comprises the steps of respectively acquiring field information which is carried by a TCP construction message and remains unchanged in the current TCP connection life cycle through a sending end and a receiving end while constructing the TCP connection, and treating the field information as the context information for header compression; performing header compression for a TCP/ IP data packet to be transmitted through the sending end to obtain a compressed TCP/ IP data packet; sending the compressed TCP/ IP data packet to the receiving end by the sending end through a wireless link; recovering the received compressed TCP/ IP data packet into the complete TCP/ IP data packet by the receiving end according to the context information, the fixed value in the data packet, the remaining bit and the header checking method. According to the method, the header of the TCP/ IP data packet is compressed; the transmission of data messages without carrying service information in the link is avoided to the maximum; therefore, the waste of the wireless link resource is reduced, and the utilization efficiency of the wireless link is increased.

Description

Be applied to single channel TCP/IP head compression method and the system of intelligent grid
Technical field
The present invention relates to network communication technology field, particularly relate to a kind of the single channel TCP/IP head compression method and the system that are applied to intelligent grid.
Background technology
The Wireless Broadband Communication Systems network architecture mainly comprises user equipment (UE) (UserEquipment), evolution base station eNodeB (Evolved NodeB), core net EPC (Evolved Packet Core).ENodeB carries out the mutual of signaling and user face data by air interface and UE, and function comprises the signaling and upstream data that receive from UE, and sends signaling response and downlink data to UE.EPC is externally rendered as three interfaces, S1-MME interface is the signaling interface between EPC and eNodeB, S1-U interface is the interface in the user plane between EPC and eNodeB, and SGI interface is the interface between EPC and grouped data network PDN (Packet Data Network).
The application of major part intelligent grid all only needs maintenance terminal to connect to main website or user equipment (UE) (User Equipment) to the transmission control protocol TCP (TransmissionControl Protocol) of main website.No matter be any connected mode at present, air interface transmission be all complete TCP message, the message of a large amount of maintenance link is comprised in Transmission Control Protocol, these messages can play good effect in the wired context, but in the wireless context, interface-free resources is more nervous, these messages itself do not comprise business information, but but occupy valuable interface-free resources, influential system capacity.During but intelligent grid requires that must be carried on TCP connects, so being necessary to compress TCP/IP TCP/IP head when internal system is transmitted when ensureing that Wireless Broadband Communication Systems external interface is constant, reducing the data volume of transmission.
Transmission Control Protocol is the modal transmission control protocol of Internet, and it can provide reliable communication connection for user, and is applicable to transmit bulk data.For ensureing the reliability of transmission, Transmission Control Protocol provides a lot of mechanism, and achieves good runnability in the wired context.But wireless link has poor reliability compared with cable environment, bandwidth is relatively low, the feature that time delay is larger, and the data validation of TCP and retransmission mechanism all can aggravate the congested of wireless link, and system is occurred, and capacity reduces, and recruits and surveys the low problem of success rate.TCP can run into following problem in the wireless context:
1) congestion window that delay problem causes increasess slowly, and the re-transmission after packet loss causes the waste of Radio Resource, even if this problem still exists when small data transmission;
2) a large amount of ACK in TCP transmission confirm whether the keepalive of bag and maintenance Link State comprises effective business information, and simultaneously when small data quantity transmits, TCP/IP packet header proportion is very large, causes the waste of Radio Resource;
3) time delay also can be caused to increase gradually to taking of Radio Resource, business datum cannot arrive receiving terminal in time, reduces the success rate of business transmission.
Summary of the invention
In view of the above problems, propose the present invention to provide a kind of overcome the problems referred to above or solve at least in part or slow down the single channel TCP/IP head compression method being applied to intelligent grid of the problems referred to above and be applied to the single channel TCP/IP head compressibility of intelligent grid accordingly.
According to an aspect of the present invention, provide a kind of single channel TCP/IP head compression method being applied to intelligent grid, the method comprises:
Transmitting terminal and receiving terminal, when setting up TCP and being connected, obtain TCP respectively and set up the field information remained unchanged in the life cycle that current TCP connects carried in message, as the contextual information of head compression;
TCP/IP packet waiting for transmission is carried out head compression by transmitting terminal, obtains compression-tcp/IP packet;
Transmitting terminal by wireless link by described compression-tcp/IP Packet Generation to receiving terminal;
Receiving terminal according to the fixed value in described contextual information and packet, to retain position and stem method of calibration by the described compression-tcp/IP data packet recovery received be complete TCP/IP packet.
Wherein, when the success of TCP connection establishment, described method also comprises:
Described contextual information is labeled as effective status by transmitting terminal and receiving terminal.
Wherein, described TCP/IP packet waiting for transmission is carried out head compression, specifically comprises:
The field information that can be undertaken recovering by the fixed value in described contextual information and packet, reservation position and stem method of calibration in the head of TCP/IP packet waiting for transmission is deleted;
Residue field in the packet header of described TCP/IP packet waiting for transmission is built into the compressing head of described TCP/IP packet.
Wherein, described according to the fixed value in described contextual information and packet, to retain position and stem method of calibration by the described compression-tcp/IP data packet recovery received be complete TCP/IP packet, specifically comprise:
Identify whether the TCP/IP packet received is compression-tcp/IP packet;
When receiving compression-tcp/IP packet, according to the fixed value in described contextual information and packet, to retain position and stem method of calibration by described compression-tcp/IP data packet recovery be complete TCP/IP packet.
Wherein, described according to the fixed value in described contextual information and packet, to retain position and stem method of calibration by described compression-tcp/IP data packet recovery be complete TCP/IP packet, specifically comprise:
Re-write stating the field information lacked in the compressing head of compression-tcp/IP packet according to the fixed value in described contextual information and packet, reservation position and stem method of calibration.
Wherein, when current TCP connection reconstruction, described method also comprises:
Described contextual information upgrades by transmitting terminal and receiving terminal.
Wherein, when current TCP connection closed, described method also comprises:
Described contextual information is labeled as failure state by transmitting terminal and receiving terminal.
Wherein, when described contextual information is failure state, if the TCP/IP packet that receiving terminal receives is compression-tcp/IP packet, then according to the fixed value in described contextual information and packet, reservation position and stem method of calibration, the compression-tcp received/IP packet is recovered.
Wherein, when transmitting terminal attachment removal, described method also comprises:
Transmitting terminal and receiving terminal remove described contextual information.
According to another aspect of the present invention, provide a kind of single channel TCP/IP head compressibility being applied to intelligent grid, described system comprises transmitting terminal and receiving terminal:
Described transmitting terminal comprises:
First contextual information acquiring unit, for receiving terminal set up TCP be connected time, obtain TCP set up the field information remained unchanged in the life cycle that current TCP connects carried in message, as head compression contextual information;
Data compression unit, for TCP/IP packet waiting for transmission is carried out head compression, obtains compression-tcp/IP packet;
Data transmission unit, for by wireless link by described compression-tcp/IP Packet Generation to receiving terminal;
Described receiving terminal comprises:
Second contextual information acquiring unit, for transmitting terminal set up TCP be connected time, obtain TCP set up the field information remained unchanged in the life cycle that current TCP connects carried in message, as head compression contextual information;
Data recovery unit, for according to the fixed value in described contextual information and packet, to retain position and stem method of calibration by the described compression-tcp/IP data packet recovery received be complete TCP/IP packet.
Wherein, described receiving terminal also comprises:
First dry state symbol unit, for when TCP connection establishment is successful, is labeled as effective status by described contextual information;
Receiving terminal updating block, for when current TCP connection reconstruction, upgrades described contextual information;
Second dry state symbol unit, for when current TCP connection closed, is labeled as failure state by described contextual information;
Described transmitting terminal also comprises:
Third state indexing unit, for when TCP connection establishment is successful, is labeled as effective status by described contextual information;
Transmitting terminal updating block, for when current TCP connection reconstruction, upgrades described contextual information;
4th dry state symbol unit, for when current TCP connection closed, is labeled as failure state by described contextual information.
Wherein, described data compression unit comprises:
Removing module, for deleting the field information that can be undertaken recovering by the fixed value in described contextual information and packet, reservation position and stem method of calibration in the head of TCP/IP packet waiting for transmission;
Compressing head builds module, for the residue field in the packet header of described TCP/IP packet waiting for transmission being built into the compressing head of described TCP/IP packet.
Wherein, described data recovery unit comprises:
Identification module, for identifying whether the TCP/IP packet received is compression-tcp/IP packet;
Data recovery module, for when receiving compression-tcp/IP packet, according to the fixed value in described contextual information and packet, to retain position and stem method of calibration by described compression-tcp/IP data packet recovery be complete TCP/IP packet, is specially: according to the fixed value in described contextual information and packet, retain position and stem method of calibration re-writes stating the field information lacked in the compressing head of compression-tcp/IP packet.
Beneficial effect of the present invention is:
The present invention is when carrying out TCP/IP transfer of data, by compressing the header file of TCP/IP packet, reduce the holding time of unique user to air-link resources, avoid not containing the data message transmission in a link of business information as far as possible, reduce the waste to air-link resources, improve the service efficiency of wireless link; When same bandwidth, can support that more UE access networks provide data transport service, improve the capacity of Wireless Broadband Communication Systems, simultaneously because the message that will send reduces, the time delay that wireless link produces also reduces accordingly, reduce the probability that TCP retransmits, improve real-time and the success rate of transfer of data.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of specification, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
A kind of flow chart being applied to the single channel TCP/IP head compression method of intelligent grid that Fig. 1 provides for the embodiment of the present invention;
A kind of flow chart being applied to the fine division step of step S12 in the single channel TCP/IP head compression method of intelligent grid that Fig. 2 provides for the embodiment of the present invention;
Fig. 3 is the schematic diagram of the field retaining in the header file compression of TCP/IP data in the embodiment of the present invention and compress;
Fig. 4 is the structural representation of header file of the TCP/IP data in the embodiment of the present invention after compression;
Fig. 5 is the flow chart of data transmission procedure between UE and eNodeB in the embodiment of the present invention;
Fig. 6 is the compression process figure of the TCP/IP header file in the embodiment of the present invention on UE and eNodeB;
Fig. 7 is the compression process figure of the TCP/IP header file in the embodiment of the present invention on UE and eNodeB;
A kind of structured flowchart being applied to the single channel TCP/IP head compressibility of intelligent grid that Fig. 8 provides for the embodiment of the present invention; And
A kind of structured flowchart being applied to data compression unit in the single channel TCP/IP head compressibility of intelligent grid that Fig. 9 provides for the embodiment of the present invention.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, and all terms used herein (comprising technical term and scientific terminology), have the meaning identical with the general understanding of the those of ordinary skill in field belonging to the present invention.Should also be understood that those terms defined in such as general dictionary, should be understood to that there is the meaning consistent with the meaning in the context of prior art, unless and by specific definitions, otherwise can not explain by idealized or too formal implication.
A kind of flow chart being applied to the single channel TCP/IP head compression method of intelligent grid that Fig. 1 provides for the embodiment of the present invention.
See Fig. 1, the single channel TCP/IP head compression method of what the embodiment of the present invention provided be applied to intelligent grid comprises the following steps:
S11, transmitting terminal and receiving terminal are when setting up TCP and being connected, obtain TCP respectively and set up the field information remained unchanged in the life cycle that current TCP connects carried in message, as the contextual information of head compression, preserve described contextual information at transmitting terminal and receiving terminal respectively;
In this step, set up for the TCP between UE and eNodeB the acquisition that message carries out contextual information, other protocol data factor data amounts are less does not carry out compression process.The control data of TCP carries the full detail of TCP connection, and these information is used in UE and eNodeB, build unified compression/de-compression contextual information, so paired domination number is not according to also compressing, only confirms the ACK of compression business datum and business datum.In the present embodiment, in the TCP connection of current foundation, the package head format of the TCP/IP packet of transmission is all consistent, therefore, after obtaining contextual information, can carry out the decompress(ion) recovery of packed data according to all data of this contextual information to transmission in current TCP connection.
TCP/IP packet waiting for transmission is carried out head compression by S12, transmitting terminal, obtains compression-tcp/IP packet;
S13, transmitting terminal by wireless link by described compression-tcp/IP Packet Generation to receiving terminal;
S14, receiving terminal according to the fixed value in described contextual information and packet, to retain position and stem method of calibration by the described compression-tcp/IP data packet recovery received be complete TCP/IP packet.
Embodiments provide a kind of single channel TCP/IP head compression method being applied to intelligent grid, as novel 230MHz Wireless Broadband Communication Systems, go in the higher application of requirement of real-time in power industry, business datum is carried in a TCP connection, and does not comprise the situation of option in TCP and IP head.User UE and base station eNodeB automatically can carry out compression and decompression (recovery) to business datum, ensure that the most data transmitted on wireless links is all compressed, thus improve the service efficiency of wireless link.
The embodiment of the present invention have employed self-defining compressed header packet in wireless transmissions, about making the length in TCP and IP packet header be reduced to 20 bytes by 40 bytes, thus reduces the holding time of single UE to air-link resources.Avoid not containing the message transmissions of business information as far as possible, reduce the waste to air-link resources.When same bandwidth, Wireless Broadband Communication Systems can support that more UE access networks provide data transport service, improves the capacity of Wireless Broadband Communication Systems.Simultaneously because the message that will send reduces, the time delay that wireless link produces also reduces accordingly, reduce the probability that TCP retransmits, improve real-time and the success rate of transfer of data, and the process of compression and decompression in the present embodiment is without the need to manual intervention, automatically can carry out for tcp data, even if there is the situation of loss of data on wireless links, also not affect the success rate of subsequent data transmission.
Further, when the success of TCP connection establishment, described method also comprises:
Described contextual information is labeled as effective status by transmitting terminal and receiving terminal.
In order to embody the superiority of invention further, following the present invention of announcement is further applied to the fine division step of step S12 in the single channel TCP/IP head compression method of intelligent grid, embodies another embodiment realized according to this step.With reference to Fig. 2, the fine division step of this step comprises:
S121, by the head of TCP/IP packet waiting for transmission can by the fixed value in described contextual information and packet, retain the field information that position and stem method of calibration carry out recovering and delete;
S122, the residue field in the packet header of described TCP/IP packet waiting for transmission is built into the compressing head of described TCP/IP packet, and then obtains compression-tcp/IP packet.
In the embodiment of the present invention, clipped field is selected in IP head and TCP head, these fields can be recovered by the fixed value in related context information and packet, reservation position and stem method of calibration at receiving terminal, then remainder is built into new compressing head.Compression/de-compression context is set up, for preserving the necessary information in compression/decompression process in UE and eNodeB.When carrying out transfer of data, data sending terminal compresses data head, and receiving terminal becomes normal network packet the date restoring after compression, is transferred to EPC.In IP head and TCP head, have part field because have fixed value or retain position, do not send so can omit, receiving terminal can recover this part field.Stem School Affairs in IP head and the School Affairs in TCP head can obtain by calculating, and therefore also can omit in the transmission.Part field is also had all to remain unchanged in the life cycle of TCP link, comprise: the IP address of UE and port, the IP address of main website server and port, therefore can preserve the context of these information as compression and decompression function in UE and eNodeB, these fields in packet header can be omitted.
Further, described according to the fixed value in described contextual information and packet, to retain position and stem method of calibration by the described compression-tcp/IP data packet recovery received be complete TCP/IP packet, specifically comprise:
Identify whether the TCP/IP packet received is compression-tcp/IP packet;
When receiving compression-tcp/IP packet, according to the fixed value in described contextual information and packet, to retain position and stem method of calibration by described compression-tcp/IP data packet recovery be complete TCP/IP packet.
Further, described according to the fixed value in described contextual information and packet, to retain position and stem method of calibration by described compression-tcp/IP data packet recovery be complete TCP/IP packet, specifically comprise: according to the fixed value in described contextual information and packet, retain position and stem method of calibration re-writes stating the field information lacked in the compressing head of compression-tcp/IP packet.
In the embodiment of the present invention, the business datum after link establishment success and ACK confirm to compress, and transmitting terminal, according to compressing head file restructuring packet, sends to receiving terminal by eating dishes without rice or wine.When receiving terminal receives TCP/IP packet, receiving terminal identifies after receiving TCP/IP packet whether the TCP/IP packet received is compression-tcp/IP packet, when receiving compression-tcp/IP packet, the information of preserving based on context, and Transmission Control Protocol knowledge is reconfigured to TCP/IP packet.
Further, when current TCP connection reconstruction, described method also comprises: described contextual information upgrades by transmitting terminal and receiving terminal.If there is the phenomenon of packet loss in this process, TCP sets up can be failed, and transmitting terminal can be initiated TCP and be rebuild, and can preserve the information after renewal in the contextual information of receiving terminal.
Further, when current TCP connection closed, described method also comprises: described contextual information is labeled as failure state by transmitting terminal and receiving terminal.
Further, when described contextual information is failure state, if the TCP/IP packet that receiving terminal receives is compression-tcp/IP packet, then according to the fixed value in described contextual information and packet, reservation position and stem method of calibration, the compression-tcp received/IP packet is recovered.When TCP closes, UE and eNodeB only contextual tagging for losing efficacy, and incomplete deletion, the data now sent can not be compressed, but if the data received are compressed, the information in context still can be used to decompress.Even if occur that open command is lost like this, or postponing because eating dishes without rice or wine to cause the cognition of UE and eNodeB to tcp state inconsistent, also can correctly decompress at receiving terminal.
Further, when current transmitting terminal attachment removal, described method also comprises: transmitting terminal and receiving terminal remove described contextual information.In the embodiment of the present invention, during present terminal attachment removal, thoroughly remove information in context, again trigger compression process when again adhering to rear new TCP and setting up.
Be described in detail below in conjunction with the implementation procedure of example to the embodiment of the present invention.
Embodiment 1
The embodiment of the present invention as shown in Figure 3, in smart electric grid system TCP/IP packet header file in the part that can compress as follows:
In figure 1,6,9,12, in electric power application, absolutely most cases is all that UE first initiates the request of TCP connection establishment, and protocol stack is controlled, does not carry option, so the header length in IP head and TCP head can assert it is all 20, option can omit.
In figure 2, the present invention only compresses for tcp data, and 8 bit protocols can omit.
School Affairs in figure 3,10, IP heads and TCP head can obtain by calculating.
In figure 4,5,7,8, TCP connects once set up, and source IP address, object IP address, source port number and destination slogan can not change, and there is no need all to transmit at every turn.
In figure 11, when not arranging urgent pointer, this position can be arranged to 0.
Embodiment 2
As shown in Figure 4, Fig. 4 is the TCP/IP header file after compression to the embodiment of the present invention:
In figure 1 ', use the IP packet that protocol version 4 represents conventional, F represents the packet after compression, and whether receiving terminal accordingly identification data is compressed.
In figure 2 ', 4 TOS derive from 8 type of service fields in IP head, and original 8 type of service fields comprise the priority son field (being left in the basket now) of a 3bit, 1bit unused bit and this must set to 0 the TOS field with 4bit.Only retain now the TOS field of 4bit, all the other 4bit omit.
In figure 3 ', the 6bit in original TCP head retains position, according to TCP alignment, omits 4bit.
In figure 4 ', preserve TCP link No. with 8 link No.s, can be used for expanding to the situation supporting many TCP links.
Embodiment 3
As shown in Figure 5, the flow process of UE and eNodeB carrying out compression/de-compression comprises the embodiment of the present invention:
After the compression/de-compression module of UE receives the TCP/IP message from data processing module in external equipment or UE, after data message is compressed, send to eNodeB by wireless link.
ENodeB receives the message after compression from wireless link, decompresses to message, reverts to TCP/IP message, sends to EPC.
ENodeB receives TCP/IP message from EPC, sends to UE. after compression by wireless link
The compression/de-compression module of UE receives the message after compression, decompresses, reverts to TCP/IP message, send to the data processing module in external equipment or UE to message.
Embodiment 4
As shown in Figure 6, the TCP/IP data packet head compressing file flow process on UE and eNodeB comprises the embodiment of the present invention:
S21, when transmitting terminal sends the handshake message that TCP sets up, preserve the IP of UE, port, the IP of main website and port to context, when TCP is successfully established, mark context is upstate.
Whether S22, inquire about context when sending tcp data and can use, if available, need the packet format data reconstruction bag after according to compression, being sent to wireless link, if context is unavailable, without the need to compressing direct transmission.
S23, when sending TCP disconnection, mark context is unavailable, but still retains the information in context, prevents UE and eNodeB when context upstate is inconsistent, cannot recover the message compressed.
S24, when contextual information is disarmed state, no longer compresses packet.Just again compression process can be triggered when TCP rebuilds.
S25, when UE attachment removal, thoroughly removes the content in context, triggers compression process again when new TCP sets up after attachment again.
Embodiment 5
The embodiment of the present invention as shown in Figure 7, on UE and eNodeB TCP/IP data packet head file decompression (recovery) flow process comprises:
S31, receives TCP when setting up packet, and preserve the IP of UE, port, the IP of main website and port to context, when TCP is successfully established, marking context is effective status and upstate.
S32, whether all compressed data received no matter can use by context, all uses the information in context to decompress.
S33, when receiving the message that TCP disconnects, mark contextual information is disarmed state and down state.
S34, when UE attachment removal, thoroughly removes the content in context, triggers compression process again when new TCP sets up after attachment again.
The embodiment of the present invention increases compression/restore funcitons on UE and eNodeB, does not change the S1 interface between eNodeB and EPC.The field can not rebuild in utilizing TCP/IP to transmit reorganizes the data head after compression, ensures that the TCP/IP data message after compression can carry out accurate recovery at receiving terminal and namely decompress.Compression/restore funcitons in UE and eNodeB is automatically set up when processing the message that TCP sets up and deletes and deletes contextual information, carries out compression and decompression and ensure that the most of data transmitted on wireless links are all compressed data messages during process business data message.In context, can to reduce UE and the eNodeB state that wireless link packet loss causes inconsistent in the application of Status Flag, thus reduce the risk of de-compression failure.
The embodiment of the present invention completes the compression and decompression of TCP/IP bag on UE and eNodeB, reduces the data volume of wireless link, does not affect simultaneously, do not affect Wireless Broadband Communication Systems whole IP group network feature flexibly to the S1 mouth between eNodeB and EPC.
The embodiment of the present invention builds the TCP/IP head after compression, saves the transmission quantity of half, Use Defaults than original TCP/IP head, record and the correct recovery TCP/IP packet header of several mode of dynamic calculation in context.
In the embodiment of the present invention, disconnecting after message when processing link, not recompressing when sending data, and receive packed data original context still can be used to decompress.Transmitting terminal sends the data message not having to compress, and no matter which kind of state receiving terminal is in can process these data.Even if the data that transmitting terminal sends have passed through compression, receiving terminal also can correct decompress(ion).
A kind of structured flowchart being applied to the single channel TCP/IP head compressibility of intelligent grid that Fig. 8 provides for the embodiment of the present invention;
See Fig. 8, the single channel TCP/IP head compressibility of what the embodiment of the present invention provided be applied to intelligent grid, described system comprises transmitting terminal 10 and receiving terminal 20:
Described transmitting terminal 10 comprises:
First contextual information acquiring unit 101, for receiving terminal set up TCP be connected time, obtain TCP set up the field information remained unchanged in the life cycle that current TCP connects carried in message, as head compression contextual information;
Data compression unit 102, for TCP/IP packet waiting for transmission is carried out head compression, obtains compression-tcp/IP packet;
Data transmission unit 103, for by wireless link by described compression-tcp/IP Packet Generation to receiving terminal;
Described receiving terminal 20 comprises:
Second contextual information acquiring unit 201, for transmitting terminal set up TCP be connected time, obtain TCP set up the field information remained unchanged in the life cycle that current TCP connects carried in message, as head compression contextual information;
Data recovery unit 202, for according to the fixed value in described contextual information and packet, to retain position and stem method of calibration by the described compression-tcp/IP data packet recovery received be complete TCP/IP packet.
Further, described receiving terminal also comprises:
First dry state symbol unit, for when TCP connection establishment is successful, is labeled as effective status by described contextual information;
Receiving terminal updating block, for when current TCP connection reconstruction, upgrades described contextual information;
Second dry state symbol unit, for when current TCP connection closed, is labeled as failure state by described contextual information.
Further, described transmitting terminal also comprises:
Third state indexing unit, for when TCP connection establishment is successful, is labeled as effective status by described contextual information;
Transmitting terminal updating block, for when current TCP connection reconstruction, upgrades described contextual information;
4th dry state symbol unit, for when current TCP connection closed, is labeled as failure state by described contextual information.
In order to embody the superiority of invention further, following the present invention of announcement is further applied to the internal structure in another embodiment of the data compression unit 102 in the single channel TCP/IP head compressibility of intelligent grid, embodies the details of another embodiment realized according to data compression unit 102.With reference to Fig. 9, data compression unit 102 comprises removing module 1021 further and compressing head file builds module 1022:
Described removing module 1021, for deleting the field information that can be undertaken recovering by the fixed value in described contextual information and packet, reservation position and stem method of calibration in the head of TCP/IP packet waiting for transmission;
Described compressing head file builds module 1022, for the residue field in the packet header of described TCP/IP packet waiting for transmission being built into the compressing head of described TCP/IP packet.
Further, described data recovery unit comprises:
Identification module, for identifying whether the TCP/IP packet received is compression-tcp/IP packet;
Data recovery module, for when receiving compression-tcp/IP packet, according to the fixed value in described contextual information and packet, to retain position and stem method of calibration by described compression-tcp/IP data packet recovery be complete TCP/IP packet.
Further, according to the fixed value in described contextual information and packet, to retain position and stem method of calibration by described compression-tcp/IP data packet recovery be complete TCP/IP packet, is specially: according to the fixed value in described contextual information and packet, retain position and stem method of calibration re-writes stating the field information lacked in the compressing head of compression-tcp/IP packet.
In sum, the single channel TCP/IP head compression method being applied to intelligent grid adopting the present invention to propose and system, when carrying out TCP/IP transfer of data, by compressing the header file of TCP/IP packet, reduce the holding time of unique user to air-link resources, avoid not containing the data message transmission in a link of business information as far as possible, reduce the waste to air-link resources, improve the service efficiency of wireless link; When same bandwidth, can support that more UE access networks provide data transport service, improve the capacity of Wireless Broadband Communication Systems, simultaneously because the message that will send reduces, the time delay that wireless link produces also reduces accordingly, reduce the probability that TCP retransmits, improve real-time and the success rate of transfer of data.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention can by hardware implementing, and the mode that also can add necessary general hardware platform by software realizes.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions and perform method described in each embodiment of the present invention in order to make a computer equipment (can be personal computer, server, or the network equipment etc.).
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, the module in accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the system in embodiment can carry out being distributed in the system of embodiment according to embodiment description, also can carry out respective change and be arranged in the one or more systems being different from the present embodiment.The module of above-described embodiment can merge into a module, also can split into multiple submodule further.
Be only several specific embodiment of the present invention above, but the present invention is not limited thereto, the changes that any person skilled in the art can think of all should fall into protection scope of the present invention.

Claims (13)

1. be applied to a single channel TCP/IP head compression method for intelligent grid, it is characterized in that, described method comprises:
Transmitting terminal and receiving terminal, when setting up TCP and being connected, obtain TCP respectively and set up the field information remained unchanged in the life cycle that current TCP connects carried in message, as the contextual information of head compression;
TCP/IP packet waiting for transmission is carried out head compression by transmitting terminal, obtains compression-tcp/IP packet;
Transmitting terminal by wireless link by described compression-tcp/IP Packet Generation to receiving terminal;
Receiving terminal according to the fixed value in described contextual information and packet, to retain position and stem method of calibration by the described compression-tcp/IP data packet recovery received be complete TCP/IP packet.
2. method according to claim 1, is characterized in that, when the success of TCP connection establishment, described method also comprises:
Described contextual information is labeled as effective status by transmitting terminal and receiving terminal.
3. method according to claim 1, is characterized in that, described TCP/IP packet waiting for transmission is carried out head compression, specifically comprises:
The field information that can be undertaken recovering by the fixed value in described contextual information and packet, reservation position and stem method of calibration in the head of TCP/IP packet waiting for transmission is deleted;
Residue field in the packet header of described TCP/IP packet waiting for transmission is built into the compressing head of described TCP/IP packet.
4. the method according to any one of claim 1-3, it is characterized in that, described according to the fixed value in described contextual information and packet, to retain position and stem method of calibration by the described compression-tcp/IP data packet recovery received be complete TCP/IP packet, specifically comprise:
Identify whether the TCP/IP packet received is compression-tcp/IP packet;
When receiving compression-tcp/IP packet, according to the fixed value in described contextual information and packet, to retain position and stem method of calibration by described compression-tcp/IP data packet recovery be complete TCP/IP packet.
5. method according to claim 4, is characterized in that, described according to the fixed value in described contextual information and packet, to retain position and stem method of calibration by described compression-tcp/IP data packet recovery be complete TCP/IP packet, specifically comprise:
Re-write stating the field information lacked in the compressing head of compression-tcp/IP packet according to the fixed value in described contextual information and packet, reservation position and stem method of calibration.
6. method according to claim 1, is characterized in that, when current TCP connection reconstruction, described method also comprises:
Described contextual information upgrades by transmitting terminal and receiving terminal.
7. method according to claim 1, is characterized in that, when current TCP connection closed, described method also comprises:
Described contextual information is labeled as failure state by transmitting terminal and receiving terminal.
8. method according to claim 7, it is characterized in that, when described contextual information is failure state, if the TCP/IP packet that receiving terminal receives is compression-tcp/IP packet, then according to the fixed value in described contextual information and packet, reservation position and stem method of calibration, the compression-tcp received/IP packet is recovered.
9. method according to claim 1, is characterized in that, when transmitting terminal attachment removal, described method also comprises:
Transmitting terminal and receiving terminal remove described contextual information.
10. be applied to a single channel TCP/IP head compressibility for intelligent grid, it is characterized in that, described system comprises transmitting terminal and receiving terminal:
Described transmitting terminal comprises:
First contextual information acquiring unit, for receiving terminal set up TCP be connected time, obtain TCP set up the field information remained unchanged in the life cycle that current TCP connects carried in message, as head compression contextual information;
Data compression unit, for TCP/IP packet waiting for transmission is carried out head compression, obtains compression-tcp/IP packet;
Data transmission unit, for by wireless link by described compression-tcp/IP Packet Generation to receiving terminal;
Described receiving terminal comprises:
Second contextual information acquiring unit, for transmitting terminal set up TCP be connected time, obtain TCP set up the field information remained unchanged in the life cycle that current TCP connects carried in message, as head compression contextual information;
Data recovery unit, for according to the fixed value in described contextual information and packet, to retain position and stem method of calibration by the described compression-tcp/IP data packet recovery received be complete TCP/IP packet.
11. systems according to claim 10, is characterized in that, described receiving terminal also comprises:
First dry state symbol unit, for when TCP connection establishment is successful, is labeled as effective status by described contextual information;
Receiving terminal updating block, for when current TCP connection reconstruction, upgrades described contextual information;
Second dry state symbol unit, for when current TCP connection closed, is labeled as failure state by described contextual information;
Described transmitting terminal also comprises:
Third state indexing unit, for when TCP connection establishment is successful, is labeled as effective status by described contextual information;
Transmitting terminal updating block, for when current TCP connection reconstruction, upgrades described contextual information;
4th dry state symbol unit, for when current TCP connection closed, is labeled as failure state by described contextual information.
12. systems according to claim 10, is characterized in that, described data compression unit comprises:
Removing module, for deleting the field information that can be undertaken recovering by the fixed value in described contextual information and packet, reservation position and stem method of calibration in the head of TCP/IP packet waiting for transmission;
Compressing head builds module, for the residue field in the packet header of described TCP/IP packet waiting for transmission being built into the compressing head of described TCP/IP packet.
13. systems according to any one of claim 10-12, it is characterized in that, described data recovery unit comprises:
Identification module, for identifying whether the TCP/IP packet received is compression-tcp/IP packet;
Data recovery module, for when receiving compression-tcp/IP packet, according to the fixed value in described contextual information and packet, to retain position and stem method of calibration by described compression-tcp/IP data packet recovery be complete TCP/IP packet, is specially: according to the fixed value in described contextual information and packet, retain position and stem method of calibration re-writes stating the field information lacked in the compressing head of compression-tcp/IP packet.
CN201510030511.2A 2015-01-21 2015-01-21 Single-channel TCP/ IP header compression method and system for intelligent power grid Pending CN104618961A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510030511.2A CN104618961A (en) 2015-01-21 2015-01-21 Single-channel TCP/ IP header compression method and system for intelligent power grid

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510030511.2A CN104618961A (en) 2015-01-21 2015-01-21 Single-channel TCP/ IP header compression method and system for intelligent power grid

Publications (1)

Publication Number Publication Date
CN104618961A true CN104618961A (en) 2015-05-13

Family

ID=53153184

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510030511.2A Pending CN104618961A (en) 2015-01-21 2015-01-21 Single-channel TCP/ IP header compression method and system for intelligent power grid

Country Status (1)

Country Link
CN (1) CN104618961A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106714294A (en) * 2015-07-15 2017-05-24 普天信息技术有限公司 Synchronization method for multi-channel TCP/IP head compression applied to smart grid
CN108011993A (en) * 2017-12-07 2018-05-08 北京百悟科技有限公司 The storage of IP address information, the method and system of the inquiry of IPv4 addresses
CN108886705A (en) * 2016-04-29 2018-11-23 华为技术有限公司 A kind of signal transmission method and equipment
CN109257772A (en) * 2017-07-13 2019-01-22 普天信息技术有限公司 A kind of sending, receiving method and user equipment of RTP data
CN112154633A (en) * 2018-05-16 2020-12-29 华为技术有限公司 Receiving device and transmission device for TCP communication
CN112566180A (en) * 2020-12-09 2021-03-26 东方通信股份有限公司 Method for improving packet data transmission rate of TETRA system
CN113364508A (en) * 2021-04-30 2021-09-07 深圳震有科技股份有限公司 Voice data transmission control method, system and equipment
CN113485950A (en) * 2021-06-22 2021-10-08 上海天数智芯半导体有限公司 System and method for merging and sending PCIe memory write requests
WO2022228015A1 (en) * 2021-04-26 2022-11-03 华为技术有限公司 Data transmission method, and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020064190A1 (en) * 2000-11-30 2002-05-30 Sikora John J. Method for compressing packet headers within a trunking protocol for aggregating multiple information channels across a network
US20050018666A1 (en) * 2003-07-22 2005-01-27 Davila Hector Ricardo Network header compression arrangement
CN102469011A (en) * 2010-11-11 2012-05-23 联芯科技有限公司 Data transmission method and device
CN103067971A (en) * 2013-01-30 2013-04-24 北京天地互连信息技术有限公司 TCP (transmission control protocol) header compression method in wireless IPv6 (internet protocol version 6) network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020064190A1 (en) * 2000-11-30 2002-05-30 Sikora John J. Method for compressing packet headers within a trunking protocol for aggregating multiple information channels across a network
US20050018666A1 (en) * 2003-07-22 2005-01-27 Davila Hector Ricardo Network header compression arrangement
CN102469011A (en) * 2010-11-11 2012-05-23 联芯科技有限公司 Data transmission method and device
CN103067971A (en) * 2013-01-30 2013-04-24 北京天地互连信息技术有限公司 TCP (transmission control protocol) header compression method in wireless IPv6 (internet protocol version 6) network

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
G. PELLETIER等: "RObust Header Compression (ROHC): A Profile for TCP/IP (ROHC-TCP)", 《NETWORK WORKING GROUP REQUEST FOR COMMENTS:4996》 *
G. PELLETIER等: "RObust Header Compression (ROHC):A Profile for TCP/IP (ROHC-TCP)", 《INTERNET ENGINEERING TASK FORCE (IETF) REQUEST FOR COMMENTS:6846》 *
INFORMATION SCIENCES INSTITUTE UNIVERSITY OF SOUTHERN CALIFORNIA: "TRANSMISSION CONTROL PROTOCOL DARPA INTERNET PROGRAM PROTOCOL SPECIFICATION", 《RFC793》 *
L-E. JONSSON: "RObust Header Compression (ROHC):Requirements on TCP/IP Header Compression", 《NETWORK WORKING GROUP REQUEST FOR COMMENTS:4163》 *
V. JACOBSON: "Compressing TCP/IP Headers for Low-Speed Serial Links", 《NETWORK WORKING GROUP REQUEST FOR COMMENTS:1144》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106714294A (en) * 2015-07-15 2017-05-24 普天信息技术有限公司 Synchronization method for multi-channel TCP/IP head compression applied to smart grid
CN106714294B (en) * 2015-07-15 2020-01-17 普天信息技术有限公司 Multi-channel TCP/IP header compression synchronization method applied to smart power grid
CN108886705A (en) * 2016-04-29 2018-11-23 华为技术有限公司 A kind of signal transmission method and equipment
CN109257772A (en) * 2017-07-13 2019-01-22 普天信息技术有限公司 A kind of sending, receiving method and user equipment of RTP data
CN108011993A (en) * 2017-12-07 2018-05-08 北京百悟科技有限公司 The storage of IP address information, the method and system of the inquiry of IPv4 addresses
CN112154633A (en) * 2018-05-16 2020-12-29 华为技术有限公司 Receiving device and transmission device for TCP communication
CN112566180A (en) * 2020-12-09 2021-03-26 东方通信股份有限公司 Method for improving packet data transmission rate of TETRA system
WO2022228015A1 (en) * 2021-04-26 2022-11-03 华为技术有限公司 Data transmission method, and device
CN113364508A (en) * 2021-04-30 2021-09-07 深圳震有科技股份有限公司 Voice data transmission control method, system and equipment
CN113485950A (en) * 2021-06-22 2021-10-08 上海天数智芯半导体有限公司 System and method for merging and sending PCIe memory write requests

Similar Documents

Publication Publication Date Title
CN104618961A (en) Single-channel TCP/ IP header compression method and system for intelligent power grid
US11202227B2 (en) Processing method and device for cache synchronous exception
JP2020519090A (en) Uplink data decompression and compression method and apparatus
KR101745456B1 (en) Ecu for transmitting large data in hil test environment, system including the same and method thereof
EP2445250A1 (en) Data packet sending, receiving and transmission method and device
CN103825869A (en) Compression and decompression method for Ethernet message header, and compression and decompression device thereof
CN102118792B (en) Method and device for transmitting data packets
US10817460B2 (en) RDMA data sending and receiving methods, electronic device, and readable storage medium
JP2013097804A (en) Apparatus and method for transmitting data
CN101197773B (en) Packet compressed transmitting and received de-compression method and system based on multilink
CN103532984A (en) Data transmission method, device and system of websocket protocol
CN112087490A (en) High-performance mobile terminal application software log collection system
CN107094144B (en) Encapsulation method and de-encapsulation method of baseband frame
CN102694730A (en) Method and device for parallel processing
WO2018137218A1 (en) Data transmission method, data receiving device, and data sending device
CN112335202B (en) Processing local area network diagnostic data
KR100631742B1 (en) AC frame transmission method and device
CN102082726B (en) Data processing method, device and transmission system
US20050086383A1 (en) Optimizing the compression efficiency in a packet data communication
CN107360594B (en) Information processing method and device
CN106714294B (en) Multi-channel TCP/IP header compression synchronization method applied to smart power grid
CN101287008B (en) System for realizing subnet dependent converge protocol
CN112335203B (en) Processing local area network diagnostic data
CN112218390A (en) Data processing method and device
CN107888341B (en) Data transmission method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150513

RJ01 Rejection of invention patent application after publication